Home
last modified time | relevance | path

Searched refs:filename (Results 726 – 750 of 756) sorted by last modified time

1...<<2122232425262728293031

/plugin/zip/pear/File/Archive/Reader/
H A DAr.php125 $filename = $this->source->getDataFilename();
130 … return PEAR::raiseError("File {$filename} is not a valid Ar file format (starts with $header)");
349 $filename = $this->_currentFilename;
358 $writer->newFile($filename, $stat);
H A DSelect.php43 var $filename; variable in File_Archive_Reader_Select
48 function File_Archive_Reader_Select($filename, &$source) argument
51 $this->filename = $filename;
59 return $this->source->select($this->filename, false);
H A DTar.php317 $filename = $this->currentFilename;
327 $writer->newFile($filename, $stat);
H A DUncompress.php119 $filename = $this->source->getFilename();
121 $extensions = explode('.', strtolower($filename));
143 $filename, $reader
180 $filename = $this->source->getFilename();
181 if (strlen($filename) < strlen($this->baseDir)) {
182 $goodFile = (strncmp($filename, $this->baseDir, strlen($filename)) == 0 &&
183 $this->baseDir{strlen($filename)} == '/');
185 if (strlen($filename) + 2 < strlen($this->baseDirProgression)) {
195 $goodFile = (strncmp($filename, $this->baseDir, strlen($this->baseDir)) == 0);
231 function select($filename, $close = true) argument
[all …]
H A DZip.php374 $filename = $this->currentFilename;
384 $writer->newFile($filename, $stat);
H A DChangeName.php108 function select($filename, $close = true) argument
110 $name = $this->unmodifyName($filename);
205 function select($filename, $close = true) argument
207 return $this->source->select($this->unmodifyName($filename));
H A DConcat.php41 var $filename; variable in File_Archive_Reader_Concat
47 function File_Archive_Reader_Concat(&$source, $filename, argument
51 $this->filename = $filename;
89 function getFilename() { return $this->filename; }
H A DMemory.php43 var $filename; variable in File_Archive_Reader_Memory
74 * @param string $filename is the name of the file
79 function File_Archive_Reader_Memory(&$memory, $filename, argument
83 $this->filename = $this->getStandardURL($filename);
106 function getFilename() { return $this->filename; }
H A DMimeList.php36 function File_Archive_Reader_GetMime($filename) argument
38 $pos = strrpos($filename, '.');
41 $extension = strtolower(substr($filename, $pos+1));
H A DFile.php49 var $filename; variable in File_Archive_Reader_File
77 function File_Archive_Reader_File($filename, $symbolic = null, $mime = null) argument
79 $this->filename = $filename;
82 $this->symbolic = $this->getStandardURL($filename);
125 function getDataFilename() { return $this->filename; }
132 $this->stat = @stat($this->filename);
165 $this->handle = @fopen($this->filename, "r");
169 return PEAR::raiseError("Can't open {$this->filename} for reading");
173 return PEAR::raiseError("File {$this->filename} not found");
H A DFilter.php71 function select($filename, $close = true) argument
81 $error = $this->source->select($filename, false);
/plugin/zip/pear/File/Archive/Writer/
H A DGzip.php46 var $filename; variable in File_Archive_Writer_Gzip
50 * @param string $filename Name to give to the archive
58 function File_Archive_Writer_Gzip($filename, &$innerWriter, argument
64 $this->filename = $filename;
67 if ($this->filename === null) {
90 function newFile($filename, $stat = array(), argument
115 if ($this->filename === null) {
121 $this->tmpName, $this->filename, $this->stat, 'application/x-compressed'
H A DArchive.php55 * @param String $filename Name to give to the archive (the name will
66 function File_Archive_Writer_Archive($filename, &$innerWriter, argument
71 if ($filename !== null) {
72 $this->innerWriter->newFile($filename, $stat, $this->getMime());
H A DFiles.php46 var $filename; variable in File_Archive_Writer_Files
61 function getFilename($filename) argument
63 return $this->basePath.$filename;
104 function openFile($filename, $pos = 0) argument
108 $this->handle = fopen($filename, 'r+');
110 $this->filename = $filename;
129 $error = $this->openFile($filename, $pos);
137 $read = fopen($filename, 'r');
178 $this->filename = $this->getFilename($filename);
180 $pos = strrpos($this->filename, "/");
[all …]
H A DAddBaseName.php56 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);
88 function writeFile($filename) argument
90 $this->writer->writeFile($filename);
H A DMemoryArchive.php73 ($filename, &$t, $stat = array(), $autoClose = true) argument
75 parent::File_Archive_Writer_Archive($filename, $t, $stat, $autoClose);
81 function newFile($filename, $stat = array(), argument
98 $this->currentFilename = $filename;
160 function writeFile($filename) argument
163 $this->currentDataFile = $filename;
169 $this->buffer .= file_get_contents($filename);
181 function appendFileData($filename, $stat, &$data) { } argument
204 function appendFile($filename, $dataFilename) argument
207 $filename,
H A DUniqueAppender.php74 function newFile($filename, $stat = array(), $mime = "application/octet-stream") argument
76 if (isset($this->fileList[$filename])) {
77 $this->toDelete[$this->fileList[$filename]] = true;
80 return $this->writer->newFile($filename, $stat, $mime);
86 … function newFromTempFile($tmpfile, $filename, $stat = array(), $mime = "application/octet-stream") argument
88 if (isset($this->fileList[$filename])) {
89 $this->toDelete[$this->fileList[$filename]] = true;
92 return $this->writer->newFromTempFile($tmpfile, $filename, $stat, $mime);
114 function writeFile($filename) argument
116 return $this->writer->writeFile($filename);
H A DZip.php63 function File_Archive_Writer_Zip($filename, &$innerWriter, argument
115 * @param string $filename name of the file
122 $filename = preg_replace("/^(\.{1,2}(\/|\\\))+/","",$filename);
135 $filename;
144 function appendFileData($filename, $stat, $data) argument
156 $filename = preg_replace("/^(\.{1,2}(\/|\\\))+/","",$filename);
167 strlen($filename),
169 $filename.
183 $filename;
188 function appendFile($filename, $dataFilename) argument
[all …]
H A DAr.php79 function arHeader ($filename, $stat) argument
90 if (strlen($filename) > 16) {
91 $currentSize += strlen($filename);
95 $struct .= "`\n".$filename;
97 $struct .= sprintf("%-16s", $filename);
113 function arFooter($filename, $size) argument
115 $size = (strlen ($filename) > 16) ? $size + strlen($filename) : $size;
150 function newFile($filename, $stat = array (), argument
164 $this->_currentFilename = basename($filename);
196 function writeFile($filename) argument
[all …]
H A DBzip2.php46 var $filename; variable in File_Archive_Writer_Bzip2
50 * @param string $filename Name to give to the archive
58 function File_Archive_Writer_Bzip2($filename, &$innerWriter, argument
64 $this->filename = $filename;
67 if ($this->filename === null) {
88 function newFile($filename, $stat = array(), argument
113 if ($this->filename === null) {
119 $this->tmpName, $this->filename, $this->stat, 'application/x-compressed'
H A DMail.php155 function newFile($filename, $stat, $mime = "application/octet-stream") argument
162 $this->currentFilename = $filename;
/plugin/zip/pear/File/
H A DArchive.php702 * @param string $filename public name of the file
709 function readMemory($memory, $filename, $stat=array(), $mime=null) argument
712 return new File_Archive_Reader_Memory($memory, $filename, $stat, $mime);
745 * @param string $filename name of the only file of the created reader
752 function readConcat(&$toConvert, $filename, $stat=array(), $mime=null) argument
760 return new File_Archive_Reader_Concat($source, $filename, $stat, $mime);
1067 * @param string $filename name of the archive file
1078 function toArchive($filename, &$toConvert, $type = null, argument
1089 $extensions = strtolower($filename);
1100 $currentFilename = $filename;
/plugin/zip/pear/File/Archive/Predicate/
H A DDuplicate.php70 $filename = $source->getFilename();
72 $value = isset($this->newest[$filename]) ? $this->newest[$filename] : null;
77 $this->newest[$filename] = array($stat[9], $pos);
99 $filename = $source->getFilename();
101 $value = isset($this->newest[$filename]) ? $this->newest[$filename] : null;
H A DExtension.php59 $filename = $source->getFilename();
60 $pos = strrpos($filename, '.');
63 $extension = strtolower(substr($filename, $pos+1));
/plugin/zip/pear/File/Archive/
H A DReader.php57 * @param string $filename Name of the file to find in the archive
61 function select($filename, $close = true) argument
63 $std = $this->getStandardURL($filename);
248 $filename = $this->getDataFilename();
249 if ($filename !== null) {
250 $error = $writer->writeFile($filename);
314 * @param string $filename URL of the file to extract from this
321 function extractFile($filename, &$writer, argument
328 if (($error = $this->select($filename)) === true) {
334 $result = PEAR::raiseError("File $filename not found");

1...<<2122232425262728293031