Home
last modified time | relevance | path

Searched refs:ReadFully (Results 1 – 6 of 6) sorted by relevance

/base/update/updater/utils/include/
Dutils.h59 bool ReadFully(int fd, void* data, size_t size);
/base/update/updater/test/unittest/utils/
Dutils_unittest.cpp112 HWTEST_F(UtilsUnitTest, ReadFully, TestSize.Level0)
120 EXPECT_EQ(Utils::ReadFully(fd, a, 1), true);
125 EXPECT_EQ(Utils::ReadFully(writeFd, a, 1), false);
/base/update/updater/services/applypatch/
Dstore.cpp179 if (!ReadFully(fd, buffer.data(), fileStat.st_size)) { in LoadDataFromStore()
Dblock_set.cpp162 if (!Utils::ReadFully(fd, buffer.data() + pos, size)) { in ReadDataFromBlock()
/base/update/updater/services/updater_binary/
Dupdate_image_block.cpp401 UPDATER_ERROR_CHECK(Utils::ReadFully(fd, block_buff.data() + pos, size), "Failed to read", in Execute()
462 … UPDATER_ERROR_CHECK(Utils::ReadFully(fd, block_buff.data(), H_BLOCK_SIZE), "Failed to read", in Execute()
/base/update/updater/utils/
Dutils.cpp269 bool ReadFully(int fd, void *data, size_t size) in ReadFully() function