Home
last modified time | relevance | path

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

/external/pdfium/core/src/fxcrt/
Dfx_basic_buffer.cpp59 int alloc_step; in ExpandBuf() local
61 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()
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_flate.cpp629 FX_DWORD alloc_step = orig_size ? kStepSize : std::min(src_size, kStepSize); in FlateUncompress() local
633 alloc_step = kMaxInitialAllocSize; in FlateUncompress()
662 guess_size += alloc_step; in FlateUncompress()
/external/pdfium/core/include/fxcrt/
Dfx_basic.h41 void EstimateSize(FX_STRSIZE size, FX_STRSIZE alloc_step = 0);