Lines Matching refs:lines

166         [$fp, $lines] = $this->readloglines($rev);
170 if (empty($lines)) return false;
173 foreach ($lines as $line) {
206 $lines = [];
229 $lines = file($logfile);
230 if ($lines === false) {
272 $lines = [...$tmp, ...$lines];
286 $num = max(min(count($lines) - $first, $num), 0);
288 $lines = array_slice($lines, max(count($lines) - $first - $num, 0), $num);
290 $lines = array_slice($lines, 0, max(count($lines) - $first, 0));
292 $lines = array_slice($lines, max(count($lines) - $num, 0));
296 for ($i = count($lines) - 1; $i >= 0; $i--) {
297 $info = $this->parseAndCacheLogLine($lines[$i]);
334 [$fp, $lines, $head, $tail, $eof] = $this->readloglines($rev);
335 if (empty($lines)) return false;
345 $count = count($lines);
354 $info = $this->parseAndCacheLogLine($lines[$i]);
372 [$lines, $head, $tail] = $this->readAdjacentChunk($fp, $head, $tail, $direction);
374 if (empty($lines)) break;
410 [$revs2, $allRevs, $fp, $lines, $head, $tail] = $this->retrieveRevisionsAround($rev2, $max);
425 for ($i = count($lines) - 1; $i >= 0; $i--) {
426 $info = $this->parseAndCacheLogLine($lines[$i]);
437 [$lines, $head, $tail] = $this->readAdjacentChunk($fp, $head, $tail, -1);
496 [$fp, $lines, $startHead, $startTail, $eof] = $this->readloglines($rev);
497 if (empty($lines)) return false;
502 while (count($lines) > 0) {
503 foreach ($lines as $line) {
521 [$lines, $head, $tail] = $this->readAdjacentChunk($fp, $head, $tail, 1);
540 $lines = [];
545 [$lines, $head, $tail] = $this->readAdjacentChunk($fp, $head, $tail, -1);
547 for ($i = count($lines) - 1; $i >= 0; $i--) {
548 $info = $this->parseAndCacheLogLine($lines[$i]);
560 $lines = array_slice($lines, 0, $i);
567 return [$requestedRevs, $revs, $fp, $lines, $head, $lastTail];