/plugin/zip/pear/File/Archive/Predicate/ |
H A D | Custom.php | 77 $stat = $source->getStat(); 78 $size = $stat[7]; 79 $time = (isset($stat[9]) ? $stat[9] : null);
|
H A D | Duplicate.php | 71 $stat = $source->getStat(); 75 $this->compare($stat[9], $value[0]) >= 0 77 $this->newest[$filename] = array($stat[9], $pos); 100 $stat = $source->getStat(); 105 $comp = $this->compare($stat[9], $value[0]);
|
H A D | MinSize.php | 55 $stat = $source->getStat(); 56 return !isset($stat[7]) || $stat[7]>=$this->minSize;
|
H A D | MinTime.php | 59 $stat = $source->getStat(); 60 return !isset($stat[9]) || $stat[9]>=$this->minTime;
|
/plugin/zip/pear/File/Archive/Reader/ |
H A D | Ar.php | 350 $stat = $this->_currentStat; 357 unset($stat[7]); 358 $writer->newFile($filename, $stat);
|
H A D | Concat.php | 42 var $stat; variable in File_Archive_Reader_Concat 48 $stat=array(), $mime=null) argument 52 $this->stat = $stat; 56 $this->stat[7] = 0; 60 $this->stat[7] += $sourceStat[7]; 62 unset($this->stat[7]); 66 if (isset($this->stat[7])) { 67 $this->stat['size'] = $this->stat[7]; 93 function getStat() { return $this->stat; }
|
H A D | File.php | 60 var $stat = null; variable in File_Archive_Reader_File 131 if ($this->stat === null) { 132 $this->stat = @stat($this->filename); 135 if ($this->stat === false) { 136 $this->stat = array(); 139 return $this->stat;
|
H A D | Memory.php | 48 var $stat; variable in File_Archive_Reader_Memory 75 * @param array $stat are the statistics of the file. The size will be 80 $stat=array(), $mime=null) argument 84 $this->stat = $stat; 85 $this->stat[7] = $this->stat['size'] = strlen($this->memory); 110 function getStat() { return $this->stat; }
|
H A D | Tar.php | 318 $stat = $this->currentStat; 325 unset($stat[7]); 326 $stat[9] = $stat['mtime'] = time(); 327 $writer->newFile($filename, $stat);
|
H A D | Zip.php | 375 $stat = $this->currentStat; 382 unset($stat[7]); 383 $stat[9] = $stat['mtime'] = time(); 384 $writer->newFile($filename, $stat);
|
/plugin/zip/pear/File/Archive/ |
H A D | Writer.php | 43 * @param array $stat Its Statistics. None of the indexes are required 46 function newFile($filename, $stat = array(), $mime = "application/octet-stream") argument 61 * @param array $stat Its Statistics. None of the indexes are required 64 … function newFromTempFile($tmpfile, $filename, $stat = array(), $mime = "application/octet-stream") argument 66 $this->newFile($filename, $stat, $mime);
|
/plugin/zip/pear/File/Archive/Writer/ |
H A D | AddBaseName.php | 56 function newFile($filename, $stat = array(), $mime = "application/octet-stream") argument 58 $this->writer->newFile($this->baseName.$filename, $stat, $mime); 64 … function newFromTempFile($tmpfile, $filename, $stat = array(), $mime = "application/octet-stream") argument 66 $this->writer->newFromTempFile($tmpfilen $this->baseName.$filename, $stat, $mime);
|
H A D | Ar.php | 76 * @param array $stat Stat array of the current file 79 function arHeader ($filename, $stat) argument 81 $mode = isset($stat[2]) ? $stat[2] : 0x8000; 82 $uid = isset($stat[4]) ? $stat[4] : 0; 83 $gid = isset($stat[5]) ? $stat[5] : 0; 84 $size = $stat[7]; 85 $time = isset($stat[9]) ? $stat[9] : time(); 150 function newFile($filename, $stat = array (), argument 165 $this->_currentStat = $stat; 168 return $this->innerWriter->writeData($this->arHeader($filename, $stat));
|
H A D | Archive.php | 61 * @param array $stat The stat of the archive (see the PHP stat() function). 67 $stat = array(), $autoClose = true) argument 72 $this->innerWriter->newFile($filename, $stat, $this->getMime());
|
H A D | Bzip2.php | 47 var $stat; variable in File_Archive_Writer_Bzip2 53 * @param array $stat The stat of the archive (see the PHP stat() function). 59 $stat = array(), $autoClose = true) argument 65 $this->stat = $stat; 88 function newFile($filename, $stat = array(), argument 119 $this->tmpName, $this->filename, $this->stat, 'application/x-compressed'
|
H A D | Files.php | 45 var $stat = array(); variable in File_Archive_Writer_Files 109 $this->stat = array(); 177 $this->stat = $stat; 227 if (isset($this->stat[9])) { 228 if (isset($this->stat[8])) { 229 touch($this->filename, $this->stat[9], $this->stat[8]); 233 } else if (isset($this->stat[8])) { 237 if (isset($this->stat[2])) { 238 chmod($this->filename, $this->stat[2]); 240 if (isset($this->stat[5])) { [all …]
|
H A D | Gzip.php | 47 var $stat; variable in File_Archive_Writer_Gzip 53 * @param array $stat The stat of the archive (see the PHP stat() function). 59 $stat = array(), $autoClose = true) argument 65 $this->stat = $stat; 90 function newFile($filename, $stat = array(), argument 121 $this->tmpName, $this->filename, $this->stat, 'application/x-compressed'
|
H A D | Mail.php | 155 function newFile($filename, $stat, $mime = "application/octet-stream") argument
|
H A D | Memory.php | 49 var $stat; variable in File_Archive_Writer_Memory 73 function newFile($filename, $stat, $mime = "application/octet-stream") argument 76 $this->stat = $stat; 110 * @param array $stat Statistics of the file provided by the reader 116 function makeReader($filename = null, $stat = null, $mime = null) argument 122 $stat === null ? $this->stat : $stat,
|
H A D | MemoryArchive.php | 73 ($filename, &$t, $stat = array(), $autoClose = true) argument 75 parent::File_Archive_Writer_Archive($filename, $t, $stat, $autoClose); 81 function newFile($filename, $stat = array(), argument 99 $this->currentStat = $stat; 181 function appendFileData($filename, $stat, &$data) { } argument 208 stat($dataFilename),
|
H A D | Multi.php | 53 function newFile($filename, $stat = array(), $mime = "application/octet-stream") argument 57 $error = $this->writers[$key]->newFile($filename, $stat, $mime);
|
H A D | Output.php | 61 function newFile($filename, $stat = array(), $mime = "application/octet-stream") argument
|
H A D | Tar.php | 50 * @param array $stat statistics of the file 54 function tarHeader($filename, $stat) argument 56 $mode = isset($stat[2]) ? $stat[2] : 0x8000; 57 $uid = isset($stat[4]) ? $stat[4] : 0; 58 $gid = isset($stat[5]) ? $stat[5] : 0; 59 $size = $stat[7]; 60 $time = isset($stat[9]) ? $stat[9] : time();
|
H A D | UniqueAppender.php | 74 function newFile($filename, $stat = array(), $mime = "application/octet-stream") argument 80 return $this->writer->newFile($filename, $stat, $mime); 86 … function newFromTempFile($tmpfile, $filename, $stat = array(), $mime = "application/octet-stream") argument 92 return $this->writer->newFromTempFile($tmpfile, $filename, $stat, $mime);
|
H A D | Zip.php | 64 $stat=array(), $autoClose = true) argument 68 $filename, $innerWriter, $stat, $autoClose 116 * @param array $stat stats of the file, indexes 9 and 7 must be present 120 function alreadyWrittenFile($filename, $stat, $crc32, $complength) argument 124 $mtime = $this->getMTime(isset($stat[9]) ? $stat[9] : null); 125 $normlength = $stat[7]; 144 function appendFileData($filename, $stat, $data) argument 151 return $this->appendCompressedData($filename, $stat, $data, $crc32, $normlength); 154 function appendCompressedData($filename, $stat, $data, $crc32, $normlength) argument 157 $mtime = $this->getMTime(isset($stat[9]) ? $stat[9] : null); [all …]
|