Home
last modified time | relevance | path

Searched refs:len (Results 1 – 25 of 422) sorted by relevance

12345678910>>...17

/plugin/toolbox/
H A DToolboxCounter.js19 var len = text.length;
20 if (list[len - 1] == '') len--;
21 if (list[0] == '') len--;
22 if (len < 0) len = 0;
23 return len;
33 var len = list.length;
34 if (list[len - 1] == '') len--;
35 if (list[0] == '') len--;
36 if (len < 0) len = 0;
37 return len;
/plugin/tagentry/
H A Dscript.js15 var len = tagname.length+1;
21 if (cs != ' ' && cs != '>' ) { s+=f+len; l-=f+len; continue; }
22 var ce = oldtext.substr(s+f+len-1,1); // char after
23 if (ce != ' ' && ce != '}' ) { s+=f+len; l-=f+len; continue; }
25 if (cs == '>' ) { len--; } else { f--; }
27 oldtext = oldtext.substr(0,s+f)+oldtext.substr(s+f+len);
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Gif/
H A DImage.php60 $len = 0;
61 if (!$this->skipExt($data, $len)) {
64 $datLen += $len;
69 $len = 0;
70 if (!$this->m_gih->load($data, $len)) {
73 $data = substr($data, $len);
74 $datLen += $len;
77 $len = 0;
79 if (!($this->m_data = $this->m_lzw->deCompress($data, $len))) {
83 $data = substr($data, $len);
[all...]
/plugin/jspolyfill/script/
H A Darray_fill.js16 var len = O.length >>> 0;
24 Math.max(len + relativeStart, 0) :
25 Math.min(relativeStart, len);
30 len : end >> 0;
34 Math.max(len + relativeEnd, 0) :
35 Math.min(relativeEnd, len);
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/
H A DSymmetricKey.php1325 if ($len) {
1330 $pos = $len;
1436 if ($len) {
1441 $pos = $len;
1695 $cb = substr($ciphertext, $i, $len - $len % $block_size);
1700 if ($len) {
1703 $iv = substr_replace($iv, substr($ciphertext, -$len), 0, $len);
1704 $pos = $len;
1810 if ($len) {
3367 $len = strlen($str);
[all …]
/plugin/command/ext/
H A Dabstract.php17 $len = 0;
19 $len = $params[0];
27 if($len && $len < strlen($content)){
28 $content = utf8_substr($content, 0, $len).'…';
/plugin/commonmark/vendor/league/commonmark/src/Delimiter/Processor/
H A DStaggeredDelimiterProcessor.php74 $len = $processor->getMinLength();
76 if (isset($this->processors[$len])) {
77 throw new InvalidArgumentException(\sprintf('Cannot add two delimiter processors for char "%s" and minimum length %d', $this->delimiterChar, $len));
80 $this->processors[$len] = $processor;
83 $this->minLength = \min($this->minLength, $len);
96 private function findProcessor(int $len): DelimiterProcessorInterface
100 if ($processor->getMinLength() <= $len) {
91 findProcessor(int $len) global() argument
/plugin/freechat/phpfreechat/lib/utf8/
H A Dutf8_substr.php18 function utf8_substr($str,$start,$len=null) { argument
19 if (!strcmp($len,'0')) return '';
32 if ($len!=null) {
33 $byte_end = @utf8_char2byte_pos($str,$len);
35 …return $len<0 ? '' : $str; // When length is less than zero and exceeds, then we return blank s…
/plugin/barcodes/vendor/jucksearm/php-barcode/lib/
H A DBarcode1D.php968 --$len;
1177 if ($len == 6) {
1190 if ($len > 12) {
1197 if ($len < 13) {
1211 if ($len == 12) {
1214 ++$len;
1372 if ($len == 2) {
1614 ++$len;
1764 if ($len > 10) {
1783 ++$len;
[all …]
/plugin/mdpage/vendor/cebe/markdown/block/
H A DListTrait.php75 $len = 0;
86 if (($len = substr_count($matches[0], "\t")) > 0) {
87 $indent = str_repeat("\t", $len);
90 $len = strlen($matches[0]);
91 $indent = str_repeat(' ', $len);
92 $line = substr($line, $len);
122 …} elseif (strncmp($lines[$i + 1], $indent, $len) === 0 || !empty($lines[$i + 1]) && $lines[$i + 1]…
124 … $nextLine = $lines[$i + 1][0] === "\t" ? substr($lines[$i + 1], 1) : substr($lines[$i + 1], $len);
134 } elseif (strncmp($line, $indent, $len) === 0) {
135 $line = substr($line, $len);
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Barcode/
H A DCode11.php52 $len = strlen($code);
58 for ($i = ($len - 1); $i >= 0; --$i) {
81 if ($len > 10) {
85 for ($i = $len; $i >= 0; --$i) {
101 ++$len;
105 $len += 3;
107 for ($i = 0; $i < $len; ++$i) {
H A DAbstractBarcode.php49 $len = strlen($seq);
52 for ($i = 0; $i < $len; ++$i) {
54 if (($i == ($len - 1)) or (($i < ($len - 1)) and ($seq[$i] != $seq[($i + 1)]))) {
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Pdf/
H A DProtection.php138 $len = 16;
140 $len = 10;
143 return substr($this->md5toBinary($this->encryptionKey . pack('VXxx', $n)), 0, $len);
172 $len = strlen($text);
176 for ($i = 0; $i < $len; $i++) {
269 $len = strlen($owner_rc4_key);
272 for ($j = 0; $j < $len; ++$j) {
287 $len = strlen($tmp);
290 for ($j = 0; $j < $len; ++$j) {
349 $len
[all...]
/plugin/sphinxsearch-was/
H A Dsphinxapi.php595 $len = 0;
600 $left = $len;
1110 $p += $len;
1130 $p += $len;
1140 $p += $len;
1233 $p += $len;
1340 $res[] = $len ? substr($response, $pos, $len) : "";
1341 $pos += $len;
1404 $tokenized = $len ? substr($response, $pos, $len) : "";
1409 $normalized = $len ? substr($response, $pos, $len) : "";
[all …]
/plugin/sphinxsearch/
H A Dsphinxapi.php625 $len = 0;
631 $left = $len;
1147 $message = substr ( $response, $p, $len ); $p += $len;
1167 $fields[] = substr ( $response, $p, $len ); $p += $len;
1175 $attr = substr ( $response, $p, $len ); $p += $len;
1266 $word = substr ( $response, $p, $len ); $p += $len;
1374 $res[] = $len ? substr ( $response, $pos, $len ) : "";
1375 $pos += $len;
1438 $tokenized = $len ? substr ( $response, $pos, $len ) : "";
1439 $pos += $len;
[all …]
/plugin/dokucrypt2/
H A Dsyntax.php79 $len=$end-$x;
81 $len=-1;
83 $attr["lock"]=substr($match, $x, $len);
88 $len=$end-$x;
90 $len=-1;
92 $attr["collapsed"]=substr($match, $x, $len);
/plugin/elasticsearch/vendor/ezimuel/guzzlestreams/src/
H A DUtils.php71 $len = 0;
72 while (!$stream->eof() && $len < $maxLen) {
73 $buf = $stream->read($maxLen - $len);
78 $len = strlen($buffer);
110 if (!($len = strlen($buf))) {
113 $bytes += $len;
/plugin/issuetracker/
H A DxsEditor.js16 var len = textarea.value.length;
25 … textarea.value = textarea.value.substring(0,start) + rep + textarea.value.substring(end,len);
47 { var len = textarea.value.length;
56 … textarea.value = textarea.value.substring(0,start) + rep + textarea.value.substring(end,len);
72 var len = textarea.value.length;
81 … textarea.value = textarea.value.substring(0,start) + rep + textarea.value.substring(end,len);
106 var len = textarea.value.length;
121 … textarea.value = textarea.value.substring(0,start) + rep + textarea.value.substring(end,len);
/plugin/elasticsearch/vendor/patrickschur/language-detection/resources/sl/
H A Dsl.txt
/plugin/smtp/
H A Dloader.php21 $len = strlen($prefix); variable
22 if (strncmp($prefix, $class, $len) !== 0) {
28 $relative_class = substr($class, $len);
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Formatter/
H A DGelfMessageFormatter.php110 $len = 200 + strlen((string) $record['message']) + strlen($this->systemName);
112 if ($len > $this->maxLength) {
130 $len = strlen($this->extraPrefix . $key . $val);
131 if ($len > $this->maxLength) {
141 $len = strlen($this->contextPrefix . $key . $val);
142 if ($len > $this->maxLength) {
/plugin/authfacebook/lib/
H A Dautoload.php63 $len = strlen($prefix); variable
64 if (strncmp($prefix, $class, $len) !== 0) {
70 $relativeClass = substr($class, $len);
/plugin/webdav/vendor/sabre/dav/lib/DAV/PartialUpdate/
H A DPlugin.php139 $len = $this->server->httpRequest->getHeader('Content-Length');
140 if (!$len) throw new DAV\Exception\LengthRequired('A Content-Length header is required');
146 $range[2] = $range[1] + $len - 1;
151 if ($range[2] - $range[1] + 1 != $len) {
152 …w new DAV\Exception\RequestedRangeNotSatisfiable('Actual data length (' . $len . ') is not consist…
/plugin/davcal/vendor/sabre/dav/lib/DAV/PartialUpdate/
H A DPlugin.php139 $len = $this->server->httpRequest->getHeader('Content-Length');
140 if (!$len) throw new DAV\Exception\LengthRequired('A Content-Length header is required');
146 $range[2] = $range[1] + $len - 1;
151 if ($range[2] - $range[1] + 1 != $len) {
152 …w new DAV\Exception\RequestedRangeNotSatisfiable('Actual data length (' . $len . ') is not consist…
/plugin/upgrade/vendor/splitbrain/php-cli/src/
H A DTableFormatter.php198 $len = count($wrapped[$col]);
199 if ($len > $maxlen) {
200 $maxlen = $len;
235 * @param int $len
238 protected function pad($string, $len) argument
241 if ($strlen > $len) return $string;
243 $pad = $len - $strlen;

12345678910>>...17