Lines Matching defs:xlim
231 * @param integer $xlim
238 function _diag($xoff, $xlim, $yoff, $ylim, $nchunks) {
241 if ($xlim - $xoff > $ylim - $yoff) {
245 list ($xoff, $xlim, $yoff, $ylim) = array($yoff, $ylim, $xoff, $xlim);
260 $numer = $xlim - $xoff + $nchunks - 1;
267 $x1 = $xoff + (int)(($numer + ($xlim-$xoff)*$chunk) / $nchunks);
296 $x1 = $xoff + (int)(($numer + ($xlim - $xoff) * $n) / $nchunks);
300 $seps[] = $flip ? array($ylim, $xlim) : array($xlim, $ylim);
343 * @param integer $xlim
347 function _compareseq($xoff, $xlim, $yoff, $ylim) {
349 while ($xoff < $xlim && $yoff < $ylim && $this->xv[$xoff] == $this->yv[$yoff]) {
355 while ($xlim > $xoff && $ylim > $yoff && $this->xv[$xlim - 1] == $this->yv[$ylim - 1]) {
356 --$xlim;
360 if ($xoff == $xlim || $yoff == $ylim)
364 //$nchunks = sqrt(min($xlim - $xoff, $ylim - $yoff) / 2.5);
366 $nchunks = min(7, $xlim - $xoff, $ylim - $yoff) + 1;
368 = $this->_diag($xoff,$xlim,$yoff, $ylim,$nchunks);
376 while ($xoff < $xlim)