Home
last modified time | relevance | path

Searched refs:filename (Results 1 – 25 of 621) sorted by relevance

12345678910>>...25

/plugin/mantis/lib/
H A Dclass.wsdlcache.php86 if (file_exists($filename) && (time() - filemtime($filename) > $this->cache_lifetime)) {
87 unlink($filename);
94 if (!file_exists($filename)) {
96 $this->releaseMutex($filename);
99 $fp = @fopen($filename, "r");
108 $this->releaseMutex($filename);
129 $this->fplock[md5($filename)] = fopen($filename.".lock", "w");
148 $fp = fopen($filename, "w");
191 if (!file_exists($filename)) {
197 $ret = unlink($filename);
[all …]
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Fonts/
H A DFontCache.php19 public function tempFilename($filename) argument
24 public function has($filename) argument
26 return $this->cache->has($filename);
29 public function jsonHas($filename) argument
31 return (isset($this->memoryCache[$filename]) || $this->has($filename));
34 public function load($filename) argument
36 return $this->cache->load($filename);
39 public function jsonLoad($filename) argument
45 $this->memoryCache[$filename] = json_decode($this->load($filename), true);
64 public function remove($filename) argument
[all …]
/plugin/findologicxmlexport/vendor/phpunit/php-code-coverage/src/
H A DFilter.php45 * @param string $filename
84 * @param string $filename
88 $filename = realpath($filename);
96 * @param string $filename
100 public function isFile($filename) argument
102 if ($filename == '-' ||
113 return file_exists($filename);
119 * @param string $filename
123 public function isFiltered($filename) argument
125 if (!$this->isFile($filename)) {
[all …]
/plugin/zip/pear/File/Archive/Writer/
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 DTar.php42 var $filename = null; variable in File_Archive_Writer_Tar
49 * @param string $filename name of the file
54 function tarHeader($filename, $stat) argument
75 if (strlen($filename) > 255) {
79 } else if (strlen($filename) > 100) {
80 $filePrefix = substr($filename, 0, strlen($filename)-100);
81 $filename = substr($filename, -100);
85 $filename,
136 if ($this->filename !== null) {
160 $this->filename = $filename;
[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 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 …]
/plugin/preservefilenames/
H A Dcommon.php44 function _sanitizeFileName($filename) argument
46 $filename = preg_replace('/[\x00-\x1F\x7F]/', '', $filename); // control
47 $filename = preg_replace('/["*:<>?|\/\\\\]/', '_', $filename); // graphic
48 $filename = preg_replace('/[#&]/', '_', $filename); // dw technical issues
50 return $filename;
66 if (!preg_match('/[\x00-\x1F\x7F-\xFF"*:<>?|\/\\\\]/', $filename)) {
68 $ret .= ' filename="' . $filename . '";';
71 $ret .= " filename*=UTF-8''" . rawurlencode($filename) . ';';
73 strpos($filename, '"') === false
80 $ret .= ' filename="' . $filename . '"';
[all …]
H A Daction_anteater.php145 if ($filename === false) {
197 $filename = false;
227 if ($filename === false) {
282 $filename = $matches[8];
287 $linktext = $filename;
291 $filename = htmlspecialchars_decode($filename, ENT_QUOTES);
292 $pageid = cleanID($filename);
321 $imgtitle = $filename;
324 $filename = htmlspecialchars_decode($filename, ENT_QUOTES);
325 $pageid = cleanID($filename);
[all …]
/plugin/html2pdf/html2pdf/html2ps/
H A Ddestination._interface.class.php3 var $filename; variable in Destination
5 function Destination($filename) { argument
6 $this->set_filename($filename);
9 function filename_escape($filename) { return preg_replace("/[^a-z0-9-]/i","_",$filename); } argument
11 function get_filename() { return empty($this->filename) ? OUTPUT_DEFAULT_NAME : $this->filename; }
13 function process($filename, $content_type) { argument
17 function set_filename($filename) { $this->filename = $filename; } argument
/plugin/findologicxmlexport/vendor/hoa/stream/Test/Integration/Filter/
H A DFilter.php58 file_put_contents($filename, $content),
59 $stream = fopen($filename, 'r'),
77 file_put_contents($filename, $content),
78 $stream = fopen($filename, 'r'),
96 file_put_contents($filename, $content),
97 $stream = fopen($filename, 'r'),
117 file_put_contents($filename, $content),
118 $stream = fopen($filename, 'r'),
138 file_put_contents($filename, $content),
139 $stream = fopen($filename, 'r'),
[all …]
/plugin/jplayer/vendor/james-heinrich/getid3/getid3/
H A Dwrite.id3v1.php27 public $filename; variable in getid3_write_id3v1
61 …if (!empty($this->filename) && is_readable($this->filename) && getID3::is_writable($this->filename
67 if ($fp_source = fopen($this->filename, 'r+b')) {
89 $this->errors[] = 'Could not fopen('.$this->filename.', "r+b")';
93 $this->errors[] = 'File is not writeable: '.$this->filename;
111 $ThisFileInfo = $getID3->analyze($this->filename);
128 …if (!empty($this->filename) && is_readable($this->filename) && getID3::is_writable($this->filename
134 if ($fp_source = fopen($this->filename, 'r+b')) {
149 $this->errors[] = $this->filename.' is not writeable';
159 $this->filesize = filesize($this->filename);
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/
H A DServerRangeTest.php23 $filename = SABRE_TEMPDIR . '/test.txt';
35 …'ETag' => ['"' . sha1(fileinode($filename) . filesize($filename) . filemtime($filename)…
55 $filename = SABRE_TEMPDIR . '/test.txt';
67 …'ETag' => ['"' . sha1(fileinode($filename) . filesize($filename) . filemtime($filename)…
87 $filename = SABRE_TEMPDIR . '/test.txt';
99 …'ETag' => ['"' . sha1(fileinode($filename) . filesize($filename) . filemtime($filename)…
160 $filename = SABRE_TEMPDIR . '/test.txt';
172 …'ETag' => ['"' . sha1(fileinode($filename) . filesize($filename) . filemtime($filename)…
206 …'ETag' => ['"' . sha1(fileinode($filename) . filesize($filename) . filemtime($filename)…
241 …'ETag' => ['"' . sha1(fileinode($filename) . filesize($filename) . filemtime($filename)…
[all …]
/plugin/findologicxmlexport/vendor/phpunit/php-token-stream/src/Token/Stream/
H A DCachingFactory.php22 * @param string $filename
26 public static function get($filename) argument
28 if (!isset(self::$cache[$filename])) {
29 self::$cache[$filename] = new PHP_Token_Stream($filename);
32 return self::$cache[$filename];
36 * @param string $filename
38 public static function clear($filename = null) argument
40 if (is_string($filename)) {
41 unset(self::$cache[$filename]);
/plugin/jplayer/vendor/james-heinrich/getid3/demos/
H A Ddemo.mimeonly.php32 function GetMIMEtype($filename) { argument
33 $filename = realpath($filename);
34 if (!file_exists($filename)) {
35 echo 'File does not exist: "'.htmlentities($filename).'"<br>';
37 } elseif (!is_readable($filename)) {
38 echo 'File is not readable: "'.htmlentities($filename).'"<br>';
48 if ($fp = fopen($filename, 'rb')) {
49 $getID3->openfile($filename);
65 echo 'Failed to getID3->openfile "'.htmlentities($filename).'"<br>';
68 echo 'Failed to fopen "'.htmlentities($filename).'"<br>';
/plugin/icalendar/
H A Dvevent.php17 $filename = 'iCalendar_'; variable
23 $filename .= $entry['startdate'].'_'.$entry['enddate'];
26 $filename .= $entry['startdate'];
32 … $filename .= $entry['startdate'].$entry['starttime'].'_'.$entry['enddate'].$entry['endtime'];
35 $filename .= $entry['startdate'].'_'.$entry['starttime'].'_'.$entry['endtime'];
38 $filename .= '.ics';
39 $filename = str_replace(":", "", $filename ); variable
43 header('Content-Disposition: attachment; filename='.$filename);
/plugin/fedauth/Auth/OpenID/
H A DFileStore.php206 if (@rename($tmp, $filename)) {
211 @unlink($filename);
255 $name = basename($filename);
296 function _getAssociation($filename) argument
387 $filename = $this->nonce_dir . DIRECTORY_SEPARATOR . $filename;
389 $result = @fopen($filename, 'x');
578 $filename = "";
584 $filename .= $c;
589 return $filename;
599 function _removeIfPresent($filename) argument
[all …]
/plugin/openid/Auth/OpenID/
H A DFileStore.php206 if (@rename($tmp, $filename)) {
211 @unlink($filename);
255 $name = basename($filename);
296 function _getAssociation($filename) argument
387 $filename = $this->nonce_dir . DIRECTORY_SEPARATOR . $filename;
389 $result = @fopen($filename, 'x');
578 $filename = "";
584 $filename .= $c;
589 return $filename;
599 function _removeIfPresent($filename) argument
[all …]
/plugin/findologicxmlexport/vendor/phpunit/php-file-iterator/src/
H A DIterator.php79 $filename = $current->getFilename();
92 $this->acceptPrefix($filename) &&
93 $this->acceptSuffix($filename);
113 * @param string $filename
117 protected function acceptPrefix($filename) argument
123 * @param string $filename
127 protected function acceptSuffix($filename) argument
133 * @param string $filename
139 protected function acceptSubString($filename, array $subStrings, $type) argument
148 if (($type == self::PREFIX && strpos($filename, $string) === 0) ||
[all …]
/plugin/findologicxmlexport/vendor/phpdocumentor/reflection-docblock/src/DocBlock/
H A DExampleFinder.php37 $filename = $example->getFilePath();
39 $file = $this->getExampleFileContents($filename);
41 return "** File not found : {$filename} **";
100 * @param string $filename
104 private function getExampleFileContents($filename) argument
109 $exampleFileFromConfig = $this->constructExamplePath($directory, $filename);
117 if (is_readable($this->getExamplePathFromSource($filename))) {
118 $normalizedPath = $this->getExamplePathFromSource($filename);
120 $normalizedPath = $this->getExamplePathFromExampleDirectory($filename);
121 } elseif (is_readable($filename)) {
[all …]
/plugin/dw2pdf/vendor/mpdf/mpdf/src/
H A DCache.php56 public function tempFilename($filename) argument
58 return $this->getFilePath($filename);
61 public function has($filename) argument
63 return file_exists($this->getFilePath($filename));
66 public function load($filename) argument
71 public function write($filename, $data) argument
76 $path = $this->getFilePath($filename);
82 public function remove($filename) argument
84 return unlink($this->getFilePath($filename));
102 private function getFilePath($filename) argument
[all …]
/plugin/html2pdf/html2pdf/html2ps/classes/org/active-link/sys/
H A DFile.php36 var $filename; variable in File
54 function File($filename = "", $fileOpenMode = "r") { argument
56 $this->filename = $filename;
66 if($this->filename != "")
67 $success = $this->open($this->filename, $this->fileOpenMode);
79 $this->filename = "";
115 $fileContentsArray = file($this->filename);
126 function open($filename, $mode = "r") { argument
129 $this->handleID = @fopen($filename, $mode);
131 $this->filename = $filename;
/plugin/htmlokay/conf/access/
H A Dget_inf.php10 foreach (glob("*") as $filename) {
11 get_data($filename) ;
18 function get_data($filename) { argument
20 if(preg_match('/.*?\.php/', $filename)) return;
21 if(is_dir($filename)) return;
22 echo "$filename size " . filesize($filename) . "\n";
24 $inf_str = file_get_contents ($filename);
/plugin/findologicxmlexport/vendor/twig/twig/src/Error/
H A DError.php43 protected $filename; variable in Twig\\Error\\Error
81 $this->filename = $name;
113 return $this->filename;
127 $this->filename = $name;
143 return $this->filename;
157 $this->filename = $name;
192 … return $this->filename ? new Source($this->sourceCode, $this->filename, $this->sourcePath) : null;
204 $this->filename = $source->getName();
249 if ($this->filename) {
250 …if (\is_string($this->filename) || (\is_object($this->filename) && method_exists($this->filename, …
[all …]
/plugin/zip/pear/File/Archive/
H A DWriter.php42 * @param string $filename Name of the file, eventually including a path
46 function newFile($filename, $stat = array(), $mime = "application/octet-stream") argument
60 * @param string $filename Name of the file, eventually including a path
64 … function newFromTempFile($tmpfile, $filename, $stat = array(), $mime = "application/octet-stream") argument
66 $this->newFile($filename, $stat, $mime);
94 * @param string $filename Name of the file which content must be appended
97 function writeFile($filename) argument
99 $handle = fopen($filename, "r");
101 return PEAR::raiseError("Unable to write to $filename");

12345678910>>...25