Home
last modified time | relevance | path

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

/base/update/updater/test/unittest/utils/
Dutils_unittest.cpp97 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/
Dblock_writer.cpp75 if (Updater::Utils::WriteFully(fd_, addr, written) == false) { in Write()
Dstore.cpp131 if (size < 0 || !WriteFully(fd, buffer.data(), static_cast<size_t>(size))) { in WriteDataToStore()
Dblock_set.cpp192 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/
Dpartition.cpp65 if (!Updater::Utils::WriteFully(fd, buffer.data(), buffer.size())) { in DoErase()
/base/update/updater/utils/include/
Dutils.h58 bool WriteFully(int fd, const uint8_t *data, size_t size);
/base/update/updater/services/flashd/daemon/
Dupdate_commander.cpp98 if (!Updater::Utils::WriteFully(fd_, payload, writeSize)) { in DoUpdate()
/base/update/updater/utils/
Dutils.cpp250 bool WriteFully(int fd, const uint8_t *data, size_t size) in WriteFully() function