Searched refs:required_size (Results 1 – 4 of 4) sorted by relevance
111 size_t required_size = size + sizeof(TrackingHeader) + padding; in AllocAlign16() local113 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()
310 size_t required_size);
1959 size_t required_size) { in EnsureSpace() argument1960 if (*current_index + required_size < buffer_size) { in EnsureSpace()
198 size_t required_size = RoundUpToPowerOfTwo(new_size); in Resize() local199 size_t num_required_tables = NumTablesForSize(required_size); in Resize()