Home
last modified time | relevance | path

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

/system/update_engine/payload_consumer/
Dfile_descriptor_utils.cc42 brillo::Blob* hash_out) { in CommonHashExtents() argument
57 if (hash_out != nullptr) { in CommonHashExtents()
68 if (hash_out != nullptr) { in CommonHashExtents()
70 *hash_out = source_hasher.raw_hash(); in CommonHashExtents()
84 brillo::Blob* hash_out) { in CopyAndHashExtents() argument
90 CommonHashExtents(source, src_extents, &writer, block_size, hash_out)); in CopyAndHashExtents()
97 brillo::Blob* hash_out) { in ReadAndHashExtents() argument
98 return CommonHashExtents(source, extents, nullptr, block_size, hash_out); in ReadAndHashExtents()
Dfile_descriptor_utils_unittest.cc126 brillo::Blob hash_out; in TEST_F() local
132 source_, src_extents, target_, tgt_extents, 4, &hash_out)); in TEST_F()
139 EXPECT_EQ(expected_hash, hash_out); in TEST_F()
143 brillo::Blob hash_out; in TEST_F() local
148 source_, src_extents, target_, tgt_extents, 4, &hash_out)); in TEST_F()
167 EXPECT_EQ(expected_hash, hash_out); in TEST_F()
174 brillo::Blob hash_out; in TEST_F() local
175 EXPECT_FALSE(fd_utils::ReadAndHashExtents(source_, extents, 4, &hash_out)); in TEST_F()
188 brillo::Blob hash_out; in TEST_F() local
189 EXPECT_TRUE(fd_utils::ReadAndHashExtents(source_, extents, 4, &hash_out)); in TEST_F()
[all …]
Dfile_descriptor_utils.h43 brillo::Blob* hash_out);
53 brillo::Blob* hash_out);