Lines Matching refs:g1_blocks
225 self.g1_blk_size() * self.g1_blocks() + (self.g1_blk_size() + 1) * self.g2_blocks() in max_data()
232 fn g1_blocks(&self) -> usize { in g1_blocks() method
471 g1_blocks: usize, field
485 let g1_blocks = version.g1_blocks(); in new() localVariable
497 g1_blocks, in new()
577 let mut ec_offset = self.g1_blocks * self.g1_blk_size + self.g2_blocks * self.g2_blk_size; in compute_error_code()
579 for _ in 0..self.g1_blocks { in compute_error_code()
617 let blocks = em.g1_blocks + em.g2_blocks; in next()
618 let g1_end = em.g1_blocks * em.g1_blk_size; in next()
630 if blk < em.g1_blocks { in next()
633 g1_end + em.g2_blk_size * (blk - em.g1_blocks) + blk_off in next()
638 em.g1_blk_size * em.g1_blocks + blk2 * em.g2_blk_size + em.g2_blk_size - 1 in next()