/art/runtime/arch/x86/ |
D | thread_x86.cc | 62 descriptor_table_entry_t entry; in InitCpu() local 63 memset(&entry, 0, sizeof(entry)); in InitCpu() 64 entry.limit0 = (limit & 0x0ffff); in InitCpu() 65 entry.limit = (limit & 0xf0000) >> 16; in InitCpu() 66 entry.base0 = (base & 0x0000ffff); in InitCpu() 67 entry.base1 = (base & 0x00ff0000) >> 16; in InitCpu() 68 entry.base2 = (base & 0xff000000) >> 24; in InitCpu() 69 entry.type = ((read_exec_only ^ 1) << 1) | (contents << 2); in InitCpu() 70 entry.s = 1; in InitCpu() 71 entry.dpl = 0x3; in InitCpu() [all …]
|
/art/libdexfile/dex/ |
D | type_lookup_table.cc | 105 const Entry* entry = &entries_[pos]; in Lookup() local 106 if (entry->IsEmpty()) { in Lookup() 111 while (compared_hash_bits != entry->GetHashBits(mask_bits_)) { in Lookup() 112 if (entry->IsLast(mask_bits_)) { in Lookup() 115 pos = (pos + entry->GetNextPosDelta(mask_bits_)) & mask; in Lookup() 116 entry = &entries_[pos]; in Lookup() 117 DCHECK(!entry->IsEmpty()); in Lookup() 120 const char* first_checked_str = GetStringData(*entry); in Lookup() 122 return entry->GetClassDefIdx(mask_bits_); in Lookup() 125 if (entry->IsLast(mask_bits_)) { in Lookup() [all …]
|
D | test_dex_file_builder.h | 104 for (auto& entry : strings_) { 105 entry.second.idx = string_idx; 107 entry.second.data_offset = data_section_size; 108 data_section_size += entry.first.length() + 1u /* length */ + 1u /* null-terminator */; 115 for (auto& entry : types_) { 116 entry.second = type_idx; 124 for (auto& entry : protos_) { 125 entry.second.idx = proto_idx; 127 size_t num_args = entry.first.args.size(); 129 entry.second.data_offset = RoundUp(data_section_size, 4u); [all …]
|
/art/odrefresh/ |
D | odr_compilation_log.cc | 39 std::istream& operator>>(std::istream& is, OdrCompilationLogEntry& entry) { in operator >>() argument 45 is >> entry.apex_version >> std::ws; in operator >>() 46 is >> entry.last_update_millis >> std::ws; in operator >>() 47 is >> entry.trigger >> std::ws; in operator >>() 48 is >> entry.when >> std::ws; in operator >>() 49 is >> entry.exit_code >> std::ws; in operator >>() 56 std::ostream& operator<<(std::ostream& os, const OdrCompilationLogEntry& entry) { in operator <<() argument 63 os << entry.apex_version << kSpace; in operator <<() 64 os << entry.last_update_millis << kSpace; in operator <<() 65 os << entry.trigger << kSpace; in operator <<() [all …]
|
/art/compiler/optimizing/ |
D | nodes_test.cc | 147 HBasicBlock* entry = new (GetAllocator()) HBasicBlock(graph); in TEST_F() local 148 graph->AddBlock(entry); in TEST_F() 149 graph->SetEntryBlock(entry); in TEST_F() 152 entry->AddInstruction(parameter); in TEST_F() 153 entry->AddInstruction(new (GetAllocator()) HGoto()); in TEST_F() 157 entry->AddSuccessor(first_block); in TEST_F() 187 HBasicBlock* entry = new (GetAllocator()) HBasicBlock(graph); in TEST_F() local 188 graph->AddBlock(entry); in TEST_F() 189 graph->SetEntryBlock(entry); in TEST_F() 194 entry->AddInstruction(parameter1); in TEST_F() [all …]
|
D | load_store_analysis_test.cc | 68 HBasicBlock* entry = new (GetAllocator()) HBasicBlock(graph_); in TEST_F() local 69 graph_->AddBlock(entry); in TEST_F() 70 graph_->SetEntryBlock(entry); in TEST_F() 95 entry->AddInstruction(array); in TEST_F() 96 entry->AddInstruction(index); in TEST_F() 97 entry->AddInstruction(array_get1); in TEST_F() 98 entry->AddInstruction(array_get2); in TEST_F() 99 entry->AddInstruction(array_set1); in TEST_F() 100 entry->AddInstruction(array_set2); in TEST_F() 111 heap_location_collector.VisitBasicBlock(entry); in TEST_F() [all …]
|
D | gvn_test.cc | 32 HBasicBlock* entry = new (GetAllocator()) HBasicBlock(graph); in TEST_F() local 33 graph->AddBlock(entry); in TEST_F() 34 graph->SetEntryBlock(entry); in TEST_F() 39 entry->AddInstruction(parameter); in TEST_F() 43 entry->AddSuccessor(block); in TEST_F() 113 HBasicBlock* entry = new (GetAllocator()) HBasicBlock(graph); in TEST_F() local 114 graph->AddBlock(entry); in TEST_F() 115 graph->SetEntryBlock(entry); in TEST_F() 120 entry->AddInstruction(parameter); in TEST_F() 124 entry->AddSuccessor(block); in TEST_F() [all …]
|
D | instruction_simplifier_test.cc | 162 GET_BLOCK(entry); in TEST_F() 179 entry->AddInstruction(cls); in TEST_F() 180 entry->AddInstruction(switch_inst); in TEST_F() 249 GET_BLOCK(entry); in TEST_F() 265 entry->AddInstruction(cls); in TEST_F() 266 entry->AddInstruction(switch_inst); in TEST_F() 331 GET_BLOCK(entry); in TEST_F() 344 entry->AddInstruction(cls); in TEST_F() 345 entry->AddInstruction(if_inst); in TEST_F() 413 GET_BLOCK(entry); in TEST_P() [all …]
|
D | bounds_check_elimination_test.cc | 68 HBasicBlock* entry = new (GetAllocator()) HBasicBlock(graph_); in TEST_F() local 69 graph_->AddBlock(entry); in TEST_F() 70 graph_->SetEntryBlock(entry); in TEST_F() 75 entry->AddInstruction(parameter1); in TEST_F() 76 entry->AddInstruction(parameter2); in TEST_F() 87 entry->AddSuccessor(block1); in TEST_F() 165 HBasicBlock* entry = new (GetAllocator()) HBasicBlock(graph_); in TEST_F() local 166 graph_->AddBlock(entry); in TEST_F() 167 graph_->SetEntryBlock(entry); in TEST_F() 172 entry->AddInstruction(parameter1); in TEST_F() [all …]
|
D | load_store_elimination_test.cc | 1183 GET_BLOCK(entry); in TEST_F() 1189 entry->AddInstruction(suspend_check); in TEST_F() 1190 entry->AddInstruction(new (GetAllocator()) HGoto()); in TEST_F() 1234 GET_BLOCK(entry); in TEST_F() 1240 entry->AddInstruction(suspend_check); in TEST_F() 1241 entry->AddInstruction(new (GetAllocator()) HGoto()); in TEST_F() 1299 GET_BLOCK(entry); in TEST_F() 1311 entry->AddInstruction(entry_goto); in TEST_F() 1428 GET_BLOCK(entry); in TEST_F() 1440 entry->AddInstruction(entry_goto); in TEST_F() [all …]
|
D | stack_map_stream.cc | 137 BitTableBuilder<RegisterMask>::Entry entry; in BeginStackMapEntry() local 138 entry[RegisterMask::kValue] = register_mask >> shift; in BeginStackMapEntry() 139 entry[RegisterMask::kShift] = shift; in BeginStackMapEntry() 140 current_stack_map_[StackMap::kRegisterMaskIndex] = register_masks_.Dedup(&entry); in BeginStackMapEntry() 222 BitTableBuilder<InlineInfo>::Entry entry; in BeginInlineInfoEntry() local 223 entry[InlineInfo::kIsLast] = InlineInfo::kMore; in BeginInlineInfoEntry() 224 entry[InlineInfo::kDexPc] = dex_pc; in BeginInlineInfoEntry() 225 entry[InlineInfo::kNumberOfDexRegisters] = static_cast<uint32_t>(expected_num_dex_registers_); in BeginInlineInfoEntry() 227 entry[InlineInfo::kArtMethodHi] = High32Bits(reinterpret_cast<uintptr_t>(method)); in BeginInlineInfoEntry() 228 entry[InlineInfo::kArtMethodLo] = Low32Bits(reinterpret_cast<uintptr_t>(method)); in BeginInlineInfoEntry() [all …]
|
/art/runtime/jni/ |
D | local_reference_table-inl.h | 67 LrtEntry* entry = ToLrtEntry(iref); in GetReferenceEntryIndex() local 71 if (!std::less<const LrtEntry*>()(entry, small_table_) && in GetReferenceEntryIndex() 72 std::less<const LrtEntry*>()(entry, small_table_ + kSmallLrtEntries)) { in GetReferenceEntryIndex() 73 return dchecked_integral_cast<uint32_t>(entry - small_table_); in GetReferenceEntryIndex() 79 if (!std::less<const LrtEntry*>()(entry, table) && in GetReferenceEntryIndex() 80 std::less<const LrtEntry*>()(entry, table + table_size)) { in GetReferenceEntryIndex() 82 dchecked_integral_cast<size_t>(entry - table); in GetReferenceEntryIndex() 102 LrtEntry* entry = ToLrtEntry(iref); in IsValidReference() local 103 LrtEntry* serial_number_entry = GetCheckJniSerialNumberEntry(entry); in IsValidReference() 107 uint32_t serial_number = entry - serial_number_entry; in IsValidReference() [all …]
|
/art/test/2234-checker-remove-entry-suspendcheck/ |
D | Android.bp | 3 // Build rules for ART run-test `2234-checker-remove-entry-suspendcheck`. 16 name: "art-run-test-2234-checker-remove-entry-suspendcheck", 21 ":art-run-test-2234-checker-remove-entry-suspendcheck-expected-stdout", 22 ":art-run-test-2234-checker-remove-entry-suspendcheck-expected-stderr", 31 name: "art-run-test-2234-checker-remove-entry-suspendcheck-expected-stdout", 32 out: ["art-run-test-2234-checker-remove-entry-suspendcheck-expected-stdout.txt"], 39 name: "art-run-test-2234-checker-remove-entry-suspendcheck-expected-stderr", 40 out: ["art-run-test-2234-checker-remove-entry-suspendcheck-expected-stderr.txt"],
|
/art/runtime/verifier/ |
D | reg_type_cache.cc | 48 ALWAYS_INLINE static inline bool MatchingPrecisionForClass(const RegType* entry, bool precise) in MatchingPrecisionForClass() argument 50 if (entry->IsPreciseReference() == precise) { in MatchingPrecisionForClass() 54 if (!precise && entry->GetClass()->CannotBeAssignedFromOtherTypes()) { in MatchingPrecisionForClass() 145 const RegType* entry = entries_[idx]; in MatchDescriptor() local 146 if (descriptor != entry->descriptor_) { in MatchDescriptor() 149 if (entry->HasClass()) { in MatchDescriptor() 150 return MatchingPrecisionForClass(entry, precise); in MatchDescriptor() 154 DCHECK(entry->IsUnresolvedReference()); in MatchDescriptor() 207 RegType* entry; in From() local 212 entry = in From() [all …]
|
/art/runtime/jit/ |
D | debugger_interface.cc | 249 ArrayRef<const uint8_t> GetJITCodeEntrySymFile(const JITCodeEntry* entry) { in GetJITCodeEntrySymFile() argument 250 return ArrayRef<const uint8_t>(entry->symfile_addr_, entry->symfile_size_); in GetJITCodeEntrySymFile() 278 static void InsertNewEntry(const JITCodeEntry* entry, const JITCodeEntry* next) { in InsertNewEntry() argument 279 CHECK_EQ(entry->seqlock_.load(kNonRacingRelaxed) & 1, 1u) << "Expected invalid entry"; in InsertNewEntry() 282 JITCodeEntry* writable = NativeInfo::Writable(entry); in InsertNewEntry() 288 NativeInfo::Writable(next)->prev_ = entry; in InsertNewEntry() 290 descriptor.tail_ = entry; in InsertNewEntry() 294 NativeInfo::Writable(prev)->next_.store(entry, std::memory_order_release); in InsertNewEntry() 296 descriptor.head_.store(entry, std::memory_order_release); in InsertNewEntry() 340 const JITCodeEntry* entry = descriptor.free_entries_; in CreateJITCodeEntryInternal() local [all …]
|
/art/runtime/ |
D | index_bss_mapping.cc | 60 [=](const struct IndexBssMappingEntry& entry) { in GetBssOffset() argument 61 return (entry.index_and_mask & index_mask) < index; in GetBssOffset() 66 const IndexBssMappingEntry& entry = *it; in GetBssOffset() local 67 return entry.GetBssOffset(index_bits, index, slot_size); in GetBssOffset()
|
/art/libartservice/service/java/com/android/server/art/ |
D | DexUseManagerLocal.java | 298 for (var entry : packageDexUse.mSecondaryDexUseByDexFile.entrySet()) { in getSecondaryDexInfoImpl() 299 String dexPath = entry.getKey(); in getSecondaryDexInfoImpl() 300 SecondaryDexUse secondaryDexUse = entry.getValue(); in getSecondaryDexInfoImpl() 392 for (var entry : classLoaderContextByDexContainerFile.entrySet()) { in notifyDexContainersLoaded() 393 String dexPath = Utils.assertNonEmpty(entry.getKey()); in notifyDexContainersLoaded() 394 String classLoaderContext = Utils.assertNonEmpty(entry.getValue()); in notifyDexContainersLoaded() 597 for (var entry : classLoaderContextByDexContainerFile.entrySet()) { in validateInputs() 598 Utils.assertNonEmpty(entry.getKey()); in validateInputs() 599 if (!Paths.get(entry.getKey()).isAbsolute()) { in validateInputs() 601 "Dex container file path must be absolute, got '%s'", entry.getKey())); in validateInputs() [all …]
|
/art/runtime/interpreter/ |
D | interpreter_cache-inl.h | 28 Entry& entry = data_[IndexOf(key)]; in Get() local 29 if (LIKELY(entry.first == key)) { in Get() 30 *value = entry.second; in Get()
|
/art/dex2oat/utils/ |
D | swap_space.cc | 39 for (const auto& entry : free_by_size) { in DumpFreeMap() local 40 if (last_size != entry.size) { in DumpFreeMap() 41 last_size = entry.size; in DumpFreeMap() 44 LOG(INFO) << " 0x" << std::hex << entry.free_by_start_entry->Start() in DumpFreeMap() 45 << " size=" << std::dec << entry.free_by_start_entry->size; in DumpFreeMap() 92 for (const auto& entry : free_by_size) { in CollectFree() local 93 sum1 += entry.free_by_start_entry->size; in CollectFree() 98 for (const auto& entry : free_by_start) { in CollectFree() local 99 sum2 += entry.size; in CollectFree()
|
/art/tools/ |
D | boot-image-profile-generate.sh | 90 for entry in "$ART_JARS"/* 92 jar_args+=("--apk=$entry") 94 for entry in "$BOOT_JARS"/* 96 jar_args+=("--apk=$entry")
|
/art/libarttools/tools/ |
D | tools.cc | 105 const std::filesystem::directory_entry& entry = *it; in MatchGlobRecursive() local 106 if (std::none_of(patterns.begin(), patterns.end(), std::bind(PartialMatch, _1, entry.path()))) { in MatchGlobRecursive() 112 if (entry.is_regular_file(ec2) && in MatchGlobRecursive() 113 std::any_of(patterns.begin(), patterns.end(), std::bind(FullMatch, _1, entry.path()))) { in MatchGlobRecursive() 114 results->push_back(entry.path()); in MatchGlobRecursive() 120 LOG(ERROR) << "Unable to lstat '{}': {}"_format(entry.path().string(), ec2.message()); in MatchGlobRecursive()
|
/art/imgdiag/ |
D | imgdiag.cc | 273 T* entry = dirty_entries_[i]; in DumpSamplesAndOffsetCount() local 274 os_ << reinterpret_cast<void*>(entry) << ", "; in DumpSamplesAndOffsetCount() 294 bool IsEntryOnDirtyPage(T* entry, const std::set<size_t>& dirty_pages) const in IsEntryOnDirtyPage() 296 size_t size = EntrySize(entry); in IsEntryOnDirtyPage() 299 uintptr_t entry_address = reinterpret_cast<uintptr_t>(entry); in IsEntryOnDirtyPage() 312 void AddImageDirtyEntry(T* entry) REQUIRES_SHARED(Locks::mutator_lock_) { in AddImageDirtyEntry() 313 image_dirty_entries_.insert(entry); in AddImageDirtyEntry() 316 void AddFalseDirtyEntry(T* entry) REQUIRES_SHARED(Locks::mutator_lock_) { in AddFalseDirtyEntry() 317 false_dirty_entries_.push_back(entry); in AddFalseDirtyEntry() 318 false_dirty_entry_bytes_ += EntrySize(entry); in AddFalseDirtyEntry() [all …]
|
/art/libnativeloader/ |
D | public_libraries.cpp | 126 config_file_path, [&company_name](const struct ConfigEntry& entry) -> Result<bool> { in ReadExtensionLibraries() argument 127 if (android::base::StartsWith(entry.soname, "lib") && in ReadExtensionLibraries() 128 android::base::EndsWith(entry.soname, "." + company_name + ".so")) { in ReadExtensionLibraries() 134 entry.soname, in ReadExtensionLibraries() 152 ReadConfig(config_file, [&for_preload](const struct ConfigEntry& entry) -> Result<bool> { in InitDefaultPublicLibraries() argument 154 return !entry.nopreload; in InitDefaultPublicLibraries() 436 struct ConfigEntry entry = {.soname = "", .nopreload = false, .bitness = ALL}; in ParseConfig() local 440 entry.nopreload = true; in ParseConfig() 442 if (entry.bitness != ALL) { in ParseConfig() 445 entry.bitness = tokens[i] == "32" ? ONLY_32 : ONLY_64; in ParseConfig() [all …]
|
/art/test/odsign/test-src/com/android/tests/odsign/ |
D | DeviceState.java | 73 for (var entry : mMutatedProperties.entrySet()) { in restore() 75 entry.getKey(), entry.getValue() != null ? entry.getValue() : ""); in restore() 88 for (var entry : mDeletedFiles.entrySet()) { in restore() 90 String.format("cp '%s' '%s'", entry.getValue(), entry.getKey())); in restore() 91 mTestInfo.getDevice().executeShellV2Command(String.format("rm '%s'", entry.getValue())); in restore() 93 String.format("restorecon '%s'", entry.getKey())); in restore()
|
/art/tools/ahat/src/main/com/android/ahat/ |
D | Query.java | 96 for (Map.Entry<String, String> entry : params.entrySet()) { in with() 97 if (entry.getValue() != null) { in with() 99 newQuery.append(entry.getKey()); in with() 101 newQuery.append(entry.getValue()); in with()
|