Home
last modified time | relevance | path

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

12345678910>>...31

/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
21 return $this->cache->tempFilename($filename);
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
49 write($filename, $data) global() argument
54 binaryWrite($filename, $data) global() argument
59 jsonWrite($filename, $data) global() argument
64 remove($filename) global() argument
69 jsonRemove($filename) global() 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/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/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/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/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/authgooglesheets/vendor/guzzlehttp/guzzle/src/Cookie/
H A DFileCookieJar.php10 private $filename; variable in GuzzleHttp\\Cookie\\FileCookieJar
27 $this->filename = $cookieFile;
40 $this->save($this->filename);
46 * @param string $filename File to save
49 public function save($filename) argument
60 if (false === file_put_contents($filename, $jsonStr, LOCK_EX)) {
61 throw new \RuntimeException("Unable to save file {$filename}");
70 * @param string $filename Cookie file to load.
73 public function load($filename) argument
75 $json = file_get_contents($filename);
[all …]
/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/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/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/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/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/dw2pdf/vendor/mpdf/mpdf/src/
H A DCache.php60 public function tempFilename($filename)
62 return $this->getFilePath($filename);
65 public function has($filename)
67 return file_exists($this->getFilePath($filename));
70 public function load($filename)
72 return file_get_contents($this->getFilePath($filename));
75 public function write($filename, $data)
81 $path = $this->getFilePath($filename);
87 public function remove($filename)
89 return unlink($this->getFilePath($filename));
56 tempFilename($filename) global() argument
61 has($filename) global() argument
66 load($filename) global() argument
71 write($filename, $data) global() argument
82 remove($filename) global() argument
102 getFilePath($filename) global() argument
[all...]
/plugin/openid/Auth/OpenID/
H A DFileStore.php220 if (@rename($tmp, $filename)) {
225 @unlink($filename);
271 $name = basename($filename);
313 * @param string $filename
316 function _getAssociation($filename) argument
421 $filename = $this->nonce_dir . DIRECTORY_SEPARATOR . $filename;
629 $filename = "";
635 $filename .= $c;
640 return $filename;
648 * @param string $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");
/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 …]

12345678910>>...31