Home
last modified time | relevance | path

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

/art/libartbase/base/
Dleb128.h37 int cur = *(ptr++); in DecodeUnsignedLeb128() local
38 result = (result & 0x7f) | ((cur & 0x7f) << 7); in DecodeUnsignedLeb128()
39 if (cur > 0x7f) { in DecodeUnsignedLeb128()
40 cur = *(ptr++); in DecodeUnsignedLeb128()
41 result |= (cur & 0x7f) << 14; in DecodeUnsignedLeb128()
42 if (cur > 0x7f) { in DecodeUnsignedLeb128()
43 cur = *(ptr++); in DecodeUnsignedLeb128()
44 result |= (cur & 0x7f) << 21; in DecodeUnsignedLeb128()
45 if (cur > 0x7f) { in DecodeUnsignedLeb128()
48 cur = *(ptr++); in DecodeUnsignedLeb128()
[all …]
Dsafe_copy.cc49 const char* cur = static_cast<const char*>(src); in SafeCopy() local
56 src_iovs[iovecs_used].iov_base = const_cast<char*>(cur); in SafeCopy()
57 if (!IsAlignedParam(cur, PAGE_SIZE)) { in SafeCopy()
58 src_iovs[iovecs_used].iov_len = AlignUp(cur, PAGE_SIZE) - cur; in SafeCopy()
66 cur += src_iovs[iovecs_used].iov_len; in SafeCopy()
/art/runtime/gc/accounting/
Dcard_table_test.cc124 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 …]
Datomic_stack.h212 for (auto cur = Begin(), end = End(); cur != end; ++cur) { in Contains() local
213 if (cur->AsMirrorPtr() == value) { in Contains()
/art/runtime/gc/
Dreference_queue.cc104 ObjPtr<mirror::Reference> cur = list_; in Dump() local
106 if (cur == nullptr) { in Dump()
110 ObjPtr<mirror::Reference> pending_next = cur->GetPendingNext(); in Dump()
111 os << "Reference= " << cur << " PendingNext=" << pending_next; in Dump()
112 if (cur->IsFinalizerReferenceInstance()) { in Dump()
113 os << " Zombie=" << cur->AsFinalizerReference()->GetZombie(); in Dump()
116 cur = pending_next; in Dump()
117 } while (cur != list_); in Dump()
122 ObjPtr<mirror::Reference> cur = list_; in GetLength() local
123 if (cur != nullptr) { in GetLength()
[all …]
/art/runtime/
Dhandle_scope-inl.h218 const LocalScopeType* cur = current_scope_; in NumberOfReferences() local
219 while (cur != nullptr) { in NumberOfReferences()
220 sum += cur->NumberOfReferences(); in NumberOfReferences()
221 cur = reinterpret_cast<const LocalScopeType*>(cur->GetLink()); in NumberOfReferences()
228 const LocalScopeType* cur = current_scope_; in Contains() local
229 while (cur != nullptr) { in Contains()
230 if (cur->Contains(handle_scope_entry)) { in Contains()
233 cur = reinterpret_cast<const LocalScopeType*>(cur->GetLink()); in Contains()
240 LocalScopeType* cur = current_scope_; in VisitRoots() local
241 while (cur != nullptr) { in VisitRoots()
[all …]
Dthread.cc2331 for (BaseHandleScope* cur = tlsPtr_.top_handle_scope; cur!= nullptr; cur = cur->GetLink()) { in HandleScopeContains() local
2332 if (cur->Contains(hs_entry)) { in HandleScopeContains()
2343 for (BaseHandleScope* cur = tlsPtr_.top_handle_scope; cur; cur = cur->GetLink()) { in HandleScopeVisitRoots() local
2344 cur->VisitRoots(buffered_visitor); in HandleScopeVisitRoots()
/art/compiler/utils/
Dassembler.h142 SlowPath* cur = slow_path_; in EnqueueSlowPath() local
143 for ( ; cur->next_ != nullptr ; cur = cur->next_) {} in EnqueueSlowPath()
144 cur->next_ = slowpath; in EnqueueSlowPath()
149 SlowPath* cur = slow_path_; in EmitSlowPaths() local
152 for ( ; cur != nullptr ; cur = next) { in EmitSlowPaths()
153 cur->Emit(sp_asm); in EmitSlowPaths()
154 next = cur->next_; in EmitSlowPaths()
155 delete cur; in EmitSlowPaths() local
/art/test/984-obsolete-invoke/
Dobsolete_invoke.cc34 jthread cur; in Java_art_Test984_getFirstObsoleteMethod984() local
38 if (JvmtiErrorToException(env, jvmti_env, jvmti_env->GetCurrentThread(&cur))) { in Java_art_Test984_getFirstObsoleteMethod984()
43 jvmti_env->GetStackTrace(cur, in Java_art_Test984_getFirstObsoleteMethod984()
/art/disassembler/
Ddisassembler_arm64.cc120 for (const uint8_t* cur = begin; cur < end; cur += kInstructionSize) { in Dump() local
121 Dump(os, cur); in Dump()
Ddisassembler_mips.cc844 for (const uint8_t* cur = begin; cur < end; cur += 4) { in Dump() local
845 Dump(os, cur); in Dump()
Ddisassembler_x86.cc38 for (const uint8_t* cur = begin; cur < end; cur += length) { in Dump() local
39 length = DumpInstruction(os, cur); in Dump()
/art/test/912-classes/
Dexpected.txt63 Prepare: LB; on ClassEvents (cur=ClassEvents)
66 Prepare: LB; on ClassEvents (cur=ClassEvents)
69 Prepare: LA; on ClassEvents (cur=ClassEvents)
71 Prepare: LC; on ClassEvents (cur=ClassEvents)
75 Prepare: LA; on ClassEvents (cur=ClassEvents)
77 Prepare: LC; on ClassEvents (cur=ClassEvents)
81 Prepare: LA; on ClassEvents (cur=ClassEvents)
84 Prepare: LC; on ClassEvents (cur=ClassEvents)
87 Prepare: LA; on TestRunner (cur=TestRunner)
89 Prepare: LC; on TestRunner (cur=TestRunner)
[all …]
/art/test/1919-vminit-thread-start-timing/
Dvminit.cc70 jthread cur; in Test1919AgentThread() local
71 CheckJvmtiError(jvmti, jvmti->GetCurrentThread(&cur)); in Test1919AgentThread()
72 list->events.push_back({ "Test1919AgentThread", env->NewGlobalRef(cur) }); in Test1919AgentThread()
73 env->DeleteLocalRef(cur); in Test1919AgentThread()
/art/runtime/mirror/
Dobject.cc238 for (ObjPtr<Class> cur = c; cur != nullptr; cur = cur->GetSuperClass()) { in CheckFieldAssignmentImpl() local
239 for (ArtField& field : cur->GetIFields()) { in CheckFieldAssignmentImpl()
/art/cmdline/detail/
Dcmdline_parse_argument_detail.h216 [](size_t min, const TokenRange& cur) { in CompleteArgument()
217 return std::min(min, cur.Size()); in CompleteArgument()
221 [](size_t max, const TokenRange& cur) { in CompleteArgument()
222 return std::max(max, cur.Size()); in CompleteArgument()
/art/test/1908-suspend-native-resume-self/src/art/
DTest1908.java66 public static native int nativeSpinAndResume(Thread cur); in nativeSpinAndResume() argument
/art/runtime/gc/space/
Dregion_space.cc345 Region* const cur = &regions_[i + regions_to_clear_bitmap]; in ClearFromSpace() local
346 if (!cur->AllAllocatedBytesAreLive()) { in ClearFromSpace()
347 DCHECK(!cur->IsLargeTail()); in ClearFromSpace()
350 CHECK(cur->IsInUnevacFromSpace()); in ClearFromSpace()
351 cur->SetUnevacFromSpaceAsToSpace(); in ClearFromSpace()
/art/runtime/verifier/
Dreg_type_test.cc960 const RegType* cur = work_list.front(); in TEST_F() local
962 auto it = seen.find(cur); in TEST_F()
966 seen.insert(cur); in TEST_F()
967 new_node(cur); in TEST_F()
970 if (&edge.from == cur) { in TEST_F()
978 auto compute_grey = [&](const RegType* cur) { in TEST_F() argument
979 grey.insert(cur); // Mark discovered node as grey. in TEST_F()
984 auto compute_black = [&](const RegType* cur) { in TEST_F() argument
986 if (grey.find(cur) != grey.end()) { in TEST_F()
987 black.insert(cur); in TEST_F()
/art/test/ti-stress/
Dstress.cc680 std::string cur = GetOption(ops); in ReadOptions() local
681 if (cur == "trace") { in ReadOptions()
683 } else if (cur == "step") { in ReadOptions()
685 } else if (cur == "field") { in ReadOptions()
687 } else if (cur == "redefine") { in ReadOptions()
/art/compiler/jni/
Djni_compiler_test.cc549 for (BaseHandleScope* cur = self->GetTopHandleScope(); cur != nullptr; cur = cur->GetLink()) { in NumHandleReferences() local
550 count += cur->NumberOfReferences(); in NumHandleReferences()