Lines Matching defs:xoff
230 * @param integer $xoff
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;
261 $x = $xoff;
267 $x1 = $xoff + (int)(($numer + ($xlim-$xoff)*$chunk) / $nchunks);
293 $seps[] = $flip ? array($yoff, $xoff) : array($xoff, $yoff);
296 $x1 = $xoff + (int)(($numer + ($xlim - $xoff) * $n) / $nchunks);
342 * @param integer $xoff
347 function _compareseq($xoff, $xlim, $yoff, $ylim) {
349 while ($xoff < $xlim && $yoff < $ylim && $this->xv[$xoff] == $this->yv[$yoff]) {
350 ++$xoff;
355 while ($xlim > $xoff && $ylim > $yoff && $this->xv[$xlim - 1] == $this->yv[$ylim - 1]) {
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)
377 $this->xchanged[$this->xind[$xoff++]] = 1;