Home
last modified time | relevance | path

Searched refs:offset (Results 1 - 16 of 16) sorted by relevance

/dokuwiki/inc/Utf8/
H A DPhpString.php73 * Return part of a string given character offset (and optionally length)
76 * @param int $offset number of UTF-8 characters offset (from left)
77 * @param int $length (optional) length in UTF-8 characters from offset
83 public static function substr($str, $offset, $length = null)
87 return mb_substr($str, $offset);
90 return mb_substr($str, $offset, $length);
98 * offset and length, we'll repeat a group of 65535 characters when needed (ok, up to MAXINT-65536)
100 * substr documentation states false can be returned in some cases (e.g. offset > string length)
109 $offset variable
122 $offset = $strlen + $offset; global() variable
[all...]
/dokuwiki/inc/
H A Dcompatibility.php61 * @param int $offset
65 function gzseek($zp, $offset, $whence = SEEK_SET) {
66 return gzseek64($zp, $offset, $whence);
H A Dutf8.php99 function utf8_substr($str, $offset, $length = null)
102 return PhpString::substr($str, $offset, $length);
207 function utf8_strpos($haystack, $needle, $offset = 0)
210 return PhpString::strpos($haystack, $needle, $offset);
H A Dfulltext.php429 $utf8_offset = $offset = $end = 0;
450 } else if (preg_match('/'.$re3.'/iu',$text,$match,PREG_OFFSET_CAPTURE,$offset)) {
451 } else if (preg_match('/'.$re2.'/iu',$text,$match,PREG_OFFSET_CAPTURE,$offset)) {
452 } else if (preg_match('/'.$re1.'/iu',$text,$match,PREG_OFFSET_CAPTURE,$offset)) {
459 // convert $idx (a byte offset) into a utf8 character offset
475 } else if ($offset == 0) {
495 // set $offset for next match attempt
497 // if the current match is not the longest possible match starting at the current offset
501 $offset variable
502 $offset = \\dokuwiki\\Utf8\\Clean::correctIdx($text,$offset); global() variable
[all...]
H A DJpegMeta.php1699 * @param integer $offset
1705 function _readIFD($data, $base, $offset, $isBigEndian, $mode) {
1708 $numEntries = $this->_getShort($data, $base + $offset, $isBigEndian);
1709 $offset += 2;
1717 $tag = $this->_getShort($data, $base + $offset, $isBigEndian);
1718 $offset += 2;
1719 $type = $this->_getShort($data, $base + $offset, $isBigEndian);
1720 $offset += 2;
1721 $count = $this->_getLong($data, $base + $offset, $isBigEndian);
1722 $offset
[all...]
/dokuwiki/inc/Form/
H A DForm.php126 * @param int $offset search from this position onward
129 public function findPositionByType($type, $offset = 0)
132 for ($pos = $offset; $pos < $len; $pos++) {
145 * @param int $offset search from this position onward
148 public function findPositionByAttribute($name, $value, $offset = 0)
151 for ($pos = $offset; $pos < $len; $pos++) {
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/File/
H A DASN1.php430 $offset = 0; variable
437 $length = $offset + 2; // +2 for the EOC
440 $temp = $this->_decode_ber($content, $start + $offset, $content_pos);
446 $offset+= $temp['length'];
749 $offset = ord($decoded['content'][0]); variable
750 $size = (strlen($decoded['content']) - 1) * 8 - $offset;
762 for ($j = $offset; $j < 8; $j++) {
765 $offset = 0; variable
1014 $offset = 8 - (($size + 1) & 7); variable
1015 $offset variable
[all...]
/dokuwiki/vendor/splitbrain/php-archive/src/
H A DZip.php85 @fseek($this->fh, $centd['offset']);
129 $pos_entry = $cdir['offset']; // begin of the central file directory
137 fseek($this->fh, $header['offset']); // seek to beginning of file header
332 $offset = $this->dataOffset(); variable
355 $offset,
384 $offset = $this->dataOffset(); variable
397 $offset)); // offset of start of central directory with respect to the starting disk number
484 $centd['offset'] = $data['offset'];
[all...]
/dokuwiki/lib/scripts/
H A Dbehaviour.js75 if($obj.offset().top != 0) {
77 scrollTop: $obj.offset().top - 100
80 // hidden object have no offset but can still be scrolled into view
H A Dtoolbar.js240 pos = $btn.offset();
259 $picker.offset({left: picker_left, top: pos.top+$btn[0].offsetHeight+3});
H A Dmedia.js546 $this.height(height + $this.find('div.panelContent').offset().top - $this.offset().top);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/SFTP/
H A DStream.php404 * @param int $offset
409 function _stream_seek($offset, $whence)
413 if ($offset < 0) {
418 $offset+= $this->pos;
421 $offset+= $this->size;
424 $this->pos = $offset;
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSFTP.php1962 $offset = $start; variable
1966 $offset = $size !== false ? $size : 0; variable
1968 $offset = 0; variable
2056 $subtemp = $offset + $sent;
2175 * $offset and $length can be used to download files in chunks.
2179 * @param int $offset
2185 function get($remote_file, $local_file = false, $offset = 0, $length = -1, $progressCallback = null)
2232 $start = $offset;
2274 $offset+= strlen($temp);
2283 call_user_func($progressCallback, $offset);
[all...]
/dokuwiki/inc/parser/
H A Dxhtml.php668 $offset = 0; variable
670 $offset = $INPUT->str('codeblockOffset'); variable
677 array('codeblock' => $offset + $this->_codeblock)
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DBase.php1052 $offset = 2 * $this->block_size; variable
1054 $offset = $this->block_size; variable
1058 $this->decryptIV = substr($ciphertext, -$offset, $this->block_size);
H A DRSA.php2576 $offset = 0; variable
2580 $offset+= $patternMatch ? 0 : 1;
2592 return substr($m, $offset + 1);

Completed in 28 milliseconds