Home
last modified time | relevance | path

Searched refs:buffer_index (Results 1 – 2 of 2) sorted by relevance

/bootable/recovery/updater/
Dcommands.cpp366 size_t buffer_index = location.GetBlockNumber(i); in DumpBuffer() local
367 CHECK_LE((buffer_index + 1) * block_size, buffer.size()); in DumpBuffer()
370 SHA1(buffer.data() + buffer_index * block_size, block_size, digest); in DumpBuffer()
Dblockimg.cpp602 size_t buffer_index = locs.GetBlockNumber(i); in PrintHashForCorruptedSourceBlocks() local
603 CHECK_LE((buffer_index + 1) * BLOCKSIZE, buffer.size()); in PrintHashForCorruptedSourceBlocks()
606 SHA1(buffer.data() + buffer_index * BLOCKSIZE, BLOCKSIZE, digest); in PrintHashForCorruptedSourceBlocks()