Searched refs:FileWriter (Results 1 – 14 of 14) sorted by relevance
25 base::LazyInstance<FileWriter> g_file_writer30 FileWriter::FileWriter() {} in FileWriter() function in apmanager::FileWriter31 FileWriter::~FileWriter() {} in ~FileWriter()33 FileWriter* FileWriter::GetInstance() { in GetInstance()37 bool FileWriter::Write(const std::string& file_name, in Write()
27 class FileWriter {29 virtual ~FileWriter();32 static FileWriter* GetInstance();38 FileWriter();41 friend struct base::DefaultLazyInstanceTraits<FileWriter>;43 DISALLOW_COPY_AND_ASSIGN(FileWriter);
28 class MockFileWriter : public FileWriter {
62 FileWriter* file_writer_;
111 FileWriter* file_writer_;
59 file_writer_(FileWriter::GetInstance()), in DHCPServer()
76 file_writer_(FileWriter::GetInstance()), in Service()
37 class FileWriter {39 FileWriter() {} in FileWriter() function40 virtual ~FileWriter() {} in ~FileWriter()61 DISALLOW_COPY_AND_ASSIGN(FileWriter);67 class DirectFileWriter : public FileWriter {88 explicit ScopedFileWriterCloser(FileWriter* writer) : writer_(writer) {} in ScopedFileWriterCloser()96 FileWriter* writer_;
91 void SetTestFileWriter(FileWriter* writer) { in SetTestFileWriter()150 FileWriter* writer_;
47 class DeltaPerformer : public FileWriter {
25 class MockFileWriter : public FileWriter {
33 class FakeFileWriter : public FileWriter {
805 class FileWriter : public Writer { class814 static std::unique_ptr<FileWriter> Create(int fd, const ZipEntry* entry) { in Create()838 return std::unique_ptr<FileWriter>(nullptr); in Create()847 return std::unique_ptr<FileWriter>(nullptr); in Create()850 return std::unique_ptr<FileWriter>(new FileWriter(fd, declared_length)); in Create()870 FileWriter(const int fd, const size_t declared_length) : in FileWriter() function in FileWriter1064 std::unique_ptr<Writer> writer(FileWriter::Create(fd, entry)); in ExtractEntryToFile()
53 bool WriteUint64AsBigEndian(FileWriter* writer, const uint64_t value) { in WriteUint64AsBigEndian()