Searched refs:alloc_step (Results 1 – 3 of 3) sorted by relevance
59 int alloc_step = std::max(128, m_AllocStep ? m_AllocStep : m_AllocSize / 4); in ExpandBuf() local60 new_size += alloc_step - 1; // Quantize, don't combine these lines. in ExpandBuf()61 new_size /= alloc_step; in ExpandBuf()62 new_size *= alloc_step; in ExpandBuf()
33 void EstimateSize(FX_STRSIZE size, FX_STRSIZE alloc_step = 0);
510 uint32_t alloc_step = orig_size ? kStepSize : std::min(src_size, kStepSize); in FlateUncompress() local514 alloc_step = kMaxInitialAllocSize; in FlateUncompress()543 guess_size += alloc_step; in FlateUncompress()