Searched refs:buffer_index (Results 1 – 2 of 2) sorted by relevance
366 size_t buffer_index = location.GetBlockNumber(i); in DumpBuffer() local367 CHECK_LE((buffer_index + 1) * block_size, buffer.size()); in DumpBuffer()370 SHA1(buffer.data() + buffer_index * block_size, block_size, digest); in DumpBuffer()
602 size_t buffer_index = locs.GetBlockNumber(i); in PrintHashForCorruptedSourceBlocks() local603 CHECK_LE((buffer_index + 1) * BLOCKSIZE, buffer.size()); in PrintHashForCorruptedSourceBlocks()606 SHA1(buffer.data() + buffer_index * BLOCKSIZE, BLOCKSIZE, digest); in PrintHashForCorruptedSourceBlocks()