Searched refs:WriteAll (Results 1 – 8 of 8) sorted by relevance
/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 | 125 return utils::WriteAll(write_fd, data, size); in Finalize() 213 if (!utils::WriteAll(write_fd, fec.data(), fec.size())) { in EncodeFEC()
|
D | partition_writer.cc | 361 TEST_AND_RETURN_FALSE(utils::WriteAll( in PerformZeroOrDiscardOperation()
|
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 | 63 bool WriteAll(int fd, const void* buf, size_t count); 66 bool WriteAll(const FileDescriptorPtr& fd, const void* buf, size_t count); 68 bool WriteAll(const FileDescriptorPtr& fd,
|
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(const FileDescriptorPtr& 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()
|
/system/update_engine/aosp/ |
D | dynamic_partition_control_android.cc | 604 TEST_AND_RETURN_FALSE(utils::WriteAll(fd_, zeros.data(), zeros.size())); in Erase()
|