/external/pdfium/fpdfsdk/ |
D | fpdf_dataavail_embeddertest.cpp | 58 FPDF_FILEACCESS* file_access() { return &file_access_; } in file_access() function in __anon1f9940f00111::TestAsyncLoader 178 avail_ = FPDFAvail_Create(loader.file_avail(), loader.file_access()); in TEST_F() 192 avail_ = FPDFAvail_Create(loader.file_avail(), loader.file_access()); in TEST_F() 213 avail_ = FPDFAvail_Create(loader.file_avail(), loader.file_access()); in TEST_F() 221 EXPECT_GT(loader.file_access()->m_FileLen, in TEST_F() 231 EXPECT_GT(loader.file_access()->m_FileLen, loader.max_requested_bound()); in TEST_F() 240 EXPECT_GT(loader.file_access()->m_FileLen, in TEST_F() 251 avail_ = FPDFAvail_Create(loader.file_avail(), loader.file_access()); in TEST_F() 279 avail_ = FPDFAvail_Create(loader.file_avail(), loader.file_access()); in TEST_F() 308 avail_ = FPDFAvail_Create(loader.file_avail(), loader.file_access()); in TEST_F() [all …]
|
D | fpdf_editimg.cpp | 64 FPDF_FILEACCESS* file_access, in LoadJpegHelper() argument 70 if (!file_access) in LoadJpegHelper() 81 RetainPtr<IFX_SeekableReadStream> pFile = MakeSeekableReadStream(file_access); in LoadJpegHelper() 109 FPDF_FILEACCESS* file_access) { in FPDFImageObj_LoadJpegFile() argument 110 return LoadJpegHelper(pages, count, image_object, file_access, false); in FPDFImageObj_LoadJpegFile() 117 FPDF_FILEACCESS* file_access) { in FPDFImageObj_LoadJpegFileInline() argument 118 return LoadJpegHelper(pages, count, image_object, file_access, true); in FPDFImageObj_LoadJpegFileInline()
|
D | fpdf_editimg_unittest.cpp | 82 FileAccessForTesting file_access("mona_lisa.jpg"); in TEST_F() local 85 FPDFImageObj_LoadJpegFile(&temp_page, 1, image.get(), &file_access)); in TEST_F() 101 FileAccessForTesting file_access("mona_lisa.jpg"); in TEST_F() local 104 &file_access)); in TEST_F()
|
D | fpdf_view_embeddertest.cpp | 425 FPDF_FILEACCESS file_access = {}; in TEST_F() local 426 file_access.m_FileLen = pdf_length; in TEST_F() 427 file_access.m_GetBlock = GetBlockFromString; in TEST_F() 428 file_access.m_Param = &file_contents_string; in TEST_F() 429 doc.reset(FPDF_LoadCustomDocument(&file_access, nullptr)); in TEST_F()
|
D | fpdf_annot_embeddertest.cpp | 683 FPDF_FILEACCESS file_access; in TEST_F() local 684 memset(&file_access, 0, sizeof(file_access)); in TEST_F() 685 file_access.m_FileLen = new_file.size(); in TEST_F() 686 file_access.m_GetBlock = GetBlockFromString; in TEST_F() 687 file_access.m_Param = &new_file; in TEST_F() 688 FPDF_DOCUMENT new_doc = FPDF_LoadCustomDocument(&file_access, nullptr); in TEST_F()
|
/external/pdfium/testing/fuzzers/ |
D | pdfium_fuzzer_helper.cc | 137 FPDF_FILEACCESS file_access; in RenderPdf() local 138 memset(&file_access, '\0', sizeof(file_access)); in RenderPdf() 139 file_access.m_FileLen = static_cast<unsigned long>(len); in RenderPdf() 140 file_access.m_GetBlock = FuzzerTestLoader::GetBlock; in RenderPdf() 141 file_access.m_Param = &loader; in RenderPdf() 153 ScopedFPDFAvail pdf_avail(FPDFAvail_Create(&file_avail, &file_access)); in RenderPdf() 174 doc.reset(FPDF_LoadCustomDocument(&file_access, nullptr)); in RenderPdf()
|
/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_security_handler_embeddertest.cpp | 184 FPDF_FILEACCESS file_access; in TEST_F() local 185 memset(&file_access, 0, sizeof(file_access)); in TEST_F() 186 file_access.m_FileLen = new_file.size(); in TEST_F() 187 file_access.m_GetBlock = GetBlockFromString; in TEST_F() 188 file_access.m_Param = &new_file; in TEST_F() 189 EXPECT_FALSE(FPDF_LoadCustomDocument(&file_access, nullptr)); in TEST_F()
|
/external/pdfium/testing/utils/ |
D | file_util.cpp | 66 auto* file_access = static_cast<FileAccessForTesting*>(param); in SGetBlock() local 67 return file_access->GetBlockImpl(pos, pBuf, size); in SGetBlock()
|
/external/pdfium/testing/ |
D | fake_file_access.cpp | 77 FakeFileAccess::FakeFileAccess(FPDF_FILEACCESS* file_access) in FakeFileAccess() argument 78 : file_access_(file_access), in FakeFileAccess()
|
D | fake_file_access.h | 17 explicit FakeFileAccess(FPDF_FILEACCESS* file_access);
|
/external/pdfium/samples/ |
D | pdfium_test.cc | 822 FPDF_FILEACCESS file_access = {}; in RenderPdf() local 823 file_access.m_FileLen = static_cast<unsigned long>(len); in RenderPdf() 824 file_access.m_GetBlock = TestLoader::GetBlock; in RenderPdf() 825 file_access.m_Param = &loader; in RenderPdf() 836 ScopedFPDFAvail pdf_avail(FPDFAvail_Create(&file_avail, &file_access)); in RenderPdf() 869 doc.reset(FPDF_LoadCustomDocument(&file_access, password)); in RenderPdf()
|
/external/pdfium/public/ |
D | fpdf_edit.h | 535 FPDF_FILEACCESS* file_access); 557 FPDF_FILEACCESS* file_access);
|