Lines Matching refs:filename
173 $filename = sprintf('%s-%s-%s-%s', $proto, $domain, $url_hash,
176 return $this->association_dir. DIRECTORY_SEPARATOR . $filename;
190 $filename = $this->getAssociationFilename($server_url,
206 if (@rename($tmp, $filename)) {
211 @unlink($filename);
215 if (@rename($tmp, $filename)) {
245 $filename = $this->getAssociationFilename($server_url, $handle);
248 return $this->_getAssociation($filename);
255 $name = basename($filename);
296 function _getAssociation($filename) argument
303 $assoc_file = @fopen($filename, 'rb');
309 $assoc_s = fread($assoc_file, filesize($filename));
321 Auth_OpenID_FileStore::_removeIfPresent($filename);
326 Auth_OpenID_FileStore::_removeIfPresent($filename);
349 $filename = $this->getAssociationFilename($server_url, $handle);
350 return Auth_OpenID_FileStore::_removeIfPresent($filename);
385 $filename = sprintf('%08x-%s-%s-%s-%s', $timestamp, $proto,
387 $filename = $this->nonce_dir . DIRECTORY_SEPARATOR . $filename;
389 $result = @fopen($filename, 'x');
453 $filename = $this->nonce_dir . DIRECTORY_SEPARATOR . $nonce;
454 Auth_OpenID_FileStore::_removeIfPresent($filename);
543 while (false !== ($filename = readdir($handle))) {
544 if (!in_array($filename, array('.', '..'))) {
545 $files[] = $dir . DIRECTORY_SEPARATOR . $filename;
578 $filename = "";
584 $filename .= $c;
586 $filename .= sprintf("_%02X", ord($c));
589 return $filename;
599 function _removeIfPresent($filename) argument
601 return @unlink($filename);