Home
last modified time | relevance | path

Searched refs:start (Results 1 – 25 of 54) sorted by relevance

123

/dokuwiki/vendor/paragonie/constant_time_encoding/src/
DBinary.php68 * @param int $start
77 int $start = 0, argument
84 return \mb_substr($str, $start, $length, '8bit');
88 return \substr($str, $start, $length);
90 return \substr($str, $start);
/dokuwiki/lib/scripts/
Dtextselection.js13 this.start = 0;
20 return this.end - this.start;
24 return (!this.obj) ? '' : this.obj.value.substring(this.start,this.end);
41 sel.start = textArea.selectionStart;
58 selection.obj.setSelectionRange(selection.start, selection.end);
78 selection.obj.value.substring(0, selection.start) + text +
84 selection.end = selection.start + text.replace(/\r?\n/g, '\r\n').length;
86 selection.end = selection.start + text.length;
91 if(opts.startofs) selection.start += opts.startofs;
95 if(opts.nosel) selection.start = selection.end;
Dhelpers.js12 function substr_replace(str, replace, start, length) { argument
14 a2 = (start < 0 ? str.length : 0) + start;
17 } else if (length < 0 && start < 0 && length <= start) {
Deditor.js136 var search = "\n"+this.value.substr(0,selection.start);
153 if (match2 && this.value.substr(selection.start).match(/^($|\r?\n)/)) {
155 this.value.substr(selection.start);
156 selection.start = linestart + 1;
175 selection.start = selection.start - 2;
176 selection.end = selection.start;
179 this.value.substr(selection.start);
180 selection.start = linestart;
193 selection.start = selection.start + 2;
194 selection.end = selection.start;
Dqsearch.js132 var start, length, replace, nsL, nsR, eli, runaway;
148 start = eli - 2;
152 start = eli + 1;
158 start = Math.floor(nsL + ((nsR - nsL) / 2));
163 replace, start, length);
Ddelay.js53 start: function () { method in Delay
Dedit.js164 opts = [field.value.substr(0,DWgetSelection(field).start)];
240 sel.start = 0;
/dokuwiki/_test/tests/TreeBuilder/cp/
Dsimple.txt1 * [[briefs:start|Briefs]]
2 * [[qhsr:start|QHSR]]
5 * [[qhsr:hse:start|HSE]]
11 * [[tech:start|Tech Info]]
/dokuwiki/inc/Parsing/Lexer/
DStateStack.php22 * @param string $start Starting state name.
24 public function __construct($start) argument
26 $this->stack = [$start];
DLexer.php36 * @param string $start Starting handler.
39 public function __construct($handler, $start = "accept", $case = false) argument
43 $this->modeStack = new StateStack($start);
/dokuwiki/inc/
Dhttputils.php123 $start = (int)$p[0];
126 if ($start > $end || $start > $size || $end > $size) {
131 $len = $end - $start + 1;
132 $ranges[] = [$start, $end, $len];
152 [$start, $end, $len] = $ranges[$i];
158 echo "Content-Range: bytes $start-$end/$size" . HTTP_HEADER_LF;
163 header("Content-Range: bytes $start-$end/$size");
168 fseek($fh, $start); //seek to start of range
Dutf8.php109 function utf8_substr_replace($string, $replacement, $start, $length = 0) argument
112 return PhpString::substr_replace($string, $replacement, $start, $length);
DDifferenceEngine.php441 $start = $i;
452 $runlength = $i - $start;
459 while ($start > 0 && $lines[$start - 1] == $lines[$i - 1]) {
460 $changed[--$start] = 1;
462 while ($start > 0 && $changed[$start - 1])
463 $start--;
484 while ($i < $len && $lines[$start] == $lines[$i]) {
485 $changed[$start++] = false;
498 } while ($runlength != $i - $start);
505 $changed[--$start] = 1;
/dokuwiki/inc/Extension/
DAuthPlugin.php336 * @param int $start index of first user to be returned
341 public function retrieveUsers($start = 0, $limit = 0, $filter = null) argument
368 * @param int $start
372 public function retrieveGroups($start = 0, $limit = 0) argument
/dokuwiki/vendor/splitbrain/php-cli/src/
DTableFormatter.php267 * @param int $start
271 protected function substr($string, $start = 0, $length = null) argument
274 return mb_substr($string, $start, $length);
278 return substr($string, $start, $length);
280 return substr($string, $start);
/dokuwiki/inc/Utf8/
DPhpString.php172 * @param int $start the replacing will begin at the start'th offset into string.
181 public static function substr_replace($string, $replacement, $start, $length = 0) argument
184 if ($start > 0) $ret .= self::substr($string, 0, $start);
186 $ret .= self::substr($string, $start + $length);
/dokuwiki/lib/plugins/usermanager/
Dadmin.php31 protected $start = 0; // index of first user to be displayed variable in admin_plugin_usermanager
95 return $this->start;
137 $this->start = $INPUT->int('start', 0);
156 $this->start = 0;
174 $this->start = 0;
177 $this->start -= $this->pagesize;
180 $this->start += $this->pagesize;
183 $this->start = $this->users_total;
205 $user_list = $this->auth->retrieveUsers($this->start, $this->pagesize, $this->filter);
222 $this->start + 1,
[all …]
/dokuwiki/lib/plugins/authplain/
Dauth.php303 * @param int $start index of first user to be returned
308 public function retrieveUsers($start = 0, $limit = 0, $filter = []) argument
322 if ($i >= $start) {
338 * @param int $start index of first group to be returned
342 public function retrieveGroups($start = 0, $limit = 0) argument
353 return array_splice($groups, $start, $limit);
355 return array_splice($groups, $start);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/File/
DASN1.php218 * @param int $start
222 private static function decode_ber($encoded, $start = 0, $encoded_pos = 0) argument
224 $current = ['start' => $start];
255 $start += $startOffset;
262 $start++;
275 $start += $length;
310 'length' => $length + $start - $current['start']
317 $temp = self::decode_ber($content, $start, $content_pos);
325 $start += $length;
329 $start += $length;
[all …]
/dokuwiki/lib/plugins/authpdo/
Dauth.php364 * @param int $start index of first user to be returned
369 public function retrieveUsers($start = 0, $limit = -1, $filter = null) argument
382 $filter['start'] = (int)$start;
383 $filter['end'] = (int)$start + $limit;
450 * @param int $start
454 public function retrieveGroups($start = 0, $limit = 0) argument
460 return array_splice($groups, $start);
462 return array_splice($groups, $start, $limit);
/dokuwiki/vendor/geshi/geshi/src/
Dgeshi.php2579 $start = $i + $char_len;
2588 $close_pos = strpos($part, $char, $start);
2595 … if (isset($this->language_data['ESCAPE_REGEXP']) && $next_escape_regexp_pos < $start) {
2600 … ($escape_regexp_cache_per_key[$escape_key]['pos'] >= $start ||
2608 … } elseif (preg_match($regexp, $part, $match, PREG_OFFSET_CAPTURE, $start)) {
2624 if ($match_i === $start) {
2633 … $simple_escape = strpos($part, $this->language_data['ESCAPE_CHAR'], $start);
2652 $string .= $this->hsc(substr($part, $start, $es_pos - $start));
2670 $start = $es_pos + 2;
2694 $start = $es_pos + strlen($es_char_m) + 1;
[all …]
/dokuwiki/inc/HTTP/
DHTTPClient.php34 public $start = 0.0; // for timings variable in dokuwiki\\HTTP\\HTTPClient
160 $this->start = microtime(true);
590 $time_used = microtime(true) - $this->start;
636 $time_used = microtime(true) - $this->start;
690 $time_used = microtime(true) - $this->start;
742 echo '<b>' . $info . '</b> ' . (microtime(true) - $this->start) . 's<br />';
760 echo '*' . $info . '* ' . (microtime(true) - $this->start) . "s\n";
/dokuwiki/data/pages/wiki/
Dwelcome.txt10 Your wiki needs to have a start page. As long as it doesn't exist, this link will be red: [[:start]…
/dokuwiki/lib/plugins/authad/
Dauth.php508 * @param int $start index of first user to be returned
513 public function retrieveUsers($start = 0, $limit = 0, $filter = []) argument
535 if ($i++ < $start) {
550 count($this->grpsusers[$this->filterToString($filter)]) < ($start + $limit)
558 $start + $limit - count($this->grpsusers[$this->filterToString($filter)]) + 1
563 if ($i++ < $start) {
/dokuwiki/vendor/simplepie/simplepie/src/
DIRI.php427 $start = $position;
510 for ($j = $start; $j <= $position; $j++) {
544 $start = 0;
556 $start = $i;
629 for ($j = $start; $j <= $i; $j++) {
633 for ($j = $start; $j <= $i; $j++) {
643 for ($j = $start; $j < $len; $j++) {

123