Searched refs:UpdateFile (Results 1 – 4 of 4) sorted by relevance
/system/update_engine/common/ |
D | hash_calculator_unittest.cc | 112 EXPECT_EQ(2, calc.UpdateFile(data_file.path(), length)); in TEST_F() 120 EXPECT_EQ(0, calc.UpdateFile(data_file.path(), 0)); in TEST_F() 121 EXPECT_EQ(1, calc.UpdateFile(data_file.path(), 1)); in TEST_F() 144 EXPECT_EQ(-1, calc.UpdateFile("/some/non-existent/file", -1)); in TEST_F()
|
D | hash_calculator.cc | 46 off_t HashCalculator::UpdateFile(const string& name, off_t length) { in UpdateFile() function in chromeos_update_engine::HashCalculator 107 off_t res = calc.UpdateFile(name, length); in RawHashOfFile()
|
D | hash_calculator.h | 50 off_t UpdateFile(const std::string& name, off_t length);
|
/system/update_engine/payload_generator/ |
D | delta_diff_utils.cc | 885 TEST_AND_RETURN_FALSE(hasher.UpdateFile(part.path, part.size) == in InitializePartitionInfo()
|