Lines Matching refs:FileInterface
97 int ReadBZ2AndWriteAll(const std::unique_ptr<bsdiff::FileInterface>& file,
121 bool ReadAll(const std::unique_ptr<FileInterface>& file,
133 bool WriteAll(const std::unique_ptr<FileInterface>& file,
187 std::unique_ptr<FileInterface> patch_file =
221 std::unique_ptr<FileInterface> old_file = File::FOpen(old_filename, O_RDONLY);
238 std::unique_ptr<FileInterface> new_file =
273 std::unique_ptr<FileInterface> old_file(new MemoryFile(old_data, old_size));
274 std::unique_ptr<FileInterface> new_file(new SinkFile(sink));
281 int bspatch(const std::unique_ptr<FileInterface>& old_file,
282 const std::unique_ptr<FileInterface>& new_file,