Searched refs:BufferFile (Results 1 – 3 of 3) sorted by relevance
11 BufferFile::BufferFile(std::unique_ptr<FileInterface> file, size_t size) in BufferFile() function in bsdiff::BufferFile16 BufferFile::~BufferFile() { in ~BufferFile()20 bool BufferFile::Read(void* buf, size_t count, size_t* bytes_read) { in Read()24 bool BufferFile::Write(const void* buf, size_t count, size_t* bytes_written) { in Write()31 bool BufferFile::Seek(off_t pos) { in Seek()35 bool BufferFile::Close() { in Close()44 bool BufferFile::GetSize(uint64_t* size) { in GetSize()
15 class BufferFile : public FileInterface {22 BufferFile(std::unique_ptr<FileInterface> file, size_t size);24 ~BufferFile() override;
222 new_file.reset(new BufferFile(std::move(new_file), newsize)); in bspatch()