Home
last modified time | relevance | path

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

12

/art/runtime/
Dhandle_scope-inl.h246 const LocalScopeType* cur = current_scope_; in Size() local
247 DCHECK(cur != nullptr); in Size()
249 uint32_t sum = cur->Size(); in Size()
250 cur = down_cast<const LocalScopeType*>(cur->GetLink()); in Size()
251 while (cur != nullptr) { in Size()
253 DCHECK_EQ(cur->Size(), kNumReferencesPerScope); in Size()
255 cur = down_cast<const LocalScopeType*>(cur->GetLink()); in Size()
262 const LocalScopeType* cur = current_scope_; in Capacity() local
263 while (cur != nullptr) { in Capacity()
264 DCHECK_EQ(cur->Capacity(), kNumReferencesPerScope); in Capacity()
[all …]
/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.h252 for (auto cur = Begin(), end = End(); cur != end; ++cur) { in Contains() local
253 if (cur->AsMirrorPtr() == value) { in Contains()
/art/runtime/gc/
Dreference_queue.cc106 ObjPtr<mirror::Reference> cur = list_; in Dump() local
108 if (cur == nullptr) { in Dump()
112 ObjPtr<mirror::Reference> pending_next = cur->GetPendingNext(); in Dump()
113 os << "Reference= " << cur << " PendingNext=" << pending_next; in Dump()
114 if (cur->IsFinalizerReferenceInstance()) { in Dump()
115 os << " Zombie=" << cur->AsFinalizerReference()->GetZombie(); in Dump()
118 cur = pending_next; in Dump()
119 } while (cur != list_); in Dump()
124 ObjPtr<mirror::Reference> cur = list_; in GetLength() local
125 if (cur != nullptr) { in GetLength()
[all …]
/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.h141 SlowPath* cur = slow_path_; in EnqueueSlowPath() local
142 for ( ; cur->next_ != nullptr ; cur = cur->next_) {} in EnqueueSlowPath()
143 cur->next_ = slowpath; in EnqueueSlowPath()
148 SlowPath* cur = slow_path_; in EmitSlowPaths() local
151 for ( ; cur != nullptr ; cur = next) { in EmitSlowPaths()
152 cur->Emit(sp_asm); in EmitSlowPaths()
153 next = cur->next_; in EmitSlowPaths()
154 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/libartbase/base/
Dleb128.h236 void InsertBackUnsigned(It cur, It end) { in InsertBackUnsigned() argument
237 for (; cur != end; ++cur) { in InsertBackUnsigned()
238 PushBackUnsigned(*cur); in InsertBackUnsigned()
247 void InsertBackSigned(It cur, It end) { in InsertBackSigned() argument
248 for (; cur != end; ++cur) { in InsertBackSigned()
249 PushBackSigned(*cur); in InsertBackSigned()
/art/disassembler/
Ddisassembler_arm64.cc166 for (const uint8_t* cur = begin; cur < end; cur += kInstructionSize) { in Dump() local
167 Dump(os, cur); in Dump()
Ddisassembler_riscv64.cc1996 const uint8_t* cur = begin; in Dump() local
1997 if (cur < end && !IsAligned<2u>(cur)) { in Dump()
1999 printer.DumpByte(cur); in Dump()
2000 cur += 1; in Dump()
2002 if (cur >= end) { in Dump()
2005 while (end - cur >= 4) { in Dump()
2006 if ((*cur & 3u) == 3u) { in Dump()
2007 printer.Dump32(cur); in Dump()
2008 cur += 4; in Dump()
2010 printer.Dump16(cur); in Dump()
[all …]
Ddisassembler_x86.cc48 for (const uint8_t* cur = begin; cur < end; cur += length) { in Dump() local
49 length = DumpInstruction(os, cur); in Dump()
/art/test/912-classes/
Dexpected-stdout.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/1980-obsolete-object-cleared/src/
DMain.java257 private Object cur;
264 cur = my_vals.next();
272 cur = my_vals.next();
276 res[0] = cur;
290 cur = null;
/art/runtime/mirror/
Dobject.cc250 for (ObjPtr<Class> cur = c; cur != nullptr; cur = cur->GetSuperClass()) { in CheckFieldAssignmentImpl() local
251 for (ArtField& field : cur->GetIFields()) { in CheckFieldAssignmentImpl()
/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/compiler/optimizing/
Dreference_type_propagation_test.cc279 for (auto cur : Range(kNumBlocks)) { in RunVisitListTest() local
280 for (auto nxt : Range(cur + 1, std::min(cur + 1 + kTestMaxSuccessors, kNumBlocks))) { in RunVisitListTest()
281 edges.emplace_back(mid_blocks[cur], mid_blocks[nxt]); in RunVisitListTest()
381 for (auto cur : Range(kNumBlocks)) { in RunVisitListTest() local
382 for (auto nxt : Range(cur + 1, std::min(cur + 1 + kTestMaxSuccessors, kNumBlocks))) { in RunVisitListTest()
383 edges.emplace_back(mid_blocks[cur], mid_blocks[nxt]); in RunVisitListTest()
Doptimizing_unit_test.h351 [&](std::pair<HBasicBlock*, uint32_t> cur) { in EnsurePredecessorOrder()
352 if (cur.first == pred && !bv.IsBitSet(cur.second)) { in EnsurePredecessorOrder()
353 bv.SetBit(cur.second); in EnsurePredecessorOrder()
/art/tools/jvmti-agents/simple-profile/
Dsimple_profile.cc79 void FinishInitialization(jvmtiEnv* jvmti, JNIEnv* jni, jthread cur);
174 void SimpleProfileData::FinishInitialization(jvmtiEnv* jvmti, JNIEnv* env, jthread cur) { in FinishInitialization() argument
206 CHECK_JVMTI(jvmti->SetEventNotificationMode(JVMTI_ENABLE, JVMTI_EVENT_THREAD_END, cur)); in FinishInitialization()
499 ScopedLocalRef<jthread> cur(env, nullptr); in AgentStart() local
501 cur.reset(temp); in AgentStart()
502 VMInitCB(jvmti, env, cur.get()); in AgentStart()
/art/cmdline/detail/
Dcmdline_parse_argument_detail.h265 [](size_t min, const TokenRange& cur) { in CompleteArgument()
266 return std::min(min, cur.Size()); in CompleteArgument()
270 [](size_t max, const TokenRange& cur) { in CompleteArgument()
271 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/cmdline/
Dcmdline_parser.h757 auto cur = args.find(it); in DumpHelp() local
758 if (cur != args.end() && !cur->second.empty()) { in DumpHelp()
761 for (detail::CmdlineParseArgumentAny* arg : cur->second) { in DumpHelp()
765 args.erase(cur->first); in DumpHelp()
/art/runtime/verifier/
Dreg_type_test.cc1015 const RegType* cur = work_list.front(); in TEST_F() local
1017 auto it = seen.find(cur); in TEST_F()
1021 seen.insert(cur); in TEST_F()
1022 new_node(cur); in TEST_F()
1025 if (&edge.from == cur) { in TEST_F()
1033 auto compute_grey = [&](const RegType* cur) { in TEST_F() argument
1034 grey.insert(cur); // Mark discovered node as grey. in TEST_F()
1039 auto compute_black = [&](const RegType* cur) { in TEST_F() argument
1041 if (grey.find(cur) != grey.end()) { in TEST_F()
1042 black.insert(cur); in TEST_F()
/art/test/ti-stress/
Dstress.cc663 std::string cur = GetOption(ops); in ReadOptions() local
664 if (cur == "trace") { in ReadOptions()
666 } else if (cur == "step") { in ReadOptions()
668 } else if (cur == "field") { in ReadOptions()
670 } else if (cur == "redefine") { in ReadOptions()
/art/runtime/gc/space/
Dregion_space.cc558 Region* const cur = &regions_[i + regions_to_clear_bitmap]; in ClearFromSpace() local
559 if (!cur->AllAllocatedBytesAreLive()) { in ClearFromSpace()
560 DCHECK(!cur->IsLargeTail()); in ClearFromSpace()
563 CHECK(cur->IsInUnevacFromSpace()); in ClearFromSpace()
564 cur->SetUnevacFromSpaceAsToSpace(); in ClearFromSpace()
/art/openjdkjvmti/
Dti_stack.cc134 art::ShadowFrame* cur = GetCurrentShadowFrame(); in GetOrCreateShadowFrame() local
135 if (cur == nullptr) { in GetOrCreateShadowFrame()
139 cur = GetThread()->FindOrCreateDebuggerShadowFrame(GetFrameId(), in GetOrCreateShadowFrame()
143 DCHECK(cur != nullptr); in GetOrCreateShadowFrame()
147 return cur; in GetOrCreateShadowFrame()

12