Lines Matching defs:ylim
233 * @param integer $ylim
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);
249 for ($i = $ylim - 1; $i >= $yoff; $i--)
252 for ($i = $ylim - 1; $i >= $yoff; $i--)
300 $seps[] = $flip ? array($ylim, $xlim) : array($xlim, $ylim);
345 * @param integer $ylim
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]) {
357 --$ylim;
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);
374 while ($yoff < $ylim)