Home
last modified time | relevance | path

Searched refs:WriteAll (Results 1 – 8 of 8) sorted by relevance

/system/update_engine/payload_consumer/
Dxz_extent_writer_unittest.cc89 void WriteAll(const brillo::Blob& compressed) { in WriteAll() function in chromeos_update_engine::XzExtentWriterTest
112 WriteAll(brillo::Blob(std::begin(kCompressedDataNoCheck), in TEST_F()
118 WriteAll(brillo::Blob(std::begin(kCompressedDataCRC32), in TEST_F()
126 WriteAll(brillo::Blob(std::begin(kCompressed30KiBofA), in TEST_F()
Dextent_writer.cc53 utils::WriteAll(fd_, c_bytes + bytes_written, bytes_to_write)); in Write()
Dverity_writer_android.cc124 if (!utils::WriteAll(write_fd_, fec_.data(), fec_.size())) { in Compute()
257 return utils::WriteAll(write_fd, data, size); in Finalize()
300 return utils::WriteAll(write_fd, data, size); in IncrementalFinalize()
398 if (!utils::WriteAll(write_fd, fec.data(), fec.size())) { in EncodeFEC()
Dinstall_operation_executor_unittest.cc82 utils::WriteAll(source_.fd(), source_data_.data(), source_data_.size())) in SetUp()
85 utils::WriteAll(target_.fd(), target_data_.data(), target_data_.size())) in SetUp()
Dfilesystem_verifier_action_unittest.cc137 ASSERT_TRUE(utils::WriteAll(fd, buffer.data(), buffer.size())); in ZeroRange()
/system/update_engine/common/
Dutils.h68 bool WriteAll(int fd, const void* buf, size_t count);
71 bool WriteAll(FileDescriptor* fd, const void* buf, size_t count);
73 constexpr bool WriteAll(const FileDescriptorPtr& fd, in WriteAll() function
76 return WriteAll(fd.get(), buf, count); in WriteAll()
79 bool WriteAll(FileDescriptorPtr* fd, const void* buf, size_t count, off_t off);
Dutils.cc119 return WriteAll(fd, data, data_len); in WriteFile()
151 bool WriteAll(int fd, const void* buf, size_t count) { in WriteAll() function
184 bool WriteAll(FileDescriptor* fd, const void* buf, size_t count) { in WriteAll() function
195 bool WriteAll(const FileDescriptorPtr& fd, in WriteAll() function
201 return WriteAll(fd, buf, count); in WriteAll()
262 auto success = WriteAll(fd, buf, count, offset); in PWriteAll()
443 if (!WriteAll(fd.get(), content.data(), content.size())) { in WriteStringToFileAtomic()
/system/update_engine/aosp/
Ddynamic_partition_control_android.cc627 TEST_AND_RETURN_FALSE(utils::WriteAll(fd_, zeros.data(), zeros.size())); in Erase()