Lines Matching refs:end
31 # See comments in the end
774 # Consolidate consecutive ids as start-end
1237 # Verify that in the end we have the same PG generation for each PG
1418 # Expand start-end into the list of values
1421 # Ranges with start being more than end are inverted
1443 my ($start, $end) = ($1, $2); # $start-$end
1444 # Reverse the interval if start > end
1445 ($start, $end) = ($end, $start) if $start > $end;
1446 return ($start .. $end);
1454 # Consolidate consecutive ids as start-end
1465 my $end = $start; # Initial range consists of the first element
1469 $end = $el;
1470 } elsif ($el == ($end + 1)) {
1472 # Got consecutive ID, so extend end of range without
1475 $end = $el;
1481 if ($end > $start + 1) { # range
1482 $result = "$result $start-$end";
1483 } elsif ($end > $start) { # different values
1484 $result = "$result $start $end";
1490 $start = $end = $el;
1495 if (! ($end =~ /^\d+$/)) {
1496 $result = "$result $end";
1497 } elsif ($end > $start + 1) {
1498 $result = "$result $start-$end";
1499 } elsif ($end > $start) {
1500 $result = "$result $start $end";