| /dokuwiki/vendor/simplepie/simplepie/src/Content/Type/ |
| H A D | Sniffer.php | 97 $official = substr($this->file->headers['content-type'], 0, $pos); 106 } elseif (substr($official, -4) === '+xml' 110 } elseif (substr($official, 0, 6) === 'image/') { 133 if (substr($this->file->body, 0, 2) === "\xFE\xFF" 134 || substr($this->file->body, 0, 2) === "\xFF\xFE" 135 || substr($this->file->body, 0, 4) === "\x00\x00\xFE\xFF" 136 || substr($this->file->body, 0, 3) === "\xEF\xBB\xBF") { 153 if (strtolower(substr($this->file->body, $ws, 14)) === '<!doctype html' 154 || strtolower(substr($this->file->body, $ws, 5)) === '<html' 155 || strtolower(substr($this->file->body, $ws, 7)) === '<script') { [all …]
|
| /dokuwiki/lib/plugins/authad/adLDAP/classes/ |
| H A D | adLDAPUtils.php | 75 $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); 133 $octet_str .= '\\' . substr($strGUID, $i, 2); [all …]
|
| /dokuwiki/lib/tpl/dokuwiki/images/ |
| H A D | pagetools-build.php | 80 $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…
|
| /dokuwiki/vendor/simplepie/simplepie/src/ |
| H A D | Gzdecode.php | 209 if (substr($this->compressed_data, 0, 3) !== "\x1F\x8B\x08") { 225 $mtime = substr($this->compressed_data, $this->position, 4); 251 $len = current(unpack('v', substr($this->compressed_data, $this->position, 2))); 258 $this->extra_field = substr($this->compressed_data, $this->position, $len); 274 $this->filename = substr($this->compressed_data, $this->position, $len); 290 $this->comment = substr($this->compressed_data, $this->position, $len); 303 $crc = current(unpack('v', substr($this->compressed_data, $this->position, 2))); 306 … if ((crc32(substr($this->compressed_data, 0, $this->position)) & 0xFFFF) === $crc) { 317 … if (($this->data = gzinflate(substr($this->compressed_data, $this->position, -8))) === false) { 324 $crc = current(unpack('V', substr($this->compressed_data, $this->position, 4))); [all …]
|
| H A D | Misc.php | 295 $data = substr($data, 0, strcspn($data, $non_ascii_octects)); 1694 } elseif (substr($curl, 0, 5) === 'curl/') { 1695 $curl = substr($curl, 5, strcspn($curl, "\x09\x0A\x0B\x0C\x0D", 5)); 1696 } elseif (substr($curl, 0, 8) === 'libcurl/') { 1697 $curl = substr($curl, 8, strcspn($curl, "\x09\x0A\x0B\x0C\x0D", 8)); 1714 $output .= substr($data, 0, $start); 1761 $output .= substr($string, $position, $pos - $position); 1789 $output .= substr($string, $position); 1800 return trim(substr($mime, 0, $pos)); 1866 if (in_array(substr($type, -4), ['+xml', '/xml']) || substr($type, 0, 5) === 'text/') { [all …]
|
| H A D | Parser.php | 107 if (substr($data, 0, 4) === "\x00\x00\xFE\xFF") { 108 $data = substr($data, 4); 111 elseif (substr($data, 0, 4) === "\xFF\xFE\x00\x00") { 112 $data = substr($data, 4); 115 elseif (substr($data, 0, 2) === "\xFE\xFF") { 116 $data = substr($data, 2); 119 elseif (substr($data, 0, 2) === "\xFF\xFE") { 120 $data = substr($data, 2); 123 elseif (substr($data, 0, 3) === "\xEF\xBB\xBF") { 124 $data = substr($data, 3); [all …]
|
| /dokuwiki/lib/scripts/ |
| H A D | editor.js | 136 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(0,linestart)+' '+ [all …]
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/ |
| H A D | libsodium.php | 53 $private = substr($key, 0, 32); 54 $public = substr($key, -32); 57 $public = substr($key, -32); 58 if (substr($key, 32, 32) != $public) { 61 $private = substr($key, 0, 32);
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/BCMath/Reductions/ |
| H A D | Barrett.php | 104 $lsd = substr($n, -$cutoff); 105 $msd = substr($n, 0, -$cutoff); 114 $temp = substr($n, 0, -$m_length + 1); 120 $temp = substr($temp, 0, -($m_length >> 1) - 1); 141 return $correctionNeeded ? substr($result, 0, -1) : $result; 174 $temp = substr($x, 0, -$n_length + 1); 176 $temp = substr($temp, 0, -$n_length - 1); 178 $r1 = substr($x, -$n_length - 1); 179 $r2 = substr(bcmul($temp, $n), -$n_length - 1);
|
| /dokuwiki/vendor/openpsa/universalfeedcreator/lib/Creator/ |
| H A D | FeedCreator.php | 106 $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";
|
| /dokuwiki/vendor/splitbrain/php-jsstrip/src/ |
| H A D | JSStrip.php | 77 if (substr($source, $idx, $endC + 2 - $idx) == '/* BEGIN NOCOMPRESS */') { 96 …$result .= "\n" . trim(substr($source, $idx + 22, $endNC - ($idx + 22))) . "\n"; // BEGIN comment … 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($this->source, $this->idx, 15);
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Traits/ |
| H A D | Fingerprint.php | 50 return substr($base, 0, strlen($base) - 1); 52 return substr(chunk_split(md5($key), 2, ':'), 0, -1);
|
| /dokuwiki/vendor/paragonie/constant_time_encoding/src/ |
| H A D | Binary.php | 88 return \substr($str, $start, $length); 90 return \substr($str, $start);
|
| /dokuwiki/_test/tests/general/ |
| H A D | general_languagelint.test.php | 40 if(substr($content,0,5) != '<?php') 43 if(substr($content,-2) == '?>')
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/ |
| H A D | SymmetricKey.php | 945 $this->setKey(substr($key, 0, $keylen)); 946 $this->setIV(substr($key, $keylen)); 1013 $s = substr($s, 0, $blockLength); 1021 $p = substr($p, 0, $blockLength); 1039 $key = substr($t, 0, $dkLen); 1041 $this->setKey(substr($key, 0, $dkLen >> 1)); 1043 $this->setIV(substr($key, $dkLen >> 1)); 1058 $key = substr($key, 0, $dkLen); 1108 $b = substr($b, 0, $blockLength); 1112 $temp = substr($i, $k, $blockLength); [all …]
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Common/Functions/ |
| H A D | Strings.php | 40 $substr = substr($string, 0, $index); 41 $string = substr($string, $index); 42 return $substr; 56 $substr = substr($string, -$index); 57 $string = substr($string, 0, -$index); 58 return $substr; 241 … $format .= substr($parts[$i - 1], 0, -1) . str_repeat(substr($parts[$i - 1], -1), $parts[$i]); 381 $temp = substr($var, -$i, 4); 402 $temp = unpack('Nnum', str_pad(substr($var, 0, $remainder), 4, "\0", STR_PAD_LEFT)); 403 $temp = substr(pack('N', $temp['num'] + 1), -$remainder);
|
| /dokuwiki/vendor/simplepie/simplepie/src/XML/Declaration/ |
| H A D | Parser.php | 198 $quote = substr($this->data, $this->position, 1); 203 $value = substr($this->data, $this->position, $len); 222 if (substr($this->data, $this->position, 7) === 'version') { 233 if (substr($this->data, $this->position, 1) === '=') { 258 if (substr($this->data, $this->position, 8) === 'encoding') { 269 if (substr($this->data, $this->position, 1) === '=') { 294 if (substr($this->data, $this->position, 10) === 'standalone') { 305 if (substr($this->data, $this->position, 1) === '=') {
|
| /dokuwiki/_test/tests/inc/ |
| H A D | utf8_substr.test.php | 24 … $this->assertEquals(\dokuwiki\Utf8\PhpString::substr($test[0],$test[1],$test[2]),$test[3]); 37 … $this->assertEquals(\dokuwiki\Utf8\PhpString::substr($test[0],$test[1],$test[2]),$test[3]);
|
| /dokuwiki/vendor/simplepie/simplepie/src/HTTP/ |
| H A D | Parser.php | 224 … if (strpos($this->data, "\x0A") !== false && strtoupper(substr($this->data, 0, 5)) === 'HTTP/') { 226 $this->http_version = substr($this->data, 5, $len); 246 $this->status_code = (int) substr($this->data, $this->position, $len); 260 $this->reason = trim(substr($this->data, $this->position, $len), "\x09\x0D\x20"); 282 if (substr($this->data[$this->position], 0, 2) === "\x0D\x0A") { 304 $this->name = substr($this->data, $this->position, $len); 319 if (substr($this->data, $this->position, 2) === "\x0D\x0A") { 369 $this->value .= substr($this->data, $this->position, $len); 411 $this->value .= substr($this->data, $this->position, $len); 431 $this->body = substr($this->data, $this->position); [all …]
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Signature/ |
| H A D | SSH2.php | 50 'r' => new BigInteger(substr($blob, 0, 20), 256), 51 's' => new BigInteger(substr($blob, 20), 256)
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Signature/ |
| H A D | IEEE.php | 46 $r = new BigInteger(substr($sig, 0, $len >> 1), 256); 47 $s = new BigInteger(substr($sig, $len >> 1), 256);
|
| /dokuwiki/inc/File/ |
| H A D | PageResolver.php | 65 } 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 D | TableFormatter.php | 134 if (substr($col, -1) == '%') { 154 if (substr($col, -1) != '%') { 271 protected function substr($string, $start = 0, $length = null) function in splitbrain\\phpcli\\TableFormatter 278 return substr($string, $start, $length); 280 return substr($string, $start); 327 $line .= $this->substr($actual, 0, $width) . $break; 328 $actual = $color . $this->substr($actual, $width);
|
| /dokuwiki/vendor/kissifrot/php-ixr/src/Message/ |
| H A D | Message.php | 36 $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")); 76 $part = substr($this->message, 0, $chunk_size); 77 $this->message = substr($this->message, $chunk_size);
|
| /dokuwiki/_test/tests/inc/parser/ |
| H A D | parser_media.test.php | 76 $this->assertEquals($a_first_part, substr($url, $substr_start, $substr_len)); 81 $this->assertEquals($a_second_part, substr($url, $substr_start, $substr_len)); 85 $this->assertEquals($rest, substr($url, $substr_start)); 109 $this->assertEquals($video, substr($url, $substr_start, $substr_len)); 133 $this->assertEquals($rest, substr($url, $substr_start)); 144 $this->assertEquals(hsc($title), substr($url, 28, 37));
|