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.cpp77 int alloc_step; in ExpandBuf() local
79 alloc_step = m_AllocSize / 4; in ExpandBuf()
80 if (alloc_step < 128 ) { in ExpandBuf()
81 alloc_step = 128; in ExpandBuf()
84 alloc_step = m_AllocStep; in ExpandBuf()
86 new_size = (new_size + alloc_step - 1) / alloc_step * alloc_step; in ExpandBuf()
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_flate.cpp731 FX_DWORD alloc_step = orig_size ? 10240 : (src_size < 10240 ? 10240 : src_size); in FlateUncompress() local
735 alloc_step = kMaxInitialAllocSize; in FlateUncompress()
787 guess_size += alloc_step; in FlateUncompress()
/external/pdfium/core/include/fxcrt/
Dfx_basic.h33 void EstimateSize(FX_STRSIZE size, FX_STRSIZE alloc_step = 0);