Home
last modified time | relevance | path

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

/bootable/recovery/updater/
Dcommands.cpp365 size_t buffer_index = location.GetBlockNumber(i); in DumpBuffer() local
366 CHECK_LE((buffer_index + 1) * block_size, buffer.size()); in DumpBuffer()
369 SHA1(buffer.data() + buffer_index * block_size, block_size, digest); in DumpBuffer()
Dblockimg.cpp607 size_t buffer_index = locs.GetBlockNumber(i); in PrintHashForCorruptedSourceBlocks() local
608 CHECK_LE((buffer_index + 1) * BLOCKSIZE, buffer.size()); in PrintHashForCorruptedSourceBlocks()
611 SHA1(buffer.data() + buffer_index * BLOCKSIZE, BLOCKSIZE, digest); in PrintHashForCorruptedSourceBlocks()