Searched refs:rounded_bytes (Results 1 – 2 of 2) sorted by relevance
90 bool BFCAllocator::Extend(size_t alignment, size_t rounded_bytes) { in Extend() argument97 if (rounded_bytes > available_bytes) { in Extend()105 while (rounded_bytes > curr_region_allocation_bytes_) { in Extend()122 if (bytes < rounded_bytes) break; in Extend()247 size_t rounded_bytes = in RoundedBytes() local250 DCHECK_EQ(size_t{0}, rounded_bytes % kMinAllocationSize); in RoundedBytes()251 return rounded_bytes; in RoundedBytes()265 size_t rounded_bytes = RoundedBytes(num_bytes); in AllocateRawInternal() local268 BinNum bin_num = BinNumForSize(rounded_bytes); in AllocateRawInternal()271 void* ptr = FindChunkPtr(bin_num, rounded_bytes, num_bytes, freed_before); in AllocateRawInternal()[all …]
329 bool Extend(size_t alignment, size_t rounded_bytes)334 void* FindChunkPtr(BinNum bin_num, size_t rounded_bytes, size_t num_bytes,