Lines Matching refs:fh
21 protected $fh; variable in VerboseTar
42 $this->fh = @gzopen($this->file, 'rb');
44 $this->fh = @bzopen($this->file, 'r');
46 $this->fh = @fopen($this->file, 'rb');
49 … if(!$this->fh) throw new VerboseTarIOException('Could not open file for reading: '.$this->file);
220 $this->fh = 0;
224 $this->fh = @gzopen($this->file, 'wb'.$complevel);
226 $this->fh = @bzopen($this->file, 'w');
228 $this->fh = @fopen($this->file, 'wb');
231 … if(!$this->fh) throw new VerboseTarIOException('Could not open file for writing: '.$this->file);
330 gzclose($this->fh);
332 bzclose($this->fh);
334 fclose($this->fh);
338 $this->fh = 0;
387 return @gzread($this->fh, $length);
389 return @bzread($this->fh, $length);
391 return @fread($this->fh, $length);
407 $written = @gzwrite($this->fh, $data);
409 $written = @bzwrite($this->fh, $data);
411 $written = @fwrite($this->fh, $data);
426 @gzseek($this->fh, $bytes, SEEK_CUR);
429 @bzread($this->fh, $bytes);
431 @fseek($this->fh, $bytes, SEEK_CUR);