Home
last modified time | relevance | path

Searched refs:required_size (Results 1 – 4 of 4) sorted by relevance

/art/runtime/
Dlinear_alloc-inl.h111 size_t required_size = size + sizeof(TrackingHeader) + padding; in AllocAlign16() local
113 if (allocator_.CurrentArenaUnusedBytes() < required_size + mem_tool_bytes) { in AllocAlign16()
118 required_size = size + RoundUp(sizeof(TrackingHeader), 16); in AllocAlign16()
123 ptr = static_cast<uint8_t*>(allocator_.Alloc(required_size)); in AllocAlign16()
124 new (ptr) TrackingHeader(required_size, kind, /*is_16_aligned=*/true); in AllocAlign16()
125 SetFirstObject(ptr, required_size); in AllocAlign16()
Dtrace.h310 size_t required_size);
Dtrace.cc1959 size_t required_size) { in EnsureSpace() argument
1960 if (*current_index + required_size < buffer_size) { in EnsureSpace()
/art/runtime/jni/
Dlocal_reference_table.cc198 size_t required_size = RoundUpToPowerOfTwo(new_size); in Resize() local
199 size_t num_required_tables = NumTablesForSize(required_size); in Resize()