/art/runtime/jdwp/ |
D | object_registry.cc | 61 ObjectRegistryEntry* entry = nullptr; in InternalAdd() local 62 if (ContainsLocked(soa.Self(), obj_h.Get(), identity_hash_code, &entry)) { in InternalAdd() 64 ++entry->reference_count; in InternalAdd() 66 entry = new ObjectRegistryEntry; in InternalAdd() 67 entry->jni_reference_type = JNIWeakGlobalRefType; in InternalAdd() 68 entry->jni_reference = nullptr; in InternalAdd() 69 entry->reference_count = 0; in InternalAdd() 70 entry->id = 0; in InternalAdd() 71 entry->identity_hash_code = identity_hash_code; in InternalAdd() 72 object_to_entry_.insert(std::make_pair(identity_hash_code, entry)); in InternalAdd() [all …]
|
D | object_registry.h | 105 void Demote(ObjectRegistryEntry& entry) 109 void Promote(ObjectRegistryEntry& entry)
|
/art/compiler/dex/quick/x86/ |
D | assemble_x86.cc | 543 static bool HasModrm(const X86EncodingMap* entry) { in HasModrm() argument 544 switch (entry->kind) { in HasModrm() 551 static bool HasSib(const X86EncodingMap* entry) { in HasSib() argument 552 switch (entry->kind) { in HasSib() 562 switch (entry->opcode) { in HasSib() 567 switch (entry->opcode) { in HasSib() 575 static bool ModrmIsRegReg(const X86EncodingMap* entry) { in ModrmIsRegReg() argument 576 switch (entry->kind) { in ModrmIsRegReg() 595 switch (entry->opcode) { in ModrmIsRegReg() 600 switch (entry->opcode) { in ModrmIsRegReg() [all …]
|
D | codegen_x86.h | 421 size_t ComputeSize(const X86EncodingMap* entry, int32_t raw_reg, int32_t raw_index, 423 void CheckValidByteRegister(const X86EncodingMap* entry, int32_t raw_reg); 424 void EmitPrefix(const X86EncodingMap* entry, 426 void EmitOpcode(const X86EncodingMap* entry); 427 void EmitPrefixAndOpcode(const X86EncodingMap* entry, 434 void EmitImm(const X86EncodingMap* entry, int64_t imm); 435 void EmitNullary(const X86EncodingMap* entry); 436 void EmitOpRegOpcode(const X86EncodingMap* entry, int32_t raw_reg); 437 void EmitOpReg(const X86EncodingMap* entry, int32_t raw_reg); 438 void EmitOpMem(const X86EncodingMap* entry, int32_t raw_base, int32_t disp); [all …]
|
/art/compiler/optimizing/ |
D | stack_map_stream.h | 74 StackMapEntry entry; in AddStackMapEntry() local 75 entry.dex_pc = dex_pc; in AddStackMapEntry() 76 entry.native_pc = native_pc; in AddStackMapEntry() 77 entry.register_mask = register_mask; in AddStackMapEntry() 78 entry.sp_mask = sp_mask; in AddStackMapEntry() 79 entry.num_dex_registers = num_dex_registers; in AddStackMapEntry() 80 entry.inlining_depth = inlining_depth; in AddStackMapEntry() 81 entry.dex_register_maps_start_index = dex_register_maps_.Size(); in AddStackMapEntry() 82 entry.inline_infos_start_index = inline_infos_.Size(); in AddStackMapEntry() 83 stack_maps_.Add(entry); in AddStackMapEntry() [all …]
|
/art/runtime/arch/x86/ |
D | thread_x86.cc | 60 descriptor_table_entry_t entry; in InitCpu() local 61 memset(&entry, 0, sizeof(entry)); in InitCpu() 62 entry.limit0 = (limit & 0x0ffff); in InitCpu() 63 entry.limit = (limit & 0xf0000) >> 16; in InitCpu() 64 entry.base0 = (base & 0x0000ffff); in InitCpu() 65 entry.base1 = (base & 0x00ff0000) >> 16; in InitCpu() 66 entry.base2 = (base & 0xff000000) >> 24; in InitCpu() 67 entry.type = ((read_exec_only ^ 1) << 1) | (contents << 2); in InitCpu() 68 entry.s = 1; in InitCpu() 69 entry.dpl = 0x3; in InitCpu() [all …]
|
/art/runtime/verifier/ |
D | reg_type_cache.cc | 32 static bool MatchingPrecisionForClass(RegType* entry, bool precise) in MatchingPrecisionForClass() argument 34 if (entry->IsPreciseReference() == precise) { in MatchingPrecisionForClass() 38 if (!precise && entry->GetClass()->CannotBeAssignedFromOtherTypes()) { in MatchingPrecisionForClass() 126 RegType* entry = entries_[idx]; in MatchDescriptor() local 127 if (descriptor != entry->descriptor_) { in MatchDescriptor() 130 if (entry->HasClass()) { in MatchDescriptor() 131 return MatchingPrecisionForClass(entry, precise); in MatchDescriptor() 135 DCHECK(entry->IsUnresolvedReference()); in MatchDescriptor() 181 RegType* entry; in From() local 186 entry = new PreciseReferenceType(klass, descriptor_sp.as_string(), entries_.size()); in From() [all …]
|
/art/compiler/utils/ |
D | swap_space.cc | 37 for (const auto& entry : free_by_size) { in DumpFreeMap() local 38 if (last_size != entry.first) { in DumpFreeMap() 39 last_size = entry.first; in DumpFreeMap() 42 LOG(INFO) << " 0x" << std::hex << entry.second->Start() in DumpFreeMap() 43 << " size=" << std::dec << entry.second->size; in DumpFreeMap() 88 for (const auto& entry : free_by_size) { in CollectFree() local 89 sum1 += entry.second->size; in CollectFree() 94 for (const auto& entry : free_by_start) { in CollectFree() local 95 sum2 += entry.size; in CollectFree()
|
D | assembler_thumb_test.cc | 109 struct dirent* entry; in GetAndroidToolsDir() local 115 while ((entry = readdir(dir)) != nullptr) { in GetAndroidToolsDir() 116 std::string subdir = toolsdir + std::string("/") + std::string(entry->d_name); in GetAndroidToolsDir()
|
/art/compiler/dex/ |
D | local_value_numbering.cc | 312 for (const auto& entry : src) { in CopyAliasingValuesMap() local 313 auto it = dest->PutBefore(dest->end(), entry.first, AliasingValues(this)); in CopyAliasingValuesMap() 314 it->second = entry.second; // Map assignments preserve current allocator. in CopyAliasingValuesMap() 508 for (const auto& entry : src) { in CopyLiveSregValues() local 509 bool live = live_in_v->IsBitSet(gvn_->GetMirGraph()->SRegToVReg(entry.first)); in CopyLiveSregValues() 511 dest->PutBefore(dest_end, entry.first, entry.second); in CopyLiveSregValues() 531 for (const auto& entry : least_entries_lvn->*map_ptr) { in IntersectSregValueMaps() local 532 bool live_and_same = live_in_v->IsBitSet(gvn_->GetMirGraph()->SRegToVReg(entry.first)); in IntersectSregValueMaps() 536 auto it = (lvn->*map_ptr).find(entry.first); in IntersectSregValueMaps() 537 if (it == (lvn->*map_ptr).end() || !(it->second == entry.second)) { in IntersectSregValueMaps() [all …]
|
D | local_value_numbering.h | 334 const typename Set::value_type& entry, typename Set::iterator hint)> 339 void MergeEscapedRefs(const ValueNameSet::value_type& entry, ValueNameSet::iterator hint); 340 void MergeEscapedIFieldTypeClobberSets(const EscapedIFieldClobberSet::value_type& entry, 342 void MergeEscapedIFieldClobberSets(const EscapedIFieldClobberSet::value_type& entry, 344 void MergeEscapedArrayClobberSets(const EscapedArrayClobberSet::value_type& entry, 346 void MergeNullChecked(const ValueNameSet::value_type& entry, ValueNameSet::iterator hint); 347 void MergeSFieldValues(const SFieldToValueMap::value_type& entry, 349 void MergeNonAliasingIFieldValues(const IFieldLocToValueMap::value_type& entry, 353 void MergeAliasingValues(const typename Map::value_type& entry, typename Map::iterator hint);
|
D | mir_analysis.cc | 1264 MapEntry entry = { in DoCacheMethodLoweringInfo() local 1270 auto it = invoke_map.insert(entry).first; // Iterator to either the old or the new entry. in DoCacheMethodLoweringInfo() 1287 const MapEntry* entry = sequential_entries[pos]; in DoCacheMethodLoweringInfo() local 1288 MirMethodLoweringInfo method_info(entry->target_method_idx, in DoCacheMethodLoweringInfo() 1289 static_cast<InvokeType>(entry->invoke_type)); in DoCacheMethodLoweringInfo() 1290 if (entry->devirt_target != nullptr) { in DoCacheMethodLoweringInfo() 1291 method_info.SetDevirtualizationTarget(*entry->devirt_target); in DoCacheMethodLoweringInfo()
|
D | mir_optimization.cc | 1022 MapEntry entry = { in EliminateClassInitChecksGate() local 1030 index = class_to_index_map.insert(entry).first->index; in EliminateClassInitChecksGate()
|
/art/compiler/dex/quick/ |
D | dex_file_to_method_inliner_map.cc | 35 for (auto& entry : inliners_) { in ~DexFileToMethodInlinerMap() local 36 delete entry.second; in ~DexFileToMethodInlinerMap()
|
/art/test/098-ddmc/ |
D | expected.txt | 2 empty=Allocations[message header len: 15 entry header len: 9 stack frame len: 8 number of entries: … 14 reset=Allocations[message header len: 15 entry header len: 9 stack frame len: 8 number of entries: … 23 goodbye=Allocations[message header len: 15 entry header len: 9 stack frame len: 8 number of entries…
|
/art/test/063-process-manager/src/ |
D | Main.java | 29 for (Map.Entry<Thread, StackTraceElement[]> entry : in checkManager() 31 Thread t = entry.getKey(); in checkManager()
|
/art/runtime/ |
D | elf_file.cc | 72 JITCodeEntry* entry = new JITCodeEntry; in CreateCodeEntry() local 73 entry->symfile_addr_ = symfile_addr; in CreateCodeEntry() 74 entry->symfile_size_ = symfile_size; in CreateCodeEntry() 75 entry->prev_ = nullptr; in CreateCodeEntry() 78 entry->next_ = __jit_debug_descriptor.first_entry_; in CreateCodeEntry() 79 if (entry->next_ != nullptr) { in CreateCodeEntry() 80 entry->next_->prev_ = entry; in CreateCodeEntry() 82 __jit_debug_descriptor.first_entry_ = entry; in CreateCodeEntry() 83 __jit_debug_descriptor.relevant_entry_ = entry; in CreateCodeEntry() 87 return entry; in CreateCodeEntry() [all …]
|
D | reference_table.cc | 54 mirror::Object* entry = entries_[i].Read(); in Remove() local 55 if (entry == obj) { in Remove() 202 mirror::Object* entry = entries[i].Read(); in Dump() local 203 sorted_entries.push_back(GcRoot<mirror::Object>(entry)); in Dump()
|
D | stack_map.h | 98 size_t entry = kFixedSize + register_index * SingleEntrySize(); in SetRegisterInfo() local 99 region_.Store<LocationKind>(entry, kind); in SetRegisterInfo() 100 region_.Store<int32_t>(entry + sizeof(LocationKind), value); in SetRegisterInfo()
|
D | check_jni.cc | 400 void Check(bool entry, const char* fmt0, ...) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in Check() argument 472 if (!entry) { in Check() 480 if (!entry) { in Check() 493 if (!entry) { in Check() 535 } else if (entry) { in Check() 550 if (entry) { in Check()
|
D | jni_internal.cc | 3402 for (mirror::Object** entry : weak_globals_) { in SweepJniWeakGlobals() 3404 mirror::Object* obj = *entry; in SweepJniWeakGlobals() 3409 *entry = new_obj; in SweepJniWeakGlobals()
|
/art/oatdump/ |
D | oatdump.cc | 754 for (size_t entry = 0; entry < map.NumEntries(); entry++) { in DumpGcMap() local 756 map.GetNativePcOffset(entry); in DumpGcMap() 758 DumpGcMapRegisters(os, oat_method, code_item, map.RegWidth() * 8, map.GetBitMap(entry)); in DumpGcMap() 764 for (size_t entry = 0; entry < map.NumEntries(); entry++) { in DumpGcMap() local 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()
|