Home
last modified time | relevance | path

Searched refs:ReadFileChunk (Results 1 – 3 of 3) sorted by relevance

/system/update_engine/common/
Dutils_unittest.cc66 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()
Dutils.cc394 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()
Dutils.h101 bool ReadFileChunk(const std::string& path, off_t offset, off_t size,