/art/test/004-ReferenceMap/ |
D | stack_walk_refmap_jni.cc | 60 NativePcOffsetToReferenceMap map(m->GetNativeGcMap(sizeof(void*))); in VisitFrame() local 74 ref_bitmap = map.FindBitMap(m->NativePcOffset(m->ToNativePc(0x03U))); in VisitFrame() 78 ref_bitmap = map.FindBitMap(m->NativePcOffset(m->ToNativePc(0x06U))); in VisitFrame() 82 ref_bitmap = map.FindBitMap(m->NativePcOffset(m->ToNativePc(0x08U))); in VisitFrame() 86 ref_bitmap = map.FindBitMap(m->NativePcOffset(m->ToNativePc(0x0cU))); in VisitFrame() 90 ref_bitmap = map.FindBitMap(m->NativePcOffset(m->ToNativePc(0x0eU))); in VisitFrame() 94 ref_bitmap = map.FindBitMap(m->NativePcOffset(m->ToNativePc(0x10U))); in VisitFrame() 98 ref_bitmap = map.FindBitMap(m->NativePcOffset(m->ToNativePc(0x13U))); in VisitFrame() 108 ref_bitmap = map.FindBitMap(m->NativePcOffset(m->ToNativePc(0x18U))); in VisitFrame() 112 ref_bitmap = map.FindBitMap(m->NativePcOffset(m->ToNativePc(0x1aU))); in VisitFrame() [all …]
|
/art/runtime/ |
D | mem_map_test.cc | 129 std::unique_ptr<MemMap> map(MemMap::MapAnonymous("MapAnonymousEmpty", in TEST_F() local 135 ASSERT_TRUE(map.get() != nullptr) << error_msg; in TEST_F() 137 map.reset(MemMap::MapAnonymous("MapAnonymousEmpty", in TEST_F() 143 ASSERT_TRUE(map.get() != nullptr) << error_msg; in TEST_F() 151 std::unique_ptr<MemMap> map(MemMap::MapAnonymous("MapAnonymousEmpty", in TEST_F() local 157 ASSERT_TRUE(map.get() != nullptr) << error_msg; in TEST_F() 159 ASSERT_LT(reinterpret_cast<uintptr_t>(BaseBegin(map.get())), 1ULL << 32); in TEST_F() 211 std::unique_ptr<MemMap> map(MemMap::MapAnonymous("MapAnonymousExactAddr32bitHighAddr", in TEST_F() local 217 ASSERT_TRUE(map.get() != nullptr) << error_msg; in TEST_F() 219 ASSERT_EQ(reinterpret_cast<uintptr_t>(BaseBegin(map.get())), start_addr); in TEST_F() [all …]
|
D | mem_map.cc | 66 MemMap* map = it->second; in operator <<() local 67 CHECK_EQ(base, map->BaseBegin()); in operator <<() 68 os << *map << std::endl; in operator <<() 138 std::unique_ptr<BacktraceMap> map(BacktraceMap::Create(getpid(), true)); in ContainedWithinExistingMap() local 139 if (map.get() == nullptr) { in ContainedWithinExistingMap() 143 for (BacktraceMap::const_iterator it = map->begin(); it != map->end(); ++it) { in ContainedWithinExistingMap() 162 std::unique_ptr<BacktraceMap> map(BacktraceMap::Create(getpid(), true)); in CheckNonOverlapping() local 163 if (map.get() == nullptr) { in CheckNonOverlapping() 167 for (BacktraceMap::const_iterator it = map->begin(); it != map->end(); ++it) { in CheckNonOverlapping() 172 map_info << std::make_pair(it, map->end()); in CheckNonOverlapping() [all …]
|
D | safe_map.h | 37 typedef typename ::std::map<K, V, Comparator, Allocator>::key_compare key_compare; 38 typedef typename ::std::map<K, V, Comparator, Allocator>::value_compare value_compare; 39 typedef typename ::std::map<K, V, Comparator, Allocator>::allocator_type allocator_type; 40 typedef typename ::std::map<K, V, Comparator, Allocator>::iterator iterator; 41 typedef typename ::std::map<K, V, Comparator, Allocator>::const_iterator const_iterator; 42 typedef typename ::std::map<K, V, Comparator, Allocator>::size_type size_type; 43 typedef typename ::std::map<K, V, Comparator, Allocator>::key_type key_type; 44 typedef typename ::std::map<K, V, Comparator, Allocator>::value_type value_type; 119 ::std::map<K, V, Comparator, Allocator> map_;
|
D | zip_archive.cc | 58 std::unique_ptr<MemMap> map(MemMap::MapAnonymous(name.c_str(), in ExtractToMemMap() local 61 if (map.get() == nullptr) { in ExtractToMemMap() 67 map->Begin(), map->Size()); in ExtractToMemMap() 73 return map.release(); in ExtractToMemMap()
|
D | profiler.h | 124 typedef std::map<mirror::ArtMethod*, uint32_t> Map; // Map of method vs its count. 129 typedef std::map<MethodReference, TrieNodeSet*, MethodReferenceComparator> MethodContextMap; 134 typedef std::map<std::pair<uint32_t, std::string>, uint32_t> PreviousContextMap; 144 typedef std::map<std::string, PreviousValue> PreviousProfile; 278 typedef std::map<std::string, ProfileData> ProfileMap;
|
D | transaction.h | 114 std::map<uint32_t, FieldValue> field_values_; 133 std::map<size_t, uint64_t> array_values_; 188 std::map<mirror::Object*, ObjectLog> object_logs_ GUARDED_BY(log_lock_); 189 std::map<mirror::Array*, ArrayLog> array_logs_ GUARDED_BY(log_lock_);
|
D | elf_file.h | 119 bool SetMap(MemMap* map, std::string* error_msg); 135 typedef std::map<std::string, Elf32_Sym*> SymbolTable;
|
D | dex_file_verifier.cc | 288 const DexFile::MapList* map = reinterpret_cast<const DexFile::MapList*>(begin_ + in CheckMap() local 291 if (!CheckListSize(map, 1, sizeof(DexFile::MapList), "maplist content")) { in CheckMap() 295 const DexFile::MapItem* item = map->list_; in CheckMap() 297 uint32_t count = map->size_; in CheckMap() 1320 …const DexFile::MapList* map = reinterpret_cast<const DexFile::MapList*>(begin_ + header_->map_off_… in CheckIntraSection() local 1321 const DexFile::MapItem* item = map->list_; in CheckIntraSection() 1323 uint32_t count = map->size_; in CheckIntraSection() 1376 ptr_ += sizeof(uint32_t) + (map->size_ * sizeof(DexFile::MapItem)); in CheckIntraSection() 1377 offset = section_offset + sizeof(uint32_t) + (map->size_ * sizeof(DexFile::MapItem)); in CheckIntraSection() 2036 …const DexFile::MapList* map = reinterpret_cast<const DexFile::MapList*>(begin_ + header_->map_off_… in CheckInterSection() local [all …]
|
D | dex_file.cc | 179 std::unique_ptr<MemMap> map; in OpenFile() local 193 map.reset(MemMap::MapFile(length, PROT_READ, MAP_PRIVATE, fd, 0, location, error_msg)); in OpenFile() 194 if (map.get() == nullptr) { in OpenFile() 200 if (map->Size() < sizeof(DexFile::Header)) { in OpenFile() 206 const Header* dex_header = reinterpret_cast<const Header*>(map->Begin()); in OpenFile() 208 const DexFile* dex_file = OpenMemory(location, dex_header->checksum_, map.release(), error_msg); in OpenFile() 257 std::unique_ptr<MemMap> map(zip_entry->ExtractToMemMap(location.c_str(), entry_name, error_msg)); in Open() local 258 if (map.get() == NULL) { in Open() 264 std::unique_ptr<const DexFile> dex_file(OpenMemory(location, zip_entry->GetCrc32(), map.release(), in Open()
|
D | mem_map.h | 150 static bool HasMemMap(MemMap* map)
|
/art/test/004-InterfaceTest/src/ |
D | Main.java | 22 public static long test_virtual(HashMap map) { in test_virtual() argument 27 map.put(intobj, s); in test_virtual() 33 public static long test_interface(Map map) { in test_interface() argument 38 map.put(intobj, s); in test_interface()
|
/art/compiler/utils/ |
D | scoped_hashtable.h | 33 scopes.push_front(std::map<K, V>()); in OpenScope() 39 for (typename std::list<std::map<K, V>>::const_iterator scopes_it = scopes.begin(); in Lookup() 41 typename std::map<K, V>::const_iterator result_it = (*scopes_it).find(k); in Lookup() 67 std::list<std::map<K, V>> scopes;
|
/art/compiler/dex/ |
D | verified_method.cc | 140 verifier::DexPcToReferenceMap map(&data[0]); in VerifyGcMap() local 141 DCHECK_EQ(data.size(), map.RawSize()); in VerifyGcMap() 145 const uint8_t* reg_bitmap = map.FindBitMap(i, false); in VerifyGcMap() 147 DCHECK_LT(map_index, map.NumEntries()); in VerifyGcMap() 148 DCHECK_EQ(map.GetDexPc(map_index), i); in VerifyGcMap() 149 DCHECK_EQ(map.GetBitMap(map_index), reg_bitmap); in VerifyGcMap() 154 DCHECK_LT(j / 8, map.RegWidth()); in VerifyGcMap() 156 } else if ((j / 8) < map.RegWidth()) { in VerifyGcMap()
|
D | local_value_numbering.h | 105 void SetOperandValueImpl(uint16_t s_reg, uint16_t value, SregValueMap* map) { in SetOperandValueImpl() argument 106 DCHECK_EQ(map->count(s_reg), 0u) << PrettyMethod(gvn_->cu_->method_idx, *gvn_->cu_->dex_file) in SetOperandValueImpl() 108 map->Put(s_reg, value); in SetOperandValueImpl() 111 uint16_t GetOperandValueImpl(int s_reg, const SregValueMap* map) const { in GetOperandValueImpl() argument 113 auto lb = map->find(s_reg); in GetOperandValueImpl() 114 if (lb != map->end()) { in GetOperandValueImpl() 272 AliasingValues* GetAliasingValues(Map* map, const typename Map::key_type& key); 280 Map* map, const typename Map::key_type& key, 284 uint16_t HandleAliasingValuesGet(Map* map, const typename Map::key_type& key, 288 bool HandleAliasingValuesPut(Map* map, const typename Map::key_type& key,
|
/art/compiler/sea_ir/ir/ |
D | sea.cc | 203 std::map<const uint16_t*, Region*> target_regions; in BuildMethodSeaGraph() 245 std::map<const uint16_t*, Region*>::iterator it = target_regions.find(&code[i + offset]); in BuildMethodSeaGraph() 249 std::map<const uint16_t*, Region*>::iterator it = target_regions.find(&code[i]); in BuildMethodSeaGraph() 292 std::map<int, std::set<Region*>> blocks; in ConvertToSSA() 484 std::map<int, InstructionNode*>::iterator res = de_defs_.find(reg_no); in ComputeDownExposedDefs() 491 for (std::map<int, sea_ir::InstructionNode*>::const_iterator cit = de_defs_.begin(); in ComputeDownExposedDefs() 497 const std::map<int, sea_ir::InstructionNode*>* Region::GetDownExposedDefs() const { in GetDownExposedDefs() 501 std::map<int, std::set<sea_ir::InstructionNode*>* >* Region::GetReachingDefs() { in GetReachingDefs() 506 std::map<int, std::set<sea_ir::InstructionNode*>* > new_reaching; in UpdateReachingDefs() 510 std::map<int, std::set<sea_ir::InstructionNode*>* > reaching_defs; in UpdateReachingDefs() [all …]
|
D | sea.h | 161 const std::map<int, sea_ir::InstructionNode*>* GetDownExposedDefs() const; 166 std::map<int, std::set<sea_ir::InstructionNode*>* >* GetReachingDefs(); 242 std::map<int, sea_ir::InstructionNode*> de_defs_; 243 std::map<int, std::set<sea_ir::InstructionNode*>* > reaching_defs_;
|
D | instruction_nodes.h | 73 std::map<int, InstructionNode* >* GetSSAProducersMap() { in GetSSAProducersMap() 102 std::map<int, InstructionNode* > definition_edges_; // Maps used registers to their definitions.
|
/art/compiler/sea_ir/code_gen/ |
D | code_gen.h | 36 std::map<int, llvm::BasicBlock*>::iterator block_it = blocks_.find(region_id); in GetBlock() 54 std::map<int, llvm::Value*>::iterator value_it = values_.find(instruction_id); in GetValue() 80 std::map<int, llvm::BasicBlock*> blocks_; 81 std::map<int, llvm::Value*> values_;
|
/art/test/004-StackWalk/ |
D | stack_walk_jni.cc | 62 NativePcOffsetToReferenceMap map(m->GetNativeGcMap(sizeof(void*))); in VisitFrame() local 63 reg_bitmap = map.FindBitMap(GetNativePcOffset()); in VisitFrame()
|
/art/compiler/dex/quick/ |
D | dex_file_to_method_inliner_map.h | 49 std::map<const DexFile*, DexFileMethodInliner*> inliners_ GUARDED_BY(lock_);
|
/art/compiler/ |
D | oat_writer.cc | 508 const SwapVector<uint8_t>* map = DataAccess::GetData(compiled_method); in VisitMethod() local 509 uint32_t map_size = map->size() * sizeof((*map)[0]); in VisitMethod() 511 auto lb = dedupe_map_.lower_bound(map); in VisitMethod() 512 if (lb != dedupe_map_.end() && !dedupe_map_.key_comp()(map, lb->first)) { in VisitMethod() 516 dedupe_map_.PutBefore(lb, map, offset_); in VisitMethod() 518 writer_->oat_header_->UpdateChecksum(&(*map)[0], map_size); in VisitMethod() 671 const SwapVector<uint8_t>* map = DataAccess::GetData(compiled_method); in VisitMethod() local 672 size_t map_size = map->size() * sizeof((*map)[0]); in VisitMethod() 678 if (UNLIKELY(!out->WriteFully(&(*map)[0], map_size))) { in VisitMethod()
|
/art/runtime/gc/space/ |
D | image_space.cc | 649 std::unique_ptr<MemMap> map(MemMap::MapFileAtAddress(image_header.GetImageBegin(), in Init() local 658 if (map.get() == NULL) { in Init() 662 CHECK_EQ(image_header.GetImageBegin(), map->Begin()); in Init() 663 DCHECK_EQ(0, memcmp(&image_header, map->Begin(), sizeof(ImageHeader))); in Init() 681 reinterpret_cast<byte*>(map->Begin()), in Init() 682 map->Size())); in Init() 689 map.release(), bitmap.release())); in Init()
|
/art/compiler/sea_ir/debug/ |
D | dot_gen.cc | 45 std::map<int, InstructionNode*>* definition_edges = instruction->GetSSAProducersMap(); in ToDotSSAEdges() 47 for (std::map<int, InstructionNode*>::const_iterator in ToDotSSAEdges()
|
/art/oatdump/ |
D | oatdump.cc | 753 NativePcOffsetToReferenceMap map(gc_map_raw); in DumpGcMap() local 754 for (size_t entry = 0; entry < map.NumEntries(); entry++) { in DumpGcMap() 756 map.GetNativePcOffset(entry); in DumpGcMap() 758 DumpGcMapRegisters(os, oat_method, code_item, map.RegWidth() * 8, map.GetBitMap(entry)); in DumpGcMap() 763 verifier::DexPcToReferenceMap map(gc_map_raw); in DumpGcMap() local 764 for (size_t entry = 0; entry < map.NumEntries(); entry++) { in DumpGcMap() 765 uint32_t dex_pc = map.GetDexPc(entry); in DumpGcMap() 767 DumpGcMapRegisters(os, oat_method, code_item, map.RegWidth() * 8, map.GetBitMap(entry)); in DumpGcMap() 827 NativePcOffsetToReferenceMap map(gc_map_raw); in DumpGcMapAtNativePcOffset() local 828 if (map.HasEntry(native_pc_offset)) { in DumpGcMapAtNativePcOffset() [all …]
|