Home
last modified time | relevance | path

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

/ohos5.0/base/update/updater/utils/
H A Dpartition_utils.cpp61 if (!Updater::Utils::WriteFully(fd, buffer.data(), buffer.size())) { in WipeBlockPartition()
H A Dutils.cpp286 bool WriteFully(int fd, const uint8_t *data, size_t size) in WriteFully() function
/ohos5.0/base/update/updater/services/applypatch/
H A Dblock_writer.cpp75 if (Updater::Utils::WriteFully(fd_, addr, written) == false) {
H A Dstore.cpp117 if (size < 0 || !WriteFully(fd, buffer.data(), static_cast<size_t>(size))) { in WriteDataToStore()
H A Dblock_set.cpp185 if (Utils::WriteFully(fd, buffer.data() + pos, writeSize) == false) { in WriteDataToBlock()
358 if (Utils::WriteFully(fd, buffer.data(), H_BLOCK_SIZE)) { in WriteZeroToBlock()
/ohos5.0/base/update/updater/services/flashd/
H A Dpartition.cpp65 if (!Updater::Utils::WriteFully(fd, buffer.data(), buffer.size())) { in DoErase()
/ohos5.0/base/update/updater/services/flashd/daemon/
H A Dupdate_commander.cpp98 if (!Updater::Utils::WriteFully(fd_, payload, writeSize)) { in DoUpdate()
/ohos5.0/base/update/updater/utils/include/
H A Dutils.h70 bool WriteFully(int fd, const uint8_t *data, size_t size);