/art/runtime/ |
D | leb128.h | 32 int cur = *(ptr++); in DecodeUnsignedLeb128() local 33 result = (result & 0x7f) | ((cur & 0x7f) << 7); in DecodeUnsignedLeb128() 34 if (cur > 0x7f) { in DecodeUnsignedLeb128() 35 cur = *(ptr++); in DecodeUnsignedLeb128() 36 result |= (cur & 0x7f) << 14; in DecodeUnsignedLeb128() 37 if (cur > 0x7f) { in DecodeUnsignedLeb128() 38 cur = *(ptr++); in DecodeUnsignedLeb128() 39 result |= (cur & 0x7f) << 21; in DecodeUnsignedLeb128() 40 if (cur > 0x7f) { in DecodeUnsignedLeb128() 43 cur = *(ptr++); in DecodeUnsignedLeb128() [all …]
|
D | thread.cc | 1300 for (HandleScope* cur = tlsPtr_.top_handle_scope; cur; cur = cur->GetLink()) { in NumHandleReferences() local 1301 count += cur->NumberOfReferences(); in NumHandleReferences() 1309 for (HandleScope* cur = tlsPtr_.top_handle_scope; cur; cur = cur->GetLink()) { in HandleScopeContains() local 1310 if (cur->Contains(hs_entry)) { in HandleScopeContains() 1319 for (HandleScope* cur = tlsPtr_.top_handle_scope; cur; cur = cur->GetLink()) { in HandleScopeVisitRoots() local 1320 size_t num_refs = cur->NumberOfReferences(); in HandleScopeVisitRoots() 1322 mirror::Object* object = cur->GetReference(j); in HandleScopeVisitRoots() 1327 cur->SetReference(j, object); in HandleScopeVisitRoots()
|
D | instrumentation.cc | 943 InstrumentationListener* cur = *it; in MethodEnterEventImpl() local 946 cur->MethodEntered(thread, this_object, method, dex_pc); in MethodEnterEventImpl() 957 InstrumentationListener* cur = *it; in MethodExitEventImpl() local 960 cur->MethodExited(thread, this_object, method, dex_pc, return_value); in MethodExitEventImpl()
|
/art/runtime/gc/accounting/ |
D | card_table_test.cc | 120 for (byte* cur = start - kCardSize; cur >= HeapBegin(); cur -= kCardSize) { in TEST_F() local 121 EXPECT_EQ(card_table_->GetCard(reinterpret_cast<mirror::Object*>(cur)), PRandCard(cur)); in TEST_F() 123 for (byte* cur = end + kCardSize; cur < HeapLimit(); cur += kCardSize) { in TEST_F() local 124 EXPECT_EQ(card_table_->GetCard(reinterpret_cast<mirror::Object*>(cur)), PRandCard(cur)); in TEST_F() 127 for (byte* cur = start; cur < AlignUp(end, kCardSize); cur += kCardSize) { in TEST_F() local 128 byte* card = card_table_->CardFromAddr(cur); in TEST_F() 129 byte value = PRandCard(cur); in TEST_F() 131 …LOG(ERROR) << reinterpret_cast<void*>(start) << " " << reinterpret_cast<void*>(cur) << " " << rein… in TEST_F()
|
/art/runtime/mirror/ |
D | art_method.cc | 165 for (It cur = table.PcToDexBegin(), end = table.PcToDexEnd(); cur != end; ++cur) { in ToDexPc() local 166 if (cur.NativePcOffset() == sought_offset) { in ToDexPc() 167 return cur.DexPc(); in ToDexPc() 172 for (It2 cur = table.DexToPcBegin(), end = table.DexToPcEnd(); cur != end; ++cur) { in ToDexPc() local 173 if (cur.NativePcOffset() == sought_offset) { in ToDexPc() 174 return cur.DexPc(); in ToDexPc() 195 for (It cur = table.DexToPcBegin(), end = table.DexToPcEnd(); cur != end; ++cur) { in ToNativePc() local 196 if (cur.DexPc() == dex_pc) { in ToNativePc() 197 return reinterpret_cast<uintptr_t>(entry_point) + cur.NativePcOffset(); in ToNativePc() 202 for (It2 cur = table.PcToDexBegin(), end = table.PcToDexEnd(); cur != end; ++cur) { in ToNativePc() local [all …]
|
D | object.cc | 206 for (Class* cur = c; cur != NULL; cur = cur->GetSuperClass()) { in CheckFieldAssignmentImpl() local 207 ObjectArray<ArtField>* fields = cur->GetIFields(); in CheckFieldAssignmentImpl()
|
/art/disassembler/ |
D | disassembler_arm64.cc | 43 for (const uint8_t* cur = begin; cur < end; cur += vixl::kInstructionSize) { in Dump() local 44 Dump(os, cur); in Dump()
|
D | disassembler_mips.cc | 265 for (const uint8_t* cur = begin; cur < end; cur += 4) { in Dump() local 266 Dump(os, cur); in Dump()
|
D | disassembler_arm.cc | 43 for (const uint8_t* cur = begin; cur < end; cur += 4) { in Dump() local 44 DumpArm(os, cur); in Dump() 50 for (const uint8_t* cur = begin; cur < end;) { in Dump() local 51 cur += DumpThumb16(os, cur); in Dump()
|
D | disassembler_x86.cc | 35 for (const uint8_t* cur = begin; cur < end; cur += length) { in Dump() local 36 length = DumpInstruction(os, cur); in Dump()
|
/art/runtime/gc/ |
D | reference_queue.cc | 92 mirror::Reference* cur = list_; in Dump() local 94 while (cur != nullptr) { in Dump() 95 mirror::Reference* pending_next = cur->GetPendingNext(); in Dump() 97 if (cur->IsFinalizerReferenceInstance()) { in Dump() 98 os << " Zombie=" << cur->AsFinalizerReference()->GetZombie(); in Dump() 101 cur = pending_next; in Dump()
|
D | heap.cc | 2583 mirror::ArtField* cur = fields->Get(i); in operator ()() local 2584 if (cur->GetOffset().Int32Value() == offset.Int32Value()) { in operator ()() 2586 << PrettyField(cur); in operator ()()
|
/art/compiler/utils/ |
D | assembler.h | 216 SlowPath* cur = slow_path_; in EnqueueSlowPath() local 217 for ( ; cur->next_ != NULL ; cur = cur->next_) {} in EnqueueSlowPath() 218 cur->next_ = slowpath; in EnqueueSlowPath() 223 SlowPath* cur = slow_path_; in EmitSlowPaths() local 226 for ( ; cur != NULL ; cur = next) { in EmitSlowPaths() 227 cur->Emit(sp_asm); in EmitSlowPaths() 228 next = cur->next_; in EmitSlowPaths() 229 delete cur; in EmitSlowPaths() local
|
/art/oatdump/ |
D | oatdump.cc | 784 for (It cur = table.PcToDexBegin(), end = table.PcToDexEnd(); cur != end; ++cur) { in DumpMappingTable() local 785 indent_os << StringPrintf("0x%04x -> 0x%04x\n", cur.NativePcOffset(), cur.DexPc()); in DumpMappingTable() 792 for (It cur = table.DexToPcBegin(), end = table.DexToPcEnd(); cur != end; ++cur) { in DumpMappingTable() local 793 indent_os << StringPrintf("0x%04x -> 0x%04x\n", cur.NativePcOffset(), cur.DexPc()); in DumpMappingTable() 805 for (It cur = table.PcToDexBegin(), end = table.PcToDexEnd(); cur != end; ++cur) { in DumpMappingAtOffset() local 806 if (offset == cur.NativePcOffset()) { in DumpMappingAtOffset() 807 os << StringPrintf("suspend point dex PC: 0x%04x\n", cur.DexPc()); in DumpMappingAtOffset() 808 return cur.DexPc(); in DumpMappingAtOffset() 813 for (It cur = table.DexToPcBegin(), end = table.DexToPcEnd(); cur != end; ++cur) { in DumpMappingAtOffset() local 814 if (offset == cur.NativePcOffset()) { in DumpMappingAtOffset() [all …]
|
/art/compiler/ |
D | elf_writer_quick.cc | 34 static constexpr Elf32_Word NextOffset(const Elf32_Shdr& cur, const Elf32_Shdr& prev) { in NextOffset() argument 35 return RoundUp(prev.sh_size + prev.sh_offset, cur.sh_addralign); in NextOffset()
|