Home
last modified time | relevance | path

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

/external/pdfium/core/fxcrt/
Dcfx_seekablestreamproxy.cpp206 size_t CFX_SeekableStreamProxy::ReadData(uint8_t* pBuffer, size_t iBufferSize) { in ReadData() argument
207 ASSERT(pBuffer && iBufferSize > 0); in ReadData()
212 iBufferSize = in ReadData()
213 std::min(iBufferSize, static_cast<size_t>(GetLength() - m_iPosition)); in ReadData()
214 if (iBufferSize <= 0) in ReadData()
217 if (!m_pStream->ReadBlock(pBuffer, m_iPosition, iBufferSize)) in ReadData()
221 new_pos += iBufferSize; in ReadData()
223 return new_pos.IsValid() ? iBufferSize : 0; in ReadData()
Dcfx_seekablestreamproxy.h45 size_t ReadData(uint8_t* pBuffer, size_t iBufferSize);
/external/pdfium/core/fxcrt/css/
Dcfx_csssyntaxparser.cpp26 int32_t iBufferSize) in CFX_CSSSyntaxParser() argument
27 : CFX_CSSSyntaxParser(pBuffer, iBufferSize, 32, false) {} in CFX_CSSSyntaxParser()
30 int32_t iBufferSize, in CFX_CSSSyntaxParser() argument
36 ASSERT(pBuffer && iBufferSize > 0 && iTextDatSize > 0); in CFX_CSSSyntaxParser()
40 m_TextPlane.AttachBuffer(pBuffer, iBufferSize); in CFX_CSSSyntaxParser()
Dcfx_csssyntaxparser.h42 CFX_CSSSyntaxParser(const wchar_t* pBuffer, int32_t iBufferSize);
44 int32_t iBufferSize,
/external/pdfium/xfa/fxfa/
Dcxfa_ffdoc.cpp176 int32_t& iBufferSize) { in XFA_GetPDFContentsFromPDFXML() argument
210 iBufferSize = in XFA_GetPDFContentsFromPDFXML()
212 pByteBuffer = FX_Alloc(uint8_t, iBufferSize + 1); in XFA_GetPDFContentsFromPDFXML()
213 pByteBuffer[iBufferSize] = '0'; // FIXME: I bet this is wrong. in XFA_GetPDFContentsFromPDFXML()