Home
last modified time | relevance | path

Searched refs:SizeOf (Results 1 – 25 of 35) sorted by relevance

12

/art/runtime/mirror/
Darray-alloc-inl.h161 CHECK_EQ(result->SizeOf(), size); in Alloc()
163 CHECK_GE(result->SizeOf(), size); in Alloc()
Dobject-inl.h349 inline size_t Object::SizeOf() { in SizeOf() function
355 result = AsArray<kNewFlags>()->template SizeOf<kNewFlags>(); in SizeOf()
357 result = AsClass<kNewFlags>()->template SizeOf<kNewFlags>(); in SizeOf()
359 result = AsString<kNewFlags>()->template SizeOf<kNewFlags>(); in SizeOf()
Dstring.h76 size_t SizeOf() REQUIRES_SHARED(Locks::mutator_lock_) { in SizeOf() function
Dobject.cc159 size_t num_bytes = h_this->SizeOf(); in Clone()
Darray.h62 size_t SizeOf() REQUIRES_SHARED(Locks::mutator_lock_);
Darray-inl.h40 inline size_t Array::SizeOf() { in SizeOf() function
Dobject_test.cc113 size_t s1 = a1->SizeOf(); in TEST_F()
115 EXPECT_EQ(s1, clone->SizeOf()); in TEST_F()
/art/runtime/
Dreference_table.cc148 const size_t size1 = obj1->SizeOf(); in Dump()
149 const size_t size2 = obj2->SizeOf(); in Dump()
183 size_t size = ref->SizeOf(); in Dump()
Dhandle_scope.h103 static size_t SizeOf(uint32_t num_references);
106 static size_t SizeOf(PointerSize pointer_size, uint32_t num_references);
Dhandle_scope-inl.h67 inline size_t HandleScope::SizeOf(uint32_t num_references) { in SizeOf() function
73 inline size_t HandleScope::SizeOf(PointerSize pointer_size, uint32_t num_references) { in SizeOf() function
Dimage.cc165 pos += RoundUp(object->SizeOf(), kObjectAlignment); in VisitObjects()
/art/runtime/gc/space/
Dbump_pointer_space.cc101 const uintptr_t position = reinterpret_cast<uintptr_t>(obj) + obj->SizeOf(); in GetNextObject()
236 size_t num_bytes = obj->SizeOf(); in AllocationSizeNonvirtual()
Dregion_space.cc302 size_t obj_size = obj->SizeOf<kDefaultVerifyFlags>(); in ZeroLiveBytesForLargeObject()
662 size_t obj_size = obj->SizeOf<kDefaultVerifyFlags>(); in CheckLiveBytesAgainstRegionBitmap()
994 uintptr_t object_end = reinterpret_cast<uintptr_t>(obj) + obj->SizeOf(); in GetLongestConsecutiveFreeBytes()
1004 size_t num_bytes = obj->SizeOf(); in AllocationSizeNonvirtual()
Dmemory_tool_malloc_space-inl.h79 return obj->SizeOf<kVerifyNone>(); in GetObjSizeNoThreadSafety()
Dspace_test.h119 EXPECT_EQ(arr->SizeOf<kVerifyNone>(), size); in InstallClass()
Drosalloc_space.cc452 size_t size = obj->SizeOf<kVerifyNone>(); in AllocationSizeNonvirtual()
Dregion_space-inl.h308 const uintptr_t position = reinterpret_cast<uintptr_t>(obj) + obj->SizeOf(); in GetNextObject()
/art/openjdkjvmti/
Dti_object.cc56 *size_ptr = object->SizeOf(); in GetObjectSize()
Dti_heap.cc130 obj->SizeOf(), in ReportString()
175 obj->SizeOf(), in ReportPrimitiveArray()
196 obj->SizeOf(), in ReportPrimitiveArray()
732 jint ret = cb(class_tag, obj->SizeOf(), &tag, const_cast<void*>(user_data)); in IterateOverInstancesOfClass()
790 jlong size = obj->SizeOf(); in DoIterateThroughHeap()
1327 const jlong size = static_cast<jlong>(referree->SizeOf()); in ReportReference()
/art/dex2oat/linker/
Doat_writer.cc233 static size_t SizeOf() { in SizeOf() function in art::linker::OatWriter::OatClassHeader
257 size_t SizeOf() const;
319 size_t SizeOf() const;
1031 offset_ += header.SizeOf(); in EndClass()
1036 offset_ += writer_->oat_classes_.back().SizeOf(); in EndClass()
2263 offset += oat_dex_file.SizeOf(); in InitOatDexFiles()
2782 relative_offset += oat_class_headers_[i].SizeOf(); in WriteClasses()
2787 relative_offset += oat_classes_[i].SizeOf(); in WriteClasses()
2988 relative_offset += oat_dex_file->SizeOf(); in WriteOatDexFiles()
3877 size_t OatWriter::OatDexFile::SizeOf() const { in SizeOf() function in art::linker::OatWriter::OatDexFile
[all …]
/art/runtime/gc/
Dheap-inl.h219 CHECK_LE(obj->SizeOf(), usable_size); in AllocObjectWithAllocator()
/art/perfetto_hprof/
Dperfetto_hprof.cc729 if (obj->SizeOf() != klass->GetObjectSize()) in DumpPerfetto()
730 object_proto->set_self_size(obj->SizeOf()); in DumpPerfetto()
/art/runtime/gc/collector/
Dconcurrent_copying.cc1177 size_t obj_size = ref->SizeOf<kDefaultVerifyFlags>(); in AddLiveBytesAndScanRef()
2296 obj_size = to_ref->SizeOf<kDefaultVerifyFlags>(); in ProcessMarkStackRef()
2345 obj_size = to_ref->SizeOf<kDefaultVerifyFlags>(); in ProcessMarkStackRef()
3162 obj_size = to_ref->SizeOf<kDefaultVerifyFlags>(); in Scan()
3323 CHECK_EQ(byte_size, (fake_obj->SizeOf<kVerifyNone>())); in FillWithFakeObject()
3334 CHECK_EQ(byte_size, (fake_obj->SizeOf<kVerifyNone>())) in FillWithFakeObject()
3415 size_t obj_size = from_ref->SizeOf<kDefaultVerifyFlags>(); in Copy()
Dsemi_space.cc428 const size_t object_size = obj->SizeOf(); in MarkNonForwardedObject()
/art/imgdiag/
Dimgdiag.cc214 return object->SizeOf(); in EntrySize()
461 for (size_t i = 0, count = entry->SizeOf(); i < count; ++i) { in DiffEntryContents()

12