Home
last modified time | relevance | path

Searched refs:substr (Results 26 – 50 of 1856) sorted by relevance

12345678910>>...75

/plugin/jplayer/vendor/james-heinrich/getid3/getid3/
H A Dmodule.audio.tak.php49 $objtype = getid3_lib::BigEndian2Int(substr($TAKMetaData, 0, 1)); //Metadata Block Object Type
70 $objtype = getid3_lib::BigEndian2Int(substr($TAKMetaData, 0, 1));
71 $objlength = getid3_lib::LittleEndian2Int(substr($TAKMetaData, 1, 3));
79 $ver = getid3_lib::LittleEndian2Int(substr($TAKMetaData, 0, 3));
92 $thisfile_takaudio_raw['MD5Data'] = substr($TAKMetaData, 0, 16);
100 $thisfile_takaudio['lastframe_pos'] = getid3_lib::LittleEndian2Int(substr($TAKMetaData, 0, 5));
109 $headersize = getid3_lib::LittleEndian2Int(substr($TAKMetaData, 0, 3));
110 $footersize = getid3_lib::LittleEndian2Int(substr($TAKMetaData, 3, 3));
111 if ($headersize) $thisfile_takaudio_raw['header_data'] = substr($TAKMetaData, 6, $headersize);
125 $objtype = getid3_lib::BigEndian2Int(substr($TAKMetaData, 0, 1));
[all …]
H A Dmodule.audio.dsf.php39 $info['dsf']['dsd']['magic'] = substr($dsfheader, $headeroffset, 4);
51 …$info['dsf']['dsd']['dsf_file_size'] = getid3_lib::LittleEndian2Int(substr($dsfheader, $heade…
53 …$info['dsf']['dsd']['meta_chunk_offset'] = getid3_lib::LittleEndian2Int(substr($dsfheader, $heade…
57 $info['dsf']['fmt']['magic'] = substr($dsfheader, $headeroffset, 4);
75 …$info['dsf']['fmt']['channel_type_id'] = getid3_lib::LittleEndian2Int(substr($dsfheader, $heade…
77 …$info['dsf']['fmt']['channels'] = getid3_lib::LittleEndian2Int(substr($dsfheader, $heade…
79 …$info['dsf']['fmt']['sample_rate'] = getid3_lib::LittleEndian2Int(substr($dsfheader, $heade…
81 …$info['dsf']['fmt']['bits_per_sample'] = getid3_lib::LittleEndian2Int(substr($dsfheader, $heade…
83 …$info['dsf']['fmt']['sample_count'] = getid3_lib::LittleEndian2Int(substr($dsfheader, $heade…
85 …$info['dsf']['fmt']['channel_block_size'] = getid3_lib::LittleEndian2Int(substr($dsfheader, $heade…
[all …]
H A Dmodule.audio.dsdiff.php34 if (substr($DSDIFFheader, 0, 4) != 'FRM8') {
56 $thisChunk['name'] = substr($ChunkHeader, 0, 4);
61 $thisChunk['size'] = getid3_lib::BigEndian2Int(substr($ChunkHeader, 4, 8));
171 $thisChunk['marker_hours'] = getid3_lib::BigEndian2Int(substr($MARK, 0, 2));
172 $thisChunk['marker_minutes'] = getid3_lib::BigEndian2Int(substr($MARK, 2, 1));
173 $thisChunk['marker_seconds'] = getid3_lib::BigEndian2Int(substr($MARK, 3, 1));
174 $thisChunk['marker_samples'] = getid3_lib::BigEndian2Int(substr($MARK, 4, 4));
175 $thisChunk['marker_offset'] = getid3_lib::BigEndian2Int(substr($MARK, 8, 4));
176 $thisChunk['marker_type_id'] = getid3_lib::BigEndian2Int(substr($MARK, 12, 2));
177 $thisChunk['marker_channel'] = getid3_lib::BigEndian2Int(substr($MARK, 14, 2));
[all …]
H A Dmodule.archive.szip.php31 if (substr($SZIPHeader, 0, 4) != "SZ\x0A\x04") {
36 $info['szip']['major_version'] = getid3_lib::BigEndian2Int(substr($SZIPHeader, 4, 1));
37 $info['szip']['minor_version'] = getid3_lib::BigEndian2Int(substr($SZIPHeader, 5, 1));
65 … $BHdataArray['filename'] = substr($BHheaderdata, $BHheaderoffset, strcspn($BHheaderdata, "\x00"));
68 … $BHdataArray['owner'] = substr($BHheaderdata, $BHheaderoffset, strcspn($BHheaderdata, "\x00"));
71 … $BHdataArray['group'] = substr($BHheaderdata, $BHheaderoffset, strcspn($BHheaderdata, "\x00"));
74 … $BHdataArray['filelength'] = getid3_lib::BigEndian2Int(substr($BHheaderdata, $BHheaderoffset, 3));
77 …$BHdataArray['access_flags'] = getid3_lib::BigEndian2Int(substr($BHheaderdata, $BHheaderoffset, 2)…
80 …$BHdataArray['creation_time'] = getid3_lib::BigEndian2Int(substr($BHheaderdata, $BHheaderoffset, 4…
83 …$BHdataArray['modification_time'] = getid3_lib::BigEndian2Int(substr($BHheaderdata, $BHheaderoffse…
[all …]
H A Dmodule.audio-video.nsv.php77 $info['nsv']['NSVs']['identifier'] = substr($NSVsheader, $offset, 4);
88 …$info['nsv']['NSVs']['video_codec'] = substr($NSVsheader, $offset…
90 …$info['nsv']['NSVs']['audio_codec'] = substr($NSVsheader, $offset…
92 …$info['nsv']['NSVs']['resolution_x'] = getid3_lib::LittleEndian2Int(substr($NSVsheader, $offset…
94 …$info['nsv']['NSVs']['resolution_y'] = getid3_lib::LittleEndian2Int(substr($NSVsheader, $offset…
116 …$info['nsv']['NSVs']['bits_channel'] = getid3_lib::LittleEndian2Int(substr($NSVsheader, $offset, 1…
118 …$info['nsv']['NSVs']['channels'] = getid3_lib::LittleEndian2Int(substr($NSVsheader, $offset, 1…
156 $info['nsv']['NSVf']['identifier'] = substr($NSVfheader, $offset, 4);
167 …$info['nsv']['NSVf']['header_length'] = getid3_lib::LittleEndian2Int(substr($NSVfheader, $offset, …
169 …$info['nsv']['NSVf']['file_size'] = getid3_lib::LittleEndian2Int(substr($NSVfheader, $offset, …
[all …]
H A Dmodule.tag.id3v1.php38 if (substr($id3v1tag, 0, 3) == 'TAG') {
42 $ParsedID3v1['title'] = $this->cutfield(substr($id3v1tag, 3, 30));
43 $ParsedID3v1['artist'] = $this->cutfield(substr($id3v1tag, 33, 30));
44 $ParsedID3v1['album'] = $this->cutfield(substr($id3v1tag, 63, 30));
45 $ParsedID3v1['year'] = $this->cutfield(substr($id3v1tag, 93, 4));
47 $ParsedID3v1['genreid'] = ord(substr($id3v1tag, 127, 1));
53 $ParsedID3v1['comment'] = substr($ParsedID3v1['comment'], 0, 28);
115 if (substr($preid3v1, 0, 3) == 'TAG') {
122 if (substr($preid3v1, 96, 8) == 'APETAGEX') {
124 } elseif (substr($preid3v1, 119, 6) == 'LYRICS') {
[all …]
H A Dmodule.audio.mpc.php89 $thisPacket['key'] = substr($MPCheaderData, 0, $keyNameSize);
110 …$thisPacket['crc'] = getid3_lib::BigEndian2Int(substr($MPCheaderData, $packet_…
112 …$thisPacket['stream_version'] = getid3_lib::BigEndian2Int(substr($MPCheaderData, $packet_…
123 …$otherUsefulData = getid3_lib::BigEndian2Int(substr($MPCheaderData, $packet_…
170 …$profile_pns = getid3_lib::BigEndian2Int(substr($MPCheaderData, $packet_offset, 1)…
176 …$thisPacket['version_major'] = getid3_lib::BigEndian2Int(substr($MPCheaderData, $packet_offset, 1)…
178 …$thisPacket['version_minor'] = getid3_lib::BigEndian2Int(substr($MPCheaderData, $packet_offset, 1)…
180 …$thisPacket['version_build'] = getid3_lib::BigEndian2Int(substr($MPCheaderData, $packet_offset, 1)…
351 $HeaderDWORD[0] = getid3_lib::LittleEndian2Int(substr($MPCheaderData, 0, 4));
352 $HeaderDWORD[1] = getid3_lib::LittleEndian2Int(substr($MPCheaderData, 4, 4));
[all …]
H A Dmodule.audio-video.swf.php40 $info['swf']['header']['signature'] = substr($SWFfileData, 0, 3);
56 $info['swf']['header']['version'] = getid3_lib::LittleEndian2Int(substr($SWFfileData, 3, 1));
57 $info['swf']['header']['length'] = getid3_lib::LittleEndian2Int(substr($SWFfileData, 4, 4));
60 $SWFHead = substr($SWFfileData, 0, 8);
61 $SWFfileData = substr($SWFfileData, 8);
70 $FrameSizeBitsPerValue = (ord(substr($SWFfileData, 8, 1)) & 0xF8) >> 3;
72 …$FrameSizeDataString = str_pad(decbin(ord(substr($SWFfileData, 8, 1)) & 0x07), 3, '0', STR_PAD_L…
74 …$FrameSizeDataString .= str_pad(decbin(ord(substr($SWFfileData, 8 + $i, 1))), 8, '0', STR_PAD_LEFT…
109 $TagIDTagLength = getid3_lib::LittleEndian2Int(substr($SWFfileData, $CurrentOffset, 2));
114 $TagLength = getid3_lib::LittleEndian2Int(substr($SWFfileData, $CurrentOffset, 4));
[all …]
H A Dmodule.audio.optimfrog.php37 if (substr($OFRheader, 0, 5) == '*RIFF') {
41 } elseif (substr($OFRheader, 0, 3) == 'OFR') {
63 $OptimFROGencoderVersion_raw = getid3_lib::LittleEndian2Int(substr($OptimFROGheaderData, 0, 1));
66 $RIFFdata = substr($OptimFROGheaderData, 1, 44);
67 $OrignalRIFFheaderSize = getid3_lib::LittleEndian2Int(substr($RIFFdata, 4, 4)) + 8;
68 $OrignalRIFFdataSize = getid3_lib::LittleEndian2Int(substr($RIFFdata, 40, 4)) + 44;
79 $RIFFdata = substr($RIFFdata, 0, 36).substr($RIFFdata, 44).substr($RIFFdata, 36, 8);
114 $BlockName = substr($BlockData, 0, 4);
115 $BlockSize = getid3_lib::LittleEndian2Int(substr($BlockData, 4, 4));
219 …$COMPdata['raw']['encoder_id'] = getid3_lib::LittleEndian2Int(substr($BlockData, $offset, 2…
[all …]
H A Dmodule.audio.flac.php60 $BlockLength = getid3_lib::BigEndian2Int(substr($BlockHeader, 1, 3));
224 $streaminfo['sample_rate'] = getid3_lib::Bin2Dec(substr($SRCSBSS, 0, 20));
225 $streaminfo['channels'] = getid3_lib::Bin2Dec(substr($SRCSBSS, 20, 3)) + 1;
227 $streaminfo['samples_stream'] = getid3_lib::Bin2Dec(substr($SRCSBSS, 28, 36));
275 $ApplicationID = getid3_lib::BigEndian2Int(substr($BlockData, 0, 4));
277 $info['flac']['APPLICATION'][$ApplicationID]['data'] = substr($BlockData, 4);
294 $SampleNumberString = substr($BlockData, $offset, 8);
361 $TrackSampleOffset = getid3_lib::BigEndian2Int(substr($BlockData, $offset, 8));
363 $TrackNumber = getid3_lib::BigEndian2Int(substr($BlockData, $offset, 1));
382 $IndexSampleOffset = getid3_lib::BigEndian2Int(substr($BlockData, $offset, 8));
[all …]
H A Dmodule.audio.voc.php34 if (substr($VOCheader, 0, 19) != $magic) {
68 $BlockSize = getid3_lib::LittleEndian2Int(substr($BlockData, 1, 3));
84 $ThisBlock['sample_rate_id'] = getid3_lib::LittleEndian2Int(substr($BlockData, 4, 1));
85 $ThisBlock['compression_type'] = getid3_lib::LittleEndian2Int(substr($BlockData, 5, 1));
114 $ThisBlock['time_constant'] = getid3_lib::LittleEndian2Int(substr($BlockData, 4, 2));
115 $ThisBlock['pack_method'] = getid3_lib::LittleEndian2Int(substr($BlockData, 6, 1));
116 $ThisBlock['stereo'] = (bool) getid3_lib::LittleEndian2Int(substr($BlockData, 7, 1));
129 $ThisBlock['sample_rate'] = getid3_lib::LittleEndian2Int(substr($BlockData, 4, 4));
130 $ThisBlock['bits_per_sample'] = getid3_lib::LittleEndian2Int(substr($BlockData, 8, 1));
131 $ThisBlock['channels'] = getid3_lib::LittleEndian2Int(substr($BlockData, 9, 1));
[all …]
H A Dmodule.archive.hpk.php34 if (substr($HPKheader, 0, 4) == 'BPUL') {
36 …$info['hpk']['header']['signature'] = substr($HPKh…
37 …$info['hpk']['header']['data_offset'] = getid3_lib::LittleEndian2Int(substr($HPKh…
38 …$info['hpk']['header']['fragments_per_file'] = getid3_lib::LittleEndian2Int(substr($HPKh…
40 …$info['hpk']['header']['fragments_residual_offset'] = getid3_lib::LittleEndian2Int(substr($HPKh…
41 …$info['hpk']['header']['fragments_residual_count'] = getid3_lib::LittleEndian2Int(substr($HPKh…
43 …$info['hpk']['header']['fragmented_filesystem_offset'] = getid3_lib::LittleEndian2Int(substr($HPKh…
44 …$info['hpk']['header']['fragmented_filesystem_length'] = getid3_lib::LittleEndian2Int(substr($HPKh…
85 … at offset '.$info['avdataoffset'].', found "'.getid3_lib::PrintHexBytes(substr($HPKheader, 0, 4))…
H A Dmodule.tag.lyrics3.php37 $lyrics3lsz = (int) substr($lyrics3_id3v1, 0, 6); // Lyrics3size
39 $id3v1tag = substr($lyrics3_id3v1, 15, 128); // ID3v1
56 } elseif (substr(strrev($lyrics3_id3v1), 0, 9) == strrev('LYRICSEND')) {
64 } elseif (substr(strrev($lyrics3_id3v1), 0, 9) == strrev('LYRICS200')) {
163 if (substr($rawdata, 0, 11) != 'LYRICSBEGIN') {
168 $rawdata = substr($rawdata, strpos($rawdata, 'LYRICSBEGIN'));
185 if (substr($rawdata, strlen($rawdata) - 9, 9) == 'LYRICSEND') {
195 if (substr($rawdata, strlen($rawdata) - 9, 9) == 'LYRICS200') {
199 $fieldname = substr($rawdata, 0, 3);
200 $fieldsize = (int) substr($rawdata, 3, 5);
[all …]
H A Dmodule.audio.rkau.php32 if (substr($RKAUHeader, 0, 3) != $magic) {
33 … at offset '.$info['avdataoffset'].', found "'.getid3_lib::PrintHexBytes(substr($RKAUHeader, 0, 3)…
41 $info['rkau']['raw']['version'] = getid3_lib::LittleEndian2Int(substr($RKAUHeader, 3, 1));
49 $info['rkau']['source_bytes'] = getid3_lib::LittleEndian2Int(substr($RKAUHeader, 4, 4));
50 $info['rkau']['sample_rate'] = getid3_lib::LittleEndian2Int(substr($RKAUHeader, 8, 4));
51 $info['rkau']['channels'] = getid3_lib::LittleEndian2Int(substr($RKAUHeader, 12, 1));
52 $info['rkau']['bits_per_sample'] = getid3_lib::LittleEndian2Int(substr($RKAUHeader, 13, 1));
54 $info['rkau']['raw']['quality'] = getid3_lib::LittleEndian2Int(substr($RKAUHeader, 14, 1));
57 …$info['rkau']['raw']['flags'] = getid3_lib::LittleEndian2Int(substr($RKAUHeader, 15, 1)…
64 $info['rkau']['compressed_bytes'] = getid3_lib::LittleEndian2Int(substr($RKAUHeader, 16, 4));
/plugin/photogallery/phpThumb/
H A Dphpthumb.bmp.php100 $BMPheader = substr($BMPdata, $overalloffset, 14 + 40);
103 $thisfile_bmp_header_raw['identifier'] = substr($BMPheader, $offset, 2);
113 $thisfile_bmp_header_raw['filesize'] = $this->LittleEndian2Int(substr($BMPheader, $offset, 4));
115 $thisfile_bmp_header_raw['reserved1'] = $this->LittleEndian2Int(substr($BMPheader, $offset, 2));
126 $planes22 = $this->LittleEndian2Int(substr($BMPheader, 22, 2));
127 $planes26 = $this->LittleEndian2Int(substr($BMPheader, 26, 2));
280 $BMPheader .= substr($BMPdata, $overalloffset, 44);
323 $BMPheader .= substr($BMPdata, $overalloffset, 16);
357 $BMPpalette = substr($BMPdata, $overalloffset, 4 * $PaletteEntries);
837 …return $this->Bin2Dec(substr($binarystring, 0, 2)) + (float) ($this->Bin2Dec(substr($binarystring,…
[all …]
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Gif/
H A DImage.php55 $data = substr($data, 1);
73 $data = substr($data, $len);
83 $data = substr($data, $len);
105 $data = substr($data, 1);
114 $this->m_nDelay = $this->w2i(substr($data, 2, 2));
119 $this->m_lpComm = substr($data, 1, ord($data[0]));
131 $data = substr($data, 1);
134 $data = substr($data, $b);
137 $data = substr($data, 1);
145 return ord(substr(
[all...]
H A DFileHeader.php59 $this->m_lpVer = substr($lpData, 0, 6);
64 $this->m_nWidth = $this->w2i(substr($lpData, 6, 2));
65 $this->m_nHeight = $this->w2i(substr($lpData, 8, 2));
70 $b = ord(substr($lpData, 10, 1));
75 $this->m_nBgColor = ord(substr($lpData, 11, 1));
76 $this->m_nPixelRatio = ord(substr($lpData, 12, 1));
81 if (!$this->m_colorTable->load(substr($lpData, $hdrLen), $this->m_nTableSize)) {
92 return ord(substr($str, 0, 1)) + (ord(substr($str, 1, 1)) << 8);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/PHP/
H A DCommentedOutCodeSniff.php103 if (substr($tokenContent, 0, 2) === '//') {
104 $tokenContent = substr($tokenContent, 2);
107 if (substr($tokenContent, 0, 1) === '#') {
108 $tokenContent = substr($tokenContent, 1);
111 if (substr($tokenContent, 0, 3) === '/**') {
112 $tokenContent = substr($tokenContent, 3);
115 if (substr($tokenContent, 0, 2) === '/*') {
116 $tokenContent = substr($tokenContent, 2);
119 if (substr($tokenContent, -2) === '*/') {
123 if (substr($tokenContent, 0, 1) === '*') {
[all …]
/plugin/tagentry/
H A Dscript.js9 var tagend = oldtext.substr(tagstart).indexOf("}}");
19 while ((f=oldtext.toLowerCase().substr(s,l).indexOf(tagname.toLowerCase())) >= 0) {
20 var cs = oldtext.substr(s+f-1,1); // char before
22 var ce = oldtext.substr(s+f+len-1,1); // char after
27 oldtext = oldtext.substr(0,s+f)+oldtext.substr(s+f+len);
28 l = oldtext.substr(s).indexOf("}}");
30 tagend = oldtext.substr(tagstart).indexOf("}}");
41 oldtext = oldtext.substr(0,split)+ws+tagname+oldtext.substr(split);
/plugin/exttab1/
H A Dsyntax.php116 if (substr($rawline, 0, 2) == '|-') {
120 elseif (substr($rawline, 0, 2) == '{|') {
124 elseif (substr($rawline, 0, 2) == '|}') {
129 elseif (substr($rawline, 0, 2) == '|+') {
133 elseif (substr($rawline, 0, 1) == '|') {
137 elseif (substr($rawline, 0, 1) == '!') {
170 $my2c .= " <tr " . substr($linedata, 2) . ">\n";
185 $fillInData = 'class="exttab1" ' . substr($linedata, 2);
211 $parsedData = $this->_parseDisplayData(trim(substr($linedata, 2)));
246 $parsedData = $this->_parseDisplayData(trim(substr($pick, 1)));
[all …]
/plugin/uncmap/
H A Dsyntax.php40 $line = substr($line,1);
49 $fs = substr($line,$delim);
65 if(substr($fs, -1) == '/') {
66 $fs = substr($fs, 0, -1);
104 $match = substr($match,2,-2);
117 $title = substr($match,$titlepos+1);
125 $match = substr($match, 1);
130 if (substr($match,0,2) == ':\\') {
135 $new .= substr($match,2);
188 $link = substr($ourdoc, $linkoffset);
[all …]
/plugin/anonip/
H A Daction.php36 $ip = 'fe80:'.substr($uid,0,4).
37 ':'.substr($uid,4,4).
38 ':'.substr($uid,8,4).
39 ':'.substr($uid,12,4).
40 ':'.substr($uid,16,4).
41 ':'.substr($uid,20,4).
42 ':'.substr($uid,24,4);
/plugin/authucenter/lib/uc_client/lib/
H A Dsendmail.inc.php47 if(substr($lastmessage, 0, 3) != '220') {
53 if(substr($lastmessage, 0, 3) != 220 && substr($lastmessage, 0, 3) != 250) {
58 if(substr($lastmessage, 3, 1) != '-' || empty($lastmessage)) {
67 if(substr($lastmessage, 0, 3) != 334) {
73 if(substr($lastmessage, 0, 3) != 334) {
79 if(substr($lastmessage, 0, 3) != 235) {
88 if(substr($lastmessage, 0, 3) != 250) {
91 if(substr($lastmessage, 0, 3) != 250) {
102 if(substr($lastmessage, 0, 3) != 250) {
112 if(substr($lastmessage, 0, 3) != 354) {
[all …]
/plugin/jplayer/vendor/james-heinrich/getid3/demos/
H A Ddemo.mp3header.php28 if (ord(substr($string, $i, 1)) <= 31) {
164 if (substr($ar1, 0, $shortest) === substr($ar2, 0, $shortest)) {
252 $binarypointnumber = substr($binarypointnumber, 2, 1).'.'.substr($binarypointnumber, 3);
674 $asciidata = substr($asciidata, 2);
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);
1072 $ArrayPath = substr($ArrayPath, 1);
1075 …$ReturnedArray[substr($ArrayPath, 0, $pos)] = CreateDeepArray(substr($ArrayPath, $pos + 1), $Separ…
[all …]
/plugin/avatar/
H A Dmonsterid.php19 'legs' => _get_monster_part(substr($hash, 0, 2), 1, 5),
20 'hair' => _get_monster_part(substr($hash, 2, 2), 1, 5),
21 'arms' => _get_monster_part(substr($hash, 4, 2), 1, 5),
22 'body' => _get_monster_part(substr($hash, 6, 2), 1, 15),
23 'eyes' => _get_monster_part(substr($hash, 8, 2), 1, 15),
24 'mouth'=> _get_monster_part(substr($hash, 10, 2), 1, 10),
45 $r = _get_monster_part(substr($hash, 0, 4), 20, 235);
46 $g = _get_monster_part(substr($hash, 4, 4), 20, 235);
47 $b = _get_monster_part(substr($hash, 8, 4), 20, 235);

12345678910>>...75