Searched refs:hash_out (Results 1 – 3 of 3) sorted by relevance
/system/update_engine/payload_consumer/ |
D | file_descriptor_utils.cc | 42 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()
|
D | file_descriptor_utils_unittest.cc | 124 brillo::Blob hash_out; in TEST_F() local 130 source_, src_extents, target_, tgt_extents, 4, &hash_out)); in TEST_F() 137 EXPECT_EQ(expected_hash, hash_out); in TEST_F() 141 brillo::Blob hash_out; in TEST_F() local 146 source_, src_extents, target_, tgt_extents, 4, &hash_out)); in TEST_F() 165 EXPECT_EQ(expected_hash, hash_out); in TEST_F() 172 brillo::Blob hash_out; in TEST_F() local 173 EXPECT_FALSE(fd_utils::ReadAndHashExtents(source_, extents, 4, &hash_out)); in TEST_F() 186 brillo::Blob hash_out; in TEST_F() local 187 EXPECT_TRUE(fd_utils::ReadAndHashExtents(source_, extents, 4, &hash_out)); in TEST_F() [all …]
|
D | file_descriptor_utils.h | 43 brillo::Blob* hash_out); 53 brillo::Blob* hash_out);
|