Home
last modified time | relevance | path

Searched refs:iBufferSize (Results 1 – 4 of 4) sorted by relevance

/external/pdfium/core/fxcrt/
Dcfx_seekablestreamproxy.cpp183 size_t CFX_SeekableStreamProxy::ReadData(uint8_t* pBuffer, size_t iBufferSize) { in ReadData() argument
185 ASSERT(iBufferSize > 0); in ReadData()
187 iBufferSize = in ReadData()
188 std::min(iBufferSize, static_cast<size_t>(GetSize() - m_iPosition)); in ReadData()
189 if (iBufferSize <= 0) in ReadData()
192 if (!m_pStream->ReadBlockAtOffset(pBuffer, m_iPosition, iBufferSize)) in ReadData()
196 new_pos += iBufferSize; in ReadData()
198 return new_pos.IsValid() ? iBufferSize : 0; in ReadData()
Dcfx_seekablestreamproxy.h40 size_t ReadData(uint8_t* pBuffer, size_t iBufferSize);
/external/pdfium/core/fxcrt/css/
Dcfx_csssyntaxparser.cpp28 int32_t iBufferSize) in CFX_CSSSyntaxParser() argument
29 : CFX_CSSSyntaxParser(pBuffer, iBufferSize, 32, false) {} in CFX_CSSSyntaxParser()
32 int32_t iBufferSize, in CFX_CSSSyntaxParser() argument
39 ASSERT(iBufferSize > 0); in CFX_CSSSyntaxParser()
45 m_TextPlane.AttachBuffer(pBuffer, iBufferSize); in CFX_CSSSyntaxParser()
Dcfx_csssyntaxparser.h42 CFX_CSSSyntaxParser(const wchar_t* pBuffer, int32_t iBufferSize);
44 int32_t iBufferSize,