Home
last modified time | relevance | path

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

1234

/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.h59 #define EXPECT_OBJ_PTR_EQ(a, b) EXPECT_EQ(MakeObjPtr(a).Ptr(), MakeObjPtr(b).Ptr())
60 #define ASSERT_OBJ_PTR_EQ(a, b) ASSERT_EQ(MakeObjPtr(a).Ptr(), MakeObjPtr(b).Ptr())
61 #define EXPECT_OBJ_PTR_NE(a, b) EXPECT_NE(MakeObjPtr(a).Ptr(), MakeObjPtr(b).Ptr())
62 #define ASSERT_OBJ_PTR_NE(a, b) ASSERT_NE(MakeObjPtr(a).Ptr(), MakeObjPtr(b).Ptr())
Ddebug_print.cc153 << " " << 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()
Dverify_object.cc35 bool failed = !IsAligned<kObjectAlignment>(obj.Ptr()); in VerifyObjectImpl()
Dreflective_handle.h53 return reference_->Ptr(); in Get()
96 T* old = ref->Ptr(); in Assign()
Djvalue-inl.h27 l = new_l.Ptr(); in SetL()
Dgc_root-inl.h42 : GcRoot(ref.Ptr()) { } in GcRoot()
/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()
193 ObjPtr<PointerArray> marr(down_cast<PointerArray*>(arr.Ptr())); in VisitJMethodIDs()
207 ObjPtr<PointerArray> sarr(down_cast<PointerArray*>(sarr_obj->AsArray().Ptr())); in VisitJFieldIDs()
218 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.h178 return Ptr(other.array_) == Ptr(array_) && other.idx_ == idx_;
204 static ObjectArray<T>* Ptr(const Handle<ObjectArray<T>>& p) in Ptr() function
208 static ObjectArray<T>* Ptr(const ObjPtr<ObjectArray<T>>& p) in Ptr() function
210 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_dexcache_entrypoints.cc178 return result.Ptr(); in artResolveTypeFromCode()
196 return result.Ptr(); in artResolveTypeAndVerifyAccessFromCode()
207 return result.Ptr(); in artResolveMethodHandleFromCode()
217 return result.Ptr(); in artResolveMethodTypeFromCode()
231 return result.Ptr(); in artResolveStringFromCode()
Dquick_string_builder_append_entrypoints.cc27 return StringBuilderAppend::AppendF(format, args, self).Ptr(); in artStringBuilderAppend()
Dquick_field_entrypoints.cc70 PrimitiveOrObject, IsObject, Ptr) \ argument
80 return field->Get ## Kind (field->GetDeclaringClass())Ptr; /* NOLINT */ \
85 return field->Get ## Kind (field->GetDeclaringClass())Ptr; /* NOLINT */ \
101 return field->Get ## Kind (obj)Ptr; /* NOLINT */ \
106 return field->Get ## Kind (obj)Ptr; /* NOLINT */ \
323 mirror::Object*, Object, true, .Ptr())
/art/runtime/native/
Djava_lang_ref_Reference.cc66 return gc::collector::ConcurrentCopying::GetFwdPtrUnchecked(referent.Ptr()) == other.Ptr() ? in Reference_refersTo0()
/art/runtime/interpreter/mterp/
Dnterp.cc575 return mirror::String::AllocEmptyString(self, allocator_type).Ptr(); in NterpGetClassOrAllocateObject()
579 UpdateCache(self, dex_pc_ptr, c.Ptr()); in NterpGetClassOrAllocateObject()
581 return AllocObjectFromCode(c, self, allocator_type).Ptr(); in NterpGetClassOrAllocateObject()
585 UpdateCache(self, dex_pc_ptr, c.Ptr()); in NterpGetClassOrAllocateObject()
587 return c.Ptr(); in NterpGetClassOrAllocateObject()
607 UpdateCache(self, dex_pc_ptr, str.Ptr()); in NterpLoadObject()
608 return str.Ptr(); in NterpLoadObject()
613 return class_linker->ResolveMethodHandle(self, inst->VRegB_21c(), caller).Ptr(); in NterpLoadObject()
619 self, dex::ProtoIndex(inst->VRegB_21c()), caller).Ptr(); in NterpLoadObject()
703 return new_array.Ptr(); in DoFilledNewArray()
/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/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()
427 auto it = visited_interfaces.find(inf_klass.Ptr()); in VisitInterface()
431 visited_interfaces.insert(inf_klass.Ptr()); in VisitInterface()
455 if (gIndexCachingTable.GetTag(klass.Ptr(), &tmp)) { in CountInterfaceFields()
470 gIndexCachingTable.Set(klass.Ptr(), tmp); in CountInterfaceFields()
610 jlong obj_tag = user_data->tag_table_->GetTagOrZero(src.Ptr()); in ReportPrimitiveFieldCallback()
624 user_data->tag_table_->Set(src.Ptr(), obj_tag); in ReportPrimitiveFieldCallback()
[all …]
/art/test/626-const-class-linking/
Dclear_dex_cache_types.cc63 << " @" << static_cast<const void*>(as_class.Ptr()) in Java_Main_nativeDumpClasses()
65 << " definingLoader:" << static_cast<const void*>(loader.Ptr()) in Java_Main_nativeDumpClasses()
/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.cc56 dequeued.insert(queue.DequeuePendingReference().Ptr()); in TEST_F()
59 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()

1234