Home
last modified time | relevance | path

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

/external/pdfium/testing/utils/
Dfile_util.cpp45 file_contents_ = GetFileContents(file_path.c_str(), &file_length_); in FileAccessForTesting()
46 if (!file_contents_) in FileAccessForTesting()
57 memcpy(pBuf, file_contents_.get() + pos, size); in GetBlockImpl()
Dfile_util.h34 std::unique_ptr<char, pdfium::FreeDeleter> file_contents_; variable
/external/pdfium/fpdfsdk/
Dfpdf_dataavail_embeddertest.cpp41 file_contents_ = GetFileContents(file_path.c_str(), &file_length_); in TestAsyncLoader()
42 if (!file_contents_) in TestAsyncLoader()
56 bool IsOpened() const { return !!file_contents_; } in IsOpened()
91 char* file_contents() { return file_contents_.get(); } in file_contents()
110 memcpy(pBuf, file_contents_.get() + pos, end - pos); in GetBlockImpl()
149 std::unique_ptr<char, pdfium::FreeDeleter> file_contents_; member in __anon3e1afc4b0111::TestAsyncLoader
/external/pdfium/testing/
Dembedder_test.cpp148 file_contents_ = GetFileContents(file_path.c_str(), &file_length_); in OpenDocumentWithOptions()
149 if (!file_contents_) in OpenDocumentWithOptions()
154 pdfium::make_span(file_contents_.get(), file_length_)); in OpenDocumentWithOptions()
Dembedder_test.h260 std::unique_ptr<char, pdfium::FreeDeleter> file_contents_; variable