Lines Matching refs:fp
166 [$fp, $lines] = $this->readloglines($rev);
167 if ($fp) {
168 fclose($fp);
235 $fp = fopen($logfile, 'rb'); // "file pointer"
236 if ($fp === false) {
239 fseek($fp, 0, SEEK_END);
240 $tail = ftell($fp);
245 $nl = $this->getNewlinepointer($fp, $finger);
259 while ($got < $read_size && !feof($fp)) {
260 $tmp = @fread($fp, max(min($this->chunk_size, $read_size - $got), 0));
282 fclose($fp);
334 [$fp, $lines, $head, $tail, $eof] = $this->readloglines($rev);
367 $checkOtherChunk = $fp
372 [$lines, $head, $tail] = $this->readAdjacentChunk($fp, $head, $tail, $direction);
377 if ($fp) {
378 fclose($fp);
410 [$revs2, $allRevs, $fp, $lines, $head, $tail] = $this->retrieveRevisionsAround($rev2, $max);
437 [$lines, $head, $tail] = $this->readAdjacentChunk($fp, $head, $tail, -1);
483 * - $fp: file pointer only defined for chuck reading, needs closing.
496 [$fp, $lines, $startHead, $startTail, $eof] = $this->readloglines($rev);
521 [$lines, $head, $tail] = $this->readAdjacentChunk($fp, $head, $tail, 1);
545 [$lines, $head, $tail] = $this->readAdjacentChunk($fp, $head, $tail, -1);
567 return [$requestedRevs, $revs, $fp, $lines, $head, $lastTail];