Searched refs:rounded_bytes (Results 1 – 2 of 2) sorted by relevance
106 bool BFCAllocator::Extend(size_t alignment, size_t rounded_bytes) { in Extend() argument113 if (rounded_bytes > available_bytes) { in Extend()121 while (rounded_bytes > curr_region_allocation_bytes_) { in Extend()139 if (bytes < rounded_bytes) break; in Extend()290 size_t rounded_bytes = in RoundedBytes() local293 DCHECK_EQ(size_t{0}, rounded_bytes % kMinAllocationSize); in RoundedBytes()294 return rounded_bytes; in RoundedBytes()297 bool BFCAllocator::DeallocateFreeRegions(size_t rounded_bytes) in DeallocateFreeRegions() argument333 if (rounded_bytes > available_bytes) { in DeallocateFreeRegions()399 size_t rounded_bytes = RoundedBytes(num_bytes); in AllocateRawInternal() local[all …]
441 bool Extend(size_t alignment, size_t rounded_bytes)450 bool DeallocateFreeRegions(size_t rounded_bytes);458 void* FindChunkPtr(BinNum bin_num, size_t rounded_bytes, size_t num_bytes,