/external/pdfium/core/src/fxcrt/ |
fxcrt_platforms.h | 22 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);
|
fxcrt_posix.h | 20 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);
|
fxcrt_windows.h | 20 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);
|
fxcrt_platforms.cpp | 82 FX_FILESIZE CFXCRT_FileAccess_CRT::GetSize() const
87 FX_FILESIZE pos = (FX_FILESIZE)FXSYS_ftell(m_hFile);
89 FX_FILESIZE size = (FX_FILESIZE)FXSYS_ftell(m_hFile);
93 FX_FILESIZE CFXCRT_FileAccess_CRT::GetPosition() const
96 return (FX_FILESIZE) - 1;
98 return (FX_FILESIZE)FXSYS_ftell(m_hFile);
100 FX_FILESIZE CFXCRT_FileAccess_CRT::SetPosition(FX_FILESIZE pos) [all...] |
fxcrt_posix.cpp | 70 FX_FILESIZE CFXCRT_FileAccess_Posix::GetSize() const
80 FX_FILESIZE CFXCRT_FileAccess_Posix::GetPosition() const
83 return (FX_FILESIZE) - 1;
87 FX_FILESIZE CFXCRT_FileAccess_Posix::SetPosition(FX_FILESIZE pos)
90 return (FX_FILESIZE) - 1;
108 size_t CFXCRT_FileAccess_Posix::ReadPos(void* pBuffer, size_t szBuffer, FX_FILESIZE pos)
116 if (SetPosition(pos) == (FX_FILESIZE) - 1) {
121 size_t CFXCRT_FileAccess_Posix::WritePos(const void* pBuffer, size_t szBuffer, FX_FILESIZE pos)
126 if (SetPosition(pos) == (FX_FILESIZE) - 1) { [all...] |
xml_int.h | 32 virtual FX_FILESIZE GetPosition()
34 return (FX_FILESIZE)m_dwCurPos;
59 virtual FX_FILESIZE GetBlockOffset()
98 return m_nStart + (FX_FILESIZE)m_dwSize >= m_pFileRead->GetSize();
100 virtual FX_FILESIZE GetPosition()
102 return m_nStart + (FX_FILESIZE)m_dwSize;
113 FX_FILESIZE nLength = m_pFileRead->GetSize();
114 m_nStart += (FX_FILESIZE)m_dwSize;
135 virtual FX_FILESIZE GetBlockOffset()
143 FX_FILESIZE m_nStart; [all...] |
extension.h | 17 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()
62 virtual FX_FILESIZE GetPosition()
64 FX_FILESIZE pos = m_pFile->GetPosition(); [all...] |
fxcrt_windows.cpp | 103 FX_FILESIZE CFXCRT_FileAccess_Win64::GetSize() const
112 return (FX_FILESIZE)size.QuadPart;
114 FX_FILESIZE CFXCRT_FileAccess_Win64::GetPosition() const
117 return (FX_FILESIZE) - 1;
122 return (FX_FILESIZE) - 1;
124 return (FX_FILESIZE)newPos.QuadPart;
126 FX_FILESIZE CFXCRT_FileAccess_Win64::SetPosition(FX_FILESIZE pos)
129 return (FX_FILESIZE) - 1;
135 return (FX_FILESIZE) - 1; [all...] |
fx_xml_parser.cpp | 125 m_nOffset = m_nBufferOffset + (FX_FILESIZE)m_dwIndex;
133 m_nOffset = m_nBufferOffset + (FX_FILESIZE)m_dwIndex;
141 m_nOffset = m_nBufferOffset + (FX_FILESIZE)m_dwIndex;
160 m_nOffset = m_nBufferOffset + (FX_FILESIZE)m_dwIndex;
169 m_nOffset = m_nBufferOffset + (FX_FILESIZE)m_dwIndex;
185 m_nOffset = m_nBufferOffset + (FX_FILESIZE)m_dwIndex;
195 m_nOffset = m_nBufferOffset + (FX_FILESIZE)m_dwBufferSize;
201 m_nOffset = m_nBufferOffset + (FX_FILESIZE)m_dwIndex;
279 m_nOffset = m_nBufferOffset + (FX_FILESIZE)m_dwIndex;
288 m_nOffset = m_nBufferOffset + (FX_FILESIZE)m_dwIndex; [all...] |
fx_extension.cpp | 38 FX_FILESIZE FX_File_GetSize(FX_HFILE hFile)
43 FX_FILESIZE FX_File_GetPosition(FX_HFILE hFile)
48 FX_FILESIZE FX_File_SetPosition(FX_HFILE hFile, FX_FILESIZE pos)
58 size_t FX_File_ReadPos(FX_HFILE hFile, void* pBuffer, size_t szBuffer, FX_FILESIZE pos)
68 size_t FX_File_WritePos(FX_HFILE hFile, const void* pBuffer, size_t szBuffer, FX_FILESIZE pos)
78 FX_BOOL FX_File_Truncate(FX_HFILE hFile, FX_FILESIZE szFile)
|
/external/pdfium/core/include/fxcrt/ |
fx_stream.h | 20 #define FX_FILESIZE FX_INT32
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; [all...] |
fx_xml.h | 69 static CXML_Element* Parse(const void* pBuffer, size_t size, FX_BOOL bSaveSpaceChars = FALSE, FX_FILESIZE* pParsedSize = NULL, IFX_Allocator* pAllocator = NULL);
71 static CXML_Element* Parse(IFX_FileRead *pFile, FX_BOOL bSaveSpaceChars = FALSE, FX_FILESIZE* pParsedSize = NULL, IFX_Allocator* pAllocator = NULL);
73 static CXML_Element* Parse(IFX_BufferRead *pBuffer, FX_BOOL bSaveSpaceChars = FALSE, FX_FILESIZE* pParsedSize = NULL, IFX_Allocator* pAllocator = NULL);
|
fx_basic.h | 571 typedef CFX_ArrayTemplate<FX_FILESIZE> CFX_FileSizeArray;
[all...] |
/external/pdfium/core/include/fpdfapi/ |
fpdf_parser.h | 255 FX_FILESIZE SavePos()
260 void RestorePos(FX_FILESIZE pos)
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); [all...] |
fpdf_serial.h | 171 FX_FILESIZE m_Offset;
190 FX_FILESIZE m_XrefStart;
|
fpdf_objects.h | 570 FX_BOOL ReadRawData(FX_FILESIZE start_pos, FX_LPBYTE pBuf, FX_DWORD buf_size) const;
596 FX_FILESIZE m_FileOffset;
|