Home
last modified time | relevance | path

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

/system/update_engine/common/
Dhash_calculator_unittest.cc120 EXPECT_EQ(2, calc.UpdateFile(data_path, kLengths[i])); in TEST_F()
128 EXPECT_EQ(0, calc.UpdateFile(data_path, 0)); in TEST_F()
129 EXPECT_EQ(1, calc.UpdateFile(data_path, 1)); in TEST_F()
157 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
101 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.cc844 TEST_AND_RETURN_FALSE(hasher.UpdateFile(part.path, part.size) == in InitializePartitionInfo()