Home
last modified time | relevance | path

Searched refs:byte_size (Results 1 – 5 of 5) sorted by relevance

/art/runtime/gc/allocator/
Drosalloc.h57 size_t byte_size = rosalloc->free_page_run_size_map_[pm_idx]; in ByteSize() local
58 DCHECK_GE(byte_size, static_cast<size_t>(0)); in ByteSize()
59 DCHECK_ALIGNED(byte_size, kPageSize); in ByteSize()
60 return byte_size; in ByteSize()
62 void SetByteSize(RosAlloc* rosalloc, size_t byte_size) in SetByteSize() argument
64 DCHECK_EQ(byte_size % kPageSize, static_cast<size_t>(0)); in SetByteSize()
67 rosalloc->free_page_run_size_map_[pm_idx] = byte_size; in SetByteSize()
104 size_t byte_size = ByteSize(rosalloc); in ReleasePages() local
105 DCHECK_EQ(byte_size % kPageSize, static_cast<size_t>(0)); in ReleasePages()
107 rosalloc->ReleasePageRange(start, start + byte_size); in ReleasePages()
Drosalloc.cc324 const size_t byte_size = num_pages * kPageSize; in FreePages() local
328 for (size_t i = 0; i < byte_size / sizeof(uintptr_t); ++i) { in FreePages()
333 memset(ptr, 0, byte_size); in FreePages()
338 << "-0x" << (reinterpret_cast<intptr_t>(ptr) + byte_size) in FreePages()
347 fpr->SetByteSize(this, byte_size); in FreePages()
455 return byte_size; in FreePages()
/art/runtime/gc/collector/
Dconcurrent_copying.cc1202 void ConcurrentCopying::FillWithDummyObject(mirror::Object* dummy_obj, size_t byte_size) { in FillWithDummyObject() argument
1203 CHECK(IsAligned<kObjectAlignment>(byte_size)); in FillWithDummyObject()
1204 memset(dummy_obj, 0, byte_size); in FillWithDummyObject()
1211 if (data_offset > byte_size) { in FillWithDummyObject()
1215 CHECK_EQ(byte_size, java_lang_Object->GetObjectSize()); in FillWithDummyObject()
1217 CHECK_EQ(byte_size, dummy_obj->SizeOf()); in FillWithDummyObject()
1222 int32_t length = (byte_size - data_offset) / component_size; in FillWithDummyObject()
1225 << "byte_size=" << byte_size << " length=" << length in FillWithDummyObject()
1227 CHECK_EQ(byte_size, dummy_obj->SizeOf()) in FillWithDummyObject()
1228 << "byte_size=" << byte_size << " length=" << length in FillWithDummyObject()
[all …]
Dconcurrent_copying.h226 void FillWithDummyObject(mirror::Object* dummy_obj, size_t byte_size)
/art/compiler/dex/quick/mips/
Dcall_mips.cc84 int byte_size = elements * 8; in GenLargeSparseSwitch() local
86 int size_hi = byte_size >> 16; in GenLargeSparseSwitch()
87 int size_lo = byte_size & 0xffff; in GenLargeSparseSwitch()