Home
last modified time | relevance | path

Searched refs:strlen (Results 51 – 75 of 101) sorted by last modified time

12345

/dokuwiki/vendor/marcusschwarz/lesserphp/
H A Dlessc.inc.php
/dokuwiki/bin/
H A Dwantedpages.php134 $trunclen = strlen($conf['datadir'] . ':');
/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";
/dokuwiki/inc/Ui/
H A DSearch.php352 $baseNSLength = strlen($baseNS);
361 $firstColon = strpos((string)$namespace, ':', $baseNSLength + 1) ?: strlen($namespace);
/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...]
/dokuwiki/inc/
H A Dauth.php356 substr($pip, 0, strlen($pip) / 2), // use half of the IP address (works for both IPv4 and IPv6)
910 $data['password'] .= $c[auth_random(0, strlen($c) - 1)];
911 $data['password'] .= $v[auth_random(0, strlen($v) - 1)];
912 $data['password'] .= $a[auth_random(0, strlen($a) - 1)];
915 $data['password'] .= $s[auth_random(0, strlen($s) - 1)] . auth_random(10, 99);
H A DJpegMeta.php431 if(strlen($field) >= 8 && str_starts_with(strtolower($field), 'datetime')) {
432 if(strlen($value) < 8 || $value[4] != ':' || $value[7] != ':') {
1224 $this->_writeJPEGMarker(0xE1, strlen($exif), $exif, 0);
1234 $this->_writeJPEGMarker(0xED, strlen($adobe), $adobe, 0);
1242 $length = strlen($data);
1300 fputs($this->_fpout, $data, strlen($data));
2042 if (strlen($entries[$i]['value']) > 4) {
2111 $value = strlen($this->_info['exif']['TIFFStrips']);
2124 $value = strlen($this->_info['exif']['JFIFThumbnail']);
2171 if (($count != 0) && (strlen(
[all...]
/dokuwiki/vendor/openpsa/universalfeedcreator/lib/Element/
H A DFeedDate.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
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');
H A DBase.php
H A DHash.php232 case strlen($nonce) > 0 && strlen($nonce) <= 16:
259 if (strlen($this->key) <= $this->getBlockLengthInBytes()) {
473 $last = strlen($nonce) - 1;
537 $b = strlen($m) <= 1024 ? "\0\0\0\0\0\0\0\0$a" : self::L2Hash($L2Key_i, $a);
578 $length = count($m) ? strlen($m[$i]) : 0;
607 //$t = strlen($m) >> 2;
680 if (strlen($m) <= 0x20000) { // 2^14 64-bit words
685 $length = strlen($m_2);
791 if (strlen(
[all...]
H A DRC2.php272 if ($this->current_key_length != 128 || strlen($this->orig_key) < 16) {
322 * strlen($key) <= 128), however, we only use the first 128 bytes if $key
344 if (strlen($key) < 1 || strlen($key) > 128) {
345 throw new \LengthException('Key of size ' . strlen($key) . ' not supported by this algorithm. Only keys of sizes between 8 and 1024 bits, inclusive, are supported');
348 $t = strlen($key);
377 $this->key_length = strlen($this->key);
H A DRC4.php151 $length = strlen($key);
222 $keyLength = strlen($key);
266 $len = strlen($text);
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...]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/File/
H A DANSI.php210 for ($i = 0; $i < strlen($source); $i++) {
211 if (strlen($this->ansi)) {
220 case strlen($this->ansi) == 2 && $chr >= 64 && $chr <= 95 && $chr != ord('['):
221 case strlen($this->ansi) > 2 && $chr >= 64 && $chr <= 126:
379 //if (!strlen($this->tokenization[count($this->tokenization) - 1])) {
386 if ($this->x > strlen($this->screen[$this->y])) {
H A DASN1.php266 $length = strlen($encoded) - $encoded_pos;
282 if ($length > (strlen($encoded) - $encoded_pos)) {
353 if ($constructed || strlen($content) != 1) {
378 $length -= (strlen($content) - $content_pos);
420 if ($constructed || strlen($content)) {
431 $content_len = strlen($content);
745 $size = (strlen($decoded['content']) - 1) * 8 - $offset;
755 for ($i = strlen($decoded['content']) - 1; $i > 0; $i--) {
935 $temp = $subtag . self::encodeLength(strlen($temp)) . $temp;
969 $temp = $subtag . self::encodeLength(strlen(
[all...]
H A DX509.php1144 if (strlen($line) < 3) {
1516 $size = strlen($ip) >> 1;
2806 $this->currentCert['publicKeyAndChallenge']['challenge'] = $this->challenge & str_repeat("\x7F", strlen($this->challenge));
3061 $temp = chr(ASN1::TYPE_GENERALIZED_TIME) . ASN1::encodeLength(strlen($temp)) . $temp;
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/
H A DBigInteger.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSCP.php
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...]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/SFTP/
H A DStream.php150 } elseif ($orig[strlen($orig) - 1] == '#') {
307 call_user_func($this->notification, STREAM_NOTIFY_PROGRESS, STREAM_NOTIFY_SEVERITY_INFO, '', 0, strlen($result), $this->size);
314 $this->pos += strlen($result);
339 call_user_func($this->notification, STREAM_NOTIFY_PROGRESS, STREAM_NOTIFY_SEVERITY_INFO, '', 0, strlen($data), strlen($data));
345 $this->pos += strlen($data);
350 return strlen($data);
/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/inc/Parsing/Handler/
H A DQuote.php83 $quoteLength = strlen($matches[0]);
/dokuwiki/vendor/simplepie/simplepie/
H A Dautoloader.php66 $len = strlen($prefix);
/dokuwiki/vendor/geshi/geshi/src/
H A Dgeshi.php719 $this->language_path = ('/' == $path[strlen($path) - 1]) ? $path : $path . '/';
2193 $length = strlen($code);
2226 'open_strlen' => strlen($open),
2229 'close_strlen' => strlen($close),
2268 'close_strlen' => strlen($matches_rx['end'][0]),
2276 'close_strlen' => strlen($matches_rx[2][0]),
2390 $hq_strlen = strlen($hq);
2487 $length = strlen($part);
2512 'length' => strlen($match[0][0]),
2540 if ($testchar === substr($part, $i, strlen(
[all...]

12345