/dokuwiki/inc/ChangeLog/ |
H A D | ChangeLogTrait.php | 113 * if success returns array(fp, array(changeloglines), $head, $tail, $eof) 114 * where fp only defined for chuck reading, needs closing. 125 $fp = null; 138 $fp = fopen($file, 'rb'); // "file pointer" 139 if ($fp === false) { 142 fseek($fp, 0, SEEK_END); 143 $eof = ftell($fp); 149 $finger = $this->getNewlinepointer($fp, $finger); 150 $tmp = fgets($fp); 166 fclose($fp); 190 readChunk($fp, $head, $tail) global() argument 216 getNewlinepointer($fp, $finger) global() argument 239 readAdjacentChunk($fp, $head, $tail, $direction) global() argument [all...] |
H A D | ChangeLog.php | 153 list($fp, $lines) = $this->readloglines($rev); 154 if ($fp) { 155 fclose($fp); 225 $fp = fopen($logfile, 'rb'); // "file pointer" 226 if ($fp === false) { 229 fseek($fp, 0, SEEK_END); 230 $tail = ftell($fp); 235 $nl = $this->getNewlinepointer($fp, $finger); 249 while ($got < $read_size && !feof($fp)) { 250 $tmp = @fread($fp, ma [all...] |
/dokuwiki/vendor/simplepie/simplepie/src/ |
H A D | File.php | 92 $fp = curl_init(); 98 curl_setopt($fp, CURLOPT_ENCODING, ''); 100 curl_setopt($fp, CURLOPT_URL, $url); 101 curl_setopt($fp, CURLOPT_HEADER, 1); 102 curl_setopt($fp, CURLOPT_RETURNTRANSFER, 1); 103 curl_setopt($fp, CURLOPT_FAILONERROR, 1); 104 curl_setopt($fp, CURLOPT_TIMEOUT, $timeout); 105 curl_setopt($fp, CURLOPT_CONNECTTIMEOUT, $timeout); 106 curl_setopt($fp, CURLOPT_REFERER, \SimplePie\Misc::url_remove_credentials($url)); 107 curl_setopt($fp, CURLOPT_USERAGEN [all...] |
/dokuwiki/vendor/kissifrot/php-ixr/src/Client/ |
H A D | Client.php | 95 $fp = fsockopen($this->server, $this->port, $errno, $errstr, $this->timeout); 97 $fp = false; 101 $fp = fsockopen($this->server, $this->port, $errno, $errstr); 103 $fp = false; 106 if (!$fp) { 110 stream_set_timeout($fp, $this->timeout_io); 112 fputs($fp, $request); 117 while (!feof($fp)) { 118 $line = fgets($fp, 4096);
|
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/ |
H A D | Random.php | 93 static $fp = true; 94 if ($fp === true) { 97 $fp = @fopen('/dev/urandom', 'rb'); 99 if ($fp !== true && $fp !== false) { // surprisingly faster than !is_bool() or is_resource() 100 $temp = fread($fp, $length);
|
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/ |
H A D | SCP.php | 175 $fp = @fopen($data, 'rb'); 176 if (!$fp) { 191 $temp = $mode & self::SOURCE_STRING ? substr($data, $sent, $this->packet_size) : fread($fp, $this->packet_size); 202 fclose($fp); 241 $fp = @fopen($local_file, 'wb'); 242 if (!$fp) { 263 fputs($fp, $data); 270 fclose($fp);
|
H A D | SFTP.php | 2363 $fp = fopen('php://memory', 'w+'); 2364 stream_copy_to_stream($data, $fp); 2365 rewind($fp); 2367 $fp = $data; 2375 $fp = @fopen($data, 'rb'); 2376 if (!$fp) { 2381 if (isset($fp)) { 2382 $stat = fstat($fp); 2386 fseek($fp, $local_start); 2409 $temp = isset($fp) [all...] |
H A D | SSH1.php | 1641 $fp = fopen($filename, 'w'); 1642 $this->realtime_log_file = $fp;
|
H A D | SSH2.php | 4324 $fp = fopen($filename, 'w'); 4325 $this->realtime_log_file = $fp;
|
/dokuwiki/inc/ |
H A D | fetch.functions.php | 89 $fp = @fopen($file, "rb"); 90 if($fp) { 91 http_rangeRequest($fp, filesize($file), $mime);
|
H A D | io.php | 640 $fp = @fopen($file,"w"); 641 if(!$fp) return false; 642 fwrite($fp,$data); 643 fclose($fp); 753 $fp = @fopen($file, "rb"); 754 if($fp === false) return 0; 756 fseek($fp, -4, SEEK_END); 757 $buffer = fread($fp, 4); 758 fclose($fp);
|
H A D | media.php | 1856 $fp = @fopen($file,"w"); 1857 if(!$fp) return false; 1858 fwrite($fp,$data); 1859 fclose($fp);
|
/dokuwiki/vendor/splitbrain/php-archive/src/ |
H A D | Zip.php | 189 $fp = @fopen($extractto, "wb"); 190 if (!$fp) { 205 fwrite($fp, $binary_data, 10); 214 fwrite($fp, $binary_data, $read_size); 221 fwrite($fp, $binary_data, 8); 225 fclose($fp); 234 $fp = @fopen($output, 'wb'); 235 if (!$fp) { 244 @fwrite($fp, $binary_data, $read_size); 247 fclose($fp); [all...] |
H A D | Tar.php | 194 $fp = @fopen($output, "wb"); 195 if (!$fp) { 201 fwrite($fp, $this->readbytes(512), 512); 204 fwrite($fp, $this->readbytes(512), $header['size'] % 512); 207 fclose($fp); 288 $fp = @fopen($file, 'rb'); 289 if (!$fp) { 292 while (!feof($fp)) { 293 $data = fread($fp, 512); 304 fclose($fp); [all...] |
/dokuwiki/ |
H A D | install.php | 479 if (($fp = @fopen($filename, 'wb')) === false) { 486 fwrite($fp, $data); 488 fclose($fp);
|
/dokuwiki/lib/plugins/extension/helper/ |
H A D | extension.php | 933 $fp = @fopen($file,"w"); 934 if (!$fp) return false; 935 fwrite($fp, $data); 936 fclose($fp);
|