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.cpp75 int alloc_step; in ExpandBuf() local
77 alloc_step = m_AllocSize / 4; in ExpandBuf()
78 if (alloc_step < 128 ) { in ExpandBuf()
79 alloc_step = 128; in ExpandBuf()
82 alloc_step = m_AllocStep; in ExpandBuf()
84 new_size = (new_size + alloc_step - 1) / alloc_step * alloc_step; in ExpandBuf()
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_flate.cpp730 FX_DWORD alloc_step = orig_size ? 10240 : (src_size < 10240 ? 10240 : src_size); in FlateUncompress() local
734 alloc_step = kMaxInitialAllocSize; in FlateUncompress()
758 guess_size += alloc_step; in FlateUncompress()
/external/pdfium/core/include/fxcrt/
Dfx_basic.h40 void EstimateSize(FX_STRSIZE size, FX_STRSIZE alloc_step = 0);