| /dokuwiki/vendor/simplepie/simplepie/src/Content/Type/ |
| H A D | Sniffer.php | 72 $official = substr($content_type, 0, $pos); 81 } elseif (substr($official, -4) === '+xml' 85 } elseif (substr($official, 0, 6) === 'image/') { 110 if (substr($body, 0, 2) === "\xFE\xFF" 111 || substr($body, 0, 2) === "\xFF\xFE" 112 || substr($body, 0, 4) === "\x00\x00\xFE\xFF" 113 || substr($body, 0, 3) === "\xEF\xBB\xBF") { 132 if (strtolower(substr($body, $ws, 14)) === '<!doctype html' 133 || strtolower(substr($body, $ws, 5)) === '<html' 134 || strtolower(substr($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/vendor/paragonie/constant_time_encoding/src/ |
| H A D | Binary.php | 8 use function substr; alias 82 return substr($str, $start, $length); 84 return substr($str, $start);
|
| /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 | 172 if (substr($this->compressed_data, 0, 3) !== "\x1F\x8B\x08") { 188 $mtime = substr($this->compressed_data, $this->position, 4); 214 … $len = current((array) unpack('v', substr($this->compressed_data, $this->position, 2))); 221 $this->extra_field = substr($this->compressed_data, $this->position, $len); 237 $this->filename = substr($this->compressed_data, $this->position, $len); 253 $this->comment = substr($this->compressed_data, $this->position, $len); 266 … $crc = current((array) unpack('v', substr($this->compressed_data, $this->position, 2))); 269 … if ((crc32(substr($this->compressed_data, 0, $this->position)) & 0xFFFF) === $crc) { 280 … if (($data = gzinflate(substr($this->compressed_data, $this->position, -8))) === false) { 288 $crc = current((array) unpack('V', substr($this->compressed_data, $this->position, 4))); [all …]
|
| H A D | Misc.php | 306 $data = substr($data, 0, strcspn($data, $non_ascii_octets)); 1731 $output .= substr($data, 0, $start); 1783 $output .= substr($string, $position, $pos - $position); 1811 $output .= substr($string, $position); 1825 return trim(substr($mime, 0, $pos)); 1903 if (in_array(substr($type, -4), ['+xml', '/xml']) || substr($type, 0, 5) === 'text/') { 1934 $tokens[] = substr($string, $position, $len); 2008 if (substr($data, 0, 4) === "\x00\x00\xFE\xFF") { 2012 elseif (substr($data, 0, 4) === "\xFF\xFE\x00\x00") { 2016 elseif (substr($data, 0, 2) === "\xFE\xFF") { [all …]
|
| /dokuwiki/lib/scripts/ |
| H A D | editor.js | 139 var search = "\n"+this.value.substr(0,selection.start); 142 search = search.substr(linestart); 156 if (match2 && this.value.substr(selection.start).match(/^($|\r?\n)/)) { 157 this.value = this.value.substr(0, linestart) + "\n" + 158 this.value.substr(selection.start); 176 this.value = this.value.substr(0,linestart)+ 177 this.value.substr(linestart+2); 181 this.value = this.value.substr(0,linestart)+ 182 this.value.substr(selection.start); 194 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 | 106 $lsd = substr($n, -$cutoff); 107 $msd = substr($n, 0, -$cutoff); 116 $temp = substr($n, 0, -$m_length + 1); 122 $temp = substr($temp, 0, -($m_length >> 1) - 1); 143 return $correctionNeeded && $result != '0' ? substr($result, 0, -1) : $result; 176 $temp = substr($x, 0, -$n_length + 1); 178 $temp = substr($temp, 0, -$n_length - 1); 180 $r1 = substr($x, -$n_length - 1); 181 $r2 = substr(bcmul($temp, $n, 0), -$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/_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/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/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/ |
| H A D | SymmetricKey.php | 950 $this->setKey(substr($key, 0, $keylen)); 951 $this->setIV(substr($key, $keylen)); 1018 $s = substr($s, 0, $blockLength); 1026 $p = substr($p, 0, $blockLength); 1044 $key = substr($t, 0, $dkLen); 1046 $this->setKey(substr($key, 0, $dkLen >> 1)); 1048 $this->setIV(substr($key, $dkLen >> 1)); 1063 $key = substr($key, 0, $dkLen); 1113 $b = substr($b, 0, $blockLength); 1117 $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; 243 … $format .= substr($parts[$i - 1], 0, -1) . str_repeat(substr($parts[$i - 1], -1), $parts[$i]); 385 $temp = substr($var, -$i, 4); 406 $temp = unpack('Nnum', str_pad(substr($var, 0, $remainder), 4, "\0", STR_PAD_LEFT)); 407 $temp = substr(pack('N', $temp['num'] + 1), -$remainder);
|
| /dokuwiki/vendor/simplepie/simplepie/src/XML/Declaration/ |
| H A D | Parser.php | 161 $quote = substr($this->data, $this->position, 1); 166 $value = substr($this->data, $this->position, $len); 185 if (substr($this->data, $this->position, 7) === 'version') { 196 if (substr($this->data, $this->position, 1) === '=') { 222 if (substr($this->data, $this->position, 8) === 'encoding') { 233 if (substr($this->data, $this->position, 1) === '=') { 259 if (substr($this->data, $this->position, 10) === 'standalone') { 270 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/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));
|
| /dokuwiki/vendor/simplepie/simplepie/src/HTTP/ |
| H A D | Parser.php | 194 … if (strpos($this->data, "\x0A") !== false && strtoupper(substr($this->data, 0, 5)) === 'HTTP/') { 196 $http_version = substr($this->data, 5, $len); 217 $this->status_code = (int) substr($this->data, $this->position, $len); 232 $this->reason = trim(substr($this->data, $this->position, $len), "\x09\x0D\x20"); 285 if (substr($this->data[$this->position], 0, 2) === "\x0D\x0A") { 308 $this->name = substr($this->data, $this->position, $len); 324 if (substr($this->data, $this->position, 2) === "\x0D\x0A") { 376 $this->value .= substr($this->data, $this->position, $len); 420 $this->value .= substr($this->data, $this->position, $len); 442 $this->body = substr($this->data, $this->position); [all …]
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/ |
| H A D | Salsa20.php | 162 $this->setPoly1305Key(substr($block, 0, 32)); 218 $this->p1 = substr($constant, 0, 4) . 219 substr($key, 0, 16) . 220 substr($constant, 4, 4) . 223 $this->p2 = substr($constant, 8, 4) . 224 substr($key, 16, 16) . 225 substr($constant, 12, 4); 271 if ($this->oldtag != substr($newtag, 0, strlen($this->oldtag))) { 342 $text = substr($text, strlen($ciphertext)); 375 $buffer['ciphertext'] = substr($temp, $overflow);
|