Home
last modified time | relevance | path

Searched refs:alloc_step (Results 1 – 3 of 3) sorted by relevance

/external/pdfium/core/fxcrt/
Dfx_basic_buffer.cpp59 int alloc_step = std::max(128, m_AllocStep ? m_AllocStep : m_AllocSize / 4); in ExpandBuf() local
60 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()
Dfx_basic.h33 void EstimateSize(FX_STRSIZE size, FX_STRSIZE alloc_step = 0);
/external/pdfium/core/fxcodec/codec/
Dfx_codec_flate.cpp510 uint32_t alloc_step = orig_size ? kStepSize : std::min(src_size, kStepSize); in FlateUncompress() local
514 alloc_step = kMaxInitialAllocSize; in FlateUncompress()
543 guess_size += alloc_step; in FlateUncompress()