Home
last modified time | relevance | path

Searched refs:ExtentsFile (Results 1 – 4 of 4) sorted by relevance

/external/bsdiff/
Dextents_file.cc20 ExtentsFile::ExtentsFile(std::unique_ptr<FileInterface> file, in ExtentsFile() function in bsdiff::ExtentsFile
30 ExtentsFile::~ExtentsFile() { in ~ExtentsFile()
34 bool ExtentsFile::Read(void* buf, size_t count, size_t* bytes_read) { in Read()
39 bool ExtentsFile::Write(const void* buf, size_t count, size_t* bytes_written) { in Write()
43 bool ExtentsFile::Seek(off_t pos) { in Seek()
61 bool ExtentsFile::Close() { in Close()
65 bool ExtentsFile::GetSize(uint64_t* size) { in GetSize()
70 void ExtentsFile::AdvancePos(uint64_t size) { in AdvancePos()
80 bool ExtentsFile::IOOperation(bool (FileInterface::*io_op)(T*, size_t, size_t*), in IOOperation()
Dextents_file_unittest.cc62 ExtentsFile file(std::move(mock_file_ptr_), {}); in TEST_F()
66 ExtentsFile file(std::move(mock_file_ptr_), {}); in TEST_F()
72 ExtentsFile file(std::move(mock_file_ptr_), in TEST_F()
80 ExtentsFile file(std::move(mock_file_ptr_), in TEST_F()
111 ExtentsFile file(std::move(mock_file_ptr_), in TEST_F()
132 ExtentsFile file(std::move(mock_file_ptr_), in TEST_F()
158 ExtentsFile file(std::move(mock_file_ptr_), {ex_t{10, 1}, ex_t{20, 10}}); in TEST_F()
174 ExtentsFile file(std::move(mock_file_ptr_), {ex_t{10, 1}, ex_t{20, 10}}); in TEST_F()
188 ExtentsFile file(std::move(mock_file_ptr_), {ex_t{10, 1}, ex_t{20, 10}}); in TEST_F()
196 ExtentsFile file(std::move(mock_file_ptr_), {ex_t{10, 1}, ex_t{20, 10}}); in TEST_F()
Dbspatch.cc234 old_file.reset(new ExtentsFile(std::move(old_file), parsed_old_extents)); in bspatch()
252 new_file.reset(new ExtentsFile(std::move(new_file), parsed_new_extents)); in bspatch()
/external/bsdiff/include/bsdiff/
Dextents_file.h40 class ExtentsFile : public FileInterface {
46 ExtentsFile(std::unique_ptr<FileInterface> file,
49 ~ExtentsFile() override;