Searched refs:ec_offset (Results 1 – 1 of 1) sorted by relevance
557 fn error_code_for_blocks(&mut self, offset: usize, size: usize, ec_offset: usize) { in error_code_for_blocks()571 self.data[ec_offset..ec_offset + self.ec_size] in error_code_for_blocks()577 let mut ec_offset = self.g1_blocks * self.g1_blk_size + self.g2_blocks * self.g2_blk_size; in compute_error_code() localVariable580 self.error_code_for_blocks(offset, self.g1_blk_size, ec_offset); in compute_error_code()582 ec_offset += self.ec_size; in compute_error_code()585 self.error_code_for_blocks(offset, self.g2_blk_size, ec_offset); in compute_error_code()587 ec_offset += self.ec_size; in compute_error_code()641 let ec_offset = self.offset - g2_end; in next() localVariable642 let blk = ec_offset % blocks; in next()643 let blk_off = ec_offset / blocks; in next()