Home
last modified time | relevance | path

Searched refs:strlen (Results 1 – 25 of 101) sorted by relevance

12345

/dokuwiki/inc/Utf8/
H A DPhpString.php30 $suflen = strlen($suffix);
39 * Unicode aware replacement for strlen()
49 * @see strlen()
51 public static function strlen($string)
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))
52 public static function strlen($string) global() function in dokuwiki\\Utf8\\PhpString
[all...]
H A DClean.php34 $len = strlen($str);
66 $len = strlen($str);
133 $str = substr($str, strlen($matches[0]));
192 $limit = strlen($str);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/System/SSH/Agent/
H A DIdentity.php277 if (strlen($packet) != fputs($this->fsock, $packet)) {
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/System/SSH/
H A DAgent.php165 if (strlen($packet) != fputs($this->fsock, $packet)) {
261 $this->expected_bytes -= strlen($data);
264 $current_data_bytes = strlen($data);
272 if (strlen($this->socket_buffer) != fwrite($this->fsock, $this->socket_buffer)) {
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSSH2.php1398 if (strlen($temp) == 255) {
1433 if (strlen($extra)) {
1461 if (is_bool($response) || !strlen($response) || ord($response[0]) != NET_SSH2_MSG_KEXINIT) {
1613 || !strlen($kexinit_payload_server)
1798 $data = pack('CNa*', constant($clientKexInitMessage), strlen($ourPublicBytes), $ourPublicBytes);
1833 if (strlen($this->signature) < 4) {
1907 $keyBytes = pack('Na*', strlen($keyBytes), $keyBytes);
1921 while ($this->encrypt_block_size > strlen($iv)) {
1941 while ($encryptKeyLength > strlen($key)) {
1966 while ($this->decrypt_block_size > strlen(
[all...]
H A DSFTP.php841 if (!strlen($path) || $path[0] != '/') {
887 if (!strlen($path) || $path[0] != '/') {
894 if (!strlen($dir)) {
928 } elseif ($dir[strlen($dir) - 1] != '/') {
1696 $packet = pack('Na*', strlen($filename), $filename);
2209 $size = strlen($data);
2217 $sftp_packet_size -= strlen($handle) + 25;
2233 $packet = pack('Na*N3a*', strlen($handle), $handle, $subtemp / 4294967296, $subtemp, strlen($temp), $temp);
2242 $sent += strlen(
[all...]
H A DSSH1.php
H A DSCP.php
/dokuwiki/inc/Parsing/ParserMode/
H A DAcronym.php37 if (strlen($this->pattern) > 0) {
58 $a_len = strlen($a);
59 $b_len = strlen($b);
H A DWordblock.php42 if (strlen($this->pattern) > 0) {
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/Decode/HTML/
H A DEntities.php206 $consumed_length = strlen($this->consumed);
208 $this->position += strlen($replacement) - $consumed_length;
590 $this->data = substr_replace($this->data, $entities[$match], $this->position - strlen($consumed) - 1, strlen($match) + 1);
591 $this->position += strlen($entities[$match]) - strlen($consumed) - 1;
/dokuwiki/vendor/splitbrain/php-cli/src/
H A DTableFormatter.php122 $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);
298 if ($this->strlen($line) <= $width) {
305 if ($this->strlen($actual . $word) <= $width) {
313 while ($this->strlen(
[all...]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DRSA.php523 if (strlen($x) > $xLen) {
587 $tLen = strlen($t);
646 $tLen = strlen($t);
H A DBase.php
H A DTripleDES.php232 * Triple DES can use 128-bit (eg. strlen($key) == 16) or 192-bit (eg. strlen($key) == 24) keys.
243 if ($this->explicit_key_length !== false && strlen($key) != $this->explicit_key_length) {
244 throw new \LengthException('Key length has already 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 keys of sizes 16 or 24 are supported');
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(
[all...]
H A DAES.php105 switch (strlen($key)) {
111 throw new \LengthException('Key of size ' . strlen($key) . ' not supported by this algorithm. Only keys of sizes 16, 24 or 32 supported');
/dokuwiki/vendor/openpsa/universalfeedcreator/lib/Creator/
H A DMBOXCreator.php37 $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 DJSCreator.php42 return substr($fileInfo["basename"], 0, -(strlen($fileInfo["extension"]) + 1)).".js";
/dokuwiki/lib/plugins/authad/adLDAP/classes/
H A DadLDAPUtils.php70 if (strlen($line)>0) {
75 $groupArray[] = substr($bits[0], 3, (strlen($bits[0])-3));
130 //$octet_str .= '\\' . substr($strGUID, 16, strlen($strGUID));
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/lib/plugins/config/core/Setting/
H A DSettingSepchar.php14 for ($i = 0; $i < strlen($str); $i++) $this->choices[] = $str[$i];
/dokuwiki/vendor/splitbrain/php-archive/src/
H A DZip.php162 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(
[all...]
/dokuwiki/vendor/simplepie/simplepie/src/Net/
H A DIPv6.php151 if (strlen($match[0]) > $max) {
152 $max = strlen($match[0]);
213 if (strlen($ipv6_part) > 4) {
/dokuwiki/inc/Ui/Media/
H A DDisplay.php119 $id = substr($id, strlen($this->relativeDisplay));
/dokuwiki/inc/
H A Dmail.php126 $iLength = strlen($sLine);
/dokuwiki/vendor/kissifrot/php-ixr/src/Request/
H A DRequest.php41 return strlen($this->xml);

12345