Lines Matching defs:changed
333 * The results are recorded in the vectors $this->{x,y}changed[], by
373 // mark all changed.
394 * We do something when a run of changed lines include a
404 * @param array $changed
407 function _shift_boundaries($lines, &$changed, $other_changed) {
411 USE_ASSERTS && assert(count($lines) == count($changed));
421 * the first $i elements of $changed and the first $j elements
430 while ($i < $len && ! $changed[$i]) {
444 while (++$i < $len && $changed[$i])
455 * Move the changed region back, so long as the
456 * previous unchanged line matches the last changed one.
457 * This merges with previous changed regions.
460 $changed[--$start] = 1;
461 $changed[--$i] = false;
462 while ($start > 0 && $changed[$start - 1])
471 * Set CORRESPONDING to the end of the changed run, at the last
472 * point where it corresponds to a changed run in the other file.
478 * Move the changed region forward, so long as the
479 * first changed line matches the following unchanged one.
480 * This merges with following changed regions.
482 * the changed region is moved forward as far as possible.
485 $changed[$start++] = false;
486 $changed[$i++] = 1;
487 while ($i < $len && $changed[$i])
505 $changed[--$start] = 1;
506 $changed[--$i] = 0;