Home
last modified time | relevance | path

Searched refs:Ptr (Results 1 – 25 of 108) sorted by relevance

12345

/art/runtime/
Dobj_ptr.h70 ? Encode(static_cast<MirrorType*>(other.Ptr())) in ObjPtr()
79 ? Encode(static_cast<MirrorType*>(other.Ptr())) in REQUIRES_SHARED()
94 return Ptr();
102 ALWAYS_INLINE MirrorType* Ptr() const REQUIRES_SHARED(Locks::mutator_lock_) { in Ptr() function
112 return Ptr() == ptr.Ptr();
118 return Ptr() == ptr;
126 return Ptr() != ptr.Ptr();
132 return Ptr() != ptr;
154 return static_cast<MirrorType*>(ptr.Ptr()); in DownCast()
182 return std::hash<MirrorType*>()(ptr.Ptr()); in operator()
Dcommon_runtime_test.h44 #define EXPECT_OBJ_PTR_EQ(a, b) EXPECT_EQ(MakeObjPtr(a).Ptr(), MakeObjPtr(b).Ptr());
45 #define ASSERT_OBJ_PTR_EQ(a, b) ASSERT_EQ(MakeObjPtr(a).Ptr(), MakeObjPtr(b).Ptr());
46 #define EXPECT_OBJ_PTR_NE(a, b) EXPECT_NE(MakeObjPtr(a).Ptr(), MakeObjPtr(b).Ptr());
47 #define ASSERT_OBJ_PTR_NE(a, b) ASSERT_NE(MakeObjPtr(a).Ptr(), MakeObjPtr(b).Ptr());
Ddebug_print.cc40 heap->FindContinuousSpaceFromObject(klass.Ptr(), /* fail_ok */ true); in DescribeSpace()
153 << " " << target_class.Ptr() << "[" << DescribeSpace(target_class) << "]" in DumpB77342775DebugData()
162 << " " << src_class.Ptr() << "[" << DescribeSpace(src_class) << "]" in DumpB77342775DebugData()
175 << " " << src_class.Ptr() << "[" << DescribeSpace(src_class) << "]" in DumpB77342775DebugData()
Dindirect_reference_table-inl.h114 references_[serial_] = GcRoot<mirror::Object>(obj.Ptr()); in Add()
119 references_[serial_] = GcRoot<mirror::Object>(obj.Ptr()); in SetReference()
Dnon_debuggable_classes.cc34 if (self->DecodeJObject(c)->AsClass() == mirror_klass.Ptr()) { in AddNonDebuggableClass()
Dverify_object.cc35 bool failed = !IsAligned<kObjectAlignment>(obj.Ptr()); in VerifyObjectImpl()
Djvalue-inl.h27 l = new_l.Ptr(); in SetL()
Dgc_root-inl.h42 : GcRoot(ref.Ptr()) { } in GcRoot()
Dcommon_dex_operations.h107 this_object.Ptr(), in DoFieldGetCommon()
166 this_object.Ptr(), in DoFieldPutCommon()
207 if (!reg->VerifierInstanceOf(field_class.Ptr())) { in DoFieldPutCommon()
Dclass_table-inl.h100 return after_ptr.Ptr(); in Read()
123 return reinterpret_cast<uintptr_t>(klass.Ptr()) | hash_bits; in Encode()
/art/test/497-inlining-and-class-loader/
Dclear_dex_cache.cc55 ObjPtr<mirror::IntArray> int_array = down_cast<mirror::IntArray*>(decoded_array.Ptr()); in Java_Main_cloneResolvedMethods()
59 ObjPtr<mirror::LongArray> long_array = down_cast<mirror::LongArray*>(decoded_array.Ptr()); in Java_Main_cloneResolvedMethods()
82 ObjPtr<mirror::IntArray> int_array = down_cast<mirror::IntArray*>(old.Ptr()); in Java_Main_restoreResolvedMethods()
86 ObjPtr<mirror::LongArray> long_array = down_cast<mirror::LongArray*>(old.Ptr()); in Java_Main_restoreResolvedMethods()
/art/runtime/mirror/
Dobject_array-inl.h44 object_array_class.Ptr(), in Alloc()
153 if (!ReadBarrier::IsGray(src.Ptr(), &fake_address_dependency)) { in AssignableMemmove()
157 reinterpret_cast<uintptr_t>(src.Ptr()) | fake_address_dependency)); in AssignableMemmove()
178 if (!ReadBarrier::IsGray(src.Ptr(), &fake_address_dependency)) { in AssignableMemmove()
182 reinterpret_cast<uintptr_t>(src.Ptr()) | fake_address_dependency)); in AssignableMemmove()
228 if (!ReadBarrier::IsGray(src.Ptr(), &fake_address_dependency)) { in AssignableMemcpy()
232 reinterpret_cast<uintptr_t>(src.Ptr()) | fake_address_dependency)); in AssignableMemcpy()
276 if (!ReadBarrier::IsGray(src.Ptr(), &fake_address_dependency)) { in AssignableCheckingMemcpy()
280 reinterpret_cast<uintptr_t>(src.Ptr()) | fake_address_dependency)); in AssignableCheckingMemcpy()
Dclass_ext.cc47 SetFieldObject<false>(obsolete_dex_cache_off, dex_caches.Ptr()); in SetObsoleteArrays()
48 SetFieldObject<false>(obsolete_methods_off, methods.Ptr()); in SetObsoleteArrays()
106 return down_cast<ClassExt*>(dalvik_system_ClassExt_.Read()->AllocObject(self).Ptr()); in Alloc()
Dobject_reference-inl.h29 Assign(ptr.Ptr()); in Assign()
Dobject.cc83 uint8_t* src_bytes = reinterpret_cast<uint8_t*>(src.Ptr()) + offset; in CopyObject()
84 uint8_t* dst_bytes = reinterpret_cast<uint8_t*>(dest.Ptr()) + offset; in CopyObject()
132 return dest.Ptr(); in CopyObject()
170 return copy.Ptr(); in Clone()
Darray.cc118 return new_array.Ptr(); in CreateMultiArray()
146 return new_array.Ptr(); in CopyOf()
/art/runtime/gc/
Dheap-inl.h69 return obj.Ptr(); in AllocObjectWithAllocator()
218 return obj.Ptr(); in AllocObjectWithAllocator()
226 if (UNLIKELY(!self->PushOnThreadLocalAllocationStack(obj->Ptr()))) { in PushOnAllocationStack()
229 } else if (UNLIKELY(!allocation_stack_->AtomicPushBack(obj->Ptr()))) { in PushOnAllocationStack()
424 card_table_->MarkCard(dst.Ptr()); in WriteBarrierField()
430 card_table_->MarkCard(dst.Ptr()); in WriteBarrierArray()
434 card_table_->MarkCard(obj.Ptr()); in WriteBarrierEveryFieldOf()
Dreference_queue_test.cc55 dequeued.insert(queue.DequeuePendingReference().Ptr()); in TEST_F()
58 dequeued.insert(queue.DequeuePendingReference().Ptr()); in TEST_F()
/art/runtime/entrypoints/quick/
Dquick_dexcache_entrypoints.cc149 return result.Ptr(); in artInitializeStaticStorageFromCode()
167 return result.Ptr(); in artInitializeTypeFromCode()
183 return result.Ptr(); in artInitializeTypeAndVerifyAccessFromCode()
196 return result.Ptr(); in artResolveStringFromCode()
Dquick_field_entrypoints.cc77 PrimitiveOrObject, IsObject, Ptr) \ argument
87 return field->Get ## Kind (field->GetDeclaringClass())Ptr; /* NOLINT */ \
92 return field->Get ## Kind (field->GetDeclaringClass())Ptr; /* NOLINT */ \
108 return field->Get ## Kind (obj)Ptr; /* NOLINT */ \
113 return field->Get ## Kind (obj)Ptr; /* NOLINT */ \
314 mirror::Object*, Object, true, .Ptr())
/art/openjdkjvmti/
Dti_heap.cc96 jlong string_tag = tag_table->GetTagOrZero(obj.Ptr()); in ReportString()
106 tag_table->Set(obj.Ptr(), string_tag); in ReportString()
139 jlong array_tag = tag_table->GetTagOrZero(obj.Ptr()); in ReportPrimitiveArray()
175 tag_table->Set(obj.Ptr(), array_tag); in ReportPrimitiveArray()
397 auto it = visited_interfaces.find(inf_klass.Ptr()); in VisitInterface()
401 visited_interfaces.insert(inf_klass.Ptr()); in VisitInterface()
425 if (gIndexCachingTable.GetTag(klass.Ptr(), &tmp)) { in CountInterfaceFields()
440 gIndexCachingTable.Set(klass.Ptr(), tmp); in CountInterfaceFields()
580 jlong obj_tag = user_data->tag_table_->GetTagOrZero(src.Ptr()); in ReportPrimitiveFieldCallback()
594 user_data->tag_table_->Set(src.Ptr(), obj_tag); in ReportPrimitiveFieldCallback()
[all …]
Dti_object.cc98 art::MonitorInfo info(target.Ptr()); in GetObjectMonitorUsage()
112 if (thd != info.owner_ && target.Ptr() == thd->GetMonitorEnterObject()) { in GetObjectMonitorUsage()
/art/test/148-multithread-gc-annotations/
Dgc_coverage.cc38 return reinterpret_cast<jlong>(soa.Decode<mirror::Object>(object).Ptr()); in Java_MovingGCThread_objectAddress()
/art/test/543-env-long-ref/
Denv_long_ref.cc46 soa_.Decode<mirror::Object>(expected_value_).Ptr()); in VisitFrame()
/art/test/596-app-images/
Dapp_images.cc59 if (image_space->HasAddress(klass_ptr.Ptr())) { in Java_Main_checkAppImageContains()

12345