Searched refs:WriteFully (Results 1 – 8 of 8) sorted by relevance
/base/update/updater/test/unittest/utils/ |
D | utils_unittest.cpp | 97 HWTEST_F(UtilsUnitTest, WriteFully, TestSize.Level0) 103 EXPECT_EQ(Utils::WriteFully(fd, a, 1), true); 107 EXPECT_EQ(Utils::WriteFully(readFd, a, 1), false); 118 EXPECT_EQ(Utils::WriteFully(fd, a, 1), true); 136 EXPECT_EQ(Utils::WriteFully(fd, a, 1), true); 155 EXPECT_EQ(Utils::WriteFully(fd, a, 1), true); 176 EXPECT_EQ(Utils::WriteFully(fd, a, 1), true);
|
/base/update/updater/services/applypatch/ |
D | block_writer.cpp | 75 if (Updater::Utils::WriteFully(fd_, addr, written) == false) { in Write()
|
D | store.cpp | 131 if (size < 0 || !WriteFully(fd, buffer.data(), static_cast<size_t>(size))) { in WriteDataToStore()
|
D | block_set.cpp | 192 if (Utils::WriteFully(fd, buffer.data() + pos, writeSize) == false) { in WriteDataToBlock() 366 if (Utils::WriteFully(fd, buffer.data(), H_BLOCK_SIZE)) { in WriteZeroToBlock()
|
/base/update/updater/services/flashd/ |
D | partition.cpp | 65 if (!Updater::Utils::WriteFully(fd, buffer.data(), buffer.size())) { in DoErase()
|
/base/update/updater/utils/include/ |
D | utils.h | 58 bool WriteFully(int fd, const uint8_t *data, size_t size);
|
/base/update/updater/services/flashd/daemon/ |
D | update_commander.cpp | 98 if (!Updater::Utils::WriteFully(fd_, payload, writeSize)) { in DoUpdate()
|
/base/update/updater/utils/ |
D | utils.cpp | 250 bool WriteFully(int fd, const uint8_t *data, size_t size) in WriteFully() function
|