Searched refs:numalign (Results 1 – 3 of 3) sorted by relevance
248 numalign: int = len(alignpatpos)249 skips: Sequence[Tuple[int,int]] = ((0, 0), (0, numalign - 1), (numalign - 1, 0))250 for i in range(numalign):251 for j in range(numalign):486 numalign: int = ver // 7 + 2488 (ver * 4 + numalign * 2 + 1) // (numalign * 2 - 2) * 2489 result: List[int] = [(self._size - 7 - i * step) for i in range(numalign - 1)] + [6]502 numalign: int = ver // 7 + 2503 result -= (25 * numalign - 10) * numalign - 55
394 let numalign: usize = alignpatpos.len(); in draw_function_patterns() localVariable395 for i in 0 .. numalign { in draw_function_patterns()396 for j in 0 .. numalign { in draw_function_patterns()398 if !(i == 0 && j == 0 || i == 0 && j == numalign - 1 || i == numalign - 1 && j == 0) { in draw_function_patterns()703 let numalign = i32::from(ver) / 7 + 2; in get_alignment_pattern_positions() localVariable705 {(i32::from(ver) * 4 + numalign * 2 + 1) / (numalign * 2 - 2) * 2}; in get_alignment_pattern_positions()706 let mut result: Vec<i32> = (0 .. numalign-1).map( in get_alignment_pattern_positions()722 let numalign: usize = ver / 7 + 2; in get_num_raw_data_modules() localVariable723 result -= (25 * numalign - 10) * numalign - 55; in get_num_raw_data_modules()
798 let numalign: u8 = ver / 7 + 2; localVariable800 {(ver * 4 + numalign * 2 + 1) / (numalign * 2 - 2) * 2};801 let result = &mut resultbuf[ .. usize::from(numalign)];802 for i in 0 .. numalign-1 {819 let numalign: usize = ver / 7 + 2; in get_num_raw_data_modules() localVariable820 result -= (25 * numalign - 10) * numalign - 55; in get_num_raw_data_modules()