Home
last modified time | relevance | path

Searched refs:substr (Results 1 – 25 of 138) sorted by relevance

123456

/dokuwiki/vendor/simplepie/simplepie/src/Content/Type/
H A DSniffer.php98 $official = substr($this->file->headers['content-type'], 0, $pos);
107 } elseif (substr($official, -4) === '+xml'
111 } elseif (substr($official, 0, 6) === 'image/') {
134 if (substr($this->file->body, 0, 2) === "\xFE\xFF"
135 || substr($this->file->body, 0, 2) === "\xFF\xFE"
136 || substr($this->file->body, 0, 4) === "\x00\x00\xFE\xFF"
137 || substr($this->file->body, 0, 3) === "\xEF\xBB\xBF") {
154 if (strtolower(substr($this->file->body, $ws, 14)) === '<!doctype html'
155 || strtolower(substr($this->file->body, $ws, 5)) === '<html'
156 || strtolower(substr(
[all...]
/dokuwiki/lib/plugins/authad/adLDAP/classes/
H A DadLDAPUtils.php75 $groupArray[] = substr($bits[0], 3, (strlen($bits[0])-3));
122 $octet_str = '\\' . substr($strGUID, 6, 2);
123 $octet_str .= '\\' . substr($strGUID, 4, 2);
124 $octet_str .= '\\' . substr($strGUID, 2, 2);
125 $octet_str .= '\\' . substr($strGUID, 0, 2);
126 $octet_str .= '\\' . substr($strGUID, 10, 2);
127 $octet_str .= '\\' . substr($strGUID, 8, 2);
128 $octet_str .= '\\' . substr($strGUID, 14, 2);
129 $octet_str .= '\\' . substr($strGUID, 12, 2);
130 //$octet_str .= '\\' . substr(
[all...]
/dokuwiki/vendor/openpsa/universalfeedcreator/lib/Element/
H A DFeedDate.php
/dokuwiki/inc/
H A Dload.php174 $plugin = substr($classPath, 0, strpos($classPath, '/'));
202 $template = substr($classPath, 0, strpos($classPath, '/'));
278 $string = substr($string, strlen($prefix));
H A Dconfutils.php40 $ext = strtolower(substr($file, $ext + 1));
49 return [$ext, substr($mtypes[$ext], 1), true];
231 $lines[0] = substr($lines[0], 3);
469 switch (substr($str, 0, 3)) {
471 return base64_decode(substr($str, 3));
473 return convert_uudecode(substr($str, 3));
491 $idx = array_search(trim(substr($val, 1)), $current);
H A DPassHash.php42 $hash = substr($hash, 1);
85 $salt = substr(base64_decode(substr($hash, 6)), 20);
88 $salt = substr(base64_decode(substr($hash, 6)), 16);
114 $salt = substr($hash, 0, 2);
158 if (strlen($salt) > $len && $cut) $salt = substr($salt, 0, $len);
232 $text .= substr($bin, 0, min(16, $i));
254 strrev(substr(base64_encode($tmp), 2)),
372 $key = substr(
[all...]
/dokuwiki/lib/tpl/dokuwiki/images/
H A Dpagetools-build.php80 $hex = substr($hex,0,1).
81 substr($hex,0,1).
82 substr($hex,1,1).
83 substr($hex,1,1).
84 substr($hex,2,1).
85 substr($hex,2,1);
89 return ['r' => hexdec(substr($hex, 0, 2)), 'g' => hexdec(substr($hex, 2, 2)), 'b' => hexdec(substr($hex, 4, 2))];
/dokuwiki/lib/scripts/
H A Deditor.js136 var search = "\n"+this.value.substr(0,selection.start);
139 search = search.substr(linestart);
153 if (match2 && this.value.substr(selection.start).match(/^($|\r?\n)/)) {
154 this.value = this.value.substr(0, linestart) + "\n" +
155 this.value.substr(selection.start);
173 this.value = this.value.substr(0,linestart)+
174 this.value.substr(linestart+2);
178 this.value = this.value.substr(0,linestart)+
179 this.value.substr(selection.start);
191 this.value = this.value.substr(
[all...]
H A Dindex.js5 $clicky[0].search.substr(1) + '&call=index',
/dokuwiki/vendor/simplepie/simplepie/src/
H A DGzdecode.php210 if (substr($this->compressed_data, 0, 3) !== "\x1F\x8B\x08") {
226 $mtime = substr($this->compressed_data, $this->position, 4);
252 $len = current(unpack('v', substr($this->compressed_data, $this->position, 2)));
259 $this->extra_field = substr($this->compressed_data, $this->position, $len);
275 $this->filename = substr($this->compressed_data, $this->position, $len);
291 $this->comment = substr($this->compressed_data, $this->position, $len);
304 $crc = current(unpack('v', substr($this->compressed_data, $this->position, 2)));
307 if ((crc32(substr($this->compressed_data, 0, $this->position)) & 0xFFFF) === $crc) {
318 if (($this->data = gzinflate(substr($this->compressed_data, $this->position, -8))) === false) {
325 $crc = current(unpack('V', substr(
[all...]
H A DMisc.php296 $data = substr($data, 0, strcspn($data, $non_ascii_octects));
1695 } elseif (substr($curl, 0, 5) === 'curl/') {
1696 $curl = substr($curl, 5, strcspn($curl, "\x09\x0A\x0B\x0C\x0D", 5));
1697 } elseif (substr($curl, 0, 8) === 'libcurl/') {
1698 $curl = substr($curl, 8, strcspn($curl, "\x09\x0A\x0B\x0C\x0D", 8));
1715 $output .= substr($data, 0, $start);
1762 $output .= substr($string, $position, $pos - $position);
1790 $output .= substr($string, $position);
1801 return trim(substr($mime, 0, $pos));
1867 if (in_array(substr(
[all...]
H A DParser.php108 if (substr($data, 0, 4) === "\x00\x00\xFE\xFF") {
109 $data = substr($data, 4);
112 elseif (substr($data, 0, 4) === "\xFF\xFE\x00\x00") {
113 $data = substr($data, 4);
116 elseif (substr($data, 0, 2) === "\xFE\xFF") {
117 $data = substr($data, 2);
120 elseif (substr($data, 0, 2) === "\xFF\xFE") {
121 $data = substr($data, 2);
124 elseif (substr($data, 0, 3) === "\xEF\xBB\xBF") {
125 $data = substr(
[all...]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DBase.php
H A DTripleDES.php249 $key .= substr($key, 0, 8);
264 $this->des[0]->setKey(substr($key, 0, 8));
265 $this->des[1]->setKey(substr($key, 8, 8));
266 $this->des[2]->setKey(substr($key, 16, 8));
327 * echo $des->encrypt(substr($plaintext, 0, 8));
328 * echo $des->encrypt(substr($plaintext, 8, 8));
338 * $des->encrypt(substr($plaintext, 0, 8));
339 * echo $des->decrypt($des->encrypt(substr($plaintext, 8, 8)));
342 * echo $des->decrypt($des->encrypt(substr($plaintext, 8, 8)));
/dokuwiki/vendor/openpsa/universalfeedcreator/lib/Creator/
H A DFeedCreator.php106 $string = substr($string, 0, $length - 4);
110 return substr($string, 0, $pos + 1)." ...";
115 $string = substr($string, 0, $length - 4);
119 return substr($string, 0, $pos)." ...";
122 return substr($string, 0, $length - 4)." ...";
190 return substr($fileInfo["basename"], 0, -(strlen($fileInfo["extension"]) + 1)).".xml";
H A DJSCreator.php42 return substr($fileInfo["basename"], 0, -(strlen($fileInfo["extension"]) + 1)).".js";
/dokuwiki/vendor/splitbrain/php-jsstrip/src/
H A DJSStrip.php77 if (substr($source, $idx, $endC + 2 - $idx) == '/* BEGIN NOCOMPRESS */') {
96 $result .= "\n" . trim(substr($source, $idx + 22, $endNC - ($idx + 22))) . "\n"; // BEGIN comment = 22 chars
124 return substr($source, $idx, $len) === $e;
141 $result .= substr($source, $idx, $j + 1);
157 $string = substr($source, $idx, $j + 1);
175 $string = substr($source, $idx, $j + 1);
193 $string = substr($source, $idx, $j + 1);
203 $lch = substr($result, -1);
248 $before = substr($this->source, max(0, $this->idx - 15), $this->idx);
249 $after = substr(
[all...]
/dokuwiki/vendor/simplepie/simplepie/src/XML/Declaration/
H A DParser.php199 $quote = substr($this->data, $this->position, 1);
204 $value = substr($this->data, $this->position, $len);
223 if (substr($this->data, $this->position, 7) === 'version') {
234 if (substr($this->data, $this->position, 1) === '=') {
259 if (substr($this->data, $this->position, 8) === 'encoding') {
270 if (substr($this->data, $this->position, 1) === '=') {
295 if (substr($this->data, $this->position, 10) === 'standalone') {
306 if (substr($this->data, $this->position, 1) === '=') {
/dokuwiki/vendor/simplepie/simplepie/src/HTTP/
H A DParser.php225 if (strpos($this->data, "\x0A") !== false && strtoupper(substr($this->data, 0, 5)) === 'HTTP/') {
227 $this->http_version = substr($this->data, 5, $len);
247 $this->status_code = (int) substr($this->data, $this->position, $len);
261 $this->reason = trim(substr($this->data, $this->position, $len), "\x09\x0D\x20");
283 if (substr($this->data[$this->position], 0, 2) === "\x0D\x0A") {
305 $this->name = substr($this->data, $this->position, $len);
320 if (substr($this->data, $this->position, 2) === "\x0D\x0A") {
370 $this->value .= substr($this->data, $this->position, $len);
412 $this->value .= substr($this->data, $this->position, $len);
432 $this->body = substr(
[all...]
/dokuwiki/inc/File/
H A DPageResolver.php65 } elseif (page_exists(substr($id, 0, -1), $rev, true, $isDateAt)) {
67 return substr($id, 0, -1);
87 $try = substr($id, 0, -1);
/dokuwiki/vendor/splitbrain/php-cli/src/
H A DTableFormatter.php134 if (substr($col, -1) == '%') {
154 if (substr($col, -1) != '%') {
271 protected function substr($string, $start = 0, $length = null) function in splitbrain\\phpcli\\TableFormatter
276 // mb_substr() treats $length differently than substr()
278 return substr($string, $start, $length);
280 return substr($string, $start);
314 $line .= $this->substr($actual, 0, $width) . $break;
315 $actual = $this->substr($actual, $width);
/dokuwiki/inc/Utf8/
H A DPhpString.php27 $path = substr($path, $rpos + 1);
32 $path = substr($path, 0, -$suflen);
70 * UTF-8 aware alternative to substr
82 public static function substr($str, $offset, $length = null)
99 * substr documentation states false can be returned in some cases (e.g. offset > string length)
184 if ($start > 0) $ret .= self::substr($string, 0, $start);
186 $ret .= self::substr($string, $start + $length);
365 $length = self::strlen(substr($haystack, 0, $pos));
83 public static function substr($str, $offset, $length = null) global() function in dokuwiki\\Utf8\\PhpString
/dokuwiki/vendor/kissifrot/php-ixr/src/Message/
H A DMessage.php36 $header = preg_replace('/<\?xml.*?\?' . '>/s', '', substr($this->message, 0, 100), 1);
43 $header = preg_replace('/^<!DOCTYPE[^>]*+>/i', '', substr($this->message, 0, 200), 1);
50 $root_tag = substr($this->message, 0, strcspn(substr($this->message, 0, 20), "> \t\r\n"));
77 $part = substr($this->message, 0, $chunk_size);
78 $this->message = substr($this->message, $chunk_size);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/System/SSH/Agent/
H A DIdentity.php
/dokuwiki/lib/plugins/logviewer/
H A Dadmin.php193 echo hsc(substr($line, 2)) . '<br />';

123456