Searched refs:ReadFileChunk (Results 1 – 3 of 3) sorted by relevance
/system/update_engine/common/ |
D | utils_unittest.cc | 66 TEST(UtilsTest, ReadFileChunk) { in TEST() argument 77 EXPECT_TRUE(utils::ReadFileChunk(file.value().c_str(), kSize, 10, &in_data)); in TEST() 79 EXPECT_TRUE(utils::ReadFileChunk(file.value().c_str(), 0, -1, &in_data)); in TEST() 82 EXPECT_TRUE(utils::ReadFileChunk(file.value().c_str(), 10, 20, &in_data)); in TEST()
|
D | utils.cc | 394 bool ReadFileChunk(const string& path, off_t offset, off_t size, in ReadFileChunk() function 827 if (!ReadFileChunk(device, 0, 2048, &header)) in IsExtFilesystem() 836 if (!ReadFileChunk(device, 0, kSquashfsSuperBlockSize, &header)) in IsSquashfsFilesystem()
|
D | utils.h | 101 bool ReadFileChunk(const std::string& path, off_t offset, off_t size,
|