Searched refs:ReadFully (Results 1 – 6 of 6) sorted by relevance
/base/update/updater/utils/include/ |
D | utils.h | 59 bool ReadFully(int fd, void* data, size_t size);
|
/base/update/updater/test/unittest/utils/ |
D | utils_unittest.cpp | 112 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/ |
D | store.cpp | 179 if (!ReadFully(fd, buffer.data(), fileStat.st_size)) { in LoadDataFromStore()
|
D | block_set.cpp | 162 if (!Utils::ReadFully(fd, buffer.data() + pos, size)) { in ReadDataFromBlock()
|
/base/update/updater/services/updater_binary/ |
D | update_image_block.cpp | 401 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/ |
D | utils.cpp | 269 bool ReadFully(int fd, void *data, size_t size) in ReadFully() function
|