Home
last modified time | relevance | path

Searched refs:cur (Results 1 – 22 of 22) 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.cc51 const char* cur = static_cast<const char*>(src); in SafeCopy() local
58 src_iovs[iovecs_used].iov_base = const_cast<char*>(cur); in SafeCopy()
59 if (!IsAlignedParam(cur, PAGE_SIZE)) { in SafeCopy()
60 src_iovs[iovecs_used].iov_len = AlignUp(cur, PAGE_SIZE) - cur; in SafeCopy()
68 cur += src_iovs[iovecs_used].iov_len; in SafeCopy()
/art/runtime/gc/accounting/
Dcard_table_test.cc125 for (uint8_t* cur = start - CardTable::kCardSize; cur >= HeapBegin(); in TEST_F() local
126 cur -= CardTable::kCardSize) { in TEST_F()
127 EXPECT_EQ(card_table_->GetCard(reinterpret_cast<mirror::Object*>(cur)), in TEST_F()
128 PseudoRandomCard(cur)); in TEST_F()
130 for (uint8_t* cur = end + CardTable::kCardSize; cur < HeapLimit(); in TEST_F() local
131 cur += CardTable::kCardSize) { in TEST_F()
132 EXPECT_EQ(card_table_->GetCard(reinterpret_cast<mirror::Object*>(cur)), in TEST_F()
133 PseudoRandomCard(cur)); in TEST_F()
136 for (uint8_t* cur = start; cur < AlignUp(end, CardTable::kCardSize); in TEST_F() local
137 cur += CardTable::kCardSize) { in TEST_F()
[all …]
Datomic_stack.h215 for (auto cur = Begin(), end = End(); cur != end; ++cur) { in Contains() local
216 if (cur->AsMirrorPtr() == value) { in Contains()
/art/runtime/gc/
Dreference_queue.cc105 ObjPtr<mirror::Reference> cur = list_; in Dump() local
107 if (cur == nullptr) { in Dump()
111 ObjPtr<mirror::Reference> pending_next = cur->GetPendingNext(); in Dump()
112 os << "Reference= " << cur << " PendingNext=" << pending_next; in Dump()
113 if (cur->IsFinalizerReferenceInstance()) { in Dump()
114 os << " Zombie=" << cur->AsFinalizerReference()->GetZombie(); in Dump()
117 cur = pending_next; in Dump()
118 } while (cur != list_); in Dump()
123 ObjPtr<mirror::Reference> cur = list_; in GetLength() local
124 if (cur != nullptr) { in GetLength()
[all …]
/art/runtime/
Dhandle_scope-inl.h228 const LocalScopeType* cur = current_scope_; in NumberOfReferences() local
229 while (cur != nullptr) { in NumberOfReferences()
230 sum += cur->NumberOfReferences(); in NumberOfReferences()
231 cur = reinterpret_cast<const LocalScopeType*>(cur->GetLink()); in NumberOfReferences()
238 const LocalScopeType* cur = current_scope_; in Contains() local
239 while (cur != nullptr) { in Contains()
240 if (cur->Contains(handle_scope_entry)) { in Contains()
243 cur = reinterpret_cast<const LocalScopeType*>(cur->GetLink()); in Contains()
250 LocalScopeType* cur = current_scope_; in VisitRoots() local
251 while (cur != nullptr) { in VisitRoots()
[all …]
/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/tools/dexanalyze/
Ddexanalyze_strings.cc235 for (MatchTrie* cur = parent_; cur != nullptr; cur = cur->parent_) { in Savings() local
236 if (cur->chosen_) { in Savings()
237 first_used = cur->depth_; in Savings()
238 if (cur->chosen_suffix_count_ == 0u) { in Savings()
291 for (MatchTrie* cur = pair.second->parent_; cur != this; cur = cur->parent_) { in ExtractPrefixes() local
292 if (cur->chosen_) { in ExtractPrefixes()
295 cur->count_ -= count; in ExtractPrefixes()
297 for (MatchTrie* cur = pair.second->parent_; cur != this; cur = cur->parent_) { in ExtractPrefixes() local
298 ++cur->chosen_suffix_count_; in ExtractPrefixes()
318 for (const MatchTrie* cur = this; cur->parent_ != nullptr; cur = cur->parent_) { in GetString() local
[all …]
/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/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.cc845 for (const uint8_t* cur = begin; cur < end; cur += 4) { in Dump() local
846 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.cc72 jthread cur; in Test1919AgentThread() local
73 CheckJvmtiError(jvmti, jvmti->GetCurrentThread(&cur)); in Test1919AgentThread()
74 list->events.push_back({ "Test1919AgentThread", env->NewGlobalRef(cur) }); in Test1919AgentThread()
75 env->DeleteLocalRef(cur); in Test1919AgentThread()
/art/runtime/mirror/
Dobject.cc241 for (ObjPtr<Class> cur = c; cur != nullptr; cur = cur->GetSuperClass()) { in CheckFieldAssignmentImpl() local
242 for (ArtField& field : cur->GetIFields()) { in CheckFieldAssignmentImpl()
/art/test/1908-suspend-native-resume-self/src/art/
DTest1908.java66 public static native int nativeSpinAndResume(Thread cur); in nativeSpinAndResume() argument
/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/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.cc664 std::string cur = GetOption(ops); in ReadOptions() local
665 if (cur == "trace") { in ReadOptions()
667 } else if (cur == "step") { in ReadOptions()
669 } else if (cur == "field") { in ReadOptions()
671 } else if (cur == "redefine") { in ReadOptions()
/art/runtime/gc/space/
Dregion_space.cc553 Region* const cur = &regions_[i + regions_to_clear_bitmap]; in ClearFromSpace() local
554 if (!cur->AllAllocatedBytesAreLive()) { in ClearFromSpace()
555 DCHECK(!cur->IsLargeTail()); in ClearFromSpace()
558 CHECK(cur->IsInUnevacFromSpace()); in ClearFromSpace()
559 cur->SetUnevacFromSpaceAsToSpace(); in ClearFromSpace()
/art/openjdkjvmti/
Dti_stack.cc119 art::ShadowFrame* cur = GetCurrentShadowFrame(); in GetOrCreateShadowFrame() local
120 if (cur == nullptr) { in GetOrCreateShadowFrame()
124 cur = GetThread()->FindOrCreateDebuggerShadowFrame(GetFrameId(), in GetOrCreateShadowFrame()
128 DCHECK(cur != nullptr); in GetOrCreateShadowFrame()
132 return cur; in GetOrCreateShadowFrame()
/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()