Home
last modified time | relevance | path

Searched refs:FX_FILESIZE (Results 1 – 25 of 26) sorted by relevance

12

/external/pdfium/core/src/fxcrt/
Dfxcrt_platforms.cpp82 FX_FILESIZE CFXCRT_FileAccess_CRT::GetSize() const in GetSize()
87 FX_FILESIZE pos = (FX_FILESIZE)FXSYS_ftell(m_hFile); in GetSize()
89 FX_FILESIZE size = (FX_FILESIZE)FXSYS_ftell(m_hFile); in GetSize()
93 FX_FILESIZE CFXCRT_FileAccess_CRT::GetPosition() const in GetPosition()
96 return (FX_FILESIZE) - 1; in GetPosition()
98 return (FX_FILESIZE)FXSYS_ftell(m_hFile); in GetPosition()
100 FX_FILESIZE CFXCRT_FileAccess_CRT::SetPosition(FX_FILESIZE pos) in SetPosition()
103 return (FX_FILESIZE) - 1; in SetPosition()
106 return (FX_FILESIZE)FXSYS_ftell(m_hFile); in SetPosition()
122 size_t CFXCRT_FileAccess_CRT::ReadPos(void* pBuffer, size_t szBuffer, FX_FILESIZE pos) in ReadPos()
[all …]
Dextension.h17 virtual FX_FILESIZE GetSize() const = 0;
18 virtual FX_FILESIZE GetPosition() const = 0;
19 virtual FX_FILESIZE SetPosition(FX_FILESIZE pos) = 0;
22 virtual size_t ReadPos(void* pBuffer, size_t szBuffer, FX_FILESIZE pos) = 0;
23 virtual size_t WritePos(const void* pBuffer, size_t szBuffer, FX_FILESIZE pos) = 0;
25 virtual FX_BOOL Truncate(FX_FILESIZE szFile) = 0;
54 virtual FX_FILESIZE GetSize() in GetSize()
62 virtual FX_FILESIZE GetPosition() in GetPosition()
64 FX_FILESIZE pos = m_pFile->GetPosition(); in GetPosition()
70 virtual FX_BOOL SetRange(FX_FILESIZE offset, FX_FILESIZE size) in SetRange()
[all …]
Dfxcrt_windows.cpp103 FX_FILESIZE CFXCRT_FileAccess_Win64::GetSize() const in GetSize()
112 return (FX_FILESIZE)size.QuadPart; in GetSize()
114 FX_FILESIZE CFXCRT_FileAccess_Win64::GetPosition() const in GetPosition()
117 return (FX_FILESIZE) - 1; in GetPosition()
122 return (FX_FILESIZE) - 1; in GetPosition()
124 return (FX_FILESIZE)newPos.QuadPart; in GetPosition()
126 FX_FILESIZE CFXCRT_FileAccess_Win64::SetPosition(FX_FILESIZE pos) in SetPosition()
129 return (FX_FILESIZE) - 1; in SetPosition()
135 return (FX_FILESIZE) - 1; in SetPosition()
137 return (FX_FILESIZE)newPos.QuadPart; in SetPosition()
[all …]
Dxml_int.h32 virtual FX_FILESIZE GetPosition() in GetPosition()
34 return (FX_FILESIZE)m_dwCurPos; in GetPosition()
59 virtual FX_FILESIZE GetBlockOffset() in GetBlockOffset()
98 return m_nStart + (FX_FILESIZE)m_dwSize >= m_pFileRead->GetSize(); in IsEOF()
100 virtual FX_FILESIZE GetPosition() in GetPosition()
102 return m_nStart + (FX_FILESIZE)m_dwSize; in GetPosition()
113 FX_FILESIZE nLength = m_pFileRead->GetSize();
114 m_nStart += (FX_FILESIZE)m_dwSize;
135 virtual FX_FILESIZE GetBlockOffset() in GetBlockOffset()
143 FX_FILESIZE m_nStart;
[all …]
Dfxcrt_windows.h20 virtual FX_FILESIZE GetSize() const;
21 virtual FX_FILESIZE GetPosition() const;
22 virtual FX_FILESIZE SetPosition(FX_FILESIZE pos);
25 virtual size_t ReadPos(void* pBuffer, size_t szBuffer, FX_FILESIZE pos);
26 virtual size_t WritePos(const void* pBuffer, size_t szBuffer, FX_FILESIZE pos);
28 virtual FX_BOOL Truncate(FX_FILESIZE szFile);
Dfxcrt_posix.h20 virtual FX_FILESIZE GetSize() const;
21 virtual FX_FILESIZE GetPosition() const;
22 virtual FX_FILESIZE SetPosition(FX_FILESIZE pos);
25 virtual size_t ReadPos(void* pBuffer, size_t szBuffer, FX_FILESIZE pos);
26 virtual size_t WritePos(const void* pBuffer, size_t szBuffer, FX_FILESIZE pos);
28 virtual FX_BOOL Truncate(FX_FILESIZE szFile);
Dfxcrt_platforms.h22 virtual FX_FILESIZE GetSize() const;
23 virtual FX_FILESIZE GetPosition() const;
24 virtual FX_FILESIZE SetPosition(FX_FILESIZE pos);
27 virtual size_t ReadPos(void* pBuffer, size_t szBuffer, FX_FILESIZE pos);
28 virtual size_t WritePos(const void* pBuffer, size_t szBuffer, FX_FILESIZE pos);
30 virtual FX_BOOL Truncate(FX_FILESIZE szFile);
Dfxcrt_posix.cpp70 FX_FILESIZE CFXCRT_FileAccess_Posix::GetSize() const in GetSize()
80 FX_FILESIZE CFXCRT_FileAccess_Posix::GetPosition() const in GetPosition()
83 return (FX_FILESIZE) - 1; in GetPosition()
87 FX_FILESIZE CFXCRT_FileAccess_Posix::SetPosition(FX_FILESIZE pos) in SetPosition()
90 return (FX_FILESIZE) - 1; in SetPosition()
108 size_t CFXCRT_FileAccess_Posix::ReadPos(void* pBuffer, size_t szBuffer, FX_FILESIZE pos) in ReadPos()
116 if (SetPosition(pos) == (FX_FILESIZE) - 1) { in ReadPos()
121 size_t CFXCRT_FileAccess_Posix::WritePos(const void* pBuffer, size_t szBuffer, FX_FILESIZE pos) in WritePos()
126 if (SetPosition(pos) == (FX_FILESIZE) - 1) { in WritePos()
138 FX_BOOL CFXCRT_FileAccess_Posix::Truncate(FX_FILESIZE szFile) in Truncate()
[all …]
Dfx_xml_parser.cpp125 m_nOffset = m_nBufferOffset + (FX_FILESIZE)m_dwIndex; in SkipWhiteSpaces()
133 m_nOffset = m_nBufferOffset + (FX_FILESIZE)m_dwIndex; in SkipWhiteSpaces()
141 m_nOffset = m_nBufferOffset + (FX_FILESIZE)m_dwIndex; in GetName()
160 m_nOffset = m_nBufferOffset + (FX_FILESIZE)m_dwIndex; in GetName()
169 m_nOffset = m_nBufferOffset + (FX_FILESIZE)m_dwIndex; in SkipLiterals()
185 m_nOffset = m_nBufferOffset + (FX_FILESIZE)m_dwIndex; in SkipLiterals()
195 m_nOffset = m_nBufferOffset + (FX_FILESIZE)m_dwBufferSize; in SkipLiterals()
201 m_nOffset = m_nBufferOffset + (FX_FILESIZE)m_dwIndex; in GetCharRef()
279 m_nOffset = m_nBufferOffset + (FX_FILESIZE)m_dwIndex; in GetCharRef()
288 m_nOffset = m_nBufferOffset + (FX_FILESIZE)m_dwIndex; in GetAttrValue()
[all …]
Dfx_extension.cpp38 FX_FILESIZE FX_File_GetSize(FX_HFILE hFile) in FX_File_GetSize()
43 FX_FILESIZE FX_File_GetPosition(FX_HFILE hFile) in FX_File_GetPosition()
48 FX_FILESIZE FX_File_SetPosition(FX_HFILE hFile, FX_FILESIZE pos) in FX_File_SetPosition()
58 size_t FX_File_ReadPos(FX_HFILE hFile, void* pBuffer, size_t szBuffer, FX_FILESIZE pos) in FX_File_ReadPos()
68 size_t FX_File_WritePos(FX_HFILE hFile, const void* pBuffer, size_t szBuffer, FX_FILESIZE pos) in FX_File_WritePos()
78 FX_BOOL FX_File_Truncate(FX_HFILE hFile, FX_FILESIZE szFile) in FX_File_Truncate()
/external/pdfium/core/include/fxcrt/
Dfx_stream.h20 #define FX_FILESIZE FX_INT32 macro
31 #define FX_FILESIZE off_t
47 FX_FILESIZE FX_File_GetSize(FX_HFILE hFile);
48 FX_FILESIZE FX_File_GetPosition(FX_HFILE hFile);
49 FX_FILESIZE FX_File_SetPosition(FX_HFILE hFile, FX_FILESIZE pos);
51 size_t FX_File_ReadPos(FX_HFILE hFile, void* pBuffer, size_t szBuffer, FX_FILESIZE pos);
53 size_t FX_File_WritePos(FX_HFILE hFile, const void* pBuffer, size_t szBuffer, FX_FILESIZE pos);
55 FX_BOOL FX_File_Truncate(FX_HFILE hFile, FX_FILESIZE szFile);
78 virtual FX_FILESIZE GetSize() = 0;
82 virtual FX_BOOL WriteBlock(const void* pData, FX_FILESIZE offset, size_t size) = 0;
[all …]
Dfx_xml.h69 …rse(const void* pBuffer, size_t size, FX_BOOL bSaveSpaceChars = FALSE, FX_FILESIZE* pParsedSize = …
71 …static CXML_Element* Parse(IFX_FileRead *pFile, FX_BOOL bSaveSpaceChars = FALSE, FX_FILESIZE* pPar…
73 …ement* Parse(IFX_BufferRead *pBuffer, FX_BOOL bSaveSpaceChars = FALSE, FX_FILESIZE* pParsedSize = …
Dfx_basic.h571 typedef CFX_ArrayTemplate<FX_FILESIZE> CFX_FileSizeArray;
1630 typedef CFX_ListArrayTemplate<CFX_SortListArray<sizeof(FX_FILESIZE)>, FX_FILESIZE> CFX_FileSizeList…
/external/pdfium/core/include/fpdfapi/
Dfpdf_parser.h255 FX_FILESIZE SavePos() in SavePos()
260 void RestorePos(FX_FILESIZE pos) in RestorePos()
284 FX_BOOL SearchWord(FX_BSTR word, FX_BOOL bWholeWord, FX_BOOL bForward, FX_FILESIZE limit);
286 int SearchMultiWord(FX_BSTR words, FX_BOOL bWholeWord, FX_FILESIZE limit);
288 FX_FILESIZE FindTag(FX_BSTR tag, FX_FILESIZE limit);
300 FX_BOOL GetCharAt(FX_FILESIZE pos, FX_BYTE& ch);
309 FX_BOOL GetCharAtBackward(FX_FILESIZE pos, FX_BYTE& ch);
313 … FX_BOOL IsWholeWord(FX_FILESIZE startpos, FX_FILESIZE limit, FX_LPCBYTE tag, FX_DWORD taglen);
321 FX_FILESIZE m_Pos;
331 FX_FILESIZE m_FileLen;
[all …]
Dfpdf_serial.h171 FX_FILESIZE m_Offset;
190 FX_FILESIZE m_XrefStart;
Dfpdf_objects.h570 FX_BOOL ReadRawData(FX_FILESIZE start_pos, FX_LPBYTE pBuf, FX_DWORD buf_size) const;
596 FX_FILESIZE m_FileOffset;
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_parser.cpp34 FX_FILESIZE ret = (*(FX_FILESIZE*)p1) - (*(FX_FILESIZE*)p2); in _CompareFileSize()
169 FX_FILESIZE startxref_offset = m_Syntax.SavePos(); in StartParse()
170 …ref_offset, m_SortedOffset.GetData(), m_SortedOffset.GetSize(), sizeof(FX_FILESIZE), _CompareFileS… in StartParse()
180 m_LastXRefOffset = (FX_FILESIZE)FXSYS_atoi64(xrefpos_str); in StartParse()
216 …FXSYS_qsort(m_SortedOffset.GetData(), m_SortedOffset.GetSize(), sizeof(FX_FILESIZE), _CompareFileS… in StartParse()
309 FX_FILESIZE CPDF_Parser::GetObjectOffset(FX_DWORD objnum) in GetObjectOffset()
341 FX_BOOL CPDF_Parser::LoadAllCrossRefV4(FX_FILESIZE xrefpos) in LoadAllCrossRefV4()
362 FX_FILESIZE newxrefpos = GetDirectInteger(m_pTrailer, FX_BSTRC("Prev")); in LoadAllCrossRefV4()
393 FX_BOOL CPDF_Parser::LoadLinearizedAllCrossRefV4(FX_FILESIZE xrefpos, FX_DWORD dwObjCount) in LoadLinearizedAllCrossRefV4()
427 FX_BOOL CPDF_Parser::LoadLinearizedCrossRefV4(FX_FILESIZE pos, FX_DWORD dwObjCount) in LoadLinearizedCrossRefV4()
[all …]
/external/pdfium/fpdfsdk/src/
Dfpdf_dataavail.cpp24 virtual FX_BOOL IsDataAvail( FX_FILESIZE offset, FX_DWORD size) in IsDataAvail()
46 virtual FX_FILESIZE GetSize() in GetSize()
51 virtual FX_BOOL ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) in ReadBlock()
72 virtual void AddSegment(FX_FILESIZE offset, FX_DWORD size) in AddSegment()
Dfpdfview.cpp42 FX_BOOL CPDF_CustomAccess::ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) in ReadBlock()
295 CMemFile(FX_BYTE* pBuf, FX_FILESIZE size):m_pBuf(pBuf),m_size(size) {} in CMemFile()
298 virtual FX_FILESIZE GetSize() {return m_size;} in GetSize()
299 virtual FX_BOOL ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) in ReadBlock()
307 FX_FILESIZE m_size;
/external/pdfium/core/src/fxge/apple/
Dapple_int.h195 virtual FX_FILESIZE GetSize() in GetSize()
197 return (FX_FILESIZE)_totalSize; in GetSize()
199 virtual FX_BOOL ReadBlock(void* buffer, FX_FILESIZE offset, size_t size);
205 virtual FX_FILESIZE GetPosition() in GetPosition()
207 return (FX_FILESIZE)_offSet; in GetPosition()
/external/pdfium/core/src/fpdfapi/fpdf_edit/
Deditint.h19 FX_FILESIZE End(CPDF_Creator* pCreator);
49 FX_FILESIZE m_PrevOffset;
Dfpdf_edit_create.cpp15 FX_INT32 PDF_CreatorAppendObject(const CPDF_Object* pObj, CFX_FileBufferArchive *pFile, FX_FILESIZE in PDF_CreatorAppendObject()
176 FX_FILESIZE offset = 0; in PDF_CreatorWriteTrailer()
268 FX_FILESIZE offset = 0; in PDF_CreatorWriteEncrypt()
459 FX_FILESIZE CPDF_ObjectStream::End(CPDF_Creator* pCreator) in End()
467 FX_FILESIZE ObjOffset = pCreator->m_Offset; in End()
476 FX_FILESIZE &offset = pCreator->m_Offset; in End()
597 static void _AppendIndex1(CFX_ByteTextBuf& buffer, FX_FILESIZE offset) in _AppendIndex1()
619 FX_FILESIZE objOffset = 0; in EndObjectStream()
640 FX_FILESIZE* offset = pCreator->m_ObjectOffset.GetPtrAt(m_dwTempObjNum); in EndObjectStream()
688 FX_FILESIZE offset_tmp = pCreator->m_Offset; in GenerateXRefStream()
[all …]
/external/pdfium/fpdfsdk/include/
Dfsdk_define.h111 virtual FX_FILESIZE GetSize() { return m_FileAccess.m_FileLen; } in GetSize()
117 virtual FX_BOOL ReadBlock(void* buffer, FX_FILESIZE offset, size_t size);
/external/pdfium/core/src/fxge/android/
Dfpf_skiafontmgr.cpp25 if (pFileRead->ReadBlock(buffer, (FX_FILESIZE)offset, (size_t)count) != count) { in FPF_SkiaStream_Read()
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_parser_old.cpp75 FX_FILESIZE savePos = m_pSyntax->GetPos(); in Handle_BeginImage()

12