Home
last modified time | relevance | path

Searched refs:length (Results 26 – 50 of 74) sorted by path

123

/dokuwiki/lib/scripts/
H A Dmedia.js34 if (!$tree.length) return;
117 if ($options.length === 0) {
253 opts += (opts.length) ? '&' : '?';
299 if (!$file.length || !$name.length) {
329 if ($content.length === 0) {
347 } else if ($link.closest('form').length > 0) {
361 if (!$form.length) return;
430 } else if ($link.closest('form').length > 0) {
472 if ($container.length
[all...]
H A Dpage.js39 while ($tgt.length > 0 && !($tgt.hasClass('sectionedit' + nr) || $tgt.find('.sectionedit' + nr).length)) {
82 if($fndiv.length === 0){
113 if (!$content.length) {
148 if(!$handle.length) return;
150 if(!$content.length) return;
H A Dqsearch.js32 if (dw_qsearch.$inObj.length === 0 ||
33 dw_qsearch.$outObj.length === 0) {
132 var start, length, replace, nsL, nsR, eli, runaway;
149 length = 2;
153 length = 1;
159 length = 1;
163 replace, start, length);
H A Dsearch.js5 if (!$searchForm.length) {
H A Dtextselection.js79 selection.obj.value.substring(selection.end, selection.obj.value.length);
84 selection.end = selection.start + text.replace(/\r?\n/g, '\r\n').length;
86 selection.end = selection.start + text.length;
117 if(text.charAt(text.length - 1) == ' '){
126 startofs: tagOpen.length,
127 endofs: tagClose.length
H A Dtoolbar.js23 if ($toolbar.length == 0 || $edit.length == 0 || $edit.attr('readOnly')) {
116 startofs: props.open.length,
117 endofs: props.close.length
H A Dtree.js74 if ($sublist.length > 0) {
/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/vendor/composer/
H A DClassLoader.php248 $length = strlen($prefix);
249 if ('\\' !== $prefix[$length - 1]) {
252 $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
303 $length = strlen($prefix);
304 if ('\\' !== $prefix[$length - 1]) {
307 $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
/dokuwiki/vendor/geshi/geshi/
H A DCHANGELOG618 - Code cleanup by using direct string indexing instead of substr with length 1 (Milian Wolff)
/dokuwiki/vendor/geshi/geshi/src/
H A Dgeshi.php2193 $length = strlen($code);
2214 while ($i < $length) {
2215 $next_match_pos = $length + 1; // never true
2299 if ($next_match_pos > $length) {
2317 if ($i == $length) {
2487 $length = strlen($part);
2488 for ($i = 0; $i < $length; ++$i) {
2495 $next_comment_regexp_pos = $length;
2512 'length' => strlen($match[0][0]),
2583 $next_escape_regexp_pos = $length;
[all...]
/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/kissifrot/php-ixr/src/Server/
H A DServer.php115 $length = strlen($xml);
117 header('Content-Length: ' . $length);
/dokuwiki/vendor/openpsa/universalfeedcreator/
H A DLICENSE265 functions (ten lines or less in length), then the use of the object
/dokuwiki/vendor/openpsa/universalfeedcreator/lib/Creator/
H A DAtomCreator10.php143 $feed .= " <link rel=\"enclosure\" href=\"".$this->items[$i]->enclosure->url."\" type=\"".$this->items[$i]->enclosure->type."\" length=\"".$this->items[$i]->enclosure->length."\"";
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/phpseclib/phpseclib/phpseclib/Crypt/
H A DAES.php15 * {@link self::setKey() setKey()}. ie. if the key is 128-bits, the key length will be 128-bits. If it's 136-bits
16 * it'll be null-padded to 192-bits and 192 bits will be the key length until {@link self::setKey() setKey()}
21 * however possible, won't do anything (AES has a fixed block length whereas Rijndael has a variable one).
63 * @param int $length
66 public function setBlockLength($length)
68 throw new \BadMethodCallException('The block length cannot be set for AES.');
72 * Sets the key length
74 * Valid key lengths are 128, 192, and 256. Set the link to bool(false) to disable a fixed key length
77 * @param int $length
78 * @throws \LengthException if the key length is
70 setBlockLength($length) global() argument
85 setKeyLength($length) global() argument
[all...]
H A DBase.php
H A DBlowfish.php41 * of data. The average length of back to back _encryptBlock() calls with a fixed P-array is
70 * supports variable length keys, in bcrypt, the initial "key" is the sha512 hash of the
72 * fixed length whereas Blowfish keys are not of a fixed length.
77 * but it can still use the fixed length key optimization discussed above and can do away with
370 * Sets the key length.
374 * @param int $length
376 public function setKeyLength($length)
378 if ($length < 32 || $length > 44
419 setKeyLength($length) global() argument
[all...]
H A DHash.php82 * Byte-length of hash output (Internal HMAC)
87 private $length;
210 * Keys can be of any length.
224 * Keys can be of any length.
238 throw new \LengthException('The nonce length must be between 1 and 16 bytes, inclusive');
295 $this->length = abs(substr($hash, -3)) >> 3;
308 $this->length = 12; // 96 / 8 = 12
312 $this->length = 16;
315 $this->length = 20;
320 $this->length
[all...]
H A DRC2.php98 * The key length in bits.
111 * The key length in bits.
289 * Sets the key length.
295 * @param int $length in bits
296 * @throws \LengthException if the key length isn't supported
298 public function setKeyLength($length)
300 if ($length < 8 || $length > 1024) {
301 throw new \LengthException('Key size of ' . $length . ' bits is not supported by this algorithm. Only keys between 1 and 1024 bits, inclusive, are supported');
304 $this->default_key_length = $this->current_key_length = $length;
302 setKeyLength($length) global() argument
[all...]
H A DRC4.php124 * Sets the key length
128 * @param int $length
129 * @throws \LengthException if the key length is invalid
131 public function setKeyLength($length)
133 if ($length < 8 || $length > 2048) {
134 throw new \LengthException('Key size of ' . $length . ' bits is not supported by this algorithm. Only keys between 1 and 256 bytes are supported');
137 $this->key_length = $length >> 3;
139 parent::setKeyLength($length);
143 * Sets the key length
207 setKeyLength($length) global() argument
[all...]
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

123