Home
last modified time | relevance | path

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

123

/dokuwiki/lib/scripts/
H A 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;
H A 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) {
H A 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;
H A 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);
H A Ddelay.js53 start: function () { method in Delay
H A Dedit.js164 opts = [field.value.substr(0,DWgetSelection(field).start)];
239 sel.start = 0;
/dokuwiki/inc/Parsing/Lexer/
H A DStateStack.php21 * @param string $start Starting state name.
23 public function __construct($start) argument
25 $this->stack = array($start);
H A DLexer.php35 * @param string $start Starting handler.
38 public function __construct($handler, $start = "accept", $case = false) argument
43 $this->modeStack = new StateStack($start);
/dokuwiki/inc/
H A Dhttputils.php124 $start = (int)$p[0];
127 if ($start > $end || $start > $size || $end > $size){
132 $len = $end - $start + 1;
133 $ranges[] = array($start,$end,$len);
153 list($start,$end,$len) = $ranges[$i];
159 echo "Content-Range: bytes $start-$end/$size".HTTP_HEADER_LF;
164 header("Content-Range: bytes $start-$end/$size");
169 fseek($fh,$start); //seek to start of range
H A Dutf8.php108 function utf8_substr_replace($string, $replacement, $start, $length = 0) argument
111 return PhpString::substr_replace($string, $replacement, $start, $length);
H A 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;
H A Dinit.php12 * @param integer $start
16 function delta_time($start=0) { argument
17 return microtime(true)-((float)$start);
/dokuwiki/inc/Extension/
H A DAuthPlugin.php338 * @param int $start index of first user to be returned
343 public function retrieveUsers($start = 0, $limit = 0, $filter = null) argument
370 * @param int $start
374 public function retrieveGroups($start = 0, $limit = 0) argument
/dokuwiki/inc/Utf8/
H A DPhpString.php181 * @param int $start the replacing will begin at the start'th offset into string.
190 public static function substr_replace($string, $replacement, $start, $length = 0) argument
193 if ($start > 0) $ret .= self::substr($string, 0, $start);
195 $ret .= self::substr($string, $start + $length);
/dokuwiki/vendor/splitbrain/php-cli/src/
H A 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/lib/plugins/usermanager/
H A Dadmin.php25 protected $start = 0; // index of first user to be displayed variable in admin_plugin_usermanager
89 return $this->start;
131 $this->start = $INPUT->int('start', 0);
150 $this->start = 0;
168 $this->start = 0;
171 $this->start -= $this->pagesize;
174 $this->start += $this->pagesize;
177 $this->start = $this->users_total;
216 $this->start + 1,
982 if ($this->start >= $this->users_total) {
[all …]
/dokuwiki/lib/plugins/authplain/
H A Dauth.php293 * @param int $start index of first user to be returned
298 public function retrieveUsers($start = 0, $limit = 0, $filter = array()) argument
312 if ($i >= $start) {
328 * @param int $start index of first group to be returned
332 public function retrieveGroups($start = 0, $limit = 0) argument
343 return array_splice($groups, $start, $limit);
345 return array_splice($groups, $start);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/File/
H A DASN1.php228 * @param int $start
233 function _decode_ber($encoded, $start = 0, $encoded_pos = 0) argument
235 $current = array('start' => $start);
260 $start+= $startOffset;
264 $start++;
277 $start+= $length;
326 $start+= $length;
330 $start+= $length;
344 'length' => $start - $current['start']
502 $start+= $length;
[all …]
/dokuwiki/lib/plugins/authpdo/
H A Dauth.php401 * @param int $start index of first user to be returned
406 public function retrieveUsers($start = 0, $limit = -1, $filter = null) argument
419 $filter['start'] = (int)$start;
420 $filter['end'] = (int)$start + $limit;
487 * @param int $start
491 public function retrieveGroups($start = 0, $limit = 0) argument
497 return array_splice($groups, $start);
499 return array_splice($groups, $start, $limit);
/dokuwiki/vendor/geshi/geshi/src/
H A Dgeshi.php2579 $start = $i + $char_len;
2652 $string .= $this->hsc(substr($part, $start, $es_pos - $start));
2703 $string .= $this->hsc(substr($part, $start, $es_pos - $start));
2724 … $string .= $this->hsc(substr($part, $start, $close_pos - $start + $char_len)) . '</span>';
2741 $i = $start - 1;
2800 $start = 0;
2804 … $new_string .= $this->hsc(substr($string, $start, $es_pos - $start));
3669 $start = explode(' ', $start_time);
3671 $this->time = $end[0] + $end[1] - $start[0] - $start[1];
3904 $start = "<pre$def_attr>";
[all …]
/dokuwiki/lib/plugins/authad/
H A Dauth.php493 * @param int $start index of first user to be returned
498 public function retrieveUsers($start = 0, $limit = 0, $filter = array()) argument
520 if ($i++ < $start) {
534 count($this->grpsusers[$this->filterToString($filter)]) < ($start+$limit)
542 $start+$limit - count($this->grpsusers[$this->filterToString($filter)]) +1
547 if ($i++ < $start) {
/dokuwiki/inc/HTTP/
H A DHTTPClient.php33 public $start = 0.0; // for timings variable in dokuwiki\\HTTP\\HTTPClient
165 $this->start = $this->time();
585 $time_used = $this->time() - $this->start;
630 $time_used = $this->time() - $this->start;
677 $time_used = $this->time() - $this->start;
726 print '<b>'.$info.'</b> '.($this->time() - $this->start).'s<br />';
743 print '*'.$info.'* '.($this->time() - $this->start)."s\n";
/dokuwiki/data/pages/wiki/
H A Dwelcome.txt10 Your wiki needs to have a start page. As long as it doesn't exist, this link will be red: [[:start]…
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSFTP.php1936 * @param int $start
1961 if ($start >= 0) {
1962 $offset = $start;
2232 $start = $offset;
2238 $tempoffset = $start + $read;
2306 if ($length > 0 && $length <= $offset - $start) {
3005 ' (' . round($stop - $start, 4) . 's)';
3009 $start = $stop = "\r\n";
3012 $start = '<pre>';
3126 $start = $stop = "\r\n";
[all …]
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/
H A DIRI.php482 $start = $position;
576 for ($j = $start; $j <= $position; $j++)
619 $start = $i;
702 for ($j = $start; $j <= $i; $j++)
709 for ($j = $start; $j <= $i; $j++)
721 for ($j = $start; $j < $len; $j++)

123