Home
last modified time | relevance | path

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

/external/pdfium/xfa/src/fgas/src/crt/
Dfx_stream.cpp195 int32_t CFX_FileStreamImp::ReadData(uint8_t* pBuffer, int32_t iBufferSize) { in ReadData() argument
197 FXSYS_assert(pBuffer != NULL && iBufferSize > 0); in ReadData()
198 return FXSYS_fread(pBuffer, 1, iBufferSize, m_hFile); in ReadData()
226 int32_t iBufferSize) { in WriteData() argument
228 FXSYS_assert(pBuffer != NULL && iBufferSize > 0); in WriteData()
229 int32_t iRet = FXSYS_fwrite(pBuffer, 1, iBufferSize, m_hFile); in WriteData()
297 int32_t CFX_FileReadStreamImp::ReadData(uint8_t* pBuffer, int32_t iBufferSize) { in ReadData() argument
299 FXSYS_assert(pBuffer != NULL && iBufferSize > 0); in ReadData()
300 if (iBufferSize > m_iLength - m_iPosition) { in ReadData()
301 iBufferSize = m_iLength - m_iPosition; in ReadData()
[all …]
Dfx_stream.h28 virtual int32_t ReadData(uint8_t* pBuffer, int32_t iBufferSize) = 0;
32 virtual int32_t WriteData(const uint8_t* pBuffer, int32_t iBufferSize) = 0;
51 virtual int32_t ReadData(uint8_t* pBuffer, int32_t iBufferSize);
53 virtual int32_t WriteData(const uint8_t* pBuffer, int32_t iBufferSize);
71 virtual int32_t ReadData(uint8_t* pBuffer, int32_t iBufferSize);
73 virtual int32_t WriteData(const uint8_t* pBuffer, int32_t iBufferSize);
94 virtual int32_t ReadData(uint8_t* pBuffer, int32_t iBufferSize);
96 virtual int32_t WriteData(const uint8_t* pBuffer, int32_t iBufferSize) { in WriteData() argument
124 virtual int32_t ReadData(uint8_t* pBuffer, int32_t iBufferSize);
126 virtual int32_t WriteData(const uint8_t* pBuffer, int32_t iBufferSize) { in WriteData() argument
[all …]
/external/pdfium/xfa/src/fxfa/src/app/
Dxfa_ffdoc.cpp40 int32_t& iBufferSize) { in XFA_GetPDFContentsFromPDFXML() argument
77 iBufferSize = FX_Base64DecodeW(wsPDFContent, wsPDFContent.GetLength(), NULL); in XFA_GetPDFContentsFromPDFXML()
78 pByteBuffer = FX_Alloc(uint8_t, iBufferSize + 1); in XFA_GetPDFContentsFromPDFXML()
79 pByteBuffer[iBufferSize] = '0'; // FIXME: I bet this is wrong. in XFA_GetPDFContentsFromPDFXML()
111 int32_t iBufferSize = 0; in DoLoad() local
114 if (XFA_GetPDFContentsFromPDFXML(pPDFXML, pByteBuffer, iBufferSize)) { in DoLoad()
115 pXFAReader = FX_CreateMemoryStream(pByteBuffer, iBufferSize, TRUE); in DoLoad()
/external/pdfium/xfa/src/fxfa/src/parser/
Dxfa_basic_imp.h32 virtual int32_t ReadData(uint8_t* pBuffer, int32_t iBufferSize) { return 0; } in ReadData() argument
37 virtual int32_t WriteData(const uint8_t* pBuffer, int32_t iBufferSize) { in WriteData() argument
/external/pdfium/xfa/src/fgas/include/
Dfx_stm.h54 virtual int32_t ReadData(uint8_t* pBuffer, int32_t iBufferSize) = 0;
59 virtual int32_t WriteData(const uint8_t* pBuffer, int32_t iBufferSize) = 0;
/external/pdfium/xfa/src/fdp/src/css/
Dfde_csssyntax.cpp51 int32_t iBufferSize, in Init() argument
54 FXSYS_assert(pBuffer != NULL && iBufferSize > 0 && iTextDatSize > 0); in Init()
59 return m_TextPlane.AttachBuffer(pBuffer, iBufferSize); in Init()
Dfde_csssyntax.h79 int32_t iBufferSize,
/external/pdfium/xfa/src/fdp/src/xml/
Dfde_xml.h236 FX_BOOL InitBuffer(int32_t iBufferSize = 1024 * 1024);
Dfde_xml.cpp1343 FX_BOOL CFDE_BlockBuffer::InitBuffer(int32_t iBufferSize) { in InitBuffer() argument
1345 int32_t iNumOfBlock = (iBufferSize - 1) / m_iAllocStep + 1; in InitBuffer()
/external/pdfium/xfa/src/fdp/include/
Dfde_css.h509 int32_t iBufferSize,