| /plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/Locks/Backend/ |
| H A D | AbstractTest.php | 29 $lock = new DAV\Locks\LockInfo(); 30 $lock->owner = 'Sinterklaas'; 31 $lock->timeout = 60; 32 $lock->created = time(); 33 $lock->token = 'MY-UNIQUE-TOKEN'; 34 $lock->uri ='someuri'; 36 $this->assertTrue($backend->lock('someuri', $lock)); 53 $lock = new DAV\Locks\LockInfo(); 54 $lock->owner = 'Sinterklaas'; 55 $lock->timeout = 60; [all …]
|
| H A D | Mock.php | 37 foreach($locks as $lock) { 39 if ($lock->uri === $uri || 41 ($lock->depth!=0 && strpos($uri, $lock->uri . '/')===0) || 44 ($returnChildLocks && (strpos($lock->uri, $uri . '/')===0)) ) { 46 $newLocks[] = $lock; 53 foreach($newLocks as $k=>$lock) { 54 if (time() > $lock->timeout + $lock->created) unset($newLocks[$k]); 67 public function lock($uri, LockInfo $lockInfo) { function in Sabre\\DAV\\Locks\\Backend\\Mock 76 foreach($locks as $k=>$lock) { 78 ($lock->token == $lockInfo->token) || [all …]
|
| /plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/Xml/Property/ |
| H A D | LockDiscoveryTest.php | 12 $lock = new LockInfo(); 13 $lock->owner = 'hello'; 14 $lock->token = 'blabla'; 15 $lock->timeout = 600; 16 $lock->created = strtotime('2015-03-25 19:21:00'); 17 $lock->scope = LockInfo::EXCLUSIVE; 18 $lock->depth = 0; 19 $lock->uri = 'hi'; 21 $prop = new LockDiscovery([$lock]); 50 $lock = new LockInfo(); [all …]
|
| /plugin/webdav/ |
| D | admin.php | 89 foreach ($locks as $id => $lock) { 90 if ($lock->token == $lock_id) { 91 $locked_file = $lock->uri; 146 foreach ($this->getLocks() as $lock) { 147 $pathinfo = pathinfo($lock->uri); 149 …"#" class="interwiki iw_user"></a>' . (($lock->owner == $lock->user) ? $lock->owner : $lock->user … 150 echo "<td>{$lock->timeout} seconds</td>"; 151 …echo '<td>' . datetime_h($lock->created) . '<br><small>(' . dformat($lock->created) . ')</small></… 152 echo "<td>{$this->getLockType($lock->scope)}</td>"; 153 …"' . getBaseURL(true) . 'lib/plugins/webdav/server.php/' . hsc($lock->uri) . '">' . $lock->uri . '… [all …]
|
| /plugin/webdav/vendor/sabre/dav/lib/DAV/Locks/Backend/ |
| D | File.php | 59 foreach ($locks as $lock) { 61 if ($lock->uri === $uri || 63 ($lock->depth != 0 && strpos($uri, $lock->uri . '/') === 0) || 66 ($returnChildLocks && (strpos($lock->uri, $uri . '/') === 0))) { 68 $newLocks[] = $lock; 75 foreach ($newLocks as $k => $lock) { 76 if (time() > $lock->timeout + $lock->created) unset($newLocks[$k]); 89 function lock($uri, LockInfo $lockInfo) { function in Sabre\\DAV\\Locks\\Backend\\File 98 foreach ($locks as $k => $lock) { 100 ($lock->token == $lockInfo->token) || [all …]
|
| /plugin/davcal/vendor/sabre/dav/lib/DAV/Locks/Backend/ |
| H A D | File.php | 59 foreach ($locks as $lock) { 61 if ($lock->uri === $uri || 63 ($lock->depth != 0 && strpos($uri, $lock->uri . '/') === 0) || 66 ($returnChildLocks && (strpos($lock->uri, $uri . '/') === 0))) { 68 $newLocks[] = $lock; 75 foreach ($newLocks as $k => $lock) { 76 if (time() > $lock->timeout + $lock->created) unset($newLocks[$k]); 89 function lock($uri, LockInfo $lockInfo) { function in Sabre\\DAV\\Locks\\Backend\\File 98 foreach ($locks as $k => $lock) { 100 ($lock->token == $lockInfo->token) || [all …]
|
| /plugin/dokukiwix/ |
| D | ajax.php | 34 $lock = $conf['lockdir'].'/_dokukiwix.lock'; variable 78 global $lock; 81 if (file_exists($lock)) 82 $archivePath = DOKU_PLUGIN.'dokukiwix/archive/'.file_get_contents($lock).'/'; 104 global $lock; 107 if(!file_exists($lock)){ 108 if ($dokukiwix_fp = fopen($lock, 'w+')) { 124 global $lock; 125 unlink($lock); 139 global $lock; [all …]
|
| /plugin/dokucrypt3/ |
| H A D | crypto_high-level.js | 11 function getKeyForLock(lock) { argument 12 return crypt_keys[lock]; 15 function setKeyForLock(lock,key) { argument 16 crypt_keys[lock]=key; 76 var tagend=0, ptend=0, lock=null, ptext; 85 lock=getTagAttr(data.substring(0,tagend+1),"LOCK"); 86 if(lock===null) { lock="default"; } 91 var key=getKeyForLock(lock); 99 return("<" + tag_pt + " LOCK=" + lock + " " + 124 var tagend=0, ptend=0, lock=null, ctext; [all …]
|
| H A D | script.js | 153 lock = "default"; 166 setKeyForLock(lock,key); 176 setKeyForLock(lock,null); 183 lm:"Repeat passphrase key for lock " + lock, 191 lm:"Enter passphrase key for lock " + lock, 201 lock = "default"; 206 setKeyForLock(lock,key); 213 setKeyForLock(lock,null); 219 lm:"Enter passphrase key for lock " + lock, 249 function toggleCryptDiv(elemid,lock,ctext) { argument [all …]
|
| /plugin/webdav/vendor/sabre/dav/lib/DAV/Xml/Property/ |
| D | LockDiscovery.php | 70 foreach ($this->locks as $lock) { 75 if ($lock->scope === LockInfo::SHARED) { 89 $writer->writeElement('{DAV:}href', $writer->contextUri . $lock->uri); 92 …$writer->writeElement('{DAV:}depth', ($lock->depth == DAV\Server::DEPTH_INFINITY ? 'infinity' : $l… 93 $writer->writeElement('{DAV:}timeout', 'Second-' . $lock->timeout); 96 $writer->writeElement('{DAV:}href', 'opaquelocktoken:' . $lock->token); 99 $writer->writeElement('{DAV:}owner', new XmlFragment($lock->owner));
|
| /plugin/davcal/vendor/sabre/dav/lib/DAV/Xml/Property/ |
| H A D | LockDiscovery.php | 70 foreach ($this->locks as $lock) { 75 if ($lock->scope === LockInfo::SHARED) { 89 $writer->writeElement('{DAV:}href', $writer->contextUri . $lock->uri); 92 …$writer->writeElement('{DAV:}depth', ($lock->depth == DAV\Server::DEPTH_INFINITY ? 'infinity' : $l… 93 $writer->writeElement('{DAV:}timeout', 'Second-' . $lock->timeout); 96 $writer->writeElement('{DAV:}href', 'opaquelocktoken:' . $lock->token); 99 $writer->writeElement('{DAV:}owner', new XmlFragment($lock->owner));
|
| /plugin/attribute/ |
| D | helper.php | 310 $lock= $namespace . '.' . $user; 311 io_lock($lock); 323 io_unlock($lock); 348 $lock = $namespace . '.' . $user; 349 io_lock($lock); 353 io_unlock($lock); 385 $lock = $namespace . '.' . $user; 386 io_lock($lock); 390 io_unlock($lock); 421 $lock = $namespace . '.' . $user; [all …]
|
| /plugin/webdav/vendor/sabre/dav/lib/DAV/Exception/ |
| D | Locked.php | 23 protected $lock; variable in Sabre\\DAV\\Exception\\Locked 33 function __construct(DAV\Locks\LockInfo $lock = null) { argument 35 $this->lock = $lock; 59 if ($this->lock) { 64 $href->appendChild($errorNode->ownerDocument->createTextNode($this->lock->uri));
|
| /plugin/davcal/vendor/sabre/dav/lib/DAV/Exception/ |
| H A D | Locked.php | 23 protected $lock; variable in Sabre\\DAV\\Exception\\Locked 33 function __construct(DAV\Locks\LockInfo $lock = null) { argument 35 $this->lock = $lock; 59 if ($this->lock) { 64 $href->appendChild($errorNode->ownerDocument->createTextNode($this->lock->uri));
|
| /plugin/autolink3/ |
| D | ajax.php | 90 $lock = $conf['lockdir'].'/_tagindexer.lock'; 91 while(!@mkdir($lock)) 93 if(time()-@filemtime($lock) > 60*5) 96 @rmdir($lock); 159 $lock = $conf['lockdir'].'/_tagindexer.lock'; 162 @rmdir($lock);
|
| /plugin/combo/ComboStrap/ |
| H A D | Mutex.php | 36 function lock($wait=10) function in ComboStrap\\Mutex 41 $lock = false; 42 for($i = 0; $i < $wait && !($lock = flock($this->filePointer,LOCK_EX|LOCK_NB)); $i++) 47 if(!$lock)
|
| /plugin/doxycode/helper/ |
| D | buildmanager.php | 194 if (!$this->lock()) { 372 $lock = $conf['lockdir'] . self::LOCKFILENAME; 374 return file_exists($lock); 389 private function lock() function in helper_plugin_doxycode_buildmanager 393 $lock = $conf['lockdir'] . self::LOCKFILENAME; 395 if (file_exists($lock)) { 396 if (time() - @filemtime($lock) > $this->getConf('runner_max_execution_time')) { 398 unlink($lock); 405 io_savefile($lock, ""); 418 $lock = $conf['lockdir'] . self::LOCKFILENAME; [all …]
|
| /plugin/jplayer/vendor/james-heinrich/getid3/getid3/ |
| D | extension.cache.dbm.php | 83 private $lock; variable in getID3_cached_dbm 128 $this->lock = fopen($lock_filename, 'w'); 131 flock($this->lock, LOCK_EX); 181 flock($this->lock, LOCK_UN); 184 fclose($this->lock);
|
| /plugin/asciidocjs/node_modules/function-bind/ |
| D | .npmignore | 15 .lock-wscript 21 package-lock.json 22 yarn.lock
|
| /plugin/webdav/vendor/sabre/dav/lib/DAV/Locks/ |
| D | Plugin.php | 289 foreach ($locks as $lock) { 291 if ('<opaquelocktoken:' . $lock->token . '>' == $lockToken) { 293 $this->unlockNode($path, $lock); 321 foreach ($locks as $lock) { 322 $this->unlockNode($path, $lock); 340 return $this->locksBackend->lock($uri, $lockInfo); 473 foreach ($mustLocks as $lock) $tmp[$lock->token] = $lock;
|
| /plugin/davcal/vendor/sabre/dav/lib/DAV/Locks/ |
| H A D | Plugin.php | 289 foreach ($locks as $lock) { 291 if ('<opaquelocktoken:' . $lock->token . '>' == $lockToken) { 293 $this->unlockNode($path, $lock); 321 foreach ($locks as $lock) { 322 $this->unlockNode($path, $lock); 340 return $this->locksBackend->lock($uri, $lockInfo); 473 foreach ($mustLocks as $lock) $tmp[$lock->token] = $lock;
|
| /plugin/solr/ |
| D | helper.php | 196 $lock = $conf['lockdir'].'/_solr_indexer.lock'; 197 while(!@mkdir($lock,$conf['dmode'])){ 199 if(time()-@filemtime($lock) > 60*5){ 201 @rmdir($lock); 208 if($conf['dperm']) chmod($lock, $conf['dperm']); 209 return $lock;
|
| /plugin/scrape/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ |
| D | Config.php | 98 private $lock; variable in HTMLPurifier_Config 197 if ($this->lock) { 199 if ($ns !== $this->lock) { 202 $this->lock . 482 $lock = $this->lock; 483 $this->lock = null; 486 $this->lock = $lock; 514 $this->lock = $type; 516 $this->lock = null;
|
| /plugin/davcal/vendor/sabre/event/ |
| H A D | .gitignore | 3 composer.lock 10 #vim lock files
|
| /plugin/webdav/core/Backend/ |
| D | LocksFile.php | 24 public function lock($uri, DAV\Locks\LockInfo $lockInfo) function in dokuwiki\\plugin\\webdav\\core\\Backend\\LocksFile 28 return parent::lock($uri, $lockInfo);
|