Home
last modified time | relevance | path

Searched refs:file_access_ (Results 1 – 5 of 5) sorted by relevance

/external/pdfium/testing/
Dfake_file_access.cpp78 : file_access_(file_access), in FakeFileAccess()
82 ASSERT(file_access_); in FakeFileAccess()
96 return file_access_->m_FileLen; in GetFileSize()
104 return file_access_->m_GetBlock(file_access_->m_Param, position, pBuf, size); in GetBlock()
Dembedder_test.cpp60 memset(&file_access_, 0, sizeof(file_access_)); in EmbedderTest()
132 file_access_.m_FileLen = static_cast<unsigned long>(file_length_); in OpenDocumentWithOptions()
133 file_access_.m_GetBlock = TestLoader::GetBlock; in OpenDocumentWithOptions()
134 file_access_.m_Param = loader_; in OpenDocumentWithOptions()
135 fake_file_access_ = pdfium::MakeUnique<FakeFileAccess>(&file_access_); in OpenDocumentWithOptions()
Dfake_file_access.h34 fxcrt::UnownedPtr<FPDF_FILEACCESS> file_access_;
Dembedder_test.h175 FPDF_FILEACCESS file_access_; // must outlive avail_. variable
/external/pdfium/fpdfsdk/
Dfpdf_dataavail_embeddertest.cpp44 file_access_.m_FileLen = static_cast<unsigned long>(file_length_); in TestAsyncLoader()
45 file_access_.m_GetBlock = SGetBlock; in TestAsyncLoader()
46 file_access_.m_Param = this; in TestAsyncLoader()
57 FPDF_FILEACCESS* file_access() { return &file_access_; } in file_access()
143 FPDF_FILEACCESS file_access_; member in __anon6ec5a2610111::TestAsyncLoader