Home
last modified time | relevance | path

Searched refs:m_pFile (Results 1 – 12 of 12) sorted by relevance

/external/pdfium/core/fxcrt/
Dfx_stream.cpp26 FX_FILESIZE GetSize() override { return m_pFile->GetSize(); } in GetSize()
28 FX_FILESIZE GetPosition() override { return m_pFile->GetPosition(); } in GetPosition()
30 return m_pFile->ReadPos(buffer, size, offset) > 0; in ReadBlock()
33 return m_pFile->Read(buffer, size); in ReadBlock()
38 return !!m_pFile->WritePos(buffer, size, offset); in WriteBlock()
40 bool Flush() override { return m_pFile->Flush(); } in Flush()
44 : m_pFile(std::move(pFA)) {} in CFX_CRTFileStream()
47 std::unique_ptr<IFX_FileAccess> m_pFile; member in __anon5891d02d0111::CFX_CRTFileStream
/external/pdfium/core/fxcodec/codec/
Dfx_codec_progress.cpp252 m_pFile = nullptr; in CCodec_ProgressiveDecoder()
296 uint32_t dwSize = (uint32_t)m_pFile->GetSize(); in JpegReadMoreData()
322 if (!m_pFile->ReadBlock(m_pSrcBuf + dwAvail, m_offSet, dwSize)) { in JpegReadMoreData()
558 uint32_t dwSize = (uint32_t)m_pFile->GetSize(); in GifReadMoreData()
584 if (!m_pFile->ReadBlock(m_pSrcBuf + dwAvail, m_offSet, dwSize)) { in GifReadMoreData()
834 uint32_t dwSize = (uint32_t)m_pFile->GetSize(); in BmpReadMoreData()
860 if (!m_pFile->ReadBlock(m_pSrcBuf + dwAvail, m_offSet, dwSize)) { in BmpReadMoreData()
996 uint32_t size = (uint32_t)m_pFile->GetSize(); in DetectImageType()
1035 if (!m_pFile->ReadBlock(m_pSrcBuf, 0, size)) { in BmpDetectImageType()
1127 if (!m_pFile->ReadBlock(m_pSrcBuf, 0, size)) { in JpegDetectImageType()
[all …]
Dccodec_progressivedecoder.h204 RetainPtr<IFX_SeekableReadStream> m_pFile; variable
/external/pdfium/core/fpdfapi/parser/
Dcpdf_stream.cpp68 m_pFile = pFile; in InitStreamFromFile()
119 m_pFile = nullptr; in SetData()
135 if (!m_bMemoryBased && m_pFile) in ReadRawData()
136 return m_pFile->ReadBlock(buf, offset, size); in ReadRawData()
Dcfdf_document.cpp41 m_pFile = pFile; in ParseStream()
43 parser.InitParser(m_pFile, 0); in ParseStream()
Dcfdf_document.h35 RetainPtr<IFX_SeekableReadStream> m_pFile; variable
Dcpdf_stream.h73 RetainPtr<IFX_SeekableReadStream> m_pFile; variable
/external/pdfium/core/fxcrt/xml/
Dcfx_saxreader.cpp60 ASSERT(!m_pFile && pFile); in StartFile()
79 m_pFile = pFile; in StartFile()
85 ASSERT(m_pFile); in ReadNextBlock()
91 if (!m_pFile->ReadBlock(m_pBuf, m_dwCur, m_dwBufSize)) { in ReadNextBlock()
103 m_pFile = nullptr; in Reset()
Dcfx_saxreader.h54 RetainPtr<IFX_SeekableReadStream> m_pFile; variable
/external/pdfium/core/fxge/android/
Dcfpf_skiafilefont.h25 RetainPtr<IFX_SeekableReadStream> m_pFile; variable
Dcfpf_skiafont.cpp198 m_Face = pFontMgr->GetFontFace(pFont->m_pFile, pFont->m_iFaceIndex); in InitFont()
/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTModelPOD.cpp375 CPVRTResourceFile* m_pFile; member in CSourceStream
383 CSourceStream() : m_pFile(0), m_BytesReadCount(0) {} in CSourceStream()
404 delete m_pFile; in ~CSourceStream()
416 if (m_pFile) in Init()
418 delete m_pFile; in Init()
419 m_pFile = 0; in Init()
425 m_pFile = new CPVRTResourceFile(pszFileName); in Init()
426 if (!m_pFile->IsOpen()) in Init()
428 delete m_pFile; in Init()
429 m_pFile = 0; in Init()
[all …]