/art/runtime/ |
D | leb128.h | 35 int cur = *(ptr++); in DecodeUnsignedLeb128() local 36 result = (result & 0x7f) | ((cur & 0x7f) << 7); in DecodeUnsignedLeb128() 37 if (cur > 0x7f) { in DecodeUnsignedLeb128() 38 cur = *(ptr++); in DecodeUnsignedLeb128() 39 result |= (cur & 0x7f) << 14; in DecodeUnsignedLeb128() 40 if (cur > 0x7f) { in DecodeUnsignedLeb128() 41 cur = *(ptr++); in DecodeUnsignedLeb128() 42 result |= (cur & 0x7f) << 21; in DecodeUnsignedLeb128() 43 if (cur > 0x7f) { in DecodeUnsignedLeb128() 46 cur = *(ptr++); in DecodeUnsignedLeb128() [all …]
|
D | art_method.cc | 200 for (It cur = table.PcToDexBegin(), end = table.PcToDexEnd(); cur != end; ++cur) { in ToDexPc() local 201 if (cur.NativePcOffset() == sought_offset) { in ToDexPc() 202 return cur.DexPc(); in ToDexPc() 207 for (It2 cur = table.DexToPcBegin(), end = table.DexToPcEnd(); cur != end; ++cur) { in ToDexPc() local 208 if (cur.NativePcOffset() == sought_offset) { in ToDexPc() 209 return cur.DexPc(); in ToDexPc() 232 for (It cur = table.DexToPcBegin(), end = table.DexToPcEnd(); cur != end; ++cur) { in ToNativeQuickPc() local 233 if (cur.DexPc() == dex_pc) { in ToNativeQuickPc() 234 return reinterpret_cast<uintptr_t>(entry_point) + cur.NativePcOffset(); in ToNativeQuickPc() 239 for (It2 cur = table.PcToDexBegin(), end = table.PcToDexEnd(); cur != end; ++cur) { in ToNativeQuickPc() local [all …]
|
D | thread.cc | 1504 for (HandleScope* cur = tlsPtr_.top_handle_scope; cur != nullptr; cur = cur->GetLink()) { in NumHandleReferences() local 1505 count += cur->NumberOfReferences(); in NumHandleReferences() 1513 for (HandleScope* cur = tlsPtr_.top_handle_scope; cur!= nullptr; cur = cur->GetLink()) { in HandleScopeContains() local 1514 if (cur->Contains(hs_entry)) { in HandleScopeContains() 1525 for (HandleScope* cur = tlsPtr_.top_handle_scope; cur; cur = cur->GetLink()) { in HandleScopeVisitRoots() local 1526 for (size_t j = 0, count = cur->NumberOfReferences(); j < count; ++j) { in HandleScopeVisitRoots() 1529 buffered_visitor.VisitRootIfNonNull(cur->GetHandle(j).GetReference()); in HandleScopeVisitRoots()
|
D | instrumentation.cc | 867 InstrumentationListener* cur = *it; in MethodEnterEventImpl() local 870 cur->MethodEntered(thread, this_object, method, dex_pc); in MethodEnterEventImpl() 881 InstrumentationListener* cur = *it; in MethodExitEventImpl() local 884 cur->MethodExited(thread, this_object, method, dex_pc, return_value); in MethodExitEventImpl()
|
/art/runtime/gc/accounting/ |
D | card_table_test.cc | 124 for (uint8_t* cur = start - CardTable::kCardSize; cur >= HeapBegin(); in TEST_F() local 125 cur -= CardTable::kCardSize) { in TEST_F() 126 EXPECT_EQ(card_table_->GetCard(reinterpret_cast<mirror::Object*>(cur)), in TEST_F() 127 PseudoRandomCard(cur)); in TEST_F() 129 for (uint8_t* cur = end + CardTable::kCardSize; cur < HeapLimit(); in TEST_F() local 130 cur += CardTable::kCardSize) { in TEST_F() 131 EXPECT_EQ(card_table_->GetCard(reinterpret_cast<mirror::Object*>(cur)), in TEST_F() 132 PseudoRandomCard(cur)); in TEST_F() 135 for (uint8_t* cur = start; cur < AlignUp(end, CardTable::kCardSize); in TEST_F() local 136 cur += CardTable::kCardSize) { in TEST_F() [all …]
|
D | atomic_stack.h | 199 for (auto cur = Begin(), end = End(); cur != end; ++cur) { in Contains() local 200 if (cur->AsMirrorPtr() == value) { in Contains()
|
/art/runtime/gc/ |
D | reference_queue.cc | 111 mirror::Reference* cur = list_; in Dump() local 113 if (cur == nullptr) { in Dump() 117 mirror::Reference* pending_next = cur->GetPendingNext(); in Dump() 118 os << "Reference= " << cur << " PendingNext=" << pending_next; in Dump() 119 if (cur->IsFinalizerReferenceInstance()) { in Dump() 120 os << " Zombie=" << cur->AsFinalizerReference()->GetZombie(); in Dump() 123 cur = pending_next; in Dump() 124 } while (cur != list_); in Dump() 129 mirror::Reference* cur = list_; in GetLength() local 130 if (cur != nullptr) { in GetLength() [all …]
|
D | heap.cc | 2891 ArtField* cur = &fields[i]; in operator ()() local 2892 if (cur->GetOffset().Int32Value() == offset.Int32Value()) { in operator ()() 2894 << PrettyField(cur); in operator ()()
|
/art/disassembler/ |
D | disassembler_arm64.cc | 111 for (const uint8_t* cur = begin; cur < end; cur += vixl::kInstructionSize) { in Dump() local 112 Dump(os, cur); in Dump()
|
D | disassembler_mips.cc | 455 for (const uint8_t* cur = begin; cur < end; cur += 4) { in Dump() local 456 Dump(os, cur); in Dump()
|
D | disassembler_arm.cc | 45 for (const uint8_t* cur = begin; cur < end; cur += 4) { in Dump() local 46 DumpArm(os, cur); in Dump() 52 for (const uint8_t* cur = begin; cur < end;) { in Dump() local 53 cur += DumpThumb16(os, cur); in Dump()
|
D | disassembler_x86.cc | 37 for (const uint8_t* cur = begin; cur < end; cur += length) { in Dump() local 38 length = DumpInstruction(os, cur); in Dump()
|
/art/compiler/utils/ |
D | assembler.h | 222 SlowPath* cur = slow_path_; in EnqueueSlowPath() local 223 for ( ; cur->next_ != nullptr ; cur = cur->next_) {} in EnqueueSlowPath() 224 cur->next_ = slowpath; in EnqueueSlowPath() 229 SlowPath* cur = slow_path_; in EmitSlowPaths() local 232 for ( ; cur != nullptr ; cur = next) { in EmitSlowPaths() 233 cur->Emit(sp_asm); in EmitSlowPaths() 234 next = cur->next_; in EmitSlowPaths() 235 delete cur; in EmitSlowPaths() local
|
/art/runtime/mirror/ |
D | object.cc | 205 for (Class* cur = c; cur != nullptr; cur = cur->GetSuperClass()) { in CheckFieldAssignmentImpl() local 206 ArtField* fields = cur->GetIFields(); in CheckFieldAssignmentImpl() 207 for (size_t i = 0, count = cur->NumInstanceFields(); i < count; ++i) { in CheckFieldAssignmentImpl()
|
/art/cmdline/detail/ |
D | cmdline_parse_argument_detail.h | 214 [](size_t min, const TokenRange& cur) { in CompleteArgument() 215 return std::min(min, cur.Size()); in CompleteArgument() 219 [](size_t max, const TokenRange& cur) { in CompleteArgument() 220 return std::max(max, cur.Size()); in CompleteArgument()
|
/art/oatdump/ |
D | oatdump.cc | 1187 for (It cur = table.PcToDexBegin(), end = table.PcToDexEnd(); cur != end; ++cur) { in DumpMappingTable() local 1188 indent_os << StringPrintf("0x%04x -> 0x%04x\n", cur.NativePcOffset(), cur.DexPc()); in DumpMappingTable() 1195 for (It cur = table.DexToPcBegin(), end = table.DexToPcEnd(); cur != end; ++cur) { in DumpMappingTable() local 1196 indent_os << StringPrintf("0x%04x -> 0x%04x\n", cur.NativePcOffset(), cur.DexPc()); in DumpMappingTable() 1208 for (It cur = table.PcToDexBegin(), end = table.PcToDexEnd(); cur != end; ++cur) { in DumpMappingAtOffset() local 1209 if (offset == cur.NativePcOffset()) { in DumpMappingAtOffset() 1210 os << StringPrintf("suspend point dex PC: 0x%04x\n", cur.DexPc()); in DumpMappingAtOffset() 1211 return cur.DexPc(); in DumpMappingAtOffset() 1216 for (It cur = table.DexToPcBegin(), end = table.DexToPcEnd(); cur != end; ++cur) { in DumpMappingAtOffset() local 1217 if (offset == cur.NativePcOffset()) { in DumpMappingAtOffset() [all …]
|