Lines Matching refs:ar2
2113 function count_array_diff($ar1, $ar2, $is_reg, $w, $idx1, $idx2, $cnt1, $cnt2, $steps) argument
2117 while ($idx1 < $cnt1 && $idx2 < $cnt2 && comp_line($ar1[$idx1], $ar2[$idx2], $is_reg)) {
2128 $eq = @count_array_diff($ar1, $ar2, $is_reg, $w, $ofs1, $idx2, $cnt1, $cnt2, $st);
2139 $eq = @count_array_diff($ar1, $ar2, $is_reg, $w, $idx1, $ofs2, $cnt1, $cnt2, $st);
2155 function generate_array_diff($ar1, $ar2, $is_reg, $w) argument
2158 $idx2 = 0; $ofs2 = 0; $cnt2 = @count($ar2);
2165 if (comp_line($ar1[$idx1], $ar2[$idx2], $is_reg)) {
2171 $c1 = @count_array_diff($ar1, $ar2, $is_reg, $w, $idx1+1, $idx2, $cnt1, $cnt2, 10);
2172 $c2 = @count_array_diff($ar1, $ar2, $is_reg, $w, $idx1, $idx2+1, $cnt1, $cnt2, 10);
2178 $old2[$idx2] = sprintf("%03d+ ", $idx2+1) . $ar2[$idx2++];
2182 $old2[$idx2] = sprintf("%03d+ ", $idx2+1) . $ar2[$idx2++];
2216 $diff[] = sprintf("%03d+ ", $idx2 + 1) . $ar2[$idx2++];