Lines Matching refs:zip_fd

170     public $zip_fd = 0;  variable in PclZip
201 $this->zip_fd = 0;
1073 if (($this->zip_fd = @fopen($this->zipname, 'rb')) == 0) {
2038 @rewind($this->zip_fd);
2063 $v_buffer = fread($this->zip_fd, $v_read_size);
2071 $v_swap = $this->zip_fd;
2072 $this->zip_fd = $v_zip_temp_fd;
2089 $v_offset = @ftell($this->zip_fd);
2098 @fwrite($this->zip_fd, $v_buffer, $v_read_size);
2138 $v_size = @ftell($this->zip_fd) - $v_offset;
2152 $v_swap = $this->zip_fd;
2153 $this->zip_fd = $v_zip_temp_fd;
2191 if ($this->zip_fd != 0) {
2202 if (($this->zip_fd = @fopen($this->zipname, $p_mode)) == 0) {
2227 if ($this->zip_fd != 0)
2228 @fclose($this->zip_fd);
2229 $this->zip_fd = 0;
2265 $v_offset = @ftell($this->zip_fd);
2292 $v_size = @ftell($this->zip_fd) - $v_offset;
2548 $this->zip_fd,
2732 $p_header['offset'] = ftell($this->zip_fd);
2758 fwrite($this->zip_fd, $v_binary_data, 30);
2762 … fwrite($this->zip_fd, $p_header['stored_filename'], strlen($p_header['stored_filename']));
2765 fwrite($this->zip_fd, $p_header['extra'], $p_header['extra_len']);
2819 fwrite($this->zip_fd, $v_binary_data, 46);
2823 … fwrite($this->zip_fd, $p_header['stored_filename'], strlen($p_header['stored_filename']));
2826 fwrite($this->zip_fd, $p_header['extra'], $p_header['extra_len']);
2829 fwrite($this->zip_fd, $p_header['comment'], $p_header['comment_len']);
2863 fwrite($this->zip_fd, $v_binary_data, 22);
2867 fwrite($this->zip_fd, $p_comment, strlen($p_comment));
2892 if (($this->zip_fd = @fopen($this->zipname, 'rb')) == 0) {
2915 @rewind($this->zip_fd);
2917 if (@fseek($this->zip_fd, $v_central_dir['offset'])) {
3073 @rewind($this->zip_fd);
3075 if (@fseek($this->zip_fd, $v_pos_entry)) {
3104 $v_pos_entry = ftell($this->zip_fd);
3263 @rewind($this->zip_fd);
3265 if (@fseek($this->zip_fd, $v_header['offset'])) {
3646 $v_buffer = @fread($this->zip_fd, $v_read_size);
3683 $v_buffer = @fread($this->zip_fd, $p_entry['compressed_size']);
3834 $v_buffer = @fread($this->zip_fd, $p_entry['compressed_size']);
3844 $v_buffer = @fread($this->zip_fd, $p_entry['compressed_size']);
3925 $p_string = @fread($this->zip_fd, $p_entry['compressed_size']);
3930 $v_data = @fread($this->zip_fd, $p_entry['compressed_size']);
3962 $v_binary_data = @fread($this->zip_fd, 4);
3980 $v_binary_data = fread($this->zip_fd, 26);
4003 $p_header['filename'] = fread($this->zip_fd, $v_data['filename_len']);
4009 $p_header['extra'] = fread($this->zip_fd, $v_data['extra_len']);
4083 $v_binary_data = @fread($this->zip_fd, 4);
4101 $v_binary_data = fread($this->zip_fd, 42);
4125 $p_header['filename'] = fread($this->zip_fd, $p_header['filename_len']);
4132 $p_header['extra'] = fread($this->zip_fd, $p_header['extra_len']);
4139 $p_header['comment'] = fread($this->zip_fd, $p_header['comment_len']);
4262 @fseek($this->zip_fd, $v_size);
4264 if (@ftell($this->zip_fd) != $v_size) {
4278 @fseek($this->zip_fd, $v_size - 22);
4280 if (($v_pos = @ftell($this->zip_fd)) != $v_size - 22) {
4290 $v_binary_data = @fread($this->zip_fd, 4);
4301 $v_pos = ftell($this->zip_fd);
4310 @fseek($this->zip_fd, $v_size - $v_maximum_size);
4311 if (@ftell($this->zip_fd) != $v_size - $v_maximum_size) {
4322 $v_pos = ftell($this->zip_fd);
4326 $v_byte = @fread($this->zip_fd, 1);
4355 $v_binary_data = fread($this->zip_fd, 18);
4399 $p_central_dir['comment'] = fread($this->zip_fd, $v_data['comment_size']);
4456 @rewind($this->zip_fd);
4463 @rewind($this->zip_fd);
4465 if (@fseek($this->zip_fd, $v_pos_entry)) {
4617 @rewind($this->zip_fd);
4619 if (@fseek($this->zip_fd, $v_header_list[$i]['offset'])) {
4672 …if (($v_result = PclZipUtilCopyBlock($this->zip_fd, $v_temp_zip->zip_fd, $v_header_list[$i]['compr…
4684 $v_offset = @ftell($v_temp_zip->zip_fd);
4715 $v_size = @ftell($v_temp_zip->zip_fd) - $v_offset;
4874 @rewind($this->zip_fd);
4899 @rewind($p_archive_to_add->zip_fd);
4924 $v_buffer = fread($this->zip_fd, $v_read_size);
4934 $v_buffer = fread($p_archive_to_add->zip_fd, $v_read_size);
4948 $v_buffer = @fread($this->zip_fd, $v_read_size);
4958 $v_buffer = @fread($p_archive_to_add->zip_fd, $v_read_size);
4972 $v_swap = $this->zip_fd;
4973 $this->zip_fd = $v_zip_temp_fd;
4981 $this->zip_fd = null;
4992 $v_swap = $this->zip_fd;
4993 $this->zip_fd = $v_zip_temp_fd;
5068 @fwrite($this->zip_fd, $v_buffer, $v_read_size);