Searched refs:alloc_step (Results 1 – 3 of 3) sorted by relevance
59 int alloc_step; in ExpandBuf() local61 alloc_step = m_AllocSize / 4; in ExpandBuf()62 if (alloc_step < 128) { in ExpandBuf()63 alloc_step = 128; in ExpandBuf()66 alloc_step = m_AllocStep; in ExpandBuf()68 new_size = (new_size + alloc_step - 1) / alloc_step * alloc_step; in ExpandBuf()
629 FX_DWORD alloc_step = orig_size ? kStepSize : std::min(src_size, kStepSize); in FlateUncompress() local633 alloc_step = kMaxInitialAllocSize; in FlateUncompress()662 guess_size += alloc_step; in FlateUncompress()
41 void EstimateSize(FX_STRSIZE size, FX_STRSIZE alloc_step = 0);