/plugin/navbox/ |
H A D | syntax.php | 68 $match = substr($match, 8, -9); 97 $currentSub = substr($line, 4); 114 $current = substr($line, 3); 122 $navbox['title'] = substr($line, 2); 125 } else if (substr($line, 0, 2) == '[[') { 157 $namespace = substr($line, 8 + $offset, -2); 164 $title = substr($line, 6 + $offset); 173 $title = substr($line, $tStart, -2); 175 $namespace = substr($line, $nsStart, ($tStart - $nsStart - 1)); 184 $links .= '[['.str_replace('/', ':', substr($filename, 13, -4)).']]'; [all …]
|
/plugin/jplayer/vendor/james-heinrich/getid3/getid3/ |
H A D | module.audio-video.flv.php | 134 $PreviousTagLength = getid3_lib::BigEndian2Int(substr($ThisTagHeader, 0, 4)); 135 $TagType = getid3_lib::BigEndian2Int(substr($ThisTagHeader, 4, 1)); 136 $DataLength = getid3_lib::BigEndian2Int(substr($ThisTagHeader, 5, 3)); 137 $Timestamp = getid3_lib::BigEndian2Int(substr($ThisTagHeader, 8, 3)); 138 $LastHeaderByte = getid3_lib::BigEndian2Int(substr($ThisTagHeader, 15, 1)); 168 $AVCPacketType = getid3_lib::BigEndian2Int(substr($FLVvideoHeader, 0, 1)); 181 $spsSize = getid3_lib::LittleEndian2Int(substr($FLVvideoHeader, 9, 2)); 257 $PictureSizeEnc['x'] = getid3_lib::BigEndian2Int(substr($FLVvideoHeader, 6, 2)); 258 $PictureSizeEnc['y'] = getid3_lib::BigEndian2Int(substr($FLVvideoHeader, 7, 2)); 446 return ord(substr($this->bytes, $this->pos++, 1)); [all …]
|
H A D | module.audio.mp3.php | 112 switch (substr($CurrentDataLAMEversionString, -1)) { 466 $head4 = substr($headerstring, 0, 4); 585 if (substr($headerstring, 4 + 32, 4) == 'VBRI') { 593 $SideInfoData = substr($headerstring, 4 + 2, 32); 627 …if ((substr($headerstring, $VBRidOffset, strlen('Xing')) == 'Xing') || (substr($headerstring, $VBR… 716 if (substr($headerstring, $VBRidOffset + 120, 4) == 'LAME') { 1186 $SyncPattern1 = substr($MPEGaudioData, 0, 4); 1221 $SyncPattern1 = substr($SyncPattern1, 0, 3); 1222 $SyncPattern2 = substr($SyncPattern2, 0, 3); 1233 …if ((substr($NextSyncPattern, 1, strlen($SyncPattern1)) == $SyncPattern1) || (substr($NextSyncPatt… [all …]
|
H A D | getid3.lib.php | 162 $binarypointnumber = substr($binarypointnumber, 2, 1).'.'.substr($binarypointnumber, 3); 276 $exponentstring = substr($bitword, 1, 15); 454 $binstring = substr($binstring, 1); 1092 if (substr($string, 0, 2) == "\xFE\xFF") { 1094 $string = substr($string, 2); 1112 if (substr($string, 0, 2) == "\xFF\xFE") { 1114 $string = substr($string, 2); 1134 $string = substr($string, 2); 1154 $string = substr($string, 2); 1172 $bom = substr($string, 0, 2); [all …]
|
/plugin/odtsupport/ |
H A D | syntax.php | 88 $string = substr($match, 7, -2); //strip markup 92 $string = substr($match, 8, -2); //strip markup 94 $hash = substr($hash,0,4); 97 $hash = substr($hash,0,4); 102 $params = substr($match, strlen($this->serverurl)+3, -2); //strip markup 104 $hash = substr($hash,0,4); 109 $string = substr($match, strlen($this->odt_field_pagehash4)+3, -2); //strip markup 110 $hash = substr($hash,0,4); 113 $string = substr($match, strlen($this->odt_field_pagehash)+3, -2); //strip markup 116 $string = substr($match, strlen($this->odt_field_metadata)+3, -2); //strip markup
|
/plugin/pureldap/vendor/freedsx/sasl/src/FreeDSx/Sasl/Security/ |
H A D | DigestMD5SecurityLayer.php | 119 $receivedMsgType = hexdec(bin2hex(substr($data, -6, 2))); 120 $receivedSeqNum = hexdec(bin2hex(substr($data, -4))); 140 $encrypted = substr($data, 0, -6); 150 $message = substr($data, 0, -10); 155 $receivedMac = substr($data, -10); 158 $expectedMac = substr($this->generateMACBlock($ki, $message, $seqnum), 0, 10); 188 $ending = substr($macBlock, 10); 189 $macBlock = substr($macBlock, 0, 10); 218 return substr($message, 0, strlen($message) - $padOrd); 254 $receivedMac = substr( [all...] |
/plugin/flowplayer/ |
H A D | syntax.php | 35 list($url, $attr) = explode(" ", hsc(trim(substr($match, 13, -2))), 2); 42 $params[strtolower(substr($res[1], 0, 1)).substr($res[1], 1)] = '"'.$res[2].'"'; 44 $params[strtolower(substr($res[1], 0, 1)).substr($res[1], 1)] = 'false'; 46 $params[strtolower(substr($res[1], 0, 1)).substr($res[1], 1)] = 'true';
|
/plugin/quickstats/GEOIP/ |
H A D | geoipcity.inc | 55 // workaround php's broken substr, strpos, etc handling with 75 $char = ord(substr($record_buf, $record_buf_pos, 1)); 84 $char = ord(substr($record_buf, $record_buf_pos + $str_length, 1)); 87 $char = ord(substr($record_buf, $record_buf_pos + $str_length, 1)); 95 $char = ord(substr($record_buf, $record_buf_pos + $str_length, 1)); 98 $char = ord(substr($record_buf, $record_buf_pos + $str_length, 1)); 101 $record->city = substr($record_buf, $record_buf_pos, $str_length); 106 $char = ord(substr($record_buf, $record_buf_pos + $str_length, 1)); 120 $char = ord(substr($record_buf, $record_buf_pos++, 1)); 125 $char = ord(substr($record_buf, $record_buf_pos++, 1)); [all …]
|
/plugin/switchpanel/ |
H A D | syntax.php | 84 $sFirstLines = substr( $match, 0, $iPosFirstLine ); 85 $sContent = trim( substr( $match, $iPosFirstLine ) ); 124 $sKey = trim( substr( $sOptions, 0, $iPosStop ) ); 131 $sValue = trim( substr( $sOptions, 0, $iPosStop ) ); 133 if( substr( $sOptions, 0, 1 ) == '"' ){ 144 $sOptions = trim( substr( $sOptions, $iPosStop ) ); 150 $sOptions = trim( substr( $sOptions, $iPosStop ) ); 165 if( $sLine == '' || substr( $sLine, 0, 1 ) == '#' ){ 173 $sContext = trim( substr( $sLine, 2 ) ); 188 $sOptions = substr( $sLine, $iPosSep + 1 ); [all …]
|
/plugin/authucenter/lib/api/ |
H A D | uc.php | 209 … $configfile = substr($configfile, -2) == '?>' ? substr($configfile, 0, -2) : $configfile; 298 $keya = md5(substr($key, 0, 16)); 299 $keyb = md5(substr($key, 16, 16)); 300 …$keyc = $ckey_length ? ($operation == 'DECODE' ? substr($string, 0, $ckey_length): substr(md5(micr… 305 …ion == 'DECODE' ? base64_decode(substr($string, $ckey_length)) : sprintf('%010d', $expiry ? $expir… 333 …if((substr($result, 0, 10) == 0 || substr($result, 0, 10) - time() > 0) && substr($result, 10, 16)… 334 return substr($result, 26);
|
/plugin/pgn4web/pgn4web/ |
H A D | pgn-encoder.php | 16 if (substr($i, 0, 1) == '1') { $o += 32; } 17 if (substr($i, 1, 1) == '1') { $o += 16; } 18 if (substr($i, 2, 1) == '1') { $o += 8; } 19 if (substr($i, 3, 1) == '1') { $o += 4; } 20 if (substr($i, 4, 1) == '1') { $o += 2; } 21 if (substr($i, 5, 1) == '1') { $o += 1; } 23 return substr($encodingCharSet, $o, 1); 303 if (ord(substr($ov, $i, 1)) > 255) { $bits = $bits . $LetterCodes[42]; } 304 else { $bits = $bits . $LetterCodes[ord(substr($ov, $i, 1))]; } 307 $bits = substr($bits, 6); [all …]
|
/plugin/jsonrpc/ |
H A D | IJR_Date.php | 32 $this->year = substr($iso, 0, 4); 33 $this->month = substr($iso, 5, 2); 34 $this->day = substr($iso, 8, 2); 35 $this->hour = substr($iso, 11, 2); 36 $this->minute = substr($iso, 14, 2); 37 $this->second = substr($iso, 17, 2);
|
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Util/ |
H A D | Getopt.php | 56 substr($arg, 2), 63 substr($arg, 1), 90 $opts[] = [$opt, substr($arg, $i + 1)]; 123 $opt_start = substr($long_opt, 0, $opt_len); 129 $opt_rest = substr($long_opt, $opt_len); 132 $opt == substr($long_options[$i + 1], 0, $opt_len)) { 138 if (substr($long_opt, -1) == '=') { 139 if (substr($long_opt, -2) != '==') {
|
/plugin/commonmark/vendor/league/commonmark/src/Util/ |
H A D | Html5EntityDecoder.php | 29 if (\substr($entity, -1) !== ';') { 33 if (\substr($entity, 0, 2) === '&#') { 34 if (\strtolower(\substr($entity, 2, 1)) === 'x') { 35 return self::fromHex(\substr($entity, 3, -1)); 38 return self::fromDecimal(\substr($entity, 2, -1));
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Common/Functions/ |
H A D | Strings.php | 41 $substr = substr($string, 0, $index); 42 $string = substr($string, $index); 43 return $substr; 58 $substr = substr($string, -$index); 59 $string = substr($string, 0, -$index); 60 return $substr; 245 … $format .= substr($parts[$i - 1], 0, -1) . str_repeat(substr($parts[$i - 1], -1), $parts[$i]); 389 $temp = substr($var, -$i, 4); 410 $temp = unpack('Nnum', str_pad(substr($var, 0, $remainder), 4, "\0", STR_PAD_LEFT)); 411 $temp = substr(pack('N', $temp['num'] + 1), -$remainder);
|
/plugin/farmsync/_test/ |
H A D | findCommonAncestor.test.php | 19 $sourcedir = substr(DOKU_TMP_DATA, 0, -1) . '_source/'; 20 $targetdir = substr(DOKU_TMP_DATA, 0, -1) . '_target/'; 46 $sourcedir = substr(DOKU_TMP_DATA, 0, -1) . '_source/'; 47 $targetdir = substr(DOKU_TMP_DATA, 0, -1) . '_target/'; 65 $sourcedir = substr(DOKU_TMP_DATA, 0, -1) . '_source/'; 66 $targetdir = substr(DOKU_TMP_DATA, 0, -1) . '_target/';
|
/plugin/sphinxsearch-was/ |
H A D | sphinxapi.php | 143 $lo = abs((float)substr($v, $p)); 144 $hi = abs((float)substr($v, 0, $p)); 184 $lo = (int)substr($v, $p); 185 $hi = (int)substr($v, 0, $p); 207 $lo = (float)substr($v, $p); 208 $hi = (float)substr($v, 0, $p); 479 if (substr($host, 0, 7) == "unix://") { 625 return substr($response, 4 + $wlen); 1139 $attr = substr($response, $p, $len); 1168 substr($response, $p, 8) [all …]
|
/plugin/sphinxsearch/ |
H A D | sphinxapi.php | 145 $lo = abs((float)substr($v, $p)); 146 $hi = abs((float)substr($v, 0, $p)); 190 $lo = (int)substr ( $v, $p ); 191 $hi = (int)substr ( $v, 0, $p ); 214 $lo = (float)substr($v, $p); 215 $hi = (float)substr($v, 0, $p); 498 if ( substr ( $host, 0, 7 )=="unix://" ) 659 $this->_warning = substr ( $response, 4, $wlen ); 660 return substr ( $response, 4+$wlen ); 1175 $attr = substr ( $response, $p, $len ); $p += $len; [all …]
|
/plugin/jukebox/id3/ |
H A D | module.audio-video.flv.php | 78 $PreviousTagLength = getid3_lib::BigEndian2Int(substr($ThisTagHeader, 0, 4)); 79 $TagType = getid3_lib::BigEndian2Int(substr($ThisTagHeader, 4, 1)); 80 $DataLength = getid3_lib::BigEndian2Int(substr($ThisTagHeader, 5, 3)); 81 $Timestamp = getid3_lib::BigEndian2Int(substr($ThisTagHeader, 8, 3)); 82 $LastHeaderByte = getid3_lib::BigEndian2Int(substr($ThisTagHeader, 15, 1)); 108 $PictureSizeEnc = getid3_lib::BigEndian2Int(substr($FLVvideoHeader, 5, 2)); 111 $PictureSizeEnc = getid3_lib::BigEndian2Int(substr($FLVvideoHeader, 6, 2)); 117 $PictureSizeEnc = getid3_lib::BigEndian2Int(substr($FLVvideoHeader, 5, 4)); 121 $PictureSizeEnc = getid3_lib::BigEndian2Int(substr($FLVvideoHeader, 7, 4)); 259 return getid3_lib::BigEndian2Int(substr($this->bytes, $this->pos++, 1)); [all …]
|
/plugin/combo/ComboStrap/ |
H A D | MarkupRef.php | 99 $email = substr($ref, 0, $position); 100 $queryStringAndFragment = substr($ref, $position + 1); 147 $width = DataType::toInteger(substr($widthAndHeight, 0, $xPosition)); 151 $height = DataType::toInteger(substr($widthAndHeight, $xPosition + 1)); 188 $fragment = substr($ref, 1); 240 $wikiPath = substr($ref, 0, $questionMarkPosition); 241 $queryStringAndAnchorOriginal = substr($ref, $questionMarkPosition + 1); 246 $wikiPath = substr($ref, 0, $hashTagPosition); 247 $fragment = substr($ref, $hashTagPosition + 1); 519 $token = substr( [all...] |
/plugin/mdpage/vendor/cebe/markdown/block/ |
H A D | TableTrait.php | 51 $r = (substr($col, -1, 1) === ':'); 65 if ($line === '' || substr($lines[$i], 0, 4) === ' ') { 69 $line = substr($line, 1); 71 …if (substr($line, -1, 1) === '|' && (substr($line, -2, 2) !== '\\|' || substr($line, -3, 3) === '\… 72 $line = substr($line, 0, -1);
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/BCMath/Reductions/ |
H A D | Barrett.php | 103 $lsd = substr($n, -$cutoff); 104 $msd = substr($n, 0, -$cutoff); 113 $temp = substr($n, 0, -$m_length + 1); 119 $temp = substr($temp, 0, -($m_length >> 1) - 1); 173 $temp = substr($x, 0, -$n_length + 1); 175 $temp = substr($temp, 0, -$n_length - 1); 177 $r1 = substr($x, -$n_length - 1); 178 $r2 = substr(bcmul($temp, $n), -$n_length - 1);
|
/plugin/canvas/ |
H A D | canvas.php | 31 $this->mode = substr(get_class($this), 7); 91 if ( substr($data, 1, 7) == 'canvas:') { 92 $match = trim(substr($data, 8, -1)); 94 $match = trim(substr($data, 1, -1)); 165 $html.= ' width="'.substr($opts['width'],0,-2).'"'; 166 $html.= ' height="'.substr($opts['height'],0,-2).'"'; 176 $html.= ' width="'.substr($opts['width'],0,-2).'"'; 177 $html.= ' height="'.substr($opts['height'],0,-2).'"'; 204 $arg[$match[1]] = substr($match[2], 1, -1); // drop quates from value string
|
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/ |
H A D | Utils.php | 27 return \substr($class, 0, $pos + 10); 33 public static function substr(string $string, int $start, ?int $length = null): string function in Monolog\\Utils 39 return substr($string, $start, (null === $length) ? strlen($string) : $length); 50 if ('file://' === substr($streamUrl, 0, 7)) { 51 $streamUrl = substr($streamUrl, 7); 61 …if (substr($streamUrl, 0, 1) === '/' || substr($streamUrl, 1, 1) === ':' || substr($streamUrl, 0, … 154 return substr($key, -6) == '_ERROR';
|
/plugin/geotag/syntax/ |
H A D | geotag.php | 72 $tags = trim(substr($match, 9, -2)); 84 $showlocation = trim(substr($placename [0], 10)); 102 hsc(trim(substr($lat [0], 4))), 103 hsc(trim(substr($lon [0], 4))), 104 hsc(trim(substr(($alt[0] ?? ''), 4))), 105 $this->geohash(substr($lat [0], 4), substr($lon [0], 4)), 106 hsc(trim(substr(($region[0] ?? ''), 7))), 107 hsc(trim(substr(($placename[0] ?? ''), 10))), 108 hsc(trim(substr(( [all...] |