Home
last modified time | relevance | path

Searched refs:complevel (Results 1 – 3 of 3) sorted by relevance

/plugin/upgrade/vendor/splitbrain/php-archive/src/
H A DZip.php26 protected $complevel = 9; variable in splitbrain\\PHPArchive\\Zip
45 $this->complevel = $level;
331 (bool) $this->complevel
337 $deflate_context = deflate_init(ZLIB_ENCODING_DEFLATE, ['level' => $this->complevel]);
344 if ($this->complevel) {
374 $csize = $this->complevel ? $csize : $size;
391 (bool) $this->complevel
419 if ($this->complevel) {
420 $data = gzcompress($data, $this->complevel);
435 (bool) $this->complevel
[all...]
H A DTar.php21 protected $complevel = 9; variable in splitbrain\\PHPArchive\\Tar
41 $this->complevel = $level;
43 if($type == Archive::COMPRESS_NONE) $this->complevel = 0;
59 $this->setCompression($this->complevel, $this->filetype($file));
242 $this->setCompression($this->complevel, $this->filetype($file));
246 $this->fh = @gzopen($this->file, 'wb'.$this->complevel);
404 return gzencode($this->memory, $this->complevel);
425 $this->setCompression($this->complevel, $this->filetype($file));
/plugin/elwikiupgrade/
H A DVerboseTarLib.class.php208 * @param int $complevel
212 public function create($file = '', $comptype = self::COMPRESS_AUTO, $complevel = 9) { argument
224 $this->fh = @gzopen($this->file, 'wb'.$complevel);
349 public function getArchive($comptype = self::COMPRESS_AUTO, $complevel = 9) { argument
355 if($comptype === self::COMPRESS_GZIP) return gzcompress($this->memory, $complevel);
368 * @param int $complevel
371 public function save($file, $comptype = self::COMPRESS_AUTO, $complevel = 9) { argument
374 if(!file_put_contents($file, $this->getArchive($comptype, $complevel))) {