Home
last modified time | relevance | path

Searched refs:reference (Results 1 – 25 of 99) sorted by relevance

1234

/art/compiler/optimizing/
Descape.cc23 void CalculateEscape(HInstruction* reference, in CalculateEscape() argument
29 if (!reference->IsNewInstance() && !reference->IsNewArray()) { in CalculateEscape()
40 if (reference->IsNewInstance() && reference->AsNewInstance()->IsFinalizable()) { in CalculateEscape()
47 for (const HUseListNode<HInstruction*>& use : reference->GetUses()) { in CalculateEscape()
49 if (no_escape != nullptr && (*no_escape)(reference, user)) { in CalculateEscape()
63 (user->IsInstanceFieldSet() && (reference == user->InputAt(1))) || in CalculateEscape()
64 (user->IsUnresolvedInstanceFieldSet() && (reference == user->InputAt(1))) || in CalculateEscape()
65 (user->IsStaticFieldSet() && (reference == user->InputAt(1))) || in CalculateEscape()
66 (user->IsUnresolvedStaticFieldSet() && (reference == user->InputAt(0))) || in CalculateEscape()
67 (user->IsArraySet() && (reference == user->InputAt(2)))) { in CalculateEscape()
[all …]
Descape.h54 void CalculateEscape(HInstruction* reference,
64 bool DoesNotEscape(HInstruction* reference, bool (*no_escape)(HInstruction*, HInstruction*));
/art/test/1945-proxy-method-arguments/
Dinfo.txt1 Test checking that reference arguments of proxy methods are visited as
4 accessing one of these reference arguments in the proxy method stack
5 frame, it could end up with a stale reference, as the corresponding
7 reference would not have been updated.
/art/runtime/
Dhandle.h63 ALWAYS_INLINE explicit Handle(StackReference<T>* reference) : reference_(reference) { in Handle() argument
122 explicit Handle(StackReference<S>* reference) in Handle() argument
123 : reference_(reference) { in Handle()
153 ALWAYS_INLINE explicit MutableHandle(StackReference<T>* reference) in MutableHandle() argument
155 : Handle<T>(reference) { in MutableHandle()
158 ALWAYS_INLINE T* Assign(T* reference) REQUIRES_SHARED(Locks::mutator_lock_) { in Assign() argument
161 ref->Assign(reference); in Assign()
165 ALWAYS_INLINE T* Assign(ObjPtr<T> reference) REQUIRES_SHARED(Locks::mutator_lock_) { in Assign() argument
168 ref->Assign(reference.Ptr()); in Assign()
179 explicit MutableHandle(StackReference<S>* reference) REQUIRES_SHARED(Locks::mutator_lock_) in MutableHandle() argument
[all …]
Dreflective_handle.h41 ALWAYS_INLINE explicit ReflectiveHandle(ReflectiveReference<T>* reference) in ReflectiveHandle() argument
42 : reference_(reference) {} in ReflectiveHandle()
90 ALWAYS_INLINE explicit MutableReflectiveHandle(ReflectiveReference<T>* reference) in MutableReflectiveHandle() argument
92 : ReflectiveHandle<T>(reference) {} in MutableReflectiveHandle()
94 ALWAYS_INLINE T* Assign(T* reference) REQUIRES_SHARED(Locks::mutator_lock_) { in Assign() argument
97 ref->Assign(reference); in Assign()
/art/test/800-smali/smali/
Db_22411633_2.smali17 # Create a non-precise object reference. We can do this by merging to objects together
35 # Merge the uninitialized Object from line 12 with the reference to Object from 31. Older
36 # rules set any reference merged with Object to Object. This is wrong in the case of the
37 # other reference being an uninitialized reference, as we'd suddenly allow calling on it.
39 # Test whether it's some initialized reference by calling hashCode. This should fail, as we
Db_22411633_4.smali11 # At this point v4 is an uninitialized reference. This should fail to verify.
12 # Note: we make sure that it is an uninitialized reference and not a conflict in sister
/art/runtime/gc/
Dreference_processor.cc90 ObjPtr<mirror::Reference> reference) { in GetReferent() argument
95 const ObjPtr<mirror::Object> referent = reference->GetReferent(); in GetReferent()
105 ObjPtr<mirror::Object> referent = reference->GetReferent<kWithoutReadBarrier>(); in GetReferent()
127 (LIKELY(!reference->IsFinalizerReferenceInstance()) && reference->IsUnprocessed())) { in GetReferent()
137 return reference->GetReferent(); in GetReferent()
348 ObjPtr<mirror::FinalizerReference> reference) { in MakeCircularListIfUnenqueued() argument
359 if (reference->IsUnprocessed()) { in MakeCircularListIfUnenqueued()
360 CHECK(reference->IsFinalizerReferenceInstance()); in MakeCircularListIfUnenqueued()
361 reference->SetPendingNext(reference); in MakeCircularListIfUnenqueued()
/art/test/600-verifier-fails/
Dinfo.txt13 access validation on field should occur prior to null reference check
16 verification failure (non-reference type) to avoid a compiler crash
19 access validation on method should occur prior to null reference check
/art/libartbase/base/
Dtransform_array_ref.h48 using reference = typename Iter::reference; variable
49 using const_reference = typename ConstIter::reference;
111 reference operator[](size_type n) { return GetFunction()(base()[n]); }
114 reference front() { return GetFunction()(base().front()); } in front()
117 reference back() { return GetFunction()(base().back()); } in back()
Dtransform_iterator.h47 using InputType = typename std::iterator_traits<BaseIterator>::reference;
59 using reference = ResultType; variable
95 reference operator*() const {
99 reference operator[](difference_type n) const {
Darray_slice.h34 using reference = T&; variable
87 reference operator[](size_t index) {
97 reference front() { in front()
107 reference back() { in back()
Dtransform_iterator_test.cc52 static_assert(std::is_same<int, vector_titer::reference>::value, "reference"); in TEST()
59 static_assert(std::is_same<int, vector_ctiter::reference>::value, "reference"); in TEST()
66 static_assert(std::is_same<int, vector_rtiter::reference>::value, "reference"); in TEST()
73 static_assert(std::is_same<int, vector_crtiter::reference>::value, "reference"); in TEST()
155 static_assert(std::is_same<int, list_titer::reference>::value, "reference"); in TEST()
162 static_assert(std::is_same<int, list_ctiter::reference>::value, "reference"); in TEST()
169 static_assert(std::is_same<int, list_rtiter::reference>::value, "reference"); in TEST()
176 static_assert(std::is_same<int, list_crtiter::reference>::value, "reference"); in TEST()
219 static_assert(std::is_same<int, flist_titer::reference>::value, "reference"); in TEST()
226 static_assert(std::is_same<int, flist_ctiter::reference>::value, "reference"); in TEST()
[all …]
Diteration_range.h33 typedef typename std::iterator_traits<Iter>::reference reference; typedef
Darray_ref.h44 using reference = T&; variable
138 reference operator[](size_type n) {
148 reference front() { in front()
158 reference back() { in back()
/art/test/549-checker-types-merge/
Dinfo.txt1 Checker test for testing the type merge during reference type propagation.
/art/test/554-checker-rtp-checkcast/
Dinfo.txt1 Tests that phis with check-casted reference type inputs are typed.
/art/test/557-checker-ref-equivalent/
Dinfo.txt1 Checker tests to ensure we do not get reference and integer phi equivalents.
/art/test/080-oom-throw-with-finalizer/
Dinfo.txt1 Regression test on correct processing of OOM thrown while adding a finalizer reference.
/art/test/1003-metadata-section-strings/
Dinfo.txt1 Test that releasing the metadata cache doesn't break reference equality of string literals.
/art/test/581-rtp/
Dinfo.txt1 Regression test for the reference type propagation pass
/art/test/030-bad-finalizer/
Dexpected.txt1 About to null reference.
/art/tools/veridex/
Dflow_analysis.h52 RegisterValue(RegisterSource source, DexFileReference reference, const VeriClass* type) in RegisterValue() argument
53 : source_(source), value_(0), reference_(reference), type_(type) {} in RegisterValue()
57 DexFileReference reference, in RegisterValue() argument
59 : source_(source), value_(value), reference_(reference), type_(type) {} in RegisterValue()
/art/test/1336-short-finalizer-timeout/
Dexpected.txt2 About to null reference.
/art/test/072-reachability-fence/
Dinfo.txt2 reference.

1234