Lines Matching refs:idx1
2244 function count_array_diff($ar1, $ar2, $is_reg, $w, $idx1, $idx2, $cnt1, $cnt2, $steps) argument
2248 while ($idx1 < $cnt1 && $idx2 < $cnt2 && comp_line($ar1[$idx1], $ar2[$idx2], $is_reg)) {
2249 $idx1++;
2258 for ($ofs1 = $idx1 + 1; $ofs1 < $cnt1 && $st-- > 0; $ofs1++) {
2270 $eq = @count_array_diff($ar1, $ar2, $is_reg, $w, $idx1, $ofs2, $cnt1, $cnt2, $st);
2288 $idx1 = 0; $ofs1 = 0; $cnt1 = @count($ar1);
2294 while ($idx1 < $cnt1 && $idx2 < $cnt2) {
2296 if (comp_line($ar1[$idx1], $ar2[$idx2], $is_reg)) {
2297 $idx1++;
2302 $c1 = @count_array_diff($ar1, $ar2, $is_reg, $w, $idx1+1, $idx2, $cnt1, $cnt2, 10);
2303 $c2 = @count_array_diff($ar1, $ar2, $is_reg, $w, $idx1, $idx2+1, $cnt1, $cnt2, 10);
2306 $old1[$idx1] = sprintf("%03d- ", $idx1+1) . $w[$idx1++];
2312 $old1[$idx1] = sprintf("%03d- ", $idx1+1) . $w[$idx1++];
2342 while ($idx1 < $cnt1) {
2343 $diff[] = sprintf("%03d- ", $idx1 + 1) . $w[$idx1++];