Home
last modified time | relevance | path

Searched refs:length (Results 1 – 25 of 74) sorted by last modified time

123

/dokuwiki/inc/
H A Dutf8.php100 function utf8_substr($str, $offset, $length = null)
103 return PhpString::substr($str, $offset, $length);
109 function utf8_substr_replace($string, $replacement, $start, $length = 0)
112 return PhpString::substr_replace($string, $replacement, $start, $length);
99 utf8_substr($str, $offset, $length = null) global() argument
108 utf8_substr_replace($string, $replacement, $start, $length = 0) global() argument
/dokuwiki/lib/tpl/dokuwiki/
H A Dscript.js41 if($handle.length) {
45 if($toc.length) {
51 if($handle.length) {
55 if($toc.length) {
73 // increase sidebar length to match content (desktop mode only)
/dokuwiki/lib/scripts/jquery/
H A Djquery.cookie.js85 for (var i = 0, l = cookies.length; i < l; i++) {
H A Djquery.min.js2 !function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,y=n.hasOwnProperty,a=y.toString,l=a.call(Object),v={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=function(e){return null!=e&&e===e.window},E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.6.4",S=function(e,t){return new S.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}S.fn=S.prototype={jquery:f,constructor:S,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=S.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return S.each(this,e)},map:function(n){return this.pushStack(S.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(S.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(S.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:t.sort,splice:t.splice},S.extend=S.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||m(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(S.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||S.isPlainObject(n)?n:{},i=!1,a[t]=S.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},S.extend({expando:"jQuery"+(f+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==o.call(e))&&(!(t=r(e))||"function"==typeof(n=y.call(t,"constructor")&&t.constructor)&&a.call(n)===l)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){b(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(p(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(p(Object(e))?S.merge(n,"string"==typeof e?[e]:e):u.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:i.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length
[all...]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DRSA.php116 * Uses sha256 and 0 as the salt length
202 * Modulus length
524 throw new \OutOfRangeException('Resultant string length out of range');
549 * @throws \LengthException if the intended encoded message length is too short
590 throw new \LengthException('Intended encoded message length too short');
649 throw new \LengthException('Intended encoded message length too short');
774 * Determines the salt length
780 * Typical salt lengths in octets are hLen (the length of the output
793 * Returns the salt length currently being used
900 * multi-prime RSA nor is it used if the key length i
2149 _encodeLength($length) global() argument
[all...]
H A DRandom.php39 * @param int $length
43 public static function string($length)
45 if (!$length) {
50 return random_bytes($length);
171 //return $crypto->encrypt(str_repeat("\0", $length));
182 while (strlen($result) < $length) {
189 return substr($result, 0, $length);
46 string($length) global() argument
H A DRijndael.php12 * {@link self::setKey() setKey()}. ie. if the key is 128-bits, the key length will be 128-bits. If it's
13 * 136-bits it'll be null-padded to 192-bits and 192 bits will be the key length until
16 * Not all Rijndael implementations may support 160-bits or 224-bits as the block length / key length. mcrypt, for example,
174 * Sets the key length.
189 * @throws \LengthException if the key length is invalid
190 * @param int $length
192 public function setKeyLength($length)
194 switch ($length) {
200 $this->key_length = $length >>
191 setKeyLength($length) global() argument
222 setBlockLength($length) global() argument
[all...]
H A DTwofish.php388 * Sets the key length.
392 * @param int $length
394 public function setKeyLength($length)
396 switch ($length) {
402 throw new \LengthException('Key of size ' . $length . ' not supported by this algorithm. Only keys of sizes 16, 24 or 32 supported');
405 parent::setKeyLength($length);
415 * @throws \LengthException if the key length isn't supported argument
/dokuwiki/inc/Parsing/Lexer/
H A DLexer.php140 $length = $initialLength;
149 if ($currentLength === $length) {
152 $length = $currentLength;
/dokuwiki/lib/scripts/
H A Dcookie.js66 for(i = 0; i < parts.length; i += 2){
H A Dedit.js182 return 7 - s.match(/^={2,6}/)[0].length;
205 if($dwform.length === 0) {
228 if ($editform.length == 0) {
233 if ($edit_text.length > 0) {
292 if ($edit_text.length > 0) {
H A Deditor.js18 if($editor.length === 0) {
44 if($ctl.length === 0 || $textarea.length === 0) {
170 var spaces = match[1].length-1;
H A Dhotkeys.js228 if (o.length !== undefined) {
230 for (n=0, l = o.length; n < l; n++) {
/dokuwiki/vendor/simplepie/simplepie/src/HTTP/
H A DParser.php134 * Input data length (to avoid calling strlen() everytime this is needed)
462 $length = hexdec(trim($matches[1]));
463 if ($length === 0) {
471 $decoded .= substr($encoded, $chunk_length, $length);
472 $encoded = substr($encoded, $chunk_length + $length + 2);
/dokuwiki/vendor/kissifrot/php-ixr/src/Client/
H A DClient.php70 $length = $request->getLength();
79 $this->headers['Content-Length'] = $length;
H A DClientSSL.php133 $length = $request->getLength();
164 "Content-length: {$length}"
/dokuwiki/vendor/simplepie/simplepie/src/
H A DMisc.php1756 $length = strlen($string);
1761 while ($position < $length && ($pos = strpos($string, '(', $position)) !== false) {
1766 while ($depth && $position < $length) {
H A DParser.php94 if ($result->length !== 0) {
/dokuwiki/vendor/simplepie/simplepie/src/Parse/
H A DDate.php760 $length = strlen($string);
765 while ($position < $length && ($pos = strpos($string, '(', $position)) !== false) {
770 while ($depth && $position < $length) {
/dokuwiki/inc/Search/
H A DIndexer.php762 * @param array $result Set to word => array("length*id" ...)
763 * @return array Set to length => array(id ...)
805 // $tokenlength = array( base word length => base word ... )
806 // $tokenwild = array( base word => base word length ... )
878 * @param int $minlen minimum length of words to count
918 foreach ($lengths as $length) {
919 if ($length < $minlen) continue;
920 $index = $this->getIndex('i', $length);
926 $words = $this->getIndex('w', $length);
1165 foreach ($lengths as $length) {
[all...]
/dokuwiki/vendor/splitbrain/php-archive/src/
H A DTar.php436 * @param int $length bytes to read
439 protected function readbytes($length) argument
442 return @gzread($this->fh, $length);
444 return @bzread($this->fh, $length);
446 return @fread($this->fh, $length);
532 // handle filename length restrictions
586 throw new ArchiveCorruptedException('Unexpected length of header');
/dokuwiki/vendor/openpsa/universalfeedcreator/lib/Creator/
H A DFeedCreator.php88 * Truncates a string to a certain length at the most sensible point.
92 * If the string is already shorter than $length, it is returned unchanged.
95 * @param int $length the maximum length the string should be truncated to argument
98 public static function iTrunc($string, $length)
100 if (strlen($string) <= $length) {
105 if ($pos >= $length - 4) {
106 $string = substr($string, 0, $length - 4);
109 if ($pos >= $length * 0.4) {
114 if ($pos >= $length
[all...]
/dokuwiki/vendor/splitbrain/php-cli/
H A DREADME.md100 its ``format()`` method. Please note that you can not pass colored texts in the second parameters (text length calculation
/dokuwiki/vendor/splitbrain/php-cli/src/
H A DTableFormatter.php232 * Pad the given string to the correct length
248 * Measures char length in UTF-8 when possible
268 * @param int|null $length
271 protected function substr($string, $start = 0, $length = null) argument
274 return mb_substr($string, $start, $length);
276 // mb_substr() treats $length differently than substr()
277 if ($length) {
278 return substr($string, $start, $length);
/dokuwiki/lib/plugins/extension/
H A Dscript.js28 if(!$lightbox.length){
55 extension = extension.substr(0, extension.length - 1);
97 if($details.length){

123