Searched defs:file_access (Results 1 - 3 of 3) sorted by relevance

/external/pdfium/fpdfsdk/
H A Dfpdf_dataavail_embeddertest.cpp42 FPDF_FILEACCESS* file_access() { return &file_access_; } function in class:__anon16502::TestAsyncLoader
189 avail_ = FPDFAvail_Create(loader.file_avail(), loader.file_access());
205 avail_ = FPDFAvail_Create(loader.file_avail(), loader.file_access());
213 EXPECT_GT(loader.file_access()->m_FileLen,
223 EXPECT_GT(loader.file_access()->m_FileLen, loader.max_requested_bound());
232 EXPECT_GT(loader.file_access()->m_FileLen,
H A Dfpdfedit_embeddertest.cpp140 FPDF_FILEACCESS file_access; local
141 memset(&file_access, 0, sizeof(file_access));
142 file_access.m_FileLen = new_file.size();
143 file_access.m_GetBlock = GetBlockFromString;
144 file_access.m_Param = &new_file;
146 FPDF_DOCUMENT new_doc = FPDF_LoadCustomDocument(&file_access, nullptr);
225 FPDF_FILEACCESS file_access; local
226 memset(&file_access, 0, sizeof(file_access));
[all...]
/external/pdfium/samples/
H A Dpdfium_test.cc745 FPDF_FILEACCESS file_access; local
746 memset(&file_access, '\0', sizeof(file_access));
747 file_access.m_FileLen = static_cast<unsigned long>(len);
748 file_access.m_GetBlock = TestLoader::GetBlock;
749 file_access.m_Param = &loader;
764 FPDF_AVAIL pdf_avail = FPDFAvail_Create(&file_avail, &file_access);
789 doc = FPDF_LoadCustomDocument(&file_access, nullptr);

Completed in 71 milliseconds