Lines Matching refs:fp
231 public $fp; variable in getID3
414 * @param resource $fp
420 public function openfile($filename, $filesize=null, $fp=null) { argument
447 …if (($fp != null) && ((get_resource_type($fp) == 'file') || (get_resource_type($fp) == 'stream')))…
448 $this->fp = $fp;
449 …} elseif ((is_readable($filename) || file_exists($filename)) && is_file($filename) && ($this->fp =…
493 $fseek = fseek($this->fp, 0, SEEK_END);
494 if (($fseek < 0) || (($this->info['filesize'] != 0) && (ftell($this->fp) == 0)) ||
496 (ftell($this->fp) < 0)) {
501 fclose($this->fp);
505 fclose($this->fp);
527 * @param resource $fp
531 public function analyze($filename, $filesize=null, $original_filename='', $fp=null) { argument
533 if (!$this->openfile($filename, $filesize, $fp)) {
563 fseek($this->fp, 0);
564 $header = fread($this->fp, 10);
574 fseek($this->fp, $this->info['avdataoffset']);
575 $formattest = fread($this->fp, 32774);
582 fclose($this->fp);
589 fclose($this->fp);
599 fclose($this->fp);
611 fclose($this->fp);
640 fclose($this->fp);
2029 return ftell($this->getid3->fp);
2063 $part = fread($this->getid3->fp, $bytes);
2106 return fseek($this->getid3->fp, $bytes, $whence);
2144 $thischar = fgetc($this->getid3->fp);
2147 fseek($this->getid3->fp, -1, SEEK_CUR);
2154 if (feof($this->getid3->fp)) {
2171 return feof($this->getid3->fp);