Lines Matching refs:substr

18 			$returnstring .= str_pad(dechex(ord(substr($string, $i, 1))), 2, '0', STR_PAD_LEFT).' ';
28 if (ord(substr($string, $i, 1)) <= 31) {
31 $returnstring .= ' '.substr($string, $i, 1).' ';
103 …if (($imagechunkcheck = GetDataImageSize(substr($variable, 0, 32768), $imageinfo)) && ($imagechunk…
142 return strrev(substr($reversedfilename, 0, $offset));
164 if (substr($ar1, 0, $shortest) === substr($ar2, 0, $shortest)) {
249 while (($binarypointnumber[0] != '1') || (substr($binarypointnumber, 1, 1) != '.')) {
250 if (substr($binarypointnumber, 1, 1) == '.') {
252 $binarypointnumber = substr($binarypointnumber, 2, 1).'.'.substr($binarypointnumber, 3);
257 $binarypointnumber = $binarypointnumber[0].'.'.substr($binarypointnumber, 1);
260 …$binarypointnumber = str_pad(substr($binarypointnumber, 0, $maxbits + 2), $maxbits + 2, '0', STR_P…
308 …$fractionbitstring = str_pad(substr($normalizedbinary['normalized'], 2), $fractionbits, '0', STR_P…
349 $exponentstring = substr($bitword, 1, $exponentbits - 1);
350 $fractionstring = substr($bitword, $exponentbits, $fractionbits);
485 $decvalue += ((int) substr($binstring, strlen($binstring) - $i - 1, 1)) * pow(2, $i);
497 $string = chr(Bin2Dec(strrev(substr($binstringreversed, $i, 8)))).$string;
568 $nextchar = ord(substr($data, $i + 1, 1));
672 if (substr($asciidata, 0, 2) == chr(0xFF).chr(0xFE)) {
674 $asciidata = substr($asciidata, 2);
676 if (substr($asciidata, strlen($asciidata) - 2, 2) == chr(0).chr(0)) {
677 …$asciidata = substr($asciidata, 0, strlen($asciidata) - 2); // remove terminator, only if present …
691 if (substr($asciidata, strlen($asciidata) - 2, 2) == chr(0).chr(0)) {
692 …$asciidata = substr($asciidata, 0, strlen($asciidata) - 2); // remove terminator, only if present …
710 if (substr($asciidata, strlen($asciidata) - 2, 2) == chr(0).chr(0)) {
711 …$asciidata = substr($asciidata, 0, strlen($asciidata) - 2); // remove terminator, only if present …
730 if (substr($asciidata, strlen($asciidata) - 1, 1) == chr(0)) {
770 if (trim($id3v1['title']) != trim(substr($id3v2['title'], 0, 30))) {
773 if (trim($id3v1['artist']) != trim(substr($id3v2['artist'], 0, 30))) {
776 if (trim($id3v1['album']) != trim(substr($id3v2['album'], 0, 30))) {
779 if (trim($id3v1['year']) != trim(substr($id3v2['year'], 0, 4))) {
789 if (trim($id3v1['comment']) != trim(substr($id3v2['comment'], 0, 28))) {
793 if (trim($id3v1['comment']) != trim(substr($id3v2['comment'], 0, 30))) {
826 $hexbytecharstring = chr(hexdec(substr($GUIDstring, 6, 2)));
827 $hexbytecharstring .= chr(hexdec(substr($GUIDstring, 4, 2)));
828 $hexbytecharstring .= chr(hexdec(substr($GUIDstring, 2, 2)));
829 $hexbytecharstring .= chr(hexdec(substr($GUIDstring, 0, 2)));
831 $hexbytecharstring .= chr(hexdec(substr($GUIDstring, 11, 2)));
832 $hexbytecharstring .= chr(hexdec(substr($GUIDstring, 9, 2)));
834 $hexbytecharstring .= chr(hexdec(substr($GUIDstring, 16, 2)));
835 $hexbytecharstring .= chr(hexdec(substr($GUIDstring, 14, 2)));
837 $hexbytecharstring .= chr(hexdec(substr($GUIDstring, 19, 2)));
838 $hexbytecharstring .= chr(hexdec(substr($GUIDstring, 21, 2)));
840 $hexbytecharstring .= chr(hexdec(substr($GUIDstring, 24, 2)));
841 $hexbytecharstring .= chr(hexdec(substr($GUIDstring, 26, 2)));
842 $hexbytecharstring .= chr(hexdec(substr($GUIDstring, 28, 2)));
843 $hexbytecharstring .= chr(hexdec(substr($GUIDstring, 30, 2)));
844 $hexbytecharstring .= chr(hexdec(substr($GUIDstring, 32, 2)));
845 $hexbytecharstring .= chr(hexdec(substr($GUIDstring, 34, 2)));
953 …$decodedchar = Bin2Dec(substr(Dec2Bin(ord($utf8text[$i])), 3, 5).substr(Dec2Bin(ord($utf8text[($i …
977 …return BigEndian2Int(substr($rawdata, 0, 1)) + (float) (BigEndian2Int(substr($rawdata, 1, 1)) / po…
984 …return BigEndian2Int(substr($rawdata, 0, 2)) + (float) (BigEndian2Int(substr($rawdata, 2, 2)) / po…
992 …return Bin2Dec(substr($binarystring, 0, 2)) + (float) (Bin2Dec(substr($binarystring, 2, 30)) / pow…
1000 return substr($pascalstring, 1);
1007 if (substr($nullterminatedstring, strlen($nullterminatedstring) - 1, 1) === chr(0)) {
1008 return substr($nullterminatedstring, 0, strlen($nullterminatedstring) - 1);
1072 $ArrayPath = substr($ArrayPath, 1);
1075 …$ReturnedArray[substr($ArrayPath, 0, $pos)] = CreateDeepArray(substr($ArrayPath, $pos + 1), $Separ…
1397 $MPEGheaderRawArray = MPEGaudioHeaderDecode(substr($headerstring, 0, 4));
1418 $MP3fileInfo['crc'] = BigEndian2Int(substr($headerstring, 4, 2));
1507 …echo strtoupper(str_pad(dechex(bindec(substr($headerbitstream, 0, 8))), 2, '0', STR_PAD_LEFT)).' …
1508 …echo strtoupper(str_pad(dechex(bindec(substr($headerbitstream, 8, 8))), 2, '0', STR_PAD_LEFT)).' …
1509 …echo strtoupper(str_pad(dechex(bindec(substr($headerbitstream, 16, 8))), 2, '0', STR_PAD_LEFT)).' …
1510 …echo strtoupper(str_pad(dechex(bindec(substr($headerbitstream, 24, 8))), 2, '0', STR_PAD_LEFT)).'<…
1691 $head4 = substr($headerstring, 0, 4);
1734 $ThisFileInfo['mpeg']['audio']['crc'] = BigEndian2Int(substr($headerstring, 4, 2));
1806 if (substr($headerstring, 4 + 32, 4) == 'VBRI') {
1814 $SideInfoData = substr($headerstring, 4 + 2, 32);
1818 …$ThisFileInfo['mpeg']['audio']['VBR_encoder_version'] = BigEndian2Int(substr($headerstring, $F…
1819 …$ThisFileInfo['mpeg']['audio']['VBR_encoder_delay'] = BigEndian2Int(substr($headerstring, $F…
1820 …$ThisFileInfo['mpeg']['audio']['VBR_quality'] = BigEndian2Int(substr($headerstring, $F…
1821 …$ThisFileInfo['mpeg']['audio']['VBR_bytes'] = BigEndian2Int(substr($headerstring, $F…
1822 …$ThisFileInfo['mpeg']['audio']['VBR_frames'] = BigEndian2Int(substr($headerstring, $F…
1823 …$ThisFileInfo['mpeg']['audio']['VBR_seek_offsets'] = BigEndian2Int(substr($headerstring, $F…
1825 …$ThisFileInfo['mpeg']['audio']['VBR_seek_offsets_stride'] = BigEndian2Int(substr($headerstring, $F…
1831 $Fraunhofer_OffsetN = BigEndian2Int(substr($headerstring, $FraunhoferVBROffset, 2));
1848 $SideInfoData = substr($headerstring, 4 + 2, 17);
1852 $SideInfoData = substr($headerstring, 4 + 2, 32);
1858 $SideInfoData = substr($headerstring, 4 + 2, 9);
1862 $SideInfoData = substr($headerstring, 4 + 2, 17);
1866 …if ((substr($headerstring, $VBRidOffset, strlen('Xing')) == 'Xing') || (substr($headerstring, $VBR…
1873 …$ThisFileInfo['mpeg']['audio']['xing_flags_raw'] = BigEndian2Int(substr($headerstring, $VBRidOffse…
1881 …$ThisFileInfo['mpeg']['audio']['VBR_frames'] = BigEndian2Int(substr($headerstring, $VBRidOffset + …
1884 …$ThisFileInfo['mpeg']['audio']['VBR_bytes'] = BigEndian2Int(substr($headerstring, $VBRidOffset + …
1900 $LAMEtocData = substr($headerstring, $VBRidOffset + 16, 100);
1906 …$ThisFileInfo['mpeg']['audio']['VBR_scale'] = BigEndian2Int(substr($headerstring, $VBRidOffset + 1…
1910 if (substr($headerstring, $VBRidOffset + 120, 4) == 'LAME') {
1911 …$ThisFileInfo['mpeg']['audio']['LAME']['long_version'] = substr($headerstring, $VBRidOffset + 120…
1912 …$ThisFileInfo['mpeg']['audio']['LAME']['short_version'] = substr($ThisFileInfo['mpeg']['audio']['L…
1929 …$ThisFileInfo['mpeg']['audio']['LAME']['vbr_quality'] = BigEndian2Int(substr($headerstring, $LAMEt…
1932 …$ThisFileInfo['mpeg']['audio']['LAME']['short_version'] = substr($headerstring, $LAMEtagOffsetCont…
1936 … $LAMEtagRevisionVBRmethod = BigEndian2Int(substr($headerstring, $LAMEtagOffsetContant + 0xA5, 1));
1943 …$ThisFileInfo['mpeg']['audio']['LAME']['lowpass_frequency'] = BigEndian2Int(substr($headerstring, …
1948 …$ThisFileInfo['mpeg']['audio']['LAME']['RGAD']['peak_amplitude'] = BigEndian2Float(substr($headers…
1949 …$ThisFileInfo['mpeg']['audio']['LAME']['raw']['RGAD_radio'] = BigEndian2Int(substr($headers…
1950 …$ThisFileInfo['mpeg']['audio']['LAME']['raw']['RGAD_audiophile'] = BigEndian2Int(substr($headers…
1993 $EncodingFlagsATHtype = BigEndian2Int(substr($headerstring, $LAMEtagOffsetContant + 0xAF, 1));
2001 $ABRbitrateMinBitrate = BigEndian2Int(substr($headerstring, $LAMEtagOffsetContant + 0xB0, 1));
2009 $EncoderDelays = BigEndian2Int(substr($headerstring, $LAMEtagOffsetContant + 0xB1, 3));
2014 $MiscByte = BigEndian2Int(substr($headerstring, $LAMEtagOffsetContant + 0xB4, 1));
2025 …$ThisFileInfo['mpeg']['audio']['LAME']['raw']['mp3_gain'] = BigEndian2Int(substr($headerstring, $L…
2030 $PresetSurroundBytes = BigEndian2Int(substr($headerstring, $LAMEtagOffsetContant + 0xB6, 2));
2037 …$ThisFileInfo['mpeg']['audio']['LAME']['audio_bytes'] = BigEndian2Int(substr($headerstring, $LAMEt…
2041 …$ThisFileInfo['mpeg']['audio']['LAME']['music_crc'] = BigEndian2Int(substr($headerstring, $LAME…
2044 …$ThisFileInfo['mpeg']['audio']['LAME']['lame_tag_crc'] = BigEndian2Int(substr($headerstring, $LAME…
2281 $SyncPattern1 = substr($MPEGaudioData, 0, 4);
2300 $framelength1 = strpos($MPEGaudioData, substr($SyncPattern1, 0, 3), 4);
2301 $framelength2 = strpos($MPEGaudioData, substr($SyncPattern2, 0, 3), 4);
2316 $SyncPattern1 = substr($SyncPattern1, 0, 3);
2317 $SyncPattern2 = substr($SyncPattern2, 0, 3);
2328 …if ((substr($NextSyncPattern, 1, strlen($SyncPattern1)) == $SyncPattern1) || (substr($NextSyncPatt…
2331 …} elseif ((substr($NextSyncPattern, 0, strlen($SyncPattern1)) == $SyncPattern1) || (substr($NextSy…
2335 …} elseif ((substr($NextSyncPattern, 2, strlen($SyncPattern1)) == $SyncPattern1) || (substr($NextSy…
2749 $MPEGrawHeader['synch'] = (BigEndian2Int(substr($Header4Bytes, 0, 2)) & 0xFFE0) >> 4;