Home
last modified time | relevance | path

Searched refs:UpdateFile (Results 1 – 4 of 4) sorted by relevance

/system/update_engine/common/
Dhash_calculator_unittest.cc112 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()
Dhash_calculator.cc46 off_t HashCalculator::UpdateFile(const string& name, off_t length) { in UpdateFile() function in chromeos_update_engine::HashCalculator
102 off_t res = calc.UpdateFile(name, length); in RawHashOfFile()
Dhash_calculator.h50 off_t UpdateFile(const std::string& name, off_t length);
/system/update_engine/payload_generator/
Ddelta_diff_utils.cc889 TEST_AND_RETURN_FALSE(hasher.UpdateFile(part.path, part.size) == in InitializePartitionInfo()