/art/runtime/ |
D | write_barrier-inl.h | 37 GetCardTable()->MarkCard(dst.Ptr()); in ForFieldWrite() 43 GetCardTable()->MarkCard(dst.Ptr()); in ForArrayWrite() 47 GetCardTable()->MarkCard(obj.Ptr()); in ForEveryFieldWrite()
|
D | obj_ptr-inl.h | 107 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;
|
D | common_runtime_test.h | 61 #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())
|
D | reflective_handle.h | 54 return reference_->Ptr(); in Get() 95 T* old = ref->Ptr(); in Assign()
|
D | verify_object.cc | 35 bool failed = !IsAligned<kObjectAlignment>(obj.Ptr()); in VerifyObjectImpl()
|
D | runtime_image.cc | 239 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 …]
|
D | jvalue-inl.h | 27 l = new_l.Ptr(); in SetL()
|
/art/runtime/mirror/ |
D | object_reference-inl.h | 29 return Compress(ptr.Ptr()); in Compress() 35 Assign(ptr.Ptr()); in Assign() 49 Assign<kIsVolatile>(ptr.Ptr()); in Assign()
|
D | class_ext-inl.h | 106 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()
|
D | object_array-inl.h | 126 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()
|
D | object_array.h | 189 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/ |
D | quick_alloc_entrypoints.cc | 65 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(); \
|
D | quick_string_builder_append_entrypoints.cc | 27 return StringBuilderAppend::AppendF(format, args, self).Ptr(); in artStringBuilderAppend()
|
D | quick_field_entrypoints.cc | 110 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())
|
D | quick_dexcache_entrypoints.cc | 244 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/ |
D | java_lang_ref_Reference.cc | 69 return gc::collector::ConcurrentCopying::GetFwdPtrUnchecked(referent.Ptr()) == other.Ptr() ? in Reference_refersTo0()
|
/art/test/626-const-class-linking/ |
D | clear_dex_cache_types.cc | 61 << " @" << 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/ |
D | ti_heap.cc | 126 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 …]
|
D | ti_object.cc | 98 art::MonitorInfo info(target.Ptr()); in GetObjectMonitorUsage() 116 if (thd != info.owner_ && target.Ptr() == thd->GetMonitorEnterObject()) { in GetObjectMonitorUsage()
|
/art/test/172-app-image-twice/ |
D | debug_print_class.cc | 28 LOG(ERROR) << "klass: " << klass.Ptr() << " dex_file: " << klass->GetDexFile().GetLocation() in Java_Main_debugPrintClass()
|
/art/runtime/interpreter/mterp/ |
D | nterp.cc | 517 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/ |
D | shadow_frame-inl.h | 33 ReadBarrier::MaybeAssertToSpaceInvariant(val.Ptr()); in SetVRegReference()
|
/art/test/148-multithread-gc-annotations/ |
D | gc_coverage.cc | 38 return reinterpret_cast<jlong>(soa.Decode<mirror::Object>(object).Ptr()); in Java_MovingGCThread_objectAddress()
|
/art/runtime/gc/ |
D | reference_queue_test.cc | 61 dequeued.insert(queue.DequeuePendingReference().Ptr()); in TEST_F() 64 dequeued.insert(queue.DequeuePendingReference().Ptr()); in TEST_F()
|
/art/test/1001-app-image-regions/ |
D | app_image_regions.cc | 43 if (image_header.IsAppImage() && image_space->HasAddress(klass_ptr.Ptr())) { in Java_Main_checkAppImageSectionSize()
|