Searched refs:buffer_index (Results 1 – 2 of 2) sorted by relevance
365 size_t buffer_index = location.GetBlockNumber(i); in DumpBuffer() local366 CHECK_LE((buffer_index + 1) * block_size, buffer.size()); in DumpBuffer()369 SHA1(buffer.data() + buffer_index * block_size, block_size, digest); in DumpBuffer()
607 size_t buffer_index = locs.GetBlockNumber(i); in PrintHashForCorruptedSourceBlocks() local608 CHECK_LE((buffer_index + 1) * BLOCKSIZE, buffer.size()); in PrintHashForCorruptedSourceBlocks()611 SHA1(buffer.data() + buffer_index * BLOCKSIZE, BLOCKSIZE, digest); in PrintHashForCorruptedSourceBlocks()