Lines Matching refs:idx2
2875 int $idx2, argument
2882 while ($idx1 < $cnt1 && $idx2 < $cnt2 && comp_line($ar1[$idx1], $ar2[$idx2], $is_reg)) {
2884 $idx2++;
2893 $eq = @count_array_diff($ar1, $ar2, $is_reg, $w, $ofs1, $idx2, $cnt1, $cnt2, $st);
2903 for ($ofs2 = $idx2 + 1; $ofs2 < $cnt2 && $st-- > 0; $ofs2++) {
2925 $idx2 = 0;
2936 while ($idx1 < $cnt1 && $idx2 < $cnt2) {
2937 $mapping[$idx2] = $idx1;
2938 if (comp_line($ar1[$idx1], $ar2[$idx2], $is_reg)) {
2940 $idx2++;
2943 $c1 = @count_array_diff($ar1, $ar2, $is_reg, $w, $idx1 + 1, $idx2, $cnt1, $cnt2, 10);
2944 $c2 = @count_array_diff($ar1, $ar2, $is_reg, $w, $idx1, $idx2 + 1, $cnt1, $cnt2, 10);
2949 $old2[$idx2] = sprintf("{$line_number_spec}+ ", $idx2 + 1) . $ar2[$idx2++];
2952 $old2[$idx2] = sprintf("{$line_number_spec}+ ", $idx2 + 1) . $ar2[$idx2++];
2957 $mapping[$idx2] = $idx1;
3021 while ($idx2 < $cnt2) {
3022 if (isset($mapping[$idx2])) {
3023 $add_context_lines($mapping[$idx2] + 1);
3025 $diff[] = sprintf("{$line_number_spec}+ ", $idx2 + 1) . $ar2[$idx2++];