Searched refs:file_contents_ (Results 1 – 5 of 5) sorted by relevance
/external/pdfium/testing/utils/ |
D | file_util.cpp | 45 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()
|
D | file_util.h | 34 std::unique_ptr<char, pdfium::FreeDeleter> file_contents_; variable
|
/external/pdfium/fpdfsdk/ |
D | fpdf_dataavail_embeddertest.cpp | 41 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/ |
D | embedder_test.cpp | 148 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()
|
D | embedder_test.h | 260 std::unique_ptr<char, pdfium::FreeDeleter> file_contents_; variable
|