| /dokuwiki/inc/Utf8/ |
| H A D | PhpString.php | 30 $suflen = strlen($suffix); 49 * @see strlen() 51 public static function strlen($string) function in dokuwiki\\Utf8\\PhpString 63 return strlen(utf8_decode($string)); 66 return strlen($string); 120 $strlen = self::strlen($str); // see notes 121 $offset = $strlen + $offset; 140 if (!isset($strlen)) $strlen = self::strlen($str); // see notes 141 if ($offset > $strlen) return ''; // another trivial case 145 $length = min($strlen - $offset, $length); [all …]
|
| H A D | Clean.php | 34 $len = strlen($str); 66 $len = strlen($str); 133 $str = substr($str, strlen($matches[0])); 192 $limit = strlen($str);
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/BinaryField/ |
| H A D | Integer.php | 69 if (!strlen($num)) { 131 $length = max(strlen($a), strlen($b)); 149 $xlen = $xbit == '0' ? 0 : strlen($xbit); 150 $len = strlen($x); 154 return 8 * strlen($x) - 9 + $xlen; 174 $length = max(strlen($s), strlen($q)); 179 $length = max(strlen($r), strlen($s)); 198 if (strlen($x) == strlen($y)) { 199 $length = strlen($x); 201 $length = max(strlen($x), strlen($y)); [all …]
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/System/SSH/Common/Traits/ |
| H A D | ReadBytes.php | 32 if (strlen($temp) != $length) { 33 throw new \RuntimeException("Expected $length bytes; got " . strlen($temp));
|
| /dokuwiki/_test/tests/inc/parser/ |
| H A D | parser_media.test.php | 75 $substr_len = strlen($a_first_part); 80 $substr_len = strlen($a_second_part); 84 $substr_start = strlen($url) - strlen($rest); 108 $substr_len = strlen($video); 118 $substr_start = strpos($url, $source_ogv, $substr_start + strlen($source_webm)); 123 $substr_start = strpos($url, $a_webm, $substr_start + strlen($source_ogv)); 128 $substr_start = strpos($url, $a_ogv, $substr_start + strlen($a_webm)); 132 $substr_start = strlen($url) - strlen($rest);
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Common/Functions/ |
| H A D | Strings.php | 86 for ($i = 0; $i < strlen($format); $i++) { 90 if (!strlen($data)) { 98 if (strlen($data) < 4) { 103 if (strlen($data) < 8) { 137 if (strlen($data) < $length) { 138 … throw new \LengthException("$length bytes needed; " . strlen($data) . ' bytes available'); 166 if (strlen($format) != count($elements)) { 170 for ($i = 0; $i < strlen($format); $i++) { 205 $result .= pack('Na*', strlen($element), $element); 212 $result .= pack('Na*', strlen($element), $element); [all …]
|
| /dokuwiki/inc/Parsing/ParserMode/ |
| H A D | Acronym.php | 37 if (strlen($this->pattern) > 0) { 58 $a_len = strlen($a); 59 $b_len = strlen($b);
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/ |
| H A D | AES.php | 105 switch (strlen($key)) { 111 …throw new \LengthException('Key of size ' . strlen($key) . ' not supported by this algorithm. Only…
|
| H A D | TripleDES.php | 243 if ($this->explicit_key_length !== false && strlen($key) != $this->explicit_key_length) { 244 … been set to ' . $this->explicit_key_length . ' bytes and this key is ' . strlen($key) . ' bytes'); 247 switch (strlen($key)) { 254 …throw new \LengthException('Key of size ' . strlen($key) . ' not supported by this algorithm. Only… 259 $this->key_length = strlen($key); 283 if ($this->mode_3cbc && strlen($this->key) > 8) { 305 if ($this->mode_3cbc && strlen($this->key) > 8) { 310 str_pad($ciphertext, (strlen($ciphertext) + 7) & 0xFFFFFFF8, "\0") 396 case strlen($this->key) <= 8:
|
| H A D | Salsa20.php | 105 switch (strlen($key)) { 110 …throw new \LengthException('Key of size ' . strlen($key) . ' not supported by this algorithm. Only… 123 if (strlen($nonce) != 8) { 124 …throw new \LengthException('Nonce of size ' . strlen($key) . ' not supported by this algorithm. On… 211 if (strlen($key) == 16) { 271 if ($this->oldtag != substr($newtag, 0, strlen($this->oldtag))) { 338 if (!strlen($buffer['ciphertext'])) { 341 $ciphertext = $text ^ Strings::shift($buffer['ciphertext'], strlen($text)); 342 $text = substr($text, strlen($ciphertext)); 343 if (!strlen($text)) { [all …]
|
| /dokuwiki/vendor/simplepie/simplepie/library/SimplePie/Decode/HTML/ |
| H A D | Entities.php | 205 $consumed_length = strlen($this->consumed); 207 $this->position += strlen($replacement) - $consumed_length; 589 …str_replace($this->data, $entities[$match], $this->position - strlen($consumed) - 1, strlen($match… 590 $this->position += strlen($entities[$match]) - strlen($consumed) - 1;
|
| /dokuwiki/vendor/splitbrain/php-cli/src/ |
| H A D | TableFormatter.php | 122 $border = $this->strlen($this->border); 240 $strlen = $this->strlen($string); 241 if ($strlen > $len) return $string; 243 $pad = $len - $strlen; 253 protected function strlen($string) function in splitbrain\\phpcli\\TableFormatter 262 return strlen($string); 299 if ($this->strlen($line) <= $width) { 318 if ($this->strlen($actual . $word) <= $width) { 326 while ($this->strlen($actual) > $width) {
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/ |
| H A D | SymmetricKey.php | 724 if (strlen($iv) != $this->block_size) { 725 …throw new \LengthException('Received initialization vector of size ' . strlen($iv) . ', but size '… 764 if (!is_string($key) || strlen($key) != 32) { 873 if (is_string($this->key) && strlen($this->key) != $this->explicit_key_length) { 895 if ($this->explicit_key_length !== false && strlen($key) != $this->explicit_key_length) { 896 … been set to ' . $this->explicit_key_length . ' bytes and this key is ' . strlen($key) . ' bytes'); 900 $this->key_length = strlen($key); 1008 if (strlen($salt)) { 1009 while (strlen($s) < $blockLength) { 1016 if (strlen($password)) { [all …]
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/ |
| H A D | BinaryField.php | 97 $length = strlen($t1); 107 if (strlen($c) == $t) { 153 return strlen(Integer::getModulo($this->instanceID)); 163 return strlen(Integer::getModulo($this->instanceID)) << 3; 177 $pad = strlen($x) >> 3; 178 if (strlen($x) & 3) {
|
| /dokuwiki/vendor/openpsa/universalfeedcreator/lib/Creator/ |
| H A D | MBOXCreator.php | 37 $linlen = strlen($line); 49 if ((strlen($newline) + strlen($c)) >= $line_max) { // CRLF is not counted 108 return substr($fileInfo["basename"], 0, -(strlen($fileInfo["extension"]) + 1)).".mbox";
|
| H A D | JSCreator.php | 42 return substr($fileInfo["basename"], 0, -(strlen($fileInfo["extension"]) + 1)).".js";
|
| /dokuwiki/inc/ |
| H A D | compatibility.php | 97 return 0 === strncmp($haystack, $needle, \strlen($needle)); 127 $needleLength = \strlen($needle); 129 …return $needleLength <= \strlen($haystack) && 0 === substr_compare($haystack, $needle, -$needleLen…
|
| /dokuwiki/lib/plugins/authad/adLDAP/classes/ |
| H A D | adLDAPUtils.php | 70 if (strlen($line)>0) { 75 $groupArray[] = substr($bits[0], 3, (strlen($bits[0])-3)); 131 for ($i=16; $i<=(strlen($strGUID)-2); $i++) { 172 for ($x = strlen($hex) - 2; $x >= 0; $x = $x - 2) { 236 for ($i=0; $i<strlen($item); $i++) {
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/ |
| H A D | PublicKey.php | 76 if (strlen($s) != $this->k) { 143 if (strlen($s) != $this->k) { 169 if (!is_array($decoded) || empty($decoded[0]) || strlen($em) > $decoded[0]['length']) { 238 if ($em[strlen($em) - 1] != chr(0xBC)) { 274 if (strlen($s) != $this->k) { 280 $modBits = strlen($this->modulus->toBits()); 327 $mLen = strlen($m); 339 while (strlen($ps) != $psLen) { 340 $temp = Random::string($psLen - strlen($ps)); 369 $mLen = strlen($m); [all …]
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/ |
| H A D | MSBLOB.php | 85 if (strlen($key) < 20) { 141 if (strlen($key) != 2 * $baseLength && strlen($key) != 9 * $baseLength) { 199 $key .= pack('VVa*', self::RSA2, 8 * strlen($n), $e); 223 $key .= pack('VVa*', self::RSA1, 8 * strlen($n), $e);
|
| /dokuwiki/lib/plugins/config/core/Setting/ |
| H A D | SettingSepchar.php | 14 for ($i = 0; $i < strlen($str); $i++) $this->choices[] = $str[$i];
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/BCMath/Reductions/ |
| H A D | Barrett.php | 67 $m_length = strlen($m); 69 if (strlen($n) > 2 * $m_length) { 161 $n_length = strlen($n); 163 if (strlen($x) > 2 * $n_length) {
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/ |
| H A D | libsodium.php | 48 switch (strlen($key)) { 108 if (strlen($secret) != 32) {
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/ |
| H A D | PuTTY.php | 79 while (strlen($symkey) < $length) { 154 $in_value = $line[strlen($line) - 1] == '\\'; 159 $in_value = $line[strlen($line) - 1] == '\\'; 180 if (Strings::shift($key[0], strlen('PuTTY-User-Key-File-')) != 'PuTTY-User-Key-File-') { 299 $key .= "Public-Lines: " . ((strlen($public) + 63) >> 6) . "\r\n"; 314 $private .= Random::string(16 - (strlen($private) & 15)); 349 $key .= 'Private-Lines: ' . ((strlen($private) + 63) >> 6) . "\r\n"; 367 $key = pack('Na*a*', strlen($type), $type, $key);
|
| /dokuwiki/vendor/splitbrain/php-archive/src/ |
| H A D | Zip.php | 162 if (!strlen($fileinfo->getPath()) || !$fileinfo->matchExpression($include, $exclude)) { 361 $csize += strlen($c_block); 367 $size += strlen($block); 417 $size = strlen($data); 423 $csize = strlen($data); 487 $this->writebytes(pack('V', strlen($ctrldir))); // size of the central directory 684 while (strlen($header) !== 0) { 794 $written = strlen($data); 815 $written = strlen($data); 838 return strlen($this->memory); [all …]
|