Home
last modified time | relevance | path

Searched refs:pos (Results 1 - 25 of 39) sorted by relevance

12

/dokuwiki/inc/Form/
H A DForm.php111 * @param int $pos
114 public function getElementAt($pos)
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];
[all...]
/dokuwiki/inc/parser/
H A Dhandler.php45 * @param int $pos byte position in the original source file
47 public function addCall($handler, $args, $pos) {
48 $call = array($handler,$args, $pos);
92 public function _addCall($handler, $args, $pos) {
94 $this->addCall($handler, $args, $pos);
103 * @param int $pos byte position in the original source file
106 public function addPluginCall($plugin, $args, $state, $pos, $match) {
107 $call = array('plugin',array($plugin, $args, $state, $match), $pos);
231 * @param int $pos byte position in the original source file
234 protected function nestingTag($match, $state, $pos,
1101 $pos = strrpos($link[0], '?'); global() variable
[all...]
H A Drenderer.php183 * @param int $pos byte position in the original source
185 public function header($text, $level, $pos) {
697 * @param int $pos byte position in the original source
699 public function table_open($maxcols = null, $numrows = null, $pos = null) {
705 * @param int $pos byte position in the original source
707 public function table_close($pos = null) {
H A Dxhtmlsummary.php39 public function header($text, $level, $pos) {
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/Content/Type/
H A DSniffer.php96 if (($pos = strpos($this->file->headers['content-type'], ';')) !== false)
98 $official = substr($this->file->headers['content-type'], 0, $pos);
246 $pos = strspn($this->file->body, "\x09\x0A\x0D\x20\xEF\xBB\xBF"); variable
248 while ($pos < $len)
250 switch ($this->file->body[$pos])
256 $pos += strspn($this->file->body, "\x09\x0A\x0D\x20", $pos);
260 $pos++;
267 if (substr($this->file->body, $pos, 3) === '!--')
269 $pos
[all...]
/dokuwiki/inc/Parsing/Handler/
H A DPreformatted.php8 protected $pos; variable
28 $this->pos = $call[2]; variable
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)
73 $this->calls[] = array('p_open',array(), $pos);
85 * @param string|integer $pos
87 protected function closeParagraph($pos)
113 $this->calls[] = array('p_close',array(), $pos);
/dokuwiki/inc/
H A DJpegMeta.php1499 $pos = 0; variable
1520 $this->_info['sof']['SamplePrecision'] = $this->_getByte($data, $pos + 0);
1521 $this->_info['sof']['ImageHeight'] = $this->_getShort($data, $pos + 1);
1522 $this->_info['sof']['ImageWidth'] = $this->_getShort($data, $pos + 3);
1523 $this->_info['sof']['ColorChannels'] = $this->_getByte($data, $pos + 5);
1658 $pos = 6; variable
1661 // We don't increment $pos after this because Exif uses offsets relative to this point
1663 $byteAlign = $this->_getShort($data, $pos + 0);
1673 $alignCheck = $this->_getShort($data, $pos + 2, $isBigEndian);
1683 $offsetIFD0 = $this->_getLong($data, $pos
1935 $pos = 6; global() variable
1941 $pos = $this->_putString($data, $pos, $aux); global() variable
1945 $pos = $this->_putString($data, $pos, $aux); global() variable
1947 $pos = $this->_putShort($data, $pos, 0x002A, $isBigEndian); global() variable
1948 $pos = $this->_putLong($data, $pos, 0x00000008, $isBigEndian); // IFD0 Offset is always 8 global() variable
1953 $pos = $this->_writeIFD($data, $pos, $offsetBase, $ifd0, $isBigEndian, true); global() variable
1954 $pos = $this->_writeIFD($data, $pos, $offsetBase, $ifd1, $isBigEndian, false); global() variable
1978 $pos = $this->_putShort($data, $pos, $entryCount, $isBigEndian); global() variable
1985 $pos = $this->_putShort($data, $pos, $tag, $isBigEndian); global() variable
1986 $pos = $this->_putShort($data, $pos, 0x04, $isBigEndian); // LONG global() variable
1987 $pos = $this->_putLong($data, $pos, 0x01, $isBigEndian); // Count = 1 global() variable
1988 $pos = $this->_putLong($data, $pos, $dataPos - $offsetBase, $isBigEndian); global() variable
1992 $pos = $this->_putShort($data, $pos, $tag, $isBigEndian); global() variable
1993 $pos = $this->_putShort($data, $pos, 0x04, $isBigEndian); // LONG global() variable
1994 $pos = $this->_putLong($data, $pos, 0x01, $isBigEndian); // Count = 1 global() variable
1996 $pos = $this->_putLong($data, $pos, 0x00, $isBigEndian); // For Now global() variable
1999 $pos = $this->_putShort($data, $pos, $tag, $isBigEndian); global() variable
2000 $pos = $this->_putShort($data, $pos, $type, $isBigEndian); global() variable
2001 $pos = $this->_putLong($data, $pos, $entries[$i]['count'], $isBigEndian); global() variable
2003 $pos = $this->_putLong($data, $pos, $dataPos - $offsetBase, $isBigEndian); global() variable
2007 $pos = $this->_putString($data, $pos, $val); global() variable
2018 $pos = $this->_putLong($data, $pos, $dataPos - $offsetBase, $isBigEndian); global() variable
2020 $pos = $this->_putLong($data, $pos, 0, $isBigEndian); global() variable
2387 $pos = 14; global() variable
2418 $pos = $this->_readIPTC($data, $pos); global() variable
2456 $pos = $basePos + $length + ($length % 2); // Even padding global() variable
2500 $pos = $basePos + $length; // No padding global() variable
2524 $pos = 14; global() variable
2528 $pos = $this->_write8BIM( global() variable
2555 $pos = $this->_putString($data, $pos, $signature); global() variable
2556 $pos = $this->_putShort($data, $pos, $type); global() variable
2560 $pos = $this->_putByte($data, $pos, $len); global() variable
2561 $pos = $this->_putString($data, $pos, $header); global() variable
2563 $pos = $this->_putByte($data, $pos, 0); global() variable
2567 $pos = $this->_putLong($data, $pos, $len); global() variable
2568 $pos = $this->_putString($data, $pos, $value); global() variable
2570 $pos = $this->_putByte($data, $pos, 0); global() variable
2578 $pos = 0; global() variable
2597 $pos = $this->_writeIPTCEntry($data, $pos, $type, $value[$i]); global() variable
2601 $pos = $this->_writeIPTCEntry($data, $pos, $type, $value); global() variable
2621 $pos = $this->_putShort($data, $pos, 0x1C02); global() variable
2622 $pos = $this->_putByte($data, $pos, $type); global() variable
2623 $pos = $this->_putShort($data, $pos, strlen($value)); global() variable
2624 $pos = $this->_putString($data, $pos, $value); global() variable
[all...]
H A Dform.php162 * @param string $pos 0-based index where the element will be inserted.
167 public function insertElement($pos, $elem)
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)
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 Dpageutils.php168 $pos = strrpos((string)$id,':'); variable
169 if($pos!==false){
170 return substr((string)$id,0,$pos);
184 $pos = strrpos($id, ':'); variable
185 if ($pos!==false) {
186 return substr($id, $pos+1);
/dokuwiki/vendor/openpsa/universalfeedcreator/lib/Creator/
H A DFeedCreator.php101 $pos = strrpos($string, "."); variable
102 if ($pos >= $length - 4) {
104 $pos = strrpos($string, "."); variable
106 if ($pos >= $length * 0.4) {
107 return substr($string, 0, $pos + 1)." ...";
110 $pos = strrpos($string, " "); variable
111 if ($pos >= $length - 4) {
113 $pos = strrpos($string, " "); variable
115 if ($pos >= $length * 0.4) {
116 return substr($string, 0, $pos)
[all...]
/dokuwiki/lib/plugins/authad/
H A Daction.php68 $pos = $form->findPositionByAttribute('name', 'u'); variable
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; variable
147 if (! $this->dispatchTokens($unmatched, $matched, $mode, $pos, $matchPos)) {
154 $pos = $initialLength - $currentLength; variable
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)
270 return $this->handler->$handler($content, $is_match, $pos, $plugin);
273 return $this->handler->$handler($content, $is_match, $pos);
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/Net/
H A DIPv6.php159 $pos = null; variable
165 $pos = $match[1]; variable
169 $ip_parts[0] = substr_replace($ip_parts[0], '::', $pos, $max);
196 $pos = strrpos($ip, ':'); variable
197 $ipv6_part = substr($ip, 0, $pos);
198 $ipv4_part = substr($ip, $pos + 1);
/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"))
2075 $parser = $registry->create('XML_Declaration_Parser', array(SimplePie_Misc::change_encoding(substr($data, 20, $pos - 20), 'UTF-32BE', 'UTF-8')));
2086 if ($pos = strpos($data, "\x3F\x00\x00\x00\x3E\x00\x00\x00"))
2088 $parser = $registry->create('XML_Declaration_Parser', array(SimplePie_Misc::change_encoding(substr($data, 20, $pos
[all...]
H A DParser.php130 if (substr($data, 0, 5) === '<?xml' && strspn(substr($data, 5, 1), "\x09\x0A\x0D\x20") && ($pos = strpos($data, '?>')) !== false)
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/Net/SFTP/
H A DStream.php71 var $pos; variable
290 $this->pos = $this->mode[0] != 'a' ? 0 : $this->size; variable
313 //if ($this->pos >= $this->size) {
318 $result = $this->sftp->get($this->path, false, $this->pos, $count);
332 $this->pos+= strlen($result);
351 $result = $this->sftp->put($this->path, $data, SFTP::SOURCE_STRING, $this->pos);
364 $this->pos+= strlen($data);
365 if ($this->pos > $this->size) {
366 $this->size = $this->pos;
380 return $this->pos;
424 $this->pos = $offset; global() variable
559 $this->pos = 0; global() variable
586 $this->pos = 0; global() variable
[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);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DBase.php724 $pos = &$this->enbuffer['pos']; variable
727 $pos = 0; variable
731 if ($pos) {
732 $orig_pos = $pos;
733 $max = $this->block_size - $pos;
737 $pos = 0; variable
740 $pos+= $len;
743 // ie. $i = min($max, $len), $len-= $i, $pos+= $i, $pos
759 $pos = $overflow; global() variable
799 $pos = &$this->enbuffer['pos']; global() variable
809 $pos = 0; global() variable
843 $pos = $len; global() variable
924 $pos = &$buffer['pos']; global() variable
927 $pos = 0; global() variable
937 $pos = 0; global() variable
958 $pos = $len; global() variable
1070 $pos = &$this->buffer['pos']; global() variable
1073 $pos = 0; global() variable
1083 $pos = 0; global() variable
1103 $pos = $overflow; global() variable
1140 $pos = &$this->debuffer['pos']; global() variable
1150 $pos = 0; global() variable
1170 $pos = $len; global() variable
1249 $pos = &$buffer['pos']; global() variable
1252 $pos = 0; global() variable
1262 $pos = 0; global() variable
1284 $pos = $len; global() variable
[all...]
/dokuwiki/inc/Utf8/
H A DPhpString.php368 $pos = strpos($haystack, $needle, $offset + $comp); variable
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 Dlinkwiz.js22 var pos = $editor.position();
42 'top': (pos.top+20)+'px',
43 'left': (pos.left+80)+'px'
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});
/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);
/dokuwiki/lib/plugins/info/
H A Dsyntax.php50 * @param int $pos The character position of the matched text
54 public function handle($match, $state, $pos, Doku_Handler $handler)

Completed in 17 milliseconds

12