Home
last modified time | relevance | path

Searched defs:ref (Results 1 – 25 of 94) sorted by relevance

1234

/art/runtime/gc/
Dreference_queue.cc34 void ReferenceQueue::AtomicEnqueueIfNotEnqueued(Thread* self, ObjPtr<mirror::Reference> ref) { in AtomicEnqueueIfNotEnqueued()
42 void ReferenceQueue::EnqueueReference(ObjPtr<mirror::Reference> ref) { in EnqueueReference()
61 ObjPtr<mirror::Reference> ref = list_->GetPendingNext<kWithoutReadBarrier>(); in DequeuePendingReference() local
76 void ReferenceQueue::DisableReadBarrierForReference(ObjPtr<mirror::Reference> ref) { in DisableReadBarrierForReference()
136 ObjPtr<mirror::Reference> ref = DequeuePendingReference(); in ClearWhiteReferences() local
158 ObjPtr<mirror::FinalizerReference> ref = DequeuePendingReference()->AsFinalizerReference(); in EnqueueFinalizerReferences() local
185 ObjPtr<mirror::Reference> ref = head; in ForwardSoftReferences() local
/art/runtime/
Dread_barrier-inl.h58 MirrorType* ref = ref_addr->template AsMirrorPtr<kIsVolatile>(); in Barrier() local
79 MirrorType* ref = ref_addr->template AsMirrorPtr<kIsVolatile>(); in Barrier() local
109 MirrorType* ref = *root; in BarrierForRoot() local
157 MirrorType* ref = root->AsMirrorPtr(); in BarrierForRoot() local
193 inline MirrorType* ReadBarrier::IsMarked(MirrorType* ref) { in IsMarked()
231 mirror::Object* ref) { in AssertToSpaceInvariant()
242 mirror::Object* ref) { in AssertToSpaceInvariant()
Dgc_root-inl.h37 inline GcRoot<MirrorType>::GcRoot(MirrorType* ref) in GcRoot()
41 inline GcRoot<MirrorType>::GcRoot(ObjPtr<MirrorType> ref) in GcRoot()
Dread_barrier.h82 static void AssertToSpaceInvariant(mirror::Object* ref) in AssertToSpaceInvariant()
95 static void MaybeAssertToSpaceInvariant(mirror::Object* ref) in MaybeAssertToSpaceInvariant()
Dhandle.h162 StackReference<mirror::Object>* ref = Handle<T>::GetReference(); in Assign() local
169 StackReference<mirror::Object>* ref = Handle<T>::GetReference(); in Assign() local
/art/dex2oat/dex/
Dquick_compiler_callbacks.cc31 void QuickCompilerCallbacks::ClassRejected(ClassReference ref) { in ClassRejected()
37 ClassStatus QuickCompilerCallbacks::GetPreviousClassState(ClassReference ref) { in GetPreviousClassState()
50 void QuickCompilerCallbacks::UpdateClassState(ClassReference ref, ClassStatus status) { in UpdateClassState()
/art/benchmark/jobject-benchmark/
Djobject_benchmark.cc32 jobject ref = soa.Env()->AddLocalReference<jobject>(obj); in Java_JObjectBenchmark_timeAddRemoveLocal() local
42 jobject ref = soa.Env()->AddLocalReference<jobject>(obj); in Java_JObjectBenchmark_timeDecodeLocal() local
55 jobject ref = soa.Vm()->AddGlobalRef(soa.Self(), obj); in Java_JObjectBenchmark_timeAddRemoveGlobal() local
65 jobject ref = soa.Vm()->AddGlobalRef(soa.Self(), obj); in Java_JObjectBenchmark_timeDecodeGlobal() local
78 jobject ref = soa.Vm()->AddWeakGlobalRef(soa.Self(), obj); in Java_JObjectBenchmark_timeAddRemoveWeakGlobal() local
88 jobject ref = soa.Vm()->AddWeakGlobalRef(soa.Self(), obj); in Java_JObjectBenchmark_timeDecodeWeakGlobal() local
/art/runtime/gc/space/
Dregion_space.h238 bool IsInFromSpace(mirror::Object* ref) { in IsInFromSpace()
251 bool IsInNewlyAllocatedRegion(mirror::Object* ref) { in IsInNewlyAllocatedRegion()
259 bool IsInUnevacFromSpace(mirror::Object* ref) { in IsInUnevacFromSpace()
267 bool IsLargeObject(mirror::Object* ref) { in IsLargeObject()
275 bool IsInToSpace(mirror::Object* ref) { in IsInToSpace()
285 RegionType GetRegionType(mirror::Object* ref) { in GetRegionType()
294 RegionType GetRegionTypeUnsafe(mirror::Object* ref) { in GetRegionTypeUnsafe()
319 void AddLiveBytes(mirror::Object* ref, size_t alloc_size) { in AddLiveBytes()
350 size_t RegionIdxForRefUnchecked(mirror::Object* ref) const NO_THREAD_SAFETY_ANALYSIS { in RegionIdxForRefUnchecked()
361 size_t RegionIdxForRef(mirror::Object* ref) const NO_THREAD_SAFETY_ANALYSIS { in RegionIdxForRef()
[all …]
/art/compiler/dex/
Dverification_results.cc49 MethodReference ref = method_verifier->GetMethodReference(); in ProcessVerifiedMethod() local
109 void VerificationResults::CreateVerifiedMethodFor(MethodReference ref) { in CreateVerifiedMethodFor()
123 void VerificationResults::AddRejectedClass(ClassReference ref) { in AddRejectedClass()
156 MethodReference ref = it->first; in AddDexFile() local
/art/tools/ahat/src/main/com/android/ahat/heapdump/
DReference.java28 public final AhatInstance ref; field in Reference
31 public Reference(AhatInstance src, String field, AhatInstance ref, Reachability reachability) { in Reference()
DDominatorReferenceIterator.java41 Reference ref = mIter.next(); in hasNext() local
/art/runtime/native/
Djava_lang_ref_Reference.cc33 const ObjPtr<mirror::Reference> ref = soa.Decode<mirror::Reference>(javaThis); in Reference_getReferent() local
41 const ObjPtr<mirror::Reference> ref = soa.Decode<mirror::Reference>(javaThis); in Reference_clearReferent() local
Djava_lang_ref_FinalizerReference.cc33 const ObjPtr<mirror::FinalizerReference> ref = soa.Decode<mirror::FinalizerReference>(javaThis); in FinalizerReference_makeCircularListIfUnenqueued() local
39 const ObjPtr<mirror::Reference> ref = soa.Decode<mirror::Reference>(javaThis); in FinalizerReference_getReferent() local
/art/compiler/utils/
Datomic_dex_ref_map-inl.h53 AtomicDexRefMap<DexFileReferenceType, Value>::Insert(const DexFileReferenceType& ref, in Insert()
67 inline bool AtomicDexRefMap<DexFileReferenceType, Value>::Get(const DexFileReferenceType& ref, in Get()
78 inline bool AtomicDexRefMap<DexFileReferenceType, Value>::Remove(const DexFileReferenceType& ref, in Remove()
/art/tools/veridex/
Dprecise_hidden_api_finder.cc52 MethodReference ref) { in AddUsesAt()
97 MethodReference ref = it.first; in Dump() local
115 for (const MethodReference& ref : it.second) { in Dump() local
Dhidden_api_finder.cc34 MethodReference ref) { in CheckMethod()
43 MethodReference ref) { in CheckField()
238 for (const MethodReference& ref : references) { in DumpReferences() local
/art/libartbase/base/
Dintrusive_forward_list_test.cc169 std::forward_list<int> ref({ 1, 2, 7 }); in ConstructRange() local
206 std::forward_list<int> ref; in PushPop() local
239 std::forward_list<int> ref; in InsertAfter1() local
278 std::forward_list<int> ref; in InsertAfter2() local
312 std::forward_list<int> ref({ 1, 2, 7, 4, 5 }); in EraseAfter1() local
375 std::forward_list<int> ref({ 1, 2, 7, 4, 5, 3, 2, 8, 9 }); in EraseAfter2() local
567 std::forward_list<int> ref({ 3, 1, 2, 7, 4, 5, 4, 8, 7 }); in Remove() local
596 std::forward_list<int> ref({ 3, 1, 1, 2, 3, 3, 7, 7, 4, 4, 5, 7 }); in Unique() local
653 std::forward_list<int> ref({ 2, 9, 8, 3, 7, 4, 1, 5, 3, 0 }); in Sort1() local
674 std::forward_list<int> ref({ 2, 9, 8, 3, 7, 4, 1, 5, 3, 0 }); in Sort2() local
[all …]
Dtransform_iterator_test.cc248 auto ref = [](const ValueHolder& h) -> const int& { return h.value; }; in TEST() local
341 auto ref = [](ValueHolder& h) -> int& { return h.value; }; in TEST() local
409 Ref ref; in TEST() local
521 auto ref = [](ValueHolder& h) -> int& { return h.value; }; in TEST() local
/art/profman/
Dboot_image_profile.cc42 static std::string GetTypeDescriptor(const TypeReference& ref) { in GetTypeDescriptor()
48 static std::string BootImageRepresentation(const MethodReference& ref) { in BootImageRepresentation()
61 static std::string BootImageRepresentation(const TypeReference& ref) { in BootImageRepresentation()
66 static std::string PreloadedClassesRepresentation(const TypeReference& ref) { in PreloadedClassesRepresentation()
120 static bool MaybeIsClassClean(const TypeReference& ref) { in MaybeIsClassClean()
/art/runtime/gc/collector/
Dconcurrent_copying-inl.h37 mirror::Object* ref, in MarkUnevacFromSpaceRegion()
96 mirror::Object* ref) { in MarkImmuneSpace()
Dconcurrent_copying.cc477 mirror::Object* ref = *root; in VisitRoots() local
495 mirror::Object* ref = root->AsMirrorPtr(); in VisitRoots() local
615 void CheckReference(ObjPtr<mirror::Object> ref, in CheckReference()
692 void CheckReference(mirror::Object* ref, int32_t offset = -1) const in CheckReference()
922 mirror::Object* ref = *root; in VisitRoots() local
936 mirror::Object* ref = root->AsMirrorPtr(); in VisitRoots() local
1116 void ConcurrentCopying::AddLiveBytesAndScanRef(mirror::Object* ref) { in AddLiveBytesAndScanRef()
1154 bool ConcurrentCopying::TestAndSetMarkBitForRef(mirror::Object* ref) { in TestAndSetMarkBitForRef()
1185 bool ConcurrentCopying::TestMarkBitmapForRef(mirror::Object* ref) { in TestMarkBitmapForRef()
1209 void ConcurrentCopying::PushOntoLocalMarkStack(mirror::Object* ref) { in PushOntoLocalMarkStack()
[all …]
/art/runtime/jni/
Djni_env_ext-inl.h29 IndirectRef ref = locals_.Add(local_ref_cookie_, obj, &error_msg); in AddLocalReference() local
/art/runtime/gc/accounting/
Dmod_union_table-inl.h36 bool ShouldAddReference(const mirror::Object* ref) const override ALWAYS_INLINE { in ShouldAddReference()
/art/tools/ahat/src/test/com/android/ahat/
DRiTest.java37 AhatInstance ref = dump.getDumpedAhatInstance("aWeakRefToFinalizable"); in finalizable() local
/art/test/1002-notify-startup/src-art/
DMain.java60 WeakReference<Class<?>> ref = $noinline$loadClassInLoader(); in run() local

1234