Home
last modified time | relevance | path

Searched refs:pos (Results 1 – 25 of 41) sorted by relevance

12

/dokuwiki/inc/Form/
H A DForm.php111 * @param int $pos
114 public function getElementAt($pos) argument
116 if ($pos < 0) $pos = count($this->elements) + $pos;
117 if ($pos < 0) $pos = 0;
118 if ($pos >= count($this->elements)) $pos = count($this->elements) - 1;
119 return $this->elements[$pos];
170 addElement(Element $element, $pos = 1) global() argument
189 replaceElement(Element $element, $pos) global() argument
202 removeElement($pos) global() argument
219 addTextInput($name, $label = &apos;&apos;, $pos = 1) global() argument
232 addPasswordInput($name, $label = &apos;&apos;, $pos = 1) global() argument
245 addRadioButton($name, $label = &apos;&apos;, $pos = 1) global() argument
258 addCheckbox($name, $label = &apos;&apos;, $pos = 1) global() argument
272 addDropdown($name, $options, $label = &apos;&apos;, $pos = 1) global() argument
285 addTextarea($name, $label = &apos;&apos;, $pos = 1) global() argument
298 addButton($name, $content, $pos = 1) global() argument
311 addButtonHTML($name, $html, $pos = 1) global() argument
324 addLabel($label, $for = &apos;&apos;, $pos = 1) global() argument
337 addLabelHTML($content, $for = &apos;&apos;, $pos = 1) global() argument
360 addHTML($html, $pos = 1) global() argument
372 addTag($tag, $pos = 1) global() argument
386 addTagOpen($tag, $pos = 1) global() argument
400 addTagClose($tag, $pos = 1) global() argument
412 addFieldsetOpen($legend = &apos;&apos;, $pos = 1) global() argument
423 addFieldsetClose($pos = 1) global() argument
[all...]
/dokuwiki/inc/parser/
H A Dhandler.php52 * @param int $pos byte position in the original source file argument
54 public function addCall($handler, $args, $pos)
56 $call = [$handler, $args, $pos];
104 public function _addCall($handler, $args, $pos)
107 $this->addCall($handler, $args, $pos);
116 * @param int $pos byte position in the original source file
119 public function addPluginCall($plugin, $args, $state, $pos, $match)
121 $call = ['plugin', [$plugin, $args, $state, $match], $pos];
248 * @param int $pos byte position in the original source file
251 protected function nestingTag($match, $state, $pos,
97 _addCall($handler, $args, $pos) global() argument
111 addPluginCall($plugin, $args, $state, $pos, $match) global() argument
239 nestingTag($match, $state, $pos, $name) global() argument
279 plugin($match, $state, $pos, $pluginname) global() argument
298 base($match, $state, $pos) global() argument
314 header($match, $state, $pos) global() argument
337 notoc($match, $state, $pos) global() argument
348 nocache($match, $state, $pos) global() argument
359 linebreak($match, $state, $pos) global() argument
370 eol($match, $state, $pos) global() argument
381 hr($match, $state, $pos) global() argument
392 strong($match, $state, $pos) global() argument
403 emphasis($match, $state, $pos) global() argument
414 underline($match, $state, $pos) global() argument
425 monospace($match, $state, $pos) global() argument
436 subscript($match, $state, $pos) global() argument
447 superscript($match, $state, $pos) global() argument
458 deleted($match, $state, $pos) global() argument
469 footnote($match, $state, $pos) global() argument
512 listblock($match, $state, $pos) global() argument
540 unformatted($match, $state, $pos) global() argument
553 preformatted($match, $state, $pos) global() argument
582 quote($match, $state, $pos) global() argument
617 file($match, $state, $pos) global() argument
628 code($match, $state, $pos, $type = &apos;code&apos;) global() argument
656 acronym($match, $state, $pos) global() argument
667 smiley($match, $state, $pos) global() argument
678 wordblock($match, $state, $pos) global() argument
689 entity($match, $state, $pos) global() argument
700 multiplyentity($match, $state, $pos) global() argument
712 singlequoteopening($match, $state, $pos) global() argument
723 singlequoteclosing($match, $state, $pos) global() argument
734 apostrophe($match, $state, $pos) global() argument
745 doublequoteopening($match, $state, $pos) global() argument
757 doublequoteclosing($match, $state, $pos) global() argument
773 camelcaselink($match, $state, $pos) global() argument
784 internallink($match, $state, $pos) global() argument
854 filelink($match, $state, $pos) global() argument
865 windowssharelink($match, $state, $pos) global() argument
876 media($match, $state, $pos) global() argument
894 rss($match, $state, $pos) global() argument
929 externallink($match, $state, $pos) global() argument
953 emaillink($match, $state, $pos) global() argument
965 table($match, $state, $pos) global() argument
[all...]
H A Drenderer.php198 * @param int $pos byte position in the original source
200 public function header($text, $level, $pos)
752 * @param int $pos byte position in the original source
754 public function table_open($maxcols = null, $numrows = null, $pos = null)
761 * @param int $pos byte position in the original source
763 public function table_close($pos = null)
187 header($text, $level, $pos) global() argument
659 table_open($maxcols = null, $numrows = null, $pos = null) global() argument
667 table_close($pos = null) global() argument
H A Dxhtmlsummary.php44 * @param int $pos
47 public function header($text, $level, $pos, $returnonly = false)
39 header($text, $level, $pos) global() argument
/dokuwiki/vendor/simplepie/simplepie/src/Content/Type/
H A DSniffer.php97 if (($pos = strpos($this->file->headers['content-type'], ';')) !== false) {
98 $official = substr($this->file->headers['content-type'], 0, $pos);
209 $pos = strspn($this->file->body, "\x09\x0A\x0D\x20\xEF\xBB\xBF");
211 while ($pos < $len) {
212 switch ($this->file->body[$pos]) {
217 $pos += strspn($this->file->body, "\x09\x0A\x0D\x20", $pos);
221 $pos++;
228 if (substr($this->file->body, $pos, 3) === '!--') {
229 $pos
[all...]
/dokuwiki/inc/Parsing/Handler/
H A DPreformatted.php7 protected $pos;
27 $this->pos = $call[2];
37 $this->callWriter->writeCall(['preformatted', [$this->text], $this->pos]);
40 $this->callWriter->writeCall(['eol', [], $this->pos]);
41 $this->callWriter->writeCall(['eol', [], $this->pos]);
8 protected $pos; global() variable in dokuwiki\\Parsing\\Handler\\Preformatted
H A DBlock.php58 protected function openParagraph($pos)
61 $this->calls[] = ['p_open', [], $pos];
73 * @param string|integer $pos
75 protected function closeParagraph($pos)
103 $this->calls[] = ['p_close', [], $pos];
68 openParagraph($pos) global() argument
85 closeParagraph($pos) global() argument
/dokuwiki/inc/
H A DJpegMeta.php1521 $pos = 0;
1542 $this->_info['sof']['SamplePrecision'] = $this->_getByte($data, $pos + 0);
1543 $this->_info['sof']['ImageHeight'] = $this->_getShort($data, $pos + 1);
1544 $this->_info['sof']['ImageWidth'] = $this->_getShort($data, $pos + 3);
1545 $this->_info['sof']['ColorChannels'] = $this->_getByte($data, $pos + 5);
1693 $pos = 6;
1696 // We don't increment $pos after this because Exif uses offsets relative to this point
1698 $byteAlign = $this->_getShort($data, $pos + 0);
1708 $alignCheck = $this->_getShort($data, $pos + 2, $isBigEndian);
1718 $offsetIFD0 = $this->_getLong($data, $pos
2008 _writeIFD(& $data, $pos, $offsetBase, & $entries, $isBigEndian, $hasNext) global() argument
2514 _readIPTC(& $data, $pos = 0) global() argument
2604 _write8BIM(& $data, $pos, $type, $header, & $value) global() argument
2672 _writeIPTCEntry(& $data, $pos, $type, & $value) global() argument
3039 _getByte(& $data, $pos) global() argument
3057 _putByte(& $data, $pos, $val) global() argument
3066 _getShort(& $data, $pos, $bigEndian = true) global() argument
3081 _putShort(& $data, $pos = 0, $val = 0, $bigEndian = true) global() argument
3105 _getLong(& $data, $pos, $bigEndian = true) global() argument
3134 _putLong(& $data, $pos, $val, $bigEndian = true) global() argument
3153 _getNullString(& $data, $pos) global() argument
3173 _getFixedString(& $data, $pos, $length = 1) global() argument
3189 _putString(& $data, $pos, & $str) global() argument
[all...]
H A Dform.php162 * @param string $pos 0-based index where the element will be inserted.
167 public function insertElement($pos, $elem) argument
169 array_splice($this->_content, $pos, 0, array($elem));
177 * @param int $pos 0-based index the element will be placed at.
182 public function replaceElement($pos, $elem) argument
186 array_splice($this->_content, $pos, 1, $rep);
201 foreach ($this->_content as $pos => $elem) {
203 return $pos;
220 foreach ($this->_content as $pos => $elem) {
222 return $pos;
259 getElementAt($pos) global() argument
[all...]
H A Dpageutils.php180 $pos = strrpos((string)$id, ':');
181 if ($pos !== false) {
182 return substr((string)$id, 0, $pos);
197 $pos = strrpos($id, ':');
198 if ($pos !== false) {
199 return substr($id, $pos + 1);
H A Dio.php168 $pos = strpos($str, "\n");
169 while ($pos !== false) {
170 $lines[] = substr($str, 0, $pos + 1);
171 $str = substr($str, $pos + 1);
172 $pos = strpos($str, "\n");
/dokuwiki/vendor/openpsa/universalfeedcreator/lib/Creator/
H A DFeedCreator.php104 $pos = strrpos($string, ".");
105 if ($pos >= $length - 4) {
107 $pos = strrpos($string, ".");
109 if ($pos >= $length * 0.4) {
110 return substr($string, 0, $pos + 1)." ...";
113 $pos = strrpos($string, " ");
114 if ($pos >= $length - 4) {
116 $pos = strrpos($string, " ");
118 if ($pos >= $length * 0.4) {
119 return substr($string, 0, $pos)
[all...]
/dokuwiki/lib/plugins/authad/
H A Daction.php72 $pos = $form->findPositionByAttribute('name', 'u');
73 if ($pos === false) return;
83 $element = $form->getElementAt($pos);
89 $element = $form->addDropdown('dom', $domains, $this->getLang('domain'), $pos + 1);
/dokuwiki/vendor/simplepie/simplepie/src/Net/
H A DIPv6.php149 $pos = null;
153 $pos = $match[1];
157 $ip_parts[0] = substr_replace($ip_parts[0], '::', $pos, $max);
182 $pos = strrpos($ip, ':');
183 $ipv6_part = substr($ip, 0, $pos);
184 $ipv4_part = substr($ip, $pos + 1);
/dokuwiki/inc/Parsing/Lexer/
H A DLexer.php141 $pos = 0;
146 if (! $this->dispatchTokens($unmatched, $matched, $mode, $pos, $matchPos)) {
153 $pos = $initialLength - $currentLength;
158 return $this->invokeHandler($raw, DOKU_LEXER_UNMATCHED, $pos);
251 * @param int $pos Current byte index location in raw doc
255 protected function invokeHandler($content, $is_match, $pos)
269 return $this->handler->$handler($content, $is_match, $pos, $plugin);
272 return $this->handler->$handler($content, $is_match, $pos);
256 invokeHandler($content, $is_match, $pos) global() argument
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/SFTP/
H A DStream.php64 private $pos;
273 $this->pos = $this->mode[0] != 'a' ? 0 : $this->size;
295 //if ($this->pos >= $this->size) {
300 $result = $this->sftp->get($this->path, false, $this->pos, $count);
314 $this->pos += strlen($result);
332 $result = $this->sftp->put($this->path, $data, SFTP::SOURCE_STRING, $this->pos);
345 $this->pos += strlen($data);
346 if ($this->pos > $this->size) {
347 $this->size = $this->pos;
360 return $this->pos;
71 var $pos; global() variable in phpseclib\\Net\\SFTP\\Stream
[all...]
/dokuwiki/inc/Extension/
H A DSyntaxPlugin.php74 * @param int $pos The character position of the matched text
78 abstract public function handle($match, $state, $pos, Doku_Handler $handler);
79 handle($match, $state, $pos, Doku_Handler $handler) global() argument
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DBase.php
/dokuwiki/vendor/simplepie/simplepie/src/
H A DMisc.php1761 while ($position < $length && ($pos = strpos($string, '(', $position)) !== false) {
1762 $output .= substr($string, $position, $pos - $position);
1763 $position = $pos + 1;
1764 if ($string[$pos - 1] !== '\\') {
1797 if (($pos = strpos($mime, ';')) === false) {
1801 return trim(substr($mime, 0, $pos));
1985 if ($pos = strpos($data, "\x00\x00\x00\x3F\x00\x00\x00\x3E")) {
1986 $parser = $registry->create(Parser::class, [Misc::change_encoding(substr($data, 20, $pos - 20), 'UTF-32BE', 'UTF-8')]);
1995 if ($pos = strpos($data, "\x3F\x00\x00\x00\x3E\x00\x00\x00")) {
1996 $parser = $registry->create(Parser::class, [Misc::change_encoding(substr($data, 20, $pos
[all...]
H A DParser.php128 if (substr($data, 0, 5) === '<?xml' && strspn(substr($data, 5, 1), "\x09\x0A\x0D\x20") && ($pos = strpos($data, '?>')) !== false) {
129 $declaration = $this->registry->create(DeclarationParser::class, [substr($data, 5, $pos - 5)]);
131 $data = substr($data, $pos + 2);
352 if ($pos = strpos($string, $this->separator)) {
357 $namespace = substr($string, 0, $pos);
358 $local_name = substr($string, $pos + $separator_length);
/dokuwiki/inc/Utf8/
H A DPhpString.php360 $pos = strpos($haystack, $needle, $offset + $comp);
362 if ($pos === false)
365 $length = self::strlen(substr($haystack, 0, $pos));
368 $comp = $pos - $length;
/dokuwiki/vendor/simplepie/simplepie/src/Parse/
H A DDate.php765 while ($position < $length && ($pos = strpos($string, '(', $position)) !== false) {
766 $output .= substr($string, $position, $pos - $position);
767 $position = $pos + 1;
768 if ($pos === 0 || $string[$pos - 1] !== '\\') {
/dokuwiki/lib/scripts/
H A Dtoolbar.js240 pos = $btn.offset();
246 var picker_left = pos.left + 3,
259 $picker.offset({left: picker_left, top: pos.top+$btn[0].offsetHeight+3});
H A Dlinkwiz.js22 var pos = $editor.position();
42 'top': (pos.top+20)+'px',
43 'left': (pos.left+80)+'px'
/dokuwiki/vendor/composer/
H A DClassLoader.php522 if (false !== $pos = strrpos($class, '\\')) {
524 $logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos + 1)
525 . strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR);

12