/dokuwiki/inc/Form/ |
H A D | Form.php | 111 * @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]; 132 for ($pos = $offset; $pos < $len; $pos++) { 133 if ($this->elements[$pos]->getType() == $type) { 134 return $pos; 151 for ($pos = $offset; $pos < $len; $pos++) { [all …]
|
/dokuwiki/inc/parser/ |
H A D | handler.php | 52 * @param int $pos byte position in the original source file 54 public function addCall($handler, $args, $pos) argument 56 $call = [$handler, $args, $pos]; 104 public function _addCall($handler, $args, $pos) argument 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) argument 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, $name) argument [all …]
|
H A D | xhtmlsummary.php | 44 * @param int $pos 47 public function header($text, $level, $pos, $returnonly = false) argument
|
H A D | renderer.php | 198 * @param int $pos byte position in the original source 200 public function header($text, $level, $pos) argument 752 * @param int $pos byte position in the original source 754 public function table_open($maxcols = null, $numrows = null, $pos = null) argument 761 * @param int $pos byte position in the original source 763 public function table_close($pos = null) argument
|
/dokuwiki/vendor/simplepie/simplepie/src/Content/Type/ |
H A D | Sniffer.php | 96 if (($pos = strpos($this->file->headers['content-type'], ';')) !== false) { 97 $official = substr($this->file->headers['content-type'], 0, $pos); 208 $pos = strspn($this->file->body, "\x09\x0A\x0D\x20\xEF\xBB\xBF"); 210 while ($pos < $len) { 211 switch ($this->file->body[$pos]) { 216 $pos += strspn($this->file->body, "\x09\x0A\x0D\x20", $pos); 220 $pos++; 227 if (substr($this->file->body, $pos, 3) === '!--') { 228 $pos += 3; 229 if ($pos < $len && ($pos = strpos($this->file->body, '-->', $pos)) !== false) { [all …]
|
/dokuwiki/inc/Parsing/Handler/ |
H A D | Preformatted.php | 7 protected $pos; variable in dokuwiki\\Parsing\\Handler\\Preformatted 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]);
|
H A D | Block.php | 58 protected function openParagraph($pos) argument 61 $this->calls[] = ['p_open', [], $pos]; 73 * @param string|integer $pos 75 protected function closeParagraph($pos) argument 103 $this->calls[] = ['p_close', [], $pos];
|
/dokuwiki/inc/ |
H A D | JpegMeta.php | 1521 $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; 1698 $byteAlign = $this->_getShort($data, $pos + 0); 1708 $alignCheck = $this->_getShort($data, $pos + 2, $isBigEndian); 1718 $offsetIFD0 = $this->_getLong($data, $pos + 4, $isBigEndian); 1722 $offsetIFD1 = $this->_readIFD($data, $pos, $offsetIFD0, $isBigEndian, 'ifd0'); [all …]
|
H A D | form.php | 162 * @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; [all …]
|
H A D | pageutils.php | 180 $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 D | io.php | 169 $pos = strpos($str, "\n"); 170 while ($pos !== false) { 171 $lines[] = substr($str, 0, $pos + 1); 172 $str = substr($str, $pos + 1); 173 $pos = strpos($str, "\n");
|
/dokuwiki/vendor/openpsa/universalfeedcreator/lib/Creator/ |
H A D | FeedCreator.php | 104 $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)." ...";
|
/dokuwiki/vendor/simplepie/simplepie/src/Net/ |
H A D | IPv6.php | 148 $pos = null; 152 $pos = $match[1]; 156 $ip_parts[0] = substr_replace($ip_parts[0], '::', $pos, $max); 181 $pos = strrpos($ip, ':'); 182 $ipv6_part = substr($ip, 0, $pos); 183 $ipv4_part = substr($ip, $pos + 1);
|
/dokuwiki/lib/plugins/authad/ |
H A D | action.php | 72 $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/inc/Parsing/Lexer/ |
H A D | Lexer.php | 141 $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) argument 269 return $this->handler->$handler($content, $is_match, $pos, $plugin); 272 return $this->handler->$handler($content, $is_match, $pos);
|
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/SFTP/ |
H A D | Stream.php | 64 private $pos; variable in phpseclib3\\Net\\SFTP\\Stream 273 $this->pos = $this->mode[0] != 'a' ? 0 : $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; 396 $offset += $this->pos; [all …]
|
/dokuwiki/inc/Extension/ |
H A D | SyntaxPlugin.php | 74 * @param int $pos The character position of the matched text 78 abstract public function handle($match, $state, $pos, Doku_Handler $handler); argument
|
/dokuwiki/vendor/simplepie/simplepie/src/ |
H A D | Misc.php | 1760 while ($position < $length && ($pos = strpos($string, '(', $position)) !== false) { 1761 $output .= substr($string, $position, $pos - $position); 1762 $position = $pos + 1; 1763 if ($string[$pos - 1] !== '\\') { 1796 if (($pos = strpos($mime, ';')) === false) { 1800 return trim(substr($mime, 0, $pos)); 1984 if ($pos = strpos($data, "\x00\x00\x00\x3F\x00\x00\x00\x3E")) { 1985 …$registry->create(Parser::class, [Misc::change_encoding(substr($data, 20, $pos - 20), 'UTF-32BE', … 1994 if ($pos = strpos($data, "\x3F\x00\x00\x00\x3E\x00\x00\x00")) { 1995 …$registry->create(Parser::class, [Misc::change_encoding(substr($data, 20, $pos - 20), 'UTF-32LE', … [all …]
|
H A D | Parser.php | 127 … 0, 5) === '<?xml' && strspn(substr($data, 5, 1), "\x09\x0A\x0D\x20") && ($pos = strpos($data, '?>… 128 … $declaration = $this->registry->create(DeclarationParser::class, [substr($data, 5, $pos - 5)]); 130 $data = substr($data, $pos + 2); 350 if ($pos = strpos($string, $this->separator)) { 355 $namespace = substr($string, 0, $pos); 356 $local_name = substr($string, $pos + $separator_length);
|
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/ |
H A D | SymmetricKey.php | 1202 $pos = &$this->enbuffer['pos']; 1205 $pos = 0; 1209 if ($pos) { 1210 $orig_pos = $pos; 1211 $max = $this->block_size - $pos; 1215 $pos = 0; 1218 $pos += $len; 1237 $pos = $overflow; 1288 $pos = &$this->enbuffer['pos']; 1292 if ($pos) { [all …]
|
/dokuwiki/inc/Utf8/ |
H A D | PhpString.php | 360 $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 D | Date.php | 764 while ($position < $length && ($pos = strpos($string, '(', $position)) !== false) { 765 $output .= substr($string, $position, $pos - $position); 766 $position = $pos + 1; 767 if ($pos === 0 || $string[$pos - 1] !== '\\') {
|
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/BaseCurves/ |
H A D | KoblitzPrime.php | 173 $pos = 2 * $i; 174 $npoints[$pos] = $p; 175 $nscalars[$pos] = $this->factory->newInteger($k1); 177 $pos++; 178 $npoints[$pos] = $beta; 179 $nscalars[$pos] = $this->factory->newInteger($k2);
|
/dokuwiki/lib/scripts/ |
H A D | toolbar.js | 240 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 D | linkwiz.js | 37 const pos = $editor.position(); 56 'top': (pos.top + 20) + 'px', 57 'left': (pos.left + 80) + 'px'
|