Home
last modified time | relevance | path

Searched refs:cur (Results 1 – 15 of 15) sorted by relevance

/art/runtime/
Dleb128.h32 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 …]
Dthread.cc1300 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()
Dinstrumentation.cc943 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/
Dcard_table_test.cc120 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/
Dart_method.cc165 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 …]
Dobject.cc206 for (Class* cur = c; cur != NULL; cur = cur->GetSuperClass()) { in CheckFieldAssignmentImpl() local
207 ObjectArray<ArtField>* fields = cur->GetIFields(); in CheckFieldAssignmentImpl()
/art/disassembler/
Ddisassembler_arm64.cc43 for (const uint8_t* cur = begin; cur < end; cur += vixl::kInstructionSize) { in Dump() local
44 Dump(os, cur); in Dump()
Ddisassembler_mips.cc265 for (const uint8_t* cur = begin; cur < end; cur += 4) { in Dump() local
266 Dump(os, cur); in Dump()
Ddisassembler_arm.cc43 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()
Ddisassembler_x86.cc35 for (const uint8_t* cur = begin; cur < end; cur += length) { in Dump() local
36 length = DumpInstruction(os, cur); in Dump()
/art/runtime/gc/
Dreference_queue.cc92 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()
Dheap.cc2583 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/
Dassembler.h216 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/
Doatdump.cc784 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/
Delf_writer_quick.cc34 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()