Searched refs:iBufferSize (Results 1 – 10 of 10) sorted by relevance
/external/pdfium/xfa/src/fgas/src/crt/ |
D | fx_stream.cpp | 195 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 …]
|
D | fx_stream.h | 28 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/ |
D | xfa_ffdoc.cpp | 40 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/ |
D | xfa_basic_imp.h | 32 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/ |
D | fx_stm.h | 54 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/ |
D | fde_csssyntax.cpp | 51 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()
|
D | fde_csssyntax.h | 79 int32_t iBufferSize,
|
/external/pdfium/xfa/src/fdp/src/xml/ |
D | fde_xml.h | 236 FX_BOOL InitBuffer(int32_t iBufferSize = 1024 * 1024);
|
D | fde_xml.cpp | 1343 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/ |
D | fde_css.h | 509 int32_t iBufferSize,
|