Home
last modified time | relevance | path

Searched refs:substr (Results 1 – 25 of 1600) sorted by relevance

12345678910>>...64

/plugin/jplayer/vendor/james-heinrich/getid3/getid3/
H A Dmodule.audio-video.real.php38 $ChunkName = substr($ChunkData, 0, 4);
39 $ChunkSize = getid3_lib::BigEndian2Int(substr($ChunkData, 4, 4));
43 if ($this->ParseOldRAheader(substr($ChunkData, 0, 128), $info['real']['old_ra_header'])) {
388 $ParsedArray['magic'] = substr($OldRAheaderData, 0, 4);
392 $ParsedArray['version1'] = getid3_lib::BigEndian2Int(substr($OldRAheaderData, 4, 2));
404 $ParsedArray['header_size'] = getid3_lib::BigEndian2Int(substr($OldRAheaderData, 6, 2));
409 $ParsedArray['bytes_per_minute'] = getid3_lib::BigEndian2Int(substr($OldRAheaderData, 16, 2));
410 $ParsedArray['audio_bytes'] = getid3_lib::BigEndian2Int(substr($OldRAheaderData, 18, 4));
433 $ParsedArray['fourcc1'] = substr($OldRAheaderData, 8, 4);
434 $ParsedArray['file_size'] = getid3_lib::BigEndian2Int(substr($OldRAheaderData, 12, 4));
[all …]
H A Dmodule.misc.iso.php34 if (substr($ISOheader, 1, 5) == 'CD001') {
79 …$thisfile_iso_primaryVD_raw['standard_identifier'] = substr($ISOheader…
157 …$thisfile_iso_supplementaryVD_raw['standard_identifier'] = substr($ISOheader, …
312 …$ThisDirectoryRecord['raw']['recording_date_time'] = substr($DirectoryRecor…
356 return substr($ISOfilename, 0, strpos($ISOfilename, ';'));
367 $UNIXyear = (int) substr($ISOtime, 0, 4);
368 $UNIXmonth = (int) substr($ISOtime, 4, 2);
369 $UNIXday = (int) substr($ISOtime, 6, 2);
370 $UNIXhour = (int) substr($ISOtime, 8, 2);
371 $UNIXminute = (int) substr($ISOtime, 10, 2);
[all …]
H A Dmodule.audio-video.quicktime.php54 $atomname = substr($AtomHeader, 4, 4);
137 …1 : 1) * floatval(ltrim(substr($lat_deg, 0, 2), '0')) + floatval(ltrim(substr($lat_deg, 2, 2), '0'…
242 if (substr($atomname, 0, 3) == "\x00\x00\x00") {
427 if (substr($atom_data, 2, 2) == "\x10\xB5") {
622 $CompressedFileData = substr($atom_data, 4);
1932 $loci_data = substr($atom_data, 6 + $loffset);
2084 $b = ord(substr($data, $offset++, 1));
2982 return substr($pascalstring, 1);
2994 return substr($pascalstring, 1);
2997 return substr($pascalstring, 0, -1);
[all …]
H A Dmodule.graphic.png.php50 $PNGidentifier = substr($PNGfiledata, $offset, 8); // $89 $50 $4E $47 $0D $0A $1A $0A
60 $chunk['data_length'] = getid3_lib::BigEndian2Int(substr($PNGfiledata, $offset, 4));
75 $chunk['type_text'] = substr($PNGfiledata, $offset, 4);
78 …$chunk['data'] = substr($PNGfiledata, $offset, $chunk['data_lengt…
80 $chunk['crc'] = getid3_lib::BigEndian2Int(substr($PNGfiledata, $offset, 4));
123 $red = getid3_lib::BigEndian2Int(substr($chunk['data'], $paletteoffset++, 1));
124 $green = getid3_lib::BigEndian2Int(substr($chunk['data'], $paletteoffset++, 1));
125 $blue = getid3_lib::BigEndian2Int(substr($chunk['data'], $paletteoffset++, 1));
193 $thisfile_png_chunk_type_text['compression_profile'] = substr($compressiondata, 1);
214 $thisfile_png_chunk_type_text['compressed_text'] = substr($otherdata, 1);
[all …]
H A Dmodule.audio-video.asf.php98 $NextObjectGUID = substr($ASFHeaderData, $offset, 16);
1161 $NextObjectGUID = substr($NextObjectDataHeader, 0, 16);
1629 $hexbytecharstring = chr(hexdec(substr($GUIDstring, 6, 2)));
1630 $hexbytecharstring .= chr(hexdec(substr($GUIDstring, 4, 2)));
1631 $hexbytecharstring .= chr(hexdec(substr($GUIDstring, 2, 2)));
1632 $hexbytecharstring .= chr(hexdec(substr($GUIDstring, 0, 2)));
2031 $next_byte_pair = substr($data, $offset, 2);
2038 $next_byte_pair = substr($data, $offset, 2);
2044 $WMpicture['data'] = substr($data, $offset);
2081 if (substr($string, -2) === "\x00\x00") {
[all …]
H A Dmodule.audio-video.riff.php65 $RIFFtype = substr($RIFFheader, 0, 4);
66 $RIFFsize = substr($RIFFheader, 4, 4);
67 $RIFFsubtype = substr($RIFFheader, 8, 4);
116 if (substr($nextRIFFheader, 0, 1) == "\x00") {
155 if (substr($DIVXTAG, -7) == 'DIVXTAG') {
484 $RIFFdata = substr($RIFFdata, 0, 36).substr($RIFFdata, 44).substr($RIFFdata, 36, 8);
739 $strhfccType = substr($strhData, 0, 4);
1223 if (substr($WEBP_VP8L_header, 0, 1) == "\x2F") {
1424 if (substr($AMVheader, 0, 8) != 'hdrlamvh') {
1673 $ac3_data .= substr($testData, 8 + $i + 1, 1);
[all …]
H A Dmodule.tag.id3v2.php286 $frame_name = substr($frame_header, 0, 3);
299 $frame_name = substr($frame_header, 0, 4);
358 $framedata = substr($framedata, $frame_size);
367 $framedata = substr($framedata, $frame_size);
438 if (substr($footer, 0, 3) == '3DI') {
1747 …ateunix'] = mktime (0, 0, 0, substr($parsedFrame['purchasedate'], 4, 2), substr($parsedFrame['purc…
1783 $frame_currencyid = substr($val, 0, 3);
3778 $year = substr($datestamp, 0, 4);
3779 $month = substr($datestamp, 4, 2);
3780 $day = substr($datestamp, 6, 2);
[all …]
H A Dmodule.audio.dss.php46 …$info['dss']['version'] = ord(substr($DSSheader, 0, 1));
48 …$info['dss']['unknown1'] = getid3_lib::LittleEndian2Int(substr($DSSheader, 28, 4));
50 …$info['dss']['date_create_unix'] = $this->DSSdateStringToUnixDate(substr($DSSheader, 38, 12));
51 …$info['dss']['date_complete_unix'] = $this->DSSdateStringToUnixDate(substr($DSSheader, 50, 12));
52 …['playtime_sec'] = ((int) substr($DSSheader, 62, 2) * 3600) + ((int) substr($DSSheader, 64, …
85 $y = (int) substr($datestring, 0, 2);
86 $m = substr($datestring, 2, 2);
87 $d = substr($datestring, 4, 2);
88 $h = substr($datestring, 6, 2);
89 $i = substr($datestring, 8, 2);
[all …]
H A Dmodule.audio.ogg.php63 if (substr($filedata, 0, 4) == 'fLaC') {
69 } elseif (substr($filedata, 1, 6) == 'vorbis') {
73 } elseif (substr($filedata, 0, 8) == 'OpusHead') {
79 } elseif (substr($filedata, 0, 8) == 'Speex ') {
131 } elseif (substr($filedata, 0, 7) == "\x80".'theora') {
192 } elseif (substr($filedata, 0, 8) == "fishead\x00") {
225 if (substr($filedata, 0, 8) == "fisbone\x00") {
247 } elseif (substr($filedata, 1, 6) == 'theora') {
253 } elseif (substr($filedata, 1, 6) == 'vorbis') {
269 } elseif (substr($filedata, 0, 5) == "\x7F".'FLAC') {
[all …]
H A Dmodule.audio.tta.php37 $info['tta']['magic'] = substr($ttaheader, 0, 3);
56 $info['tta']['channels'] = getid3_lib::LittleEndian2Int(substr($ttaheader, 4, 2));
57 $info['tta']['bits_per_sample'] = getid3_lib::LittleEndian2Int(substr($ttaheader, 6, 2));
58 $info['tta']['sample_rate'] = getid3_lib::LittleEndian2Int(substr($ttaheader, 8, 4));
59 $info['tta']['samples_per_channel'] = getid3_lib::LittleEndian2Int(substr($ttaheader, 12, 4));
70 $info['tta']['compression_level'] = getid3_lib::LittleEndian2Int(substr($ttaheader, 4, 2));
71 $info['tta']['audio_format'] = getid3_lib::LittleEndian2Int(substr($ttaheader, 6, 2));
72 $info['tta']['channels'] = getid3_lib::LittleEndian2Int(substr($ttaheader, 8, 2));
73 $info['tta']['bits_per_sample'] = getid3_lib::LittleEndian2Int(substr($ttaheader, 10, 2));
74 $info['tta']['sample_rate'] = getid3_lib::LittleEndian2Int(substr($ttaheader, 12, 4));
[all …]
H A Dmodule.graphic.bmp.php50 $thisfile_bmp_header_raw['identifier'] = substr($BMPheader, $offset, 2);
74 $planes22 = getid3_lib::LittleEndian2Int(substr($BMPheader, 22, 2));
75 $planes26 = getid3_lib::LittleEndian2Int(substr($BMPheader, 26, 2));
253 $thisfile_bmp_header_raw['ciexyz_red'] = substr($BMPheader, $offset, 4);
255 $thisfile_bmp_header_raw['ciexyz_green'] = substr($BMPheader, $offset, 4);
257 $thisfile_bmp_header_raw['ciexyz_blue'] = substr($BMPheader, $offset, 4);
314 $blue = getid3_lib::LittleEndian2Int(substr($BMPpalette, $paletteoffset++, 1));
315 $green = getid3_lib::LittleEndian2Int(substr($BMPpalette, $paletteoffset++, 1));
316 $red = getid3_lib::LittleEndian2Int(substr($BMPpalette, $paletteoffset++, 1));
426 $firstbyte = getid3_lib::LittleEndian2Int(substr($BMPpixelData, $pixeldataoffset++, 1));
[all …]
H A Dmodule.audio.monkey.php44 $thisfile_monkeysaudio_raw['magic'] = substr($MACheaderData, 0, 4);
54 …$thisfile_monkeysaudio_raw['nCompressionLevel'] = getid3_lib::LittleEndian2Int(substr($MACheade…
55 …$thisfile_monkeysaudio_raw['nFormatFlags'] = getid3_lib::LittleEndian2Int(substr($MACheade…
56 …$thisfile_monkeysaudio_raw['nChannels'] = getid3_lib::LittleEndian2Int(substr($MACheade…
57 …$thisfile_monkeysaudio_raw['nSampleRate'] = getid3_lib::LittleEndian2Int(substr($MACheade…
58 …$thisfile_monkeysaudio_raw['nHeaderDataBytes'] = getid3_lib::LittleEndian2Int(substr($MACheade…
59 …$thisfile_monkeysaudio_raw['nWAVTerminatingBytes'] = getid3_lib::LittleEndian2Int(substr($MACheade…
60 …$thisfile_monkeysaudio_raw['nTotalFrames'] = getid3_lib::LittleEndian2Int(substr($MACheade…
61 …$thisfile_monkeysaudio_raw['nFinalFrameSamples'] = getid3_lib::LittleEndian2Int(substr($MACheade…
62 …$thisfile_monkeysaudio_raw['nPeakLevel'] = getid3_lib::LittleEndian2Int(substr($MACheade…
[all …]
H A Dmodule.archive.zip.php238 …$LocalFileHeader['raw']['signature'] = getid3_lib::LittleEndian2Int(substr($ZIPlocalFileH…
244 …$LocalFileHeader['raw']['extract_version'] = getid3_lib::LittleEndian2Int(substr($ZIPlocalFileH…
245 …$LocalFileHeader['raw']['general_flags'] = getid3_lib::LittleEndian2Int(substr($ZIPlocalFileH…
246 …$LocalFileHeader['raw']['compression_method'] = getid3_lib::LittleEndian2Int(substr($ZIPlocalFileH…
247 …$LocalFileHeader['raw']['last_mod_file_time'] = getid3_lib::LittleEndian2Int(substr($ZIPlocalFileH…
248 …$LocalFileHeader['raw']['last_mod_file_date'] = getid3_lib::LittleEndian2Int(substr($ZIPlocalFileH…
249 …$LocalFileHeader['raw']['crc_32'] = getid3_lib::LittleEndian2Int(substr($ZIPlocalFileH…
250 …$LocalFileHeader['raw']['compressed_size'] = getid3_lib::LittleEndian2Int(substr($ZIPlocalFileH…
251 …$LocalFileHeader['raw']['uncompressed_size'] = getid3_lib::LittleEndian2Int(substr($ZIPlocalFileH…
252 …$LocalFileHeader['raw']['filename_length'] = getid3_lib::LittleEndian2Int(substr($ZIPlocalFileH…
[all …]
H A Dmodule.audio.avr.php74 $info['avr']['raw']['magic'] = substr($AVRheader, 0, 4);
84 $info['avr']['sample_name'] = rtrim(substr($AVRheader, 4, 8));
85 $info['avr']['raw']['mono'] = getid3_lib::BigEndian2Int(substr($AVRheader, 12, 2));
86 $info['avr']['bits_per_sample'] = getid3_lib::BigEndian2Int(substr($AVRheader, 14, 2));
87 $info['avr']['raw']['signed'] = getid3_lib::BigEndian2Int(substr($AVRheader, 16, 2));
88 $info['avr']['raw']['loop'] = getid3_lib::BigEndian2Int(substr($AVRheader, 18, 2));
89 $info['avr']['raw']['midi'] = getid3_lib::BigEndian2Int(substr($AVRheader, 20, 2));
90 $info['avr']['raw']['replay_freq'] = getid3_lib::BigEndian2Int(substr($AVRheader, 22, 1));
91 $info['avr']['sample_rate'] = getid3_lib::BigEndian2Int(substr($AVRheader, 23, 3));
98 $info['avr']['sample_name_extra'] = rtrim(substr($AVRheader, 44, 20));
[all …]
H A Dmodule.audio.midi.php48 $MIDIheaderID = substr($MIDIdata, $offset, 4); // 'MThd'
74 $trackID = substr($MIDIdata, $offset, 4);
80 $trackdataarray[$i] = substr($MIDIdata, $offset, $tracksize);
141 $notenumber = ord(substr($trackdata, $eventsoffset++, 1));
142 $velocity = ord(substr($trackdata, $eventsoffset++, 1));
146 $notenumber = ord(substr($trackdata, $eventsoffset++, 1));
147 $velocity = ord(substr($trackdata, $eventsoffset++, 1));
151 $notenumber = ord(substr($trackdata, $eventsoffset++, 1));
152 $velocity = ord(substr($trackdata, $eventsoffset++, 1));
176 $changeLSB = ord(substr($trackdata, $eventsoffset++, 1));
[all …]
H A Dmodule.misc.exe.php33 if (substr($EXEheader, 0, 2) != $magic) {
41 …$info['exe']['mz']['raw']['last_page_size'] = getid3_lib::LittleEndian2Int(substr($EXEhea…
42 …$info['exe']['mz']['raw']['page_count'] = getid3_lib::LittleEndian2Int(substr($EXEhea…
43 …$info['exe']['mz']['raw']['relocation_count'] = getid3_lib::LittleEndian2Int(substr($EXEhea…
44 …$info['exe']['mz']['raw']['header_paragraphs'] = getid3_lib::LittleEndian2Int(substr($EXEhea…
45 …$info['exe']['mz']['raw']['min_memory_paragraphs'] = getid3_lib::LittleEndian2Int(substr($EXEhea…
46 …$info['exe']['mz']['raw']['max_memory_paragraphs'] = getid3_lib::LittleEndian2Int(substr($EXEhea…
47 …$info['exe']['mz']['raw']['initial_ss'] = getid3_lib::LittleEndian2Int(substr($EXEhea…
48 …$info['exe']['mz']['raw']['initial_sp'] = getid3_lib::LittleEndian2Int(substr($EXEhea…
49 …$info['exe']['mz']['raw']['checksum'] = getid3_lib::LittleEndian2Int(substr($EXEhea…
[all …]
H A Dmodule.audio.aac.php50 if (substr($AACheader, 0, 4) == 'ADIF') {
79 … $info['aac']['header']['copyright'] = substr($AACheaderBitstream, $bitoffset, 1) == '1';
82 …$info['aac']['header']['copyright_id'] = getid3_lib::Bin2String(substr($AACheaderBitstream, $bi…
85 … $info['aac']['header']['original_copy'] = substr($AACheaderBitstream, $bitoffset, 1) == '1';
87 … $info['aac']['header']['home'] = substr($AACheaderBitstream, $bitoffset, 1) == '1';
89 … $info['aac']['header']['is_vbr'] = substr($AACheaderBitstream, $bitoffset, 1) == '1';
93 …$info['aac']['header']['bitrate_max'] = getid3_lib::Bin2Dec(substr($AACheaderBitstream, $bitof…
97 …$info['aac']['header']['bitrate'] = getid3_lib::Bin2Dec(substr($AACheaderBitstream, $bitof…
339 $header1 = getid3_lib::BigEndian2Int(substr($substring, 0, 2));
340 $header2 = getid3_lib::BigEndian2Int(substr($substring, 2, 4));
[all …]
H A Dmodule.audio.la.php34 switch (substr($rawdata, $offset, 4)) {
42 $info['la']['version_major'] = (int) substr($rawdata, $offset + 2, 1);
43 $info['la']['version_minor'] = (int) substr($rawdata, $offset + 3, 1);
54 $WAVEchunk = substr($rawdata, $offset, 4);
64 $info['la']['fmt_size'] = getid3_lib::LittleEndian2Int(substr($rawdata, $offset, 4));
75 $fmt_chunk = substr($rawdata, $offset, 4);
81 $fmt_size = getid3_lib::LittleEndian2Int(substr($rawdata, $offset, 4));
94 $info['la']['sample_rate'] = getid3_lib::LittleEndian2Int(substr($rawdata, $offset, 4));
170 $RIFFdata .= substr($rawdata, 12, 24);
172 $RIFFdata .= substr($rawdata, 16, 24);
[all …]
H A Dmodule.audio-video.ivf.php34 if (substr($IVFheader, 0, 4) == 'DKIF') {
37 …$info['ivf']['header']['signature'] = substr($IVFheader, …
38 …$info['ivf']['header']['version'] = getid3_lib::LittleEndian2Int(substr($IVFheader, …
39 …$info['ivf']['header']['headersize'] = getid3_lib::LittleEndian2Int(substr($IVFheader, …
40 …$info['ivf']['header']['fourcc'] = substr($IVFheader, …
41 …$info['ivf']['header']['resolution_x'] = getid3_lib::LittleEndian2Int(substr($IVFheader, 1…
42 …$info['ivf']['header']['resolution_y'] = getid3_lib::LittleEndian2Int(substr($IVFheader, 1…
43 …$info['ivf']['header']['timebase_numerator'] = getid3_lib::LittleEndian2Int(substr($IVFheader, 1…
44 …$info['ivf']['header']['timebase_denominator'] = getid3_lib::LittleEndian2Int(substr($IVFheader, 2…
45 …$info['ivf']['header']['frame_count'] = getid3_lib::LittleEndian2Int(substr($IVFheader, 2…
[all …]
H A Dmodule.graphic.gif.php43 …$info['gif']['header']['raw']['identifier'] = substr($GIFh…
58 …$info['gif']['header']['raw']['version'] = substr($GIFh…
100 $red = getid3_lib::LittleEndian2Int(substr($GIFcolorTable, $offset++, 1));
101 $green = getid3_lib::LittleEndian2Int(substr($GIFcolorTable, $offset++, 1));
102 $blue = getid3_lib::LittleEndian2Int(substr($GIFcolorTable, $offset++, 1));
167 …$ExtensionBlock['function_code'] = getid3_lib::LittleEndian2Int(substr($ExtensionBlockData, 1, 1)…
168 …$ExtensionBlock['byte_length'] = getid3_lib::LittleEndian2Int(substr($ExtensionBlockData, 2, 1)…
171 … if (substr($ExtensionBlock['data'], 0, 11) == 'NETSCAPE2.0') { // Netscape Application Block (NAB)
173 if (substr($ExtensionBlock['data'], 11, 2) == "\x03\x01") {
211 $value = bindec(substr($bitbuffer, 0 - $bits));
[all …]
H A Dmodule.audio.bonk.php45 while ($this->BonkIsValidTagName(substr($PossibleBonkTag, 4, 4), true)) {
46 $BonkTagSize = getid3_lib::LittleEndian2Int(substr($PossibleBonkTag, 0, 4));
50 …if (($TagHeaderTest[0] != "\x00") || (substr($PossibleBonkTag, 4, 4) != strtolower(substr($Possibl…
54 $BonkTagName = substr($TagHeaderTest, 1, 4);
91 $BonkTagName = substr($TagHeaderTest, 1, 4);
106 $BonkTagName = substr($TagHeaderTest, 1, 4);
170 if (!$this->BonkIsValidTagName(substr($NextInfoDataPair, 1, 4))) {
177 if ($this->BonkIsValidTagName(substr($NextInfoDataPair, 1, 4))) {
188 $info['bonk']['META']['version'] = getid3_lib::LittleEndian2Int(substr($BonkData, 5, 1));
193 $MetaEntryTagName = substr($BonkData, $offset, 4);
[all …]
/plugin/jukebox/id3/
H A Dmodule.tag.id3v2.php249 $frame_name = substr($frame_header, 0, 3);
262 $frame_name = substr($frame_header, 0, 4);
401 if (substr($footer, 0, 3) == '3DI') {
407 $id3_flags = ord(substr($footer{5}));
476 $genrestring = substr($genrestring, 0, $startpos).substr($genrestring, $startpos + 1);
480 $genrestring = substr($genrestring, 0, $startpos).substr($genrestring, $endpos + 1);
1531 …ateunix'] = mktime (0, 0, 0, substr($parsedFrame['purchasedate'], 4, 2), substr($parsedFrame['purc…
1564 $frame_currencyid = substr($val, 0, 3);
3151 $year = substr($datestamp, 0, 4);
3152 $month = substr($datestamp, 4, 2);
[all …]
H A Dmodule.tag.id3v1.php26 if (substr($id3v1tag, 0, 3) == 'TAG') {
30 $ParsedID3v1['title'] = $this->cutfield(substr($id3v1tag, 3, 30));
31 $ParsedID3v1['artist'] = $this->cutfield(substr($id3v1tag, 33, 30));
32 $ParsedID3v1['album'] = $this->cutfield(substr($id3v1tag, 63, 30));
33 $ParsedID3v1['year'] = $this->cutfield(substr($id3v1tag, 93, 4));
35 $ParsedID3v1['genreid'] = ord(substr($id3v1tag, 127, 1));
41 $ParsedID3v1['comment'] = substr($ParsedID3v1['comment'], 0, 28);
78 if (substr($preid3v1, 0, 3) == 'TAG') {
85 if (substr($preid3v1, 96, 8) == 'APETAGEX') {
87 } elseif (substr($preid3v1, 119, 6) == 'LYRICS') {
[all …]
/plugin/data-au/_test/
H A Ddb.test.php51 $actual_value = substr($actual_value,0,strpos($actual_value,'</td>'));
56 $actual_link = substr($actual_link,strpos($actual_link,'doku.php'));
57 $actual_link = substr($actual_link,0,strpos($actual_link,'</a>'));
80 $actual_value = substr($actual_value,0,strpos($actual_value,'</td>'));
85 $actual_link = substr($actual_link,strpos($actual_link,'doku.php'));
86 $actual_link = substr($actual_link,0,strpos($actual_link,'</a>'));
108 $actual_value = substr($actual_value,0,strpos($actual_value,'</td>'));
113 $actual_link = substr($actual_link,strpos($actual_link,'doku.php'));
114 $actual_link = substr($actual_link,0,strpos($actual_link,'</a>'));
143 $actual_link = substr($actual_link,strpos($actual_link,'doku.php'));
[all …]
/plugin/data/_test/
H A Ddb.test.php

12345678910>>...64