Home
last modified time | relevance | path

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

12345

/art/runtime/
Dwrite_barrier-inl.h37 GetCardTable()->MarkCard(dst.Ptr()); in ForFieldWrite()
43 GetCardTable()->MarkCard(dst.Ptr()); in ForArrayWrite()
47 GetCardTable()->MarkCard(obj.Ptr()); in ForEveryFieldWrite()
Dobj_ptr-inl.h107 return Ptr();
111 inline MirrorType* ObjPtr<MirrorType>::Ptr() const { in Ptr() function
121 return static_cast<MirrorType*>(ptr.Ptr()); in DownCast()
134 return std::hash<MirrorType*>()(ptr.Ptr()); in operator()
141 return lhs.Ptr() == rhs.Ptr();
148 return lhs == rhs.Ptr();
155 return lhs.Ptr() == rhs;
Dcommon_runtime_test.h61 #define EXPECT_OBJ_PTR_EQ(a, b) EXPECT_EQ(MakeObjPtr(a).Ptr(), MakeObjPtr(b).Ptr())
62 #define ASSERT_OBJ_PTR_EQ(a, b) ASSERT_EQ(MakeObjPtr(a).Ptr(), MakeObjPtr(b).Ptr())
63 #define EXPECT_OBJ_PTR_NE(a, b) EXPECT_NE(MakeObjPtr(a).Ptr(), MakeObjPtr(b).Ptr())
64 #define ASSERT_OBJ_PTR_NE(a, b) ASSERT_NE(MakeObjPtr(a).Ptr(), MakeObjPtr(b).Ptr())
Dreflective_handle.h54 return reference_->Ptr(); in Get()
95 T* old = ref->Ptr(); in Assign()
Dverify_object.cc35 bool failed = !IsAligned<kObjectAlignment>(obj.Ptr()); in VerifyObjectImpl()
Druntime_image.cc239 if (cls == nullptr || IsInBootImage(cls.Ptr())) { in GetClassContent()
240 return cls.Ptr(); in GetClassContent()
256 if (object == nullptr || IsInBootImage(object.Ptr())) { in GetOrComputeImageAddress()
258 return object.Ptr(); in GetOrComputeImageAddress()
634 } else if (IsInBootImage(cls.Ptr())) { in EmitClasses()
641 class_table_.InsertWithHash(ClassTable::TableSlot(cls.Ptr(), hash), hash); in EmitClasses()
643 content_array->Set(i, cls.Ptr()); in EmitClasses()
737 klass->GetSuperClass<kVerifyNone, kWithoutReadBarrier>().Ptr())); in RelocateMethodPointerArrays()
740 reinterpret_cast32<uint32_t>(klass->GetVTable<kVerifyNone, kWithoutReadBarrier>().Ptr())); in RelocateMethodPointerArrays()
742 reinterpret_cast32<uint32_t>(super->GetVTable<kVerifyNone, kWithoutReadBarrier>().Ptr())); in RelocateMethodPointerArrays()
[all …]
Djvalue-inl.h27 l = new_l.Ptr(); in SetL()
/art/runtime/mirror/
Dobject_reference-inl.h29 return Compress(ptr.Ptr()); in Compress()
35 Assign(ptr.Ptr()); in Assign()
49 Assign<kIsVolatile>(ptr.Ptr()); in Assign()
Dclass_ext-inl.h106 return down_cast<PointerArray*>(GetInstanceJFieldIDs<kVerifyFlags, kReadBarrierOption>().Ptr()); in GetInstanceJFieldIDsPointerArray()
117 return down_cast<PointerArray*>(GetStaticJFieldIDs<kVerifyFlags, kReadBarrierOption>().Ptr()); in GetStaticJFieldIDsPointerArray()
139 return down_cast<PointerArray*>(GetJMethodIDs<kVerifyFlags, kReadBarrierOption>().Ptr()); in GetJMethodIDsPointerArray()
205 ObjPtr<PointerArray> marr(down_cast<PointerArray*>(arr.Ptr())); in VisitJMethodIDs()
219 ObjPtr<PointerArray> sarr(down_cast<PointerArray*>(sarr_obj->AsArray().Ptr())); in VisitJFieldIDs()
230 ObjPtr<PointerArray> iarr(down_cast<PointerArray*>(iarr_obj->AsArray().Ptr())); in VisitJFieldIDs()
Dobject_array-inl.h126 if (!ReadBarrier::IsGray(src.Ptr(), &fake_address_dependency)) { in AssignableMemmove()
130 reinterpret_cast<uintptr_t>(src.Ptr()) | fake_address_dependency)); in AssignableMemmove()
151 if (!ReadBarrier::IsGray(src.Ptr(), &fake_address_dependency)) { in AssignableMemmove()
155 reinterpret_cast<uintptr_t>(src.Ptr()) | fake_address_dependency)); in AssignableMemmove()
201 if (!ReadBarrier::IsGray(src.Ptr(), &fake_address_dependency)) { in AssignableMemcpy()
205 reinterpret_cast<uintptr_t>(src.Ptr()) | fake_address_dependency)); in AssignableMemcpy()
249 if (!ReadBarrier::IsGray(src.Ptr(), &fake_address_dependency)) { in AssignableCheckingMemcpy()
253 reinterpret_cast<uintptr_t>(src.Ptr()) | fake_address_dependency)); in AssignableCheckingMemcpy()
Dobject_array.h189 return Ptr(other.array_) == Ptr(array_) && other.idx_ == idx_;
215 static ObjectArray<T>* Ptr(const Handle<ObjectArray<T>>& p) in Ptr() function
219 static ObjectArray<T>* Ptr(const ObjPtr<ObjectArray<T>>& p) in Ptr() function
221 return p.Ptr(); in Ptr()
/art/runtime/entrypoints/quick/
Dquick_alloc_entrypoints.cc65 return AllocObjectFromCodeInitialized<kInstrumented>(klass, self, allocator_type).Ptr(); in artAllocObjectFromCode()
67 return AllocObjectFromCodeResolved<kInstrumented>(klass, self, allocator_type).Ptr(); in artAllocObjectFromCode()
69 return AllocObjectFromCode<kInstrumented>(klass, self, allocator_type).Ptr(); in artAllocObjectFromCode()
94 return mirror::String::AllocEmptyString<instrumented_bool>(self, allocator_type).Ptr(); \
101 klass, component_count, self, allocator_type).Ptr(); \
111 self, byte_count, handle_array, offset, high, allocator_type).Ptr(); \
119 self, char_count, handle_array, offset, allocator_type).Ptr(); \
127 self, handle_string->GetLength(), handle_string, 0, allocator_type).Ptr(); \
Dquick_string_builder_append_entrypoints.cc27 return StringBuilderAppend::AppendF(format, args, self).Ptr(); in artStringBuilderAppend()
Dquick_field_entrypoints.cc110 IsObject, Ptr) \ argument
119 return field->Get ## Kind (field->GetDeclaringClass())Ptr; /* NOLINT */ \
124 return field->Get ## Kind (field->GetDeclaringClass())Ptr; /* NOLINT */ \
139 return field->Get ## Kind (obj)Ptr; /* NOLINT */ \
144 return field->Get ## Kind (obj)Ptr; /* NOLINT */ \
356 ART_GET_FIELD_FROM_CODE(Obj, mirror::Object*, mirror::Object*, Object, true, .Ptr())
Dquick_dexcache_entrypoints.cc244 return result.Ptr(); in artResolveTypeFromCode()
263 return result.Ptr(); in artResolveTypeAndVerifyAccessFromCode()
274 return result.Ptr(); in artResolveMethodHandleFromCode()
288 return result.Ptr(); in artResolveMethodTypeFromCode()
303 return result.Ptr(); in artResolveStringFromCode()
/art/runtime/native/
Djava_lang_ref_Reference.cc69 return gc::collector::ConcurrentCopying::GetFwdPtrUnchecked(referent.Ptr()) == other.Ptr() ? in Reference_refersTo0()
/art/test/626-const-class-linking/
Dclear_dex_cache_types.cc61 << " @" << static_cast<const void*>(as_class.Ptr()) in Java_Main_nativeDumpClasses()
63 << " definingLoader:" << static_cast<const void*>(loader.Ptr()) in Java_Main_nativeDumpClasses()
/art/openjdkjvmti/
Dti_heap.cc126 jlong string_tag = tag_table->GetTagOrZero(obj.Ptr()); in ReportString()
136 tag_table->Set(obj.Ptr(), string_tag); in ReportString()
169 jlong array_tag = tag_table->GetTagOrZero(obj.Ptr()); in ReportPrimitiveArray()
205 tag_table->Set(obj.Ptr(), array_tag); in ReportPrimitiveArray()
426 auto it = visited_interfaces.find(inf_klass.Ptr()); in VisitInterface()
430 visited_interfaces.insert(inf_klass.Ptr()); in VisitInterface()
453 if (gIndexCachingTable.GetTag(klass.Ptr(), &tmp)) { in CountInterfaceFields()
468 gIndexCachingTable.Set(klass.Ptr(), tmp); in CountInterfaceFields()
607 jlong obj_tag = user_data->tag_table_->GetTagOrZero(src.Ptr()); in ReportPrimitiveFieldCallback()
621 user_data->tag_table_->Set(src.Ptr(), obj_tag); in ReportPrimitiveFieldCallback()
[all …]
Dti_object.cc98 art::MonitorInfo info(target.Ptr()); in GetObjectMonitorUsage()
116 if (thd != info.owner_ && target.Ptr() == thd->GetMonitorEnterObject()) { in GetObjectMonitorUsage()
/art/test/172-app-image-twice/
Ddebug_print_class.cc28 LOG(ERROR) << "klass: " << klass.Ptr() << " dex_file: " << klass->GetDexFile().GetLocation() in Java_Main_debugPrintClass()
/art/runtime/interpreter/mterp/
Dnterp.cc517 UpdateCache(self, dex_pc_ptr, c.Ptr()); in NterpGetClass()
518 return c.Ptr(); in NterpGetClass()
544 return mirror::String::AllocEmptyString(self, allocator_type).Ptr(); in NterpAllocateObject()
548 UpdateCache(self, dex_pc_ptr, c.Ptr()); in NterpAllocateObject()
550 return AllocObjectFromCode(c, self, allocator_type).Ptr(); in NterpAllocateObject()
571 UpdateCache(self, dex_pc_ptr, str.Ptr()); in NterpLoadObject()
572 return str.Ptr(); in NterpLoadObject()
577 return class_linker->ResolveMethodHandle(self, inst->VRegB_21c(), caller).Ptr(); in NterpLoadObject()
583 self, dex::ProtoIndex(inst->VRegB_21c()), caller).Ptr(); in NterpLoadObject()
667 return new_array.Ptr(); in DoFilledNewArray()
/art/runtime/interpreter/
Dshadow_frame-inl.h33 ReadBarrier::MaybeAssertToSpaceInvariant(val.Ptr()); in SetVRegReference()
/art/test/148-multithread-gc-annotations/
Dgc_coverage.cc38 return reinterpret_cast<jlong>(soa.Decode<mirror::Object>(object).Ptr()); in Java_MovingGCThread_objectAddress()
/art/runtime/gc/
Dreference_queue_test.cc61 dequeued.insert(queue.DequeuePendingReference().Ptr()); in TEST_F()
64 dequeued.insert(queue.DequeuePendingReference().Ptr()); in TEST_F()
/art/test/1001-app-image-regions/
Dapp_image_regions.cc43 if (image_header.IsAppImage() && image_space->HasAddress(klass_ptr.Ptr())) { in Java_Main_checkAppImageSectionSize()

12345