Home
last modified time | relevance | path

Searched refs:GetReference (Results 1 – 25 of 26) sorted by relevance

12

/art/runtime/
Dindirect_reference_table-inl.h48 if (UNLIKELY(table_[idx].GetReference()->IsNull())) { in IsValidReference()
87 DCHECK(!table_[idx].GetReference()->IsNull()); in Get()
88 ObjPtr<mirror::Object> obj = table_[idx].GetReference()->Read<kReadBarrierOption>(); in Get()
98 DCHECK(!table_[idx].GetReference()->IsNull()); in Update()
Dindirect_reference_table.cc178 if (table[index].GetReference()->IsNull()) { in CountNullEntries()
309 DCHECK(!p_scan->GetReference()->IsNull()); in Add()
311 while (!p_scan->GetReference()->IsNull()) { in Add()
335 if (!table_[i].GetReference()->IsNull()) { in AssertEmpty()
407 *table_[idx].GetReference() = GcRoot<mirror::Object>(nullptr); in Remove()
415 << table_[collapse_top_index - 1].GetReference()->Read<kWithoutReadBarrier>(); in Remove()
417 if (!table_[collapse_top_index - 1].GetReference()->IsNull()) { in Remove()
437 if (table_[idx].GetReference()->IsNull()) { in Remove()
445 *table_[idx].GetReference() = GcRoot<mirror::Object>(nullptr); in Remove()
481 ObjPtr<mirror::Object> obj = table_[i].GetReference()->Read<kWithoutReadBarrier>(); in Dump()
[all …]
Dhandle.h96 ALWAYS_INLINE StackReference<mirror::Object>* GetReference() { in GetReference() function
100 ALWAYS_INLINE const StackReference<mirror::Object>* GetReference() const { in GetReference() function
154 StackReference<mirror::Object>* ref = Handle<T>::GetReference(); in Assign()
161 StackReference<mirror::Object>* ref = Handle<T>::GetReference(); in Assign()
Dhandle_scope_test.cc109 EXPECT_TRUE(hs.Contains(handles.back().GetReference())); in TEST_F()
110 EXPECT_TRUE(base->Contains(handles.back().GetReference())); in TEST_F()
Dindirect_reference_table.h161 GcRoot<mirror::Object>* GetReference() { in GetReference() function
166 const GcRoot<mirror::Object>* GetReference() const { in GetReference() function
200 return table_[i_].GetReference(); in REQUIRES_SHARED()
Dmethod_handles-inl.h53 ALWAYS_INLINE ObjPtr<mirror::Object> GetReference() REQUIRES_SHARED(Locks::mutator_lock_) { in GetReference() function
188 setter->SetReference(getter->GetReference()); in PerformConversions()
197 value.SetL(getter->GetReference()); in PerformConversions()
Dhandle_scope-inl.h80 inline ObjPtr<mirror::Object> HandleScope::GetReference(size_t i) const { in GetReference() function
120 visitor.VisitRootIfNonNull(GetHandle(i).GetReference()); in VisitRoots()
Dhandle_scope.h108 ALWAYS_INLINE ObjPtr<mirror::Object> GetReference(size_t i) const
Dstring_builder_append.cc285 ObjPtr<mirror::String>::DownCast(hs_.GetReference(handle_index)); in StoreData()
/art/tools/veridex/
Dhidden_api_finder.cc96 reflection_locations_[name].push_back(method.GetReference()); in CollectAccesses()
106 CheckMethod(inst->VRegB_35c(), resolver, method.GetReference()); in CollectAccesses()
115 CheckMethod(inst->VRegB_3rc(), resolver, method.GetReference()); in CollectAccesses()
126 CheckField(inst->VRegC_22c(), resolver, method.GetReference()); in CollectAccesses()
137 CheckField(inst->VRegC_22c(), resolver, method.GetReference()); in CollectAccesses()
148 CheckField(inst->VRegB_21c(), resolver, method.GetReference()); in CollectAccesses()
159 CheckField(inst->VRegB_21c(), resolver, method.GetReference()); in CollectAccesses()
Dprecise_hidden_api_finder.cc70 AddUsesAt(collector.GetUses(), method.GetReference()); in Run()
88 AddUsesAt(substitutor.GetUses(), method.GetReference()); in Run()
/art/compiler/driver/
Ddex_compilation_unit.cc66 if (GetCompilingClass().GetReference() != nullptr && !GetCompilingClass().IsNull()) { in RequiresConstructorBarrier()
/art/compiler/optimizing/
Dload_store_analysis.h88 HInstruction* GetReference() const { in GetReference() function
105 auto ref = GetReference(); in IsPartialSingleton()
306 if (ref_info->GetReference() == ref) { in FindReferenceInfoOf()
445 if (ref_info1->GetReference()->IsNewInstance() || ref_info1->GetReference()->IsNewArray()) { in MayAliasWithPreexistenceChecking()
Dload_store_analysis.cc190 if (ri == nullptr || seen_instructions[ri->GetReference()->GetId()]) { in DumpReferenceStats()
193 auto instruction = ri->GetReference(); in DumpReferenceStats()
Dinliner.cc341 DCHECK(classes.GetReference(0) != nullptr); in GetMonomorphicType()
342 return classes.GetReference(0)->AsClass(); in GetMonomorphicType()
926 DCHECK(classes.GetReference(i) != nullptr); in TryInlinePolymorphicCall()
928 graph_->GetHandleCache()->NewHandle(classes.GetReference(i)->AsClass()); in TryInlinePolymorphicCall()
1095 DCHECK(classes.GetReference(i) != nullptr); in TryInlinePolymorphicCallToSameTarget()
1098 new_method = classes.GetReference(i)->AsClass()->GetImt(pointer_size)->Get( in TryInlinePolymorphicCallToSameTarget()
1108 classes.GetReference(i)->AsClass()->GetEmbeddedVTableEntry(method_index, pointer_size); in TryInlinePolymorphicCallToSameTarget()
Dload_store_elimination.cc1050 HInstruction* reference = info->GetReference(); in VisitDeoptimize()
1184 heap_location_collector_.GetHeapLocation(i)->GetReferenceInfo()->GetReference(); in VisitNewInstance()
1221 HInstruction* ref = location->GetReferenceInfo()->GetReference(); in VisitNewArray()
1511 HInstruction* ref = location->GetReferenceInfo()->GetReference(); in PrepareLoopValue()
1533 block->GetLoopInformation()->Contains(*ref_info->GetReference()->GetBlock())) { in PrepareLoopStoredBy()
3555 ri->GetReference()->GetBlock() != nullptr && in CollectInterestingHeapRefs()
3556 ri->GetNoEscapeSubgraph()->ContainsBlock(ri->GetReference()->GetBlock())) { in CollectInterestingHeapRefs()
3557 RecordHeapRefField(ri->GetReference()->AsNewInstance(), i); in CollectInterestingHeapRefs()
Dcode_generator.cc167 reinterpret_cast64<uint64_t>(string.GetReference())); in ReserveJitStringRoot()
179 jit_class_roots_.Overwrite(type_reference, reinterpret_cast64<uint64_t>(klass.GetReference())); in ReserveJitClassRoot()
Doptimizing_compiler.cc1386 return handles.Contains(root.GetReference()); in JitCompile()
/art/runtime/interpreter/
Dunstarted_runtime_test.cc118 result->Set(static_cast<int32_t>(i), data.GetReference(i)); in CreateObjectArray()
130 EXPECT_OBJ_PTR_EQ(data.GetReference(i), array->Get(static_cast<int32_t>(i))) << i; in CheckObjectArray()
501 hs_expected.NewHandle(hs_dst.GetReference(0)); in TEST_F()
502 hs_expected.NewHandle(hs_dst.GetReference(1)); in TEST_F()
503 hs_expected.NewHandle(hs_src.GetReference(1)); in TEST_F()
532 hs_expected.NewHandle(hs_dst.GetReference(0)); in TEST_F()
533 hs_expected.NewHandle(hs_src.GetReference(1)); in TEST_F()
534 hs_expected.NewHandle(hs_dst.GetReference(2)); in TEST_F()
563 hs_expected.NewHandle(hs_src.GetReference(0)); in TEST_F()
564 hs_expected.NewHandle(hs_dst.GetReference(1)); in TEST_F()
[all …]
/art/libdexfile/dex/
Dclass_accessor-inl.h76 inline MethodReference ClassAccessor::Method::GetReference() const { in GetReference() function
Dclass_accessor.h103 MethodReference GetReference() const;
/art/runtime/mirror/
Demulated_stack_frame.cc109 ALWAYS_INLINE ObjPtr<mirror::Object> GetReference() REQUIRES_SHARED(Locks::mutator_lock_) { in GetReference() function in art::mirror::EmulatedStackFrameAccessor
Dvar_handle.cc766 return getter->GetReference(); in Get()
1665 obj = getter.GetReference(); in Access()
1708 ObjPtr<Object> raw_array(getter.GetReference()); in Access()
1800 ObjPtr<Object> raw_byte_array(getter.GetReference()); in Access()
1888 ObjPtr<Object> byte_buffer(getter.GetReference()); in Access()
/art/dex2oat/driver/
Dcompiler_driver.cc584 profile_compilation_info->GetMethodHotness(method.GetReference()); in ResolveConstStrings()
1795 verification_results->CreateVerifiedMethodFor(method.GetReference()); in FastVerify()
/art/profman/
Dprofman.cc1450 methods.push_back(ProfileMethodInfo(method.GetReference())); in ProcessLine()

12