/external/pdfium/core/src/fxcrt/ |
D | fxcrt_platforms.cpp | 70 FX_FILESIZE CFXCRT_FileAccess_CRT::GetSize() const { in GetSize() 74 FX_FILESIZE pos = (FX_FILESIZE)FXSYS_ftell(m_hFile); in GetSize() 76 FX_FILESIZE size = (FX_FILESIZE)FXSYS_ftell(m_hFile); in GetSize() 80 FX_FILESIZE CFXCRT_FileAccess_CRT::GetPosition() const { in GetPosition() 82 return (FX_FILESIZE)-1; in GetPosition() 84 return (FX_FILESIZE)FXSYS_ftell(m_hFile); in GetPosition() 86 FX_FILESIZE CFXCRT_FileAccess_CRT::SetPosition(FX_FILESIZE pos) { in SetPosition() 88 return (FX_FILESIZE)-1; in SetPosition() 91 return (FX_FILESIZE)FXSYS_ftell(m_hFile); in SetPosition() 107 FX_FILESIZE pos) { in ReadPos() [all …]
|
D | fxcrt_windows.cpp | 81 FX_FILESIZE CFXCRT_FileAccess_Win64::GetSize() const { in GetSize() 89 return (FX_FILESIZE)size.QuadPart; in GetSize() 91 FX_FILESIZE CFXCRT_FileAccess_Win64::GetPosition() const { in GetPosition() 93 return (FX_FILESIZE)-1; in GetPosition() 98 return (FX_FILESIZE)-1; in GetPosition() 100 return (FX_FILESIZE)newPos.QuadPart; in GetPosition() 102 FX_FILESIZE CFXCRT_FileAccess_Win64::SetPosition(FX_FILESIZE pos) { in SetPosition() 104 return (FX_FILESIZE)-1; in SetPosition() 110 return (FX_FILESIZE)-1; in SetPosition() 112 return (FX_FILESIZE)newPos.QuadPart; in SetPosition() [all …]
|
D | fxcrt_posix.cpp | 60 FX_FILESIZE CFXCRT_FileAccess_Posix::GetSize() const { in GetSize() 69 FX_FILESIZE CFXCRT_FileAccess_Posix::GetPosition() const { in GetPosition() 71 return (FX_FILESIZE)-1; in GetPosition() 75 FX_FILESIZE CFXCRT_FileAccess_Posix::SetPosition(FX_FILESIZE pos) { in SetPosition() 77 return (FX_FILESIZE)-1; in SetPosition() 95 FX_FILESIZE pos) { in ReadPos() 102 if (SetPosition(pos) == (FX_FILESIZE)-1) { in ReadPos() 109 FX_FILESIZE pos) { in WritePos() 113 if (SetPosition(pos) == (FX_FILESIZE)-1) { in WritePos() 124 FX_BOOL CFXCRT_FileAccess_Posix::Truncate(FX_FILESIZE szFile) { in Truncate()
|
D | xml_int.h | 26 FX_FILESIZE GetPosition() override { return (FX_FILESIZE)m_dwCurPos; } in GetPosition() 40 FX_FILESIZE GetBlockOffset() override { return 0; } in GetBlockOffset() 58 return m_nStart + (FX_FILESIZE)m_dwSize >= m_pFileRead->GetSize(); in IsEOF() 60 FX_FILESIZE GetPosition() override { in GetPosition() 61 return m_nStart + (FX_FILESIZE)m_dwSize; in GetPosition() 68 FX_FILESIZE nLength = m_pFileRead->GetSize(); 69 m_nStart += (FX_FILESIZE)m_dwSize; 73 static const FX_FILESIZE FX_XMLDATASTREAM_BufferSize = 32 * 1024; 83 FX_FILESIZE GetBlockOffset() override { return m_nStart; } in GetBlockOffset() 88 FX_FILESIZE m_nStart; [all …]
|
D | extension.h | 22 virtual FX_FILESIZE GetSize() const = 0; 23 virtual FX_FILESIZE GetPosition() const = 0; 24 virtual FX_FILESIZE SetPosition(FX_FILESIZE pos) = 0; 27 virtual size_t ReadPos(void* pBuffer, size_t szBuffer, FX_FILESIZE pos) = 0; 30 FX_FILESIZE pos) = 0; 32 virtual FX_BOOL Truncate(FX_FILESIZE szFile) = 0; 78 FX_FILESIZE GetSize() override; 80 FX_FILESIZE GetPosition() override; 81 FX_BOOL ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) override; 84 FX_FILESIZE offset, [all …]
|
D | fxcrt_windows.h | 23 FX_FILESIZE GetSize() const override; 24 FX_FILESIZE GetPosition() const override; 25 FX_FILESIZE SetPosition(FX_FILESIZE pos) override; 28 size_t ReadPos(void* pBuffer, size_t szBuffer, FX_FILESIZE pos) override; 31 FX_FILESIZE pos) override; 33 FX_BOOL Truncate(FX_FILESIZE szFile) override;
|
D | fxcrt_posix.h | 25 FX_FILESIZE GetSize() const override; 26 FX_FILESIZE GetPosition() const override; 27 FX_FILESIZE SetPosition(FX_FILESIZE pos) override; 30 size_t ReadPos(void* pBuffer, size_t szBuffer, FX_FILESIZE pos) override; 33 FX_FILESIZE pos) override; 35 FX_BOOL Truncate(FX_FILESIZE szFile) override;
|
D | fxcrt_platforms.h | 25 FX_FILESIZE GetSize() const override; 26 FX_FILESIZE GetPosition() const override; 27 FX_FILESIZE SetPosition(FX_FILESIZE pos) override; 30 size_t ReadPos(void* pBuffer, size_t szBuffer, FX_FILESIZE pos) override; 33 FX_FILESIZE pos) override; 35 FX_BOOL Truncate(FX_FILESIZE szFile) override;
|
D | fx_xml_parser.cpp | 106 m_nOffset = m_nBufferOffset + (FX_FILESIZE)m_dwIndex; in SkipWhiteSpaces() 115 m_nOffset = m_nBufferOffset + (FX_FILESIZE)m_dwIndex; in SkipWhiteSpaces() 122 m_nOffset = m_nBufferOffset + (FX_FILESIZE)m_dwIndex; in GetName() 141 m_nOffset = m_nBufferOffset + (FX_FILESIZE)m_dwIndex; in GetName() 149 m_nOffset = m_nBufferOffset + (FX_FILESIZE)m_dwIndex; in SkipLiterals() 165 m_nOffset = m_nBufferOffset + (FX_FILESIZE)m_dwIndex; in SkipLiterals() 175 m_nOffset = m_nBufferOffset + (FX_FILESIZE)m_dwBufferSize; in SkipLiterals() 180 m_nOffset = m_nBufferOffset + (FX_FILESIZE)m_dwIndex; in GetCharRef() 258 m_nOffset = m_nBufferOffset + (FX_FILESIZE)m_dwIndex; in GetCharRef() 266 m_nOffset = m_nBufferOffset + (FX_FILESIZE)m_dwIndex; in GetAttrValue() [all …]
|
/external/pdfium/core/include/fxcrt/ |
D | fx_stream.h | 23 #define FX_FILESIZE int32_t macro 34 #define FX_FILESIZE off_t macro 62 virtual FX_FILESIZE GetSize() = 0; 65 FX_FILESIZE offset, 75 virtual FX_FILESIZE GetPosition() = 0; 84 FX_FILESIZE GetPosition() override { return 0; } in GetPosition() 87 virtual FX_BOOL ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) = 0; 88 virtual FX_FILESIZE GetSize() = 0; 101 FX_FILESIZE GetPosition() override = 0; 103 FX_BOOL ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) override = 0; [all …]
|
D | fx_xml.h | 48 FX_FILESIZE* pParsedSize = NULL); 51 FX_FILESIZE* pParsedSize = NULL); 54 FX_FILESIZE* pParsedSize = NULL);
|
/external/pdfium/core/include/fpdfapi/ |
D | fpdf_parser.h | 242 FX_FILESIZE SavePos() { return m_Pos; } in SavePos() 244 void RestorePos(FX_FILESIZE pos) { m_Pos = pos; } in RestorePos() 274 FX_FILESIZE limit); 278 FX_FILESIZE limit); 280 FX_FILESIZE FindTag(const CFX_ByteStringC& tag, FX_FILESIZE limit); 288 FX_BOOL GetCharAt(FX_FILESIZE pos, uint8_t& ch); 304 FX_BOOL GetCharAtBackward(FX_FILESIZE pos, uint8_t& ch); 308 bool IsWholeWord(FX_FILESIZE startpos, 309 FX_FILESIZE limit, 317 unsigned int ReadEOLMarkers(FX_FILESIZE pos); [all …]
|
/external/pdfium/core/src/fpdfapi/fpdf_parser/ |
D | fpdf_parser_parser.cpp | 54 return *(FX_FILESIZE*)p1 - *(FX_FILESIZE*)p2; in CompareFileSize() 141 FX_FILESIZE CPDF_Parser::GetObjectPositionOrZero(FX_DWORD objnum) const { in GetObjectPositionOrZero() 241 FX_FILESIZE startxref_offset = m_Syntax.SavePos(); in StartParse() 243 m_SortedOffset.GetSize(), sizeof(FX_FILESIZE), in StartParse() 254 m_LastXRefOffset = (FX_FILESIZE)FXSYS_atoi64(xrefpos_str); in StartParse() 291 sizeof(FX_FILESIZE), CompareFileSize); in StartParse() 371 FX_FILESIZE CPDF_Parser::GetObjectOffset(FX_DWORD objnum) const { in GetObjectOffset() 379 FX_FILESIZE pos = GetObjectPositionOrZero(objnum); in GetObjectOffset() 385 FX_BOOL CPDF_Parser::LoadAllCrossRefV4(FX_FILESIZE xrefpos) { in LoadAllCrossRefV4() 405 std::set<FX_FILESIZE> seen_xrefpos; in LoadAllCrossRefV4() [all …]
|
D | fpdf_parser_parser_unittest.cpp | 34 FX_BOOL ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) override { in ReadBlock() 42 FX_FILESIZE GetSize() override { return (FX_FILESIZE)total_size_; }; in GetSize() 184 parser.RestorePos(std::numeric_limits<FX_FILESIZE>::max()); in TEST() 256 const FX_FILESIZE offsets[] = {0, 15, 61, 154, 296, 374, 450}; in TEST() 291 const FX_FILESIZE offsets[] = {0, 17, 81, 0, 331, 409}; in TEST() 315 const FX_FILESIZE offsets[] = {0, 0, 0, 25325, 0, 0, 0, in TEST() 340 const FX_FILESIZE offsets[] = {0, 0, 0, 25325, 0, 0, 0, in TEST() 364 const FX_FILESIZE offsets[] = {0, 23, 0, 0, 0, 45, 179}; in TEST()
|
D | parser_int.h | 29 FX_FILESIZE& szPageStartPos, 30 FX_FILESIZE& szPageLength, 48 FX_FILESIZE m_szFirstPageObjOffset;
|
/external/pdfium/fpdfsdk/include/ |
D | fsdk_define.h | 55 FX_FILESIZE GetSize() override { return m_FileAccess.m_FileLen; } in GetSize() 57 FX_BOOL ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) override; 82 virtual FX_FILESIZE GetSize(); 84 virtual FX_FILESIZE GetPosition() { return m_nCurPos; } in GetPosition() 85 virtual void SetPosition(FX_FILESIZE pos) { m_nCurPos = pos; } in SetPosition() 86 virtual FX_BOOL ReadBlock(void* buffer, FX_FILESIZE offset, size_t size); 89 FX_FILESIZE offset, 95 FX_FILESIZE m_nCurPos;
|
/external/pdfium/fpdfsdk/src/ |
D | fpdf_dataavail.cpp | 44 FX_BOOL IsDataAvail(FX_FILESIZE offset, FX_DWORD size) override { in IsDataAvail() 60 FX_FILESIZE GetSize() override { return m_pFileAccess->m_FileLen; } in GetSize() 62 FX_BOOL ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) override { in ReadBlock() 82 void AddSegment(FX_FILESIZE offset, FX_DWORD size) override { in AddSegment()
|
D | fpdfview.cpp | 84 FX_FILESIZE CFPDF_FileStream::GetSize() { in GetSize() 86 return (FX_FILESIZE)m_pFS->GetSize(m_pFS->clientData); in GetSize() 95 FX_FILESIZE offset, in ReadBlock() 112 FX_FILESIZE nSize = GetSize(); in ReadBlock() 115 FX_FILESIZE dwAvail = nSize - m_nCurPos; in ReadBlock() 116 if (dwAvail < (FX_FILESIZE)size) in ReadBlock() 128 FX_FILESIZE offset, in WriteBlock() 185 FX_FILESIZE offset, in ReadBlock() 191 pdfium::base::checked_cast<FX_FILESIZE, size_t>(size); in ReadBlock() 371 CMemFile(uint8_t* pBuf, FX_FILESIZE size) : m_pBuf(pBuf), m_size(size) {} in CMemFile() [all …]
|
/external/pdfium/xfa/src/fgas/src/crt/ |
D | fx_stream.h | 270 virtual FX_FILESIZE GetSize(); 271 virtual FX_BOOL ReadBlock(void* buffer, FX_FILESIZE offset, size_t size); 281 FX_FILESIZE iFileSize, 285 virtual FX_FILESIZE GetSize(); 286 virtual FX_BOOL ReadBlock(void* buffer, FX_FILESIZE offset, size_t size); 291 FX_FILESIZE m_iBufSize; 299 virtual FX_FILESIZE GetSize(); 303 FX_FILESIZE offset,
|
D | fx_stream.cpp | 1216 FX_FILESIZE CFGAS_FileRead::GetSize() { in GetSize() 1217 return (FX_FILESIZE)m_pStream->GetLength(); in GetSize() 1220 FX_FILESIZE offset, in ReadBlock() 1230 FX_FILESIZE iFileSize, in FX_CreateFileRead() 1238 FX_FILESIZE iFileSize, in CFX_BufferAccImp() 1250 FX_FILESIZE CFX_BufferAccImp::GetSize() { in GetSize() 1260 m_iBufSize = (FX_FILESIZE)m_pBufferRead->GetBlockSize(); in GetSize() 1263 m_iBufSize += (FX_FILESIZE)m_pBufferRead->GetBlockSize(); in GetSize() 1268 FX_FILESIZE offset, in ReadBlock() 1276 FX_FILESIZE dwBufSize = GetSize(); in ReadBlock() [all …]
|
/external/pdfium/core/src/fxge/apple/ |
D | apple_int.h | 220 FX_FILESIZE GetSize() override { return (FX_FILESIZE)_totalSize; } in GetSize() 222 FX_FILESIZE GetPosition() override { return (FX_FILESIZE)_offSet; } in GetPosition() 223 FX_BOOL ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) override;
|
/external/pdfium/core/src/fpdfapi/fpdf_edit/ |
D | editint.h | 28 FX_FILESIZE End(CPDF_Creator* pCreator); 60 FX_FILESIZE m_PrevOffset;
|
D | fpdf_edit_create.cpp | 25 FX_FILESIZE& offset) { in PDF_CreatorAppendObject() 183 FX_FILESIZE offset = 0; in PDF_CreatorWriteTrailer() 276 FX_FILESIZE offset = 0; in PDF_CreatorWriteEncrypt() 320 void AppendIndex1(CFX_ByteTextBuf& buffer, FX_FILESIZE offset) { in AppendIndex1() 351 int32_t OutputIndex(CFX_FileBufferArchive* pFile, FX_FILESIZE offset) { in OutputIndex() 534 FX_FILESIZE CPDF_ObjectStream::End(CPDF_Creator* pCreator) { in End() 541 FX_FILESIZE ObjOffset = pCreator->m_Offset; in End() 551 FX_FILESIZE& offset = pCreator->m_Offset; in End() 661 FX_FILESIZE objOffset = 0; in EndObjectStream() 683 FX_FILESIZE* offset = pCreator->m_ObjectOffset.GetPtrAt(m_dwTempObjNum); in EndObjectStream() [all …]
|
/external/pdfium/xfa/src/fxfa/src/app/ |
D | xfa_ffapp.cpp | 26 FX_FILESIZE CXFA_FileRead::GetSize() { in GetSize() 36 FX_FILESIZE offset, in ReadBlock() 42 FX_FILESIZE dwSize = acc.GetSize(); in ReadBlock()
|
D | xfa_ffapp.h | 14 virtual FX_FILESIZE GetSize(); 15 virtual FX_BOOL ReadBlock(void* buffer, FX_FILESIZE offset, size_t size);
|