Home
last modified time | relevance | path

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

12

/dokuwiki/inc/Form/
H A DForm.php111 * @param int $pos
116 if ($pos < 0) $pos = count($this->elements) + $pos;
117 if ($pos < 0) $pos = 0;
132 for ($pos = $offset; $pos < $len; $pos++) {
151 for ($pos = $offset; $pos < $len; $pos++) {
216 * @param int $pos
229 * @param int $pos
242 * @param int $pos
255 * @param int $pos
269 * @param int $pos
[all …]
/dokuwiki/inc/parser/
H A Dhandler.php319 $this->addCall('header', array($title, $level, $pos), $pos);
853 $pos
860 $pos
867 $pos
874 $pos
881 $pos
888 $pos
930 $pos
1019 $this->addCall('table_start', array($pos + 1), $pos);
1028 $this->addCall('table_end', array($pos), $pos);
[all …]
H A Drenderer.php183 * @param int $pos byte position in the original source
185 public function header($text, $level, $pos) { argument
697 * @param int $pos byte position in the original source
699 public function table_open($maxcols = null, $numrows = null, $pos = null) { argument
705 * @param int $pos byte position in the original source
707 public function table_close($pos = null) { argument
H A Dxhtmlsummary.php39 public function header($text, $level, $pos) { argument
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/Content/Type/
H A DSniffer.php248 while ($pos < $len)
250 switch ($this->file->body[$pos])
256 $pos += strspn($this->file->body, "\x09\x0A\x0D\x20", $pos);
260 $pos++;
269 $pos += 3;
270 if ($pos < $len && ($pos = strpos($this->file->body, '-->', $pos)) !== false)
272 $pos += 3;
281 if ($pos < $len && ($pos = strpos($this->file->body, '>', $pos)) !== false)
283 $pos++;
292 if ($pos < $len && ($pos = strpos($this->file->body, '?>', $pos)) !== false)
[all …]
/dokuwiki/inc/Parsing/Handler/
H A DPreformatted.php8 protected $pos; variable in dokuwiki\\Parsing\\Handler\\Preformatted
28 $this->pos = $call[2];
38 … $this->callWriter->writeCall(array('preformatted', array($this->text), $this->pos));
41 $this->callWriter->writeCall(array('eol', array(), $this->pos));
42 $this->callWriter->writeCall(array('eol', array(), $this->pos));
H A DBlock.php70 protected function openParagraph($pos) argument
73 $this->calls[] = array('p_open',array(), $pos);
85 * @param string|integer $pos
87 protected function closeParagraph($pos) argument
113 $this->calls[] = array('p_close',array(), $pos);
/dokuwiki/inc/
H A DJpegMeta.php1941 $pos = $this->_putString($data, $pos, $aux);
2556 $pos = $this->_putShort($data, $pos, $type);
2560 $pos = $this->_putByte($data, $pos, $len);
2561 $pos = $this->_putString($data, $pos, $header);
2563 $pos = $this->_putByte($data, $pos, 0);
2567 $pos = $this->_putLong($data, $pos, $len);
2568 $pos = $this->_putString($data, $pos, $value);
2570 $pos = $this->_putByte($data, $pos, 0);
2621 $pos = $this->_putShort($data, $pos, 0x1C02);
2622 $pos = $this->_putByte($data, $pos, $type);
[all …]
H A Dform.php167 public function insertElement($pos, $elem) argument
182 public function replaceElement($pos, $elem) argument
203 return $pos;
222 return $pos;
242 return $pos;
254 * @param int $pos 0-based index
259 public function &getElementAt($pos) argument
261 if ($pos < 0) $pos = count($this->_content) + $pos;
262 if ($pos < 0) $pos = 0;
263 if ($pos >= count($this->_content)) $pos = count($this->_content) - 1;
[all …]
H A Dpageutils.php168 $pos = strrpos((string)$id,':');
169 if($pos!==false){
170 return substr((string)$id,0,$pos);
184 $pos = strrpos($id, ':');
185 if ($pos!==false) {
186 return substr($id, $pos+1);
H A Dio.php151 $pos = strpos($str, "\n");
152 while($pos !== false) {
153 $lines[] = substr($str, 0, $pos+1);
154 $str = substr($str, $pos+1);
155 $pos = strpos($str, "\n");
/dokuwiki/vendor/openpsa/universalfeedcreator/lib/Creator/
H A DFeedCreator.php101 $pos = strrpos($string, ".");
102 if ($pos >= $length - 4) {
104 $pos = strrpos($string, ".");
106 if ($pos >= $length * 0.4) {
107 return substr($string, 0, $pos + 1)." ...";
110 $pos = strrpos($string, " ");
111 if ($pos >= $length - 4) {
113 $pos = strrpos($string, " ");
115 if ($pos >= $length * 0.4) {
116 return substr($string, 0, $pos)." ...";
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/Net/
H A DIPv6.php159 $pos = null;
165 $pos = $match[1];
169 $ip_parts[0] = substr_replace($ip_parts[0], '::', $pos, $max);
196 $pos = strrpos($ip, ':');
197 $ipv6_part = substr($ip, 0, $pos);
198 $ipv4_part = substr($ip, $pos + 1);
/dokuwiki/lib/plugins/authad/
H A Daction.php68 $pos = $form->findPositionByAttribute('name', 'u');
69 if ($pos === false) return;
79 $element = $form->getElementAt($pos);
85 $element = $form->addDropdown('dom', $domains, $this->getLang('domain'), $pos +1);
/dokuwiki/inc/Parsing/Lexer/
H A DLexer.php142 $pos = 0;
147 if (! $this->dispatchTokens($unmatched, $matched, $mode, $pos, $matchPos)) {
154 $pos = $initialLength - $currentLength;
159 return $this->invokeHandler($raw, DOKU_LEXER_UNMATCHED, $pos);
252 * @param int $pos Current byte index location in raw doc
256 protected function invokeHandler($content, $is_match, $pos) argument
270 return $this->handler->$handler($content, $is_match, $pos, $plugin);
273 return $this->handler->$handler($content, $is_match, $pos);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/SFTP/
H A DStream.php71 var $pos; variable in phpseclib\\Net\\SFTP\\Stream
332 $this->pos+= strlen($result);
364 $this->pos+= strlen($data);
365 if ($this->pos > $this->size) {
366 $this->size = $this->pos;
380 return $this->pos;
418 $offset+= $this->pos;
424 $this->pos = $offset;
559 $this->pos = 0;
572 if (isset($this->entries[$this->pos])) {
[all …]
/dokuwiki/inc/Extension/
H A DSyntaxPlugin.php75 * @param int $pos The character position of the matched text
79 abstract public function handle($match, $state, $pos, Doku_Handler $handler); argument
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/
H A DMisc.php1805 while ($position < $length && ($pos = strpos($string, '(', $position)) !== false)
1807 $output .= substr($string, $position, $pos - $position);
1808 $position = $pos + 1;
1809 if ($string[$pos - 1] !== '\\')
1852 if (($pos = strpos($mime, ';')) === false)
1857 return trim(substr($mime, 0, $pos));
2073 if ($pos = strpos($data, "\x00\x00\x00\x3F\x00\x00\x00\x3E"))
2086 if ($pos = strpos($data, "\x3F\x00\x00\x00\x3E\x00\x00\x00"))
2099 if ($pos = strpos($data, "\x00\x3F\x00\x3E"))
2112 if ($pos = strpos($data, "\x3F\x00\x3E\x00"))
[all …]
H A DParser.php130 …if (substr($data, 0, 5) === '<?xml' && strspn(substr($data, 5, 1), "\x09\x0A\x0D\x20") && ($pos = …
132 …$declaration = $this->registry->create('XML_Declaration_Parser', array(substr($data, 5, $pos - 5))…
135 $data = substr($data, $pos + 2);
384 if ($pos = strpos($string, $this->separator))
391 $namespace = substr($string, 0, $pos);
392 $local_name = substr($string, $pos + $separator_length);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DBase.php731 if ($pos) {
803 if ($pos) {
843 $pos = $len;
927 $pos = 0;
931 if ($pos) {
958 $pos = $len;
1077 if ($pos) {
1144 if ($pos) {
1170 $pos = $len;
1252 $pos = 0;
[all …]
/dokuwiki/inc/Utf8/
H A DPhpString.php368 $pos = strpos($haystack, $needle, $offset + $comp);
370 if ($pos === false)
373 $length = self::strlen(substr($haystack, 0, $pos));
376 $comp = $pos - $length;
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/Parse/
H A DDate.php770 while ($position < $length && ($pos = strpos($string, '(', $position)) !== false)
772 $output .= substr($string, $position, $pos - $position);
773 $position = $pos + 1;
774 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.php434 if (false !== $pos = strrpos($class, '\\')) {
436 $logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos + 1)
437 . strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR);

12