Lines Matching refs:zip_fd

167     var $zip_fd = 0;  variable in PclZip
199 $this->zip_fd = 0;
1119 if (($this->zip_fd = @fopen($this->zipname, 'rb')) == 0)
2149 @rewind($this->zip_fd);
2176 $v_buffer = fread($this->zip_fd, $v_read_size);
2184 $v_swap = $this->zip_fd;
2185 $this->zip_fd = $v_zip_temp_fd;
2203 $v_offset = @ftell($this->zip_fd);
2213 @fwrite($this->zip_fd, $v_buffer, $v_read_size);
2252 $v_size = @ftell($this->zip_fd)-$v_offset;
2267 $v_swap = $this->zip_fd;
2268 $this->zip_fd = $v_zip_temp_fd;
2306 if ($this->zip_fd != 0)
2318 if (($this->zip_fd = @fopen($this->zipname, $p_mode)) == 0)
2344 if ($this->zip_fd != 0)
2345 @fclose($this->zip_fd);
2346 $this->zip_fd = 0;
2383 $v_offset = @ftell($this->zip_fd);
2409 $v_size = @ftell($this->zip_fd)-$v_offset;
2665 @fwrite($this->zip_fd,
2850 $p_header['offset'] = ftell($this->zip_fd);
2869 fputs($this->zip_fd, $v_binary_data, 30);
2874 fputs($this->zip_fd, $p_header['stored_filename'], strlen($p_header['stored_filename']));
2878 fputs($this->zip_fd, $p_header['extra'], $p_header['extra_len']);
2921 fputs($this->zip_fd, $v_binary_data, 46);
2926 fputs($this->zip_fd, $p_header['stored_filename'], strlen($p_header['stored_filename']));
2930 fputs($this->zip_fd, $p_header['extra'], $p_header['extra_len']);
2934 fputs($this->zip_fd, $p_header['comment'], $p_header['comment_len']);
2960 fputs($this->zip_fd, $v_binary_data, 22);
2965 fputs($this->zip_fd, $p_comment, strlen($p_comment));
2990 if (($this->zip_fd = @fopen($this->zipname, 'rb')) == 0)
3015 @rewind($this->zip_fd);
3017 if (@fseek($this->zip_fd, $v_central_dir['offset']))
3181 @rewind($this->zip_fd);
3183 if (@fseek($this->zip_fd, $v_pos_entry))
3214 $v_pos_entry = ftell($this->zip_fd);
3368 @rewind($this->zip_fd);
3370 if (@fseek($this->zip_fd, $v_header['offset']))
3762 $v_buffer = @fread($this->zip_fd, $v_read_size);
3803 $v_buffer = @fread($this->zip_fd, $p_entry['compressed_size']);
3955 $v_buffer = @fread($this->zip_fd, $p_entry['compressed_size']);
3966 $v_buffer = @fread($this->zip_fd, $p_entry['compressed_size']);
4049 $p_string = @fread($this->zip_fd, $p_entry['compressed_size']);
4055 $v_data = @fread($this->zip_fd, $p_entry['compressed_size']);
4088 $v_binary_data = @fread($this->zip_fd, 4);
4107 $v_binary_data = fread($this->zip_fd, 26);
4131 $p_header['filename'] = fread($this->zip_fd, $v_data['filename_len']);
4137 $p_header['extra'] = fread($this->zip_fd, $v_data['extra_len']);
4215 $v_binary_data = @fread($this->zip_fd, 4);
4234 $v_binary_data = fread($this->zip_fd, 42);
4259 $p_header['filename'] = fread($this->zip_fd, $p_header['filename_len']);
4267 $p_header['extra'] = fread($this->zip_fd, $p_header['extra_len']);
4275 $p_header['comment'] = fread($this->zip_fd, $p_header['comment_len']);
4402 @fseek($this->zip_fd, $v_size);
4404 if (@ftell($this->zip_fd) != $v_size)
4419 @fseek($this->zip_fd, $v_size-22);
4421 if (($v_pos = @ftell($this->zip_fd)) != ($v_size-22))
4432 $v_binary_data = @fread($this->zip_fd, 4);
4443 $v_pos = ftell($this->zip_fd);
4452 @fseek($this->zip_fd, $v_size-$v_maximum_size);
4453 if (@ftell($this->zip_fd) != ($v_size-$v_maximum_size))
4465 $v_pos = ftell($this->zip_fd);
4470 $v_byte = @fread($this->zip_fd, 1);
4501 $v_binary_data = fread($this->zip_fd, 18);
4544 $p_central_dir['comment'] = fread($this->zip_fd, $v_data['comment_size']);
4605 @rewind($this->zip_fd);
4612 @rewind($this->zip_fd);
4614 if (@fseek($this->zip_fd, $v_pos_entry))
4777 @rewind($this->zip_fd);
4779 if (@fseek($this->zip_fd, $v_header_list[$i]['offset'])) {
4828 …if (($v_result = PclZipUtilCopyBlock($this->zip_fd, $v_temp_zip->zip_fd, $v_header_list[$i]['compr…
4841 $v_offset = @ftell($v_temp_zip->zip_fd);
4872 $v_size = @ftell($v_temp_zip->zip_fd)-$v_offset;
5052 @rewind($this->zip_fd);
5079 @rewind($p_archive_to_add->zip_fd);
5106 $v_buffer = fread($this->zip_fd, $v_read_size);
5117 $v_buffer = fread($p_archive_to_add->zip_fd, $v_read_size);
5132 $v_buffer = @fread($this->zip_fd, $v_read_size);
5143 $v_buffer = @fread($p_archive_to_add->zip_fd, $v_read_size);
5157 $v_swap = $this->zip_fd;
5158 $this->zip_fd = $v_zip_temp_fd;
5167 $this->zip_fd = null;
5178 $v_swap = $this->zip_fd;
5179 $this->zip_fd = $v_zip_temp_fd;
5258 @fwrite($this->zip_fd, $v_buffer, $v_read_size);