Home
last modified time | relevance | path

Searched refs:pFileAccess (Results 1 – 11 of 11) sorted by relevance

/external/pdfium/core/fpdfapi/parser/
Dcpdf_parser_unittest.cpp40 RetainPtr<IFX_SeekableReadStream> pFileAccess = in InitTestFromFile() local
42 if (!pFileAccess) in InitTestFromFile()
46 m_pSyntax = pdfium::MakeUnique<CPDF_SyntaxParser>(pFileAccess); in InitTestFromFile()
286 RetainPtr<IFX_SeekableReadStream> pFileAccess = in TEST() local
288 ASSERT_TRUE(pFileAccess); in TEST()
290 std::vector<unsigned char> data(pFileAccess->GetSize() + kTestHeaderOffset); in TEST()
291 ASSERT_TRUE(pFileAccess->ReadBlockAtOffset(&data.front() + kTestHeaderOffset, in TEST()
292 0, pFileAccess->GetSize())); in TEST()
307 RetainPtr<IFX_SeekableReadStream> pFileAccess = in TEST() local
309 ASSERT_TRUE(pFileAccess); in TEST()
[all …]
Dcpdf_syntax_parser.h30 const RetainPtr<IFX_SeekableReadStream>& pFileAccess,
34 const RetainPtr<IFX_SeekableReadStream>& pFileAccess);
Dcpdf_syntax_parser.cpp77 const RetainPtr<IFX_SeekableReadStream>& pFileAccess, in CreateForTesting() argument
80 pdfium::MakeRetain<CPDF_ReadValidator>(pFileAccess, nullptr), in CreateForTesting()
85 const RetainPtr<IFX_SeekableReadStream>& pFileAccess) in CPDF_SyntaxParser() argument
87 pdfium::MakeRetain<CPDF_ReadValidator>(pFileAccess, nullptr), in CPDF_SyntaxParser()
Dcpdf_document.cpp90 const RetainPtr<IFX_SeekableReadStream>& pFileAccess, in LoadDoc() argument
95 return HandleLoadResult(m_pParser->StartParse(pFileAccess, password)); in LoadDoc()
Dcpdf_document.h128 const RetainPtr<IFX_SeekableReadStream>& pFileAccess,
Dcpdf_parser.cpp145 const RetainPtr<IFX_SeekableReadStream>& pFileAccess, in StartParse() argument
148 pdfium::MakeRetain<CPDF_ReadValidator>(pFileAccess, nullptr))) in StartParse()
/external/pdfium/fpdfsdk/
Dcpdfsdk_customaccess.cpp11 CPDFSDK_CustomAccess::CPDFSDK_CustomAccess(FPDF_FILEACCESS* pFileAccess) in CPDFSDK_CustomAccess() argument
12 : m_FileAccess(*pFileAccess) {} in CPDFSDK_CustomAccess()
Dcpdfsdk_customaccess.h25 explicit CPDFSDK_CustomAccess(FPDF_FILEACCESS* pFileAccess);
Dfpdf_view.cpp81 const RetainPtr<IFX_SeekableReadStream>& pFileAccess, in LoadDocumentImpl() argument
83 if (!pFileAccess) { in LoadDocumentImpl()
92 CPDF_Parser::Error error = pDocument->LoadDoc(pFileAccess, password); in LoadDocumentImpl()
219 FPDF_LoadCustomDocument(FPDF_FILEACCESS* pFileAccess, in FPDF_LoadCustomDocument() argument
221 if (!pFileAccess) in FPDF_LoadCustomDocument()
223 return LoadDocumentImpl(pdfium::MakeRetain<CPDFSDK_CustomAccess>(pFileAccess), in FPDF_LoadCustomDocument()
Dfpdf_editimg.cpp51 FPDF_FILEACCESS* pFileAccess) { in MakeSeekableReadStream() argument
52 return pdfium::MakeRetain<CPDFSDK_CustomAccess>(pFileAccess); in MakeSeekableReadStream()
/external/pdfium/public/
Dfpdfview.h518 FPDF_LoadCustomDocument(FPDF_FILEACCESS* pFileAccess, FPDF_BYTESTRING password);