Lines Matching refs:fp
168 [$fp, $lines] = $result;
169 if ($fp) {
170 fclose($fp);
237 $fp = fopen($logfile, 'rb'); // "file pointer"
238 if ($fp === false) {
241 fseek($fp, 0, SEEK_END);
242 $tail = ftell($fp);
247 $nl = $this->getNewlinepointer($fp, $finger);
261 while ($got < $read_size && !feof($fp)) {
262 $tmp = @fread($fp, max(min($this->chunk_size, $read_size - $got), 0));
284 fclose($fp);
338 [$fp, $lines, $head, $tail, $eof] = $result;
371 $checkOtherChunk = $fp
376 [$lines, $head, $tail] = $this->readAdjacentChunk($fp, $head, $tail, $direction);
381 if ($fp) {
382 fclose($fp);
416 [$revs2, $allRevs, $fp, $lines, $head, $tail] = $result2;
448 [$lines, $head, $tail] = $this->readAdjacentChunk($fp, $head, $tail, -1);
509 [$fp, $lines, $startHead, $startTail, $eof] = $result;
534 [$lines, $head, $tail] = $this->readAdjacentChunk($fp, $head, $tail, 1);
558 [$lines, $head, $tail] = $this->readAdjacentChunk($fp, $head, $tail, -1);
580 return [$requestedRevs, $revs, $fp, $lines, $head, $lastTail];