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;
51 * start and end properties and pass it back to this function.
58 selection.obj.setSelectionRange(selection.start, selection.end);
69 * @param {int} opts.startofs number of charcters at the start to skip from new selection
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
[all...]
H A Dhelpers.js8 * Supports negative start and length and omitting length, but not
12 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
[all...]
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.js30 * Provide a delayed start
33 * call that object’s method “start”.
53 start: function () { method in Delay
H A Dedit.js164 opts = [field.value.substr(0,DWgetSelection(field).start)];
238 // set focus and place cursor at the start
240 sel.start = 0;
/dokuwiki/inc/Parsing/Lexer/
H A DStateStack.php22 * @param string $start Starting state name.
24 public function __construct($start)
26 $this->stack = [$start];
23 __construct($start) global() argument
H A DLexer.php17 * parser once. Lexer modes must not start with leading underscores.
36 * @param string $start Starting handler.
39 public function __construct($handler, $start = "accept", $case = false)
43 $this->modeStack = new StateStack($start);
38 __construct($handler, $start = 'accept', $case = false) global() argument
/dokuwiki/inc/
H A 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 o
[all...]
H A Dutf8.php109 function utf8_substr_replace($string, $replacement, $start, $length = 0)
112 return PhpString::substr_replace($string, $replacement, $start, $length);
108 utf8_substr_replace($string, $replacement, $start, $length = 0) global() argument
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
[all...]
H A Dinit.php16 * @param integer $start argument
20 function delta_time($start = 0)
22 return microtime(true) - ((float)$start);
178 // start the session
/dokuwiki/inc/Extension/
H A DAuthPlugin.php78 * ususal capabilities start with lowercase letter
79 * shortcut capabilities start with uppercase letter
336 * @param int $start index of first user to be returned
341 public function retrieveUsers($start = 0, $limit = 0, $filter = null)
368 * @param int $start
372 public function retrieveGroups($start = 0, $limit = 0)
343 retrieveUsers($start = 0, $limit = 0, $filter = null) global() argument
374 retrieveGroups($start = 0, $limit = 0) global() argument
/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/inc/Utf8/
H A DPhpString.php172 * @param int $start the replacing will begin at the start'th offset into string.
175 * replacement into string at the given start offset.
181 public static function substr_replace($string, $replacement, $start, $length = 0)
184 if ($start > 0) $ret .= self::substr($string, 0, $start);
186 $ret .= self::substr($string, $start + $length);
190 substr_replace($string, $replacement, $start, $length = 0) global() argument
/dokuwiki/lib/plugins/authplain/
H A Dauth.php300 * @param int $start index of first user to be returned
305 public function retrieveUsers($start = 0, $limit = 0, $filter = [])
319 if ($i >= $start) {
335 * @param int $start index of first group to be returned
339 public function retrieveGroups($start = 0, $limit = 0)
350 return array_splice($groups, $start, $limit);
352 return array_splice($groups, $start);
298 retrieveUsers($start = 0, $limit = 0, $filter = array()) global() argument
332 retrieveGroups($start = 0, $limit = 0) global() argument
/dokuwiki/lib/plugins/usermanager/
H A Dadmin.php30 protected $start = 0; // index of first user to be displayed
90 * @return int current start value for pageination
94 return $this->start;
136 $this->start = $INPUT->int('start', 0);
155 $this->start = 0;
172 case 'start':
173 $this->start = 0;
176 $this->start -= $this->pagesize;
179 $this->start
25 protected $start = 0; // index of first user to be displayed global() variable in admin_plugin_usermanager
[all...]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/File/
H A DASN1.php213 * Sometimes we want to get the BER encoding of a particular tag. $start lets us do that without having to reencode.
218 * @param int $start
222 private static function decode_ber($encoded, $start = 0, $encoded_pos = 0)
224 $current = ['start' => $start];
255 $start += $startOffset;
262 $start++;
275 $start += $length;
310 'length' => $length + $start - $current['start']
243 _decode_ber($encoded, $start = 0, $encoded_pos = 0) global() argument
[all...]
/dokuwiki/lib/plugins/authpdo/
H A Dauth.php361 * @param int $start index of first user to be returned
366 public function retrieveUsers($start = 0, $limit = -1, $filter = null)
379 $filter['start'] = (int)$start;
380 $filter['end'] = (int)$start + $limit;
447 * @param int $start
451 public function retrieveGroups($start = 0, $limit = 0)
457 return array_splice($groups, $start);
459 return array_splice($groups, $start, $limit);
406 retrieveUsers($start = 0, $limit = 1, $filter = null) global() argument
491 retrieveGroups($start = 0, $limit = 0) global() argument
/dokuwiki/vendor/geshi/geshi/src/
H A Dgeshi.php404 * Number at which line numbers should start at
1868 * Sets what number line numbers should start at. Should
1871 * <b>Warning:</b> Using this method will add the "start"
1879 * @param int $number The number to start line numbers at
2262 if(isset($matches_rx['start']) && isset($matches_rx['end']))
2265 'next_match' => $matches_rx['start'][1],
2533 // Possibly the start of a new string ...
2579 $start = $i + $char_len;
2588 $close_pos = strpos($part, $char, $start);
2595 if (isset($this->language_data['ESCAPE_REGEXP']) && $next_escape_regexp_pos < $start) {
[all...]
/dokuwiki/inc/HTTP/
H A DHTTPClient.php34 public $start = 0.0; // for timings
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";
33 public $start = 0.0; // for timings global() variable in dokuwiki\\HTTP\\HTTPClient
/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/lib/plugins/authad/
H A Dauth.php508 * @param int $start index of first user to be returned
513 public function retrieveUsers($start = 0, $limit = 0, $filter = [])
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) {
502 retrieveUsers($start = 0, $limit = 0, $filter = array()) global() argument
/dokuwiki/vendor/simplepie/simplepie/src/
H A DIRI.php428 $start = $position;
511 for ($j = $start; $j <= $position; $j++) {
545 $start = 0;
557 $start = $i;
598 // If it is invalid, count the sequence as invalid and reprocess the current byte as the start of a sequence:
630 for ($j = $start; $j <= $i; $j++) {
634 for ($j = $start; $j <= $i; $j++) {
644 for ($j = $start; $j < $len; $j++) {
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSFTP.php2086 * $start and $local_start give you more fine grained control over this process and take precident over self::RESUME
2087 * when they're non-negative. ie. $start could let you write at the end of a file (like self::RESUME) or in the middle
2088 * of one. $local_start could let you start your reading from the end of a file (like self::RESUME_START) or in the
2098 * @param int $start
2106 public function put($remote_file, $data, $mode = self::SOURCE_STRING, $start = -1, $local_start = -1, $progressCallback = null)
2128 if ($start >= 0) {
2129 $offset = $start;
2409 $start = $offset;
2415 $tempoffset = $start + $read;
3276 $start
2291 put($remote_file, $data, $mode = self SOURCE_STRING, $start = 1, $local_start = 1, $progressCallback = null) global() argument
[all...]

123