Home
last modified time | relevance | path

Searched refs:map_ (Results 1 – 15 of 15) sorted by relevance

/art/libartbase/base/
Dsafe_map.h50 : map_(cmp, allocator) { in map_() function
54 map_ = rhs.map_;
58 allocator_type get_allocator() const { return map_.get_allocator(); } in get_allocator()
59 key_compare key_comp() const { return map_.key_comp(); } in key_comp()
60 value_compare value_comp() const { return map_.value_comp(); } in value_comp()
62 iterator begin() { return map_.begin(); } in begin()
63 const_iterator begin() const { return map_.begin(); } in begin()
64 iterator end() { return map_.end(); } in end()
65 const_iterator end() const { return map_.end(); } in end()
67 bool empty() const { return map_.empty(); } in empty()
[all …]
Dvariant_map.h252 ScopedRemove(VariantMap& map, const TKey<TValue>& key) : map_(map), key_(key) {} in ScopedRemove()
254 map_.Remove(key_); in ~ScopedRemove()
257 VariantMap& map_; member
/art/runtime/
Ddex_reference_collection.h45 : map_(map_allocator), in map_() function
53 return map_; in GetMap()
58 for (auto&& pair : map_) { in NumReferences()
65 DexFileMap map_;
76 current_vector_ = &map_.emplace(dex, IndexVector(vector_allocator_)).first->second; in GetOrInsertVector()
Delf_file_impl.h63 return map_.Begin(); in Begin()
67 return map_.End(); in End()
71 return map_.Size(); in Size()
202 MemMap map_; variable
Delf_file.cc421 map_ = std::move(map); in SetMap()
422 CHECK(map_.IsValid()) << file->GetPath(); in SetMap()
423 CHECK(map_.Begin() != nullptr) << file->GetPath(); in SetMap()
425 header_ = reinterpret_cast<Elf_Ehdr*>(map_.Begin()); in SetMap()
/art/runtime/base/
Dmem_map_arena_pool.cc43 MemMap map_; member in art::MemMapArena
47 : map_(Allocate(size, low_4gb, name)) { in MemMapArena()
48 memory_ = map_.Begin(); in MemMapArena()
52 size_ = map_.Size(); in MemMapArena()
75 map_.MadviseDontNeedAndZero(); in Release()
/art/tools/jvmti-agents/ti-alloc-sample/
Dti_alloc_sample.cc260 if (map_.find(key) == map_.end()) { in Intern()
261 map_[key] = next_index_; in Intern()
266 return std::to_string(map_[key]); in Intern()
270 std::map<std::string, int32_t> map_; member in tifast::__anon9d4dc8ac0111::UniqueStringTable
/art/runtime/jit/
Djit_code_cache.h117 : map_(), region_(region), compilation_state_(nullptr) {} in ZygoteMap()
153 return map_.cbegin(); in cbegin()
156 return map_.begin(); in begin()
159 return map_.cend(); in cend()
162 return map_.end(); in end()
167 ArrayRef<const Entry> map_;
Djit_code_cache.cc2020 map_ = ArrayRef(data, capacity); in Initialize()
2027 if (map_.empty()) { in GetCodeFor()
2034 for (const Entry& entry : map_) { in GetCodeFor()
2047 size_t index = hf(method) & (map_.size() - 1u); in GetCodeFor()
2054 const Entry& entry = map_[index]; in GetCodeFor()
2070 index = (index + 1) & (map_.size() - 1); in GetCodeFor()
2076 if (map_.empty()) { in Put()
2081 size_t index = hf(method) & (map_.size() - 1); in Put()
2087 const Entry* entry = &map_[index]; in Put()
2094 index = (index + 1) & (map_.size() - 1); in Put()
/art/dexlayout/
Ddexdiag.cc93 map_[it->first] = 0; in PageCount()
97 map_[type]++; in Increment()
100 auto it = map_.find(type); in Get()
101 DCHECK(it != map_.end()); in Get()
105 std::map<uint16_t, size_t> map_; member in art::PageCount
/art/compiler/optimizing/
Dinduction_var_analysis.h122 return map_.find(instruction) != map_.end(); in IsVisitedNode()
263 ArenaSafeMap<HInstruction*, NodeInfo> map_; variable
Dinduction_var_analysis.cc234 map_(std::less<HInstruction*>(), in HInductionVarAnalysis()
264 map_.clear(); in VisitLoop()
288 map_.clear(); in VisitLoop()
296 map_.Put(instruction, NodeInfo(d1)); in VisitNode()
307 map_.find(instruction)->second.depth = low; in VisitNode()
317 map_.find(x)->second.done = true; in VisitNode()
349 return map_.find(instruction)->second.depth; in VisitDescendant()
351 auto it = map_.find(instruction); in VisitDescendant()
/art/openjdkjvmti/
Dti_heap.cc1630 : map_(map), ref_(ref) {} in ReplaceObjectReferences()
1640 auto it = map_.find(root->AsMirrorPtr()); in ReplaceObjectReferences()
1641 if (it != map_.end()) { in ReplaceObjectReferences()
1651 auto it = map_.find(obj->GetFieldObject<art::mirror::Object>(off)); in ReplaceObjectReferences()
1652 if (it != map_.end()) { in ReplaceObjectReferences()
1678 const ObjectMap& map_; in ReplaceObjectReferences()
1702 explicit ResizeRootVisitor(const ObjectMap& map) : map_(map) {} in ReplaceStrongRoots()
1711 auto it = map_.find(*obj); in ReplaceStrongRoots()
1712 if (it != map_.end()) { in ReplaceStrongRoots()
1738 auto it = map_.find(obj->AsMirrorPtr()); in ReplaceStrongRoots()
[all …]
Dti_redefine.cc208 art::ArtMethod* obsolete = map_->obsolete_methods_->GetElementPtrSize<art::ArtMethod*>( in operator *()
215 return map_ == other.map_ && iter_ == other.iter_; in operator ==()
236 : map_(map), iter_(iter) {} in ObsoleteMapIter()
238 const ObsoleteMap* map_; member in openjdkjvmti::ObsoleteMap::ObsoleteMapIter
/art/libdexfile/external/
Ddex_file_ext.cc57 : map_(std::move(map)) {} in MappedFileContainer()
65 std::unique_ptr<android::base::MappedFile> map_; member in art::__anona117d7f20111::MappedFileContainer