/art/libartbase/base/ |
D | leb128.h | 37 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 …]
|
D | safe_copy.cc | 51 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/ |
D | card_table_test.cc | 125 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 …]
|
D | atomic_stack.h | 215 for (auto cur = Begin(), end = End(); cur != end; ++cur) { in Contains() local 216 if (cur->AsMirrorPtr() == value) { in Contains()
|
/art/runtime/gc/ |
D | reference_queue.cc | 105 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/ |
D | handle_scope-inl.h | 233 const LocalScopeType* cur = current_scope_; in NumberOfReferences() local 234 while (cur != nullptr) { in NumberOfReferences() 235 sum += cur->NumberOfReferences(); in NumberOfReferences() 236 cur = reinterpret_cast<const LocalScopeType*>(cur->GetLink()); in NumberOfReferences() 243 const LocalScopeType* cur = current_scope_; in Contains() local 244 while (cur != nullptr) { in Contains() 245 if (cur->Contains(handle_scope_entry)) { in Contains() 248 cur = reinterpret_cast<const LocalScopeType*>(cur->GetLink()); in Contains() 255 LocalScopeType* cur = current_scope_; in VisitRoots() local 256 while (cur != nullptr) { in VisitRoots() [all …]
|
D | thread.cc | 2549 for (BaseHandleScope* cur = tlsPtr_.top_handle_scope; cur!= nullptr; cur = cur->GetLink()) { in HandleScopeContains() local 2550 if (cur->Contains(hs_entry)) { in HandleScopeContains() 2561 for (BaseHandleScope* cur = tlsPtr_.top_handle_scope; cur; cur = cur->GetLink()) { in HandleScopeVisitRoots() local 2562 cur->VisitRoots(buffered_visitor); in HandleScopeVisitRoots()
|
/art/tools/dexanalyze/ |
D | dexanalyze_strings.cc | 235 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/test/984-obsolete-invoke/ |
D | obsolete_invoke.cc | 34 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/compiler/utils/ |
D | assembler.h | 141 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/disassembler/ |
D | disassembler_arm64.cc | 120 for (const uint8_t* cur = begin; cur < end; cur += kInstructionSize) { in Dump() local 121 Dump(os, cur); in Dump()
|
D | disassembler_x86.cc | 48 for (const uint8_t* cur = begin; cur < end; cur += length) { in Dump() local 49 length = DumpInstruction(os, cur); in Dump()
|
/art/test/912-classes/ |
D | expected.txt | 63 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/ |
D | Main.java | 257 private Object cur; 264 cur = my_vals.next(); 272 cur = my_vals.next(); 276 res[0] = cur; 290 cur = null;
|
/art/test/1919-vminit-thread-start-timing/ |
D | vminit.cc | 72 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/ |
D | object.cc | 236 for (ObjPtr<Class> cur = c; cur != nullptr; cur = cur->GetSuperClass()) { in CheckFieldAssignmentImpl() local 237 for (ArtField& field : cur->GetIFields()) { in CheckFieldAssignmentImpl()
|
/art/cmdline/detail/ |
D | cmdline_parse_argument_detail.h | 216 [](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/ |
D | Test1908.java | 66 public static native int nativeSpinAndResume(Thread cur); in nativeSpinAndResume() argument
|
/art/runtime/verifier/ |
D | reg_type_test.cc | 974 const RegType* cur = work_list.front(); in TEST_F() local 976 auto it = seen.find(cur); in TEST_F() 980 seen.insert(cur); in TEST_F() 981 new_node(cur); in TEST_F() 984 if (&edge.from == cur) { in TEST_F() 992 auto compute_grey = [&](const RegType* cur) { in TEST_F() argument 993 grey.insert(cur); // Mark discovered node as grey. in TEST_F() 998 auto compute_black = [&](const RegType* cur) { in TEST_F() argument 1000 if (grey.find(cur) != grey.end()) { in TEST_F() 1001 black.insert(cur); in TEST_F()
|
/art/test/ti-stress/ |
D | stress.cc | 664 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/ |
D | region_space.cc | 557 Region* const cur = ®ions_[i + regions_to_clear_bitmap]; in ClearFromSpace() local 558 if (!cur->AllAllocatedBytesAreLive()) { in ClearFromSpace() 559 DCHECK(!cur->IsLargeTail()); in ClearFromSpace() 562 CHECK(cur->IsInUnevacFromSpace()); in ClearFromSpace() 563 cur->SetUnevacFromSpaceAsToSpace(); in ClearFromSpace()
|
/art/openjdkjvmti/ |
D | ti_stack.cc | 136 art::ShadowFrame* cur = GetCurrentShadowFrame(); in GetOrCreateShadowFrame() local 137 if (cur == nullptr) { in GetOrCreateShadowFrame() 141 cur = GetThread()->FindOrCreateDebuggerShadowFrame(GetFrameId(), in GetOrCreateShadowFrame() 145 DCHECK(cur != nullptr); in GetOrCreateShadowFrame() 149 return cur; in GetOrCreateShadowFrame()
|
/art/compiler/jni/ |
D | jni_compiler_test.cc | 550 for (BaseHandleScope* cur = self->GetTopHandleScope(); cur != nullptr; cur = cur->GetLink()) { in NumHandleReferences() local 551 count += cur->NumberOfReferences(); in NumHandleReferences()
|