/system/update_engine/payload_consumer/ |
D | xz_extent_writer_unittest.cc | 89 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()
|
D | extent_writer.cc | 53 utils::WriteAll(fd_, c_bytes + bytes_written, bytes_to_write)); in Write()
|
D | verity_writer_android.cc | 124 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()
|
D | install_operation_executor_unittest.cc | 82 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()
|
D | filesystem_verifier_action_unittest.cc | 137 ASSERT_TRUE(utils::WriteAll(fd, buffer.data(), buffer.size())); in ZeroRange()
|
/system/update_engine/common/ |
D | utils.h | 68 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);
|
D | utils.cc | 119 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/ |
D | dynamic_partition_control_android.cc | 627 TEST_AND_RETURN_FALSE(utils::WriteAll(fd_, zeros.data(), zeros.size())); in Erase()
|