Lines Matching refs:fp
175 [$fp, $lines] = $result;
176 if ($fp) {
177 fclose($fp);
244 $fp = fopen($logfile, 'rb'); // "file pointer"
245 if ($fp === false) {
248 fseek($fp, 0, SEEK_END);
249 $tail = ftell($fp);
254 $nl = $this->getNewlinepointer($fp, $finger);
268 while ($got < $read_size && !feof($fp)) {
269 $tmp = @fread($fp, max(min($this->chunk_size, $read_size - $got), 0));
291 fclose($fp);
345 [$fp, $lines, $head, $tail, $eof] = $result;
378 $checkOtherChunk = $fp
383 [$lines, $head, $tail] = $this->readAdjacentChunk($fp, $head, $tail, $direction);
388 if ($fp) {
389 fclose($fp);
423 [$revs2, $allRevs, $fp, $lines, $head, $tail] = $result2;
455 [$lines, $head, $tail] = $this->readAdjacentChunk($fp, $head, $tail, -1);
516 [$fp, $lines, $startHead, $startTail, $eof] = $result;
541 [$lines, $head, $tail] = $this->readAdjacentChunk($fp, $head, $tail, 1);
565 [$lines, $head, $tail] = $this->readAdjacentChunk($fp, $head, $tail, -1);
587 return [$requestedRevs, $revs, $fp, $lines, $head, $lastTail];