Searched refs:ExtentsFile (Results 1 – 4 of 4) sorted by relevance
/external/bsdiff/ |
D | extents_file.cc | 20 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() 79 bool ExtentsFile::IOOperation(bool (FileInterface::*io_op)(T*, size_t, size_t*), in IOOperation()
|
D | extents_file_unittest.cc | 61 ExtentsFile file(std::move(mock_file_ptr_), {}); in TEST_F() 65 ExtentsFile file(std::move(mock_file_ptr_), {}); in TEST_F() 71 ExtentsFile file(std::move(mock_file_ptr_), in TEST_F() 79 ExtentsFile file(std::move(mock_file_ptr_), in TEST_F() 110 ExtentsFile file(std::move(mock_file_ptr_), in TEST_F() 131 ExtentsFile file(std::move(mock_file_ptr_), in TEST_F() 157 ExtentsFile file(std::move(mock_file_ptr_), {ex_t{10, 1}, ex_t{20, 10}}); in TEST_F() 173 ExtentsFile file(std::move(mock_file_ptr_), {ex_t{10, 1}, ex_t{20, 10}}); in TEST_F() 187 ExtentsFile file(std::move(mock_file_ptr_), {ex_t{10, 1}, ex_t{20, 10}}); in TEST_F() 195 ExtentsFile file(std::move(mock_file_ptr_), {ex_t{10, 1}, ex_t{20, 10}}); in TEST_F()
|
D | bspatch.cc | 197 old_file.reset(new ExtentsFile(std::move(old_file), parsed_old_extents)); in bspatch() 214 new_file.reset(new ExtentsFile(std::move(new_file), parsed_new_extents)); in bspatch()
|
/external/bsdiff/include/bsdiff/ |
D | extents_file.h | 41 class BSDIFF_EXPORT ExtentsFile : public FileInterface { 47 ExtentsFile(std::unique_ptr<FileInterface> file, 50 ~ExtentsFile() override;
|