Searched refs:ReadFileChunk (Results 1 – 8 of 8) sorted by relevance
/system/update_engine/payload_generator/ |
D | boot_img_filesystem.cc | 40 !utils::ReadFileChunk(filename, 0, BOOT_MAGIC_SIZE, &header_magic) || in CreateFromFile() 52 if (!utils::ReadFileChunk(filename, in CreateFromFile() 70 if (!utils::ReadFileChunk(filename, 0, header_size, &header_blob)) { in CreateFromFile() 114 if (utils::ReadFileChunk(filename_, offset, size, &data)) { in GetFile()
|
D | payload_generation_config_android.cc | 101 utils::ReadFileChunk(part.path, offset, bytes_to_read, &buffer)); in VerifyVerityConfig() 108 TEST_AND_RETURN_FALSE(utils::ReadFileChunk( in VerifyVerityConfig() 137 TEST_AND_RETURN_FALSE(utils::ReadFileChunk( in LoadVerityConfig() 148 TEST_AND_RETURN_FALSE(utils::ReadFileChunk( in LoadVerityConfig() 159 TEST_AND_RETURN_FALSE(utils::ReadFileChunk(part.path, in LoadVerityConfig()
|
D | deflate_utils.cc | 68 utils::ReadFileChunk(part_path, in IsSquashfsImage()
|
D | delta_diff_utils.cc | 915 if (!utils::ReadFileChunk( in IsExtFilesystem()
|
/system/update_engine/payload_consumer/ |
D | payload_metadata.cc | 207 utils::ReadFileChunk(payload_path, 0, kMaxPayloadHeaderSize, &payload)); in ParsePayloadFile() 212 utils::ReadFileChunk(payload_path, in ParsePayloadFile() 221 TEST_AND_RETURN_FALSE(utils::ReadFileChunk( in ParsePayloadFile()
|
/system/update_engine/common/ |
D | utils_unittest.cc | 75 TEST(UtilsTest, ReadFileChunk) { in TEST() argument 84 EXPECT_TRUE(utils::ReadFileChunk(file.path().c_str(), kSize, 10, &in_data)); in TEST() 86 EXPECT_TRUE(utils::ReadFileChunk(file.path().c_str(), 0, -1, &in_data)); in TEST() 89 EXPECT_TRUE(utils::ReadFileChunk(file.path().c_str(), 10, 20, &in_data)); in TEST()
|
D | utils.h | 101 bool ReadFileChunk(const std::string& path,
|
D | utils.cc | 350 bool ReadFileChunk(const string& path, in ReadFileChunk() function
|