Lines Matching defs:fh
21 protected $fh;
57 $this->fh = @fopen($this->file, 'rb');
58 if (!$this->fh) {
102 @rewind($this->fh);
103 @fseek($this->fh, $centd['offset']);
150 @fseek($this->fh, $pos_entry);
153 $pos_entry = ftell($this->fh); // position of the next file in central file directory
154 fseek($this->fh, $header['offset']); // seek to beginning of file header
212 $buffer = fread($this->fh, $read_size);
275 $this->fh = 0;
278 $this->fh = @fopen($this->file, 'wb');
280 if (!$this->fh) {
497 fclose($this->fh);
499 $this->fh = 0;
551 @fseek($this->fh, $size - $maximum_size);
552 $pos = ftell($this->fh);
556 $byte = @fread($this->fh, 1);
566 fread($this->fh, 18)
570 $centd['comment'] = fread($this->fh, $data['comment_size']);
592 $binary_data = fread($this->fh, 46);
599 $header['filename'] = fread($this->fh, $header['filename_len']);
605 $header['extra'] = fread($this->fh, $header['extra_len']);
613 $header['comment'] = fread($this->fh, $header['comment_len']);
640 $binary_data = fread($this->fh, 30);
646 $header['filename'] = fread($this->fh, $data['filename_len']);
648 $header['extra'] = fread($this->fh, $data['extra_len']);
796 $written = @fwrite($this->fh, $data);
817 @fseek($this->fh, $offset);
818 $written = @fwrite($this->fh, $data);
819 @fseek($this->fh, 0, SEEK_END);
836 return ftell($this->fh);