Searched refs:FileWriter (Results 1 - 7 of 7) sorted by relevance

/system/update_engine/payload_consumer/
H A Dfile_writer.h30 // FileWriter is a class that is used to (synchronously, for now) write to
37 class FileWriter { class in namespace:chromeos_update_engine
39 FileWriter() {} function in class:chromeos_update_engine::FileWriter
40 virtual ~FileWriter() {}
61 DISALLOW_COPY_AND_ASSIGN(FileWriter);
64 // Direct file writer is probably the simplest FileWriter implementation.
67 class DirectFileWriter : public FileWriter {
71 // FileWriter overrides.
88 explicit ScopedFileWriterCloser(FileWriter* writer) : writer_(writer) {}
92 LOG(ERROR) << "FileWriter
[all...]
H A Ddownload_action.h91 void SetTestFileWriter(FileWriter* writer) {
148 // The FileWriter that downloaded data should be written to. It will
150 FileWriter* writer_;
H A Ddelta_performer.h47 class DeltaPerformer : public FileWriter {
88 // FileWriter's Write implementation where caller doesn't care about
95 // FileWriter's Write implementation that returns a more specific |error| code
/system/update_engine/
H A Dmock_file_writer.h25 class MockFileWriter : public FileWriter {
H A Dfake_file_writer.h27 // FakeFileWriter is an implementation of FileWriter. It will succeed
33 class FakeFileWriter : public FileWriter {
67 // These are just to ensure FileWriter methods are called properly.
/system/core/libziparchive/
H A Dzip_archive.cc807 class FileWriter : public Writer { class in inherits:Writer
810 // Creates a FileWriter for |fd| and prepare to write |entry| to it,
816 // Returns a valid FileWriter on success, |nullptr| if an error occurred.
817 static std::unique_ptr<FileWriter> Create(int fd, const ZipEntry* entry) {
842 return std::unique_ptr<FileWriter>(nullptr);
850 return std::unique_ptr<FileWriter>(nullptr);
859 return std::unique_ptr<FileWriter>(nullptr);
863 return std::unique_ptr<FileWriter>(new FileWriter(fd, declared_length));
883 FileWriter(cons function in class:FileWriter
[all...]
/system/update_engine/payload_generator/
H A Dpayload_file.cc53 bool WriteUint64AsBigEndian(FileWriter* writer, const uint64_t value) {

Completed in 90 milliseconds