/dports/emulators/mess/mame-mame0226/src/lib/formats/ |
H A D | rx50_dsk.cpp | 105 track_count = 80; in find_size() 124 track_count = head_count = sector_count = 0; in find_size() 129 uint8_t track_count, head_count, sector_count; in identify() local 132 if(track_count) in identify() 140 uint8_t track_count, head_count, sector_count; in load() local 142 if(track_count == 0) in load() 154 for(int track=0; track < track_count; track++) { in load() 168 int track_count, head_count, sector_count; in save() local 171 if(track_count != 80) in save() 172 track_count = 80; in save() [all …]
|
H A D | st_dsk.cpp | 42 for(track_count=80; track_count <= 82; track_count++) in find_size() 55 if(track_count) in identify() 92 if(track_count < 80) in save() 93 track_count = 80; in save() 94 else if(track_count > 82) in save() 95 track_count = 82; in save() 266 if(track_count < 80) in save() 267 track_count = 80; in save() 268 else if(track_count > 82) in save() 269 track_count = 82; in save() [all …]
|
H A D | esq16_dsk.cpp | 77 track_count = 80; in find_size() 87 track_count = head_count = sector_count = 0; in find_size() 92 uint8_t track_count, head_count, sector_count; in identify() local 93 find_size(io, track_count, head_count, sector_count); in identify() 95 if(track_count) in identify() 102 uint8_t track_count, head_count, sector_count; in load() local 114 for(int track=0; track < track_count; track++) { in load() 128 int track_count, head_count, sector_count; in save() local 131 if(track_count != 80) in save() 132 track_count = 80; in save() [all …]
|
H A D | concept_dsk.cpp | 79 track_count = 77; in find_size() 89 track_count = head_count = sector_count = 0; in find_size() 94 uint8_t track_count, head_count, sector_count; in identify() local 95 find_size(io, track_count, head_count, sector_count); in identify() 97 if(track_count) in identify() 104 uint8_t track_count, head_count, sector_count; in load() local 116 for(int track=0; track < track_count; track++) { in load() 130 int track_count, head_count, sector_count; in save() local 133 if(track_count != 77) in save() 134 track_count = 77; in save() [all …]
|
H A D | dvk_mx_dsk.cpp | 91 track_count = 40; in find_size() 96 track_count = 40; in find_size() 101 track_count = 80; in find_size() 106 track_count = head_count = sector_count = 0; in find_size() 113 uint8_t track_count, head_count, sector_count; in identify() local 115 find_size(io, track_count, head_count, sector_count); in identify() 117 if (track_count) in identify() 134 uint8_t track_count, head_count, sector_count; in load() local 137 if (track_count == 0) return false; in load() 149 for (int track = 0; track < track_count; track++) in load() [all …]
|
H A D | esq8_dsk.cpp | 79 track_count = 80; in find_size() 88 track_count = head_count = sector_count = 0; in find_size() 93 int track_count, head_count, sector_count; in identify() local 94 find_size(io, track_count, head_count, sector_count); in identify() 96 if(track_count) in identify() 103 int track_count, head_count, sector_count; in load() local 125 for(int track=0; track < track_count; track++) in load() 141 int track_count, head_count, sector_count; in save() local 144 if(track_count != 80) in save() 145 track_count = 80; in save() [all …]
|
H A D | ds9_dsk.cpp | 100 void ds9_format::find_size(io_generic *io, uint8_t &track_count, uint8_t &head_count, uint8_t §… in find_size() argument 106 track_count = 80; in find_size() 108 expected_size = 256 * track_count * head_count * sector_count; in find_size() 113 track_count = head_count = sector_count = 0; in find_size() 118 uint8_t track_count, head_count, sector_count; in identify() local 119 find_size(io, track_count, head_count, sector_count); in identify() 121 if (track_count) return 50; in identify() 128 uint8_t track_count, head_count, sector_count; in load() local 129 find_size(io, track_count, head_count, sector_count); in load() 130 if (track_count == 0) return false; in load() [all …]
|
H A D | acorn_dsk.cpp | 70 …f ((size <= (uint64_t)compute_track_size(f) * f.track_count * f.head_count) && (sectors0 <= f.trac… in find_size() 74 …io_generic_read(io, cat, (uint64_t)compute_track_size(f) * f.track_count + 0x100, 8); // sequential in find_size() 110 return (f.track_count * head + track) * compute_track_size(f); in get_image_offset() 200 …f ((size <= (uint64_t)compute_track_size(f) * f.track_count * f.head_count) && (sectors0 <= f.trac… in find_size() 233 return (f.track_count * head + track) * compute_track_size(f); in get_image_offset() 293 …f ((size <= (uint64_t)compute_track_size(f) * f.track_count * f.head_count) && (sectors0 <= f.trac… in find_size() 328 return (f.track_count * head + track) * compute_track_size(f); in get_image_offset() 416 return (f.track_count * head + track) * compute_track_size(f); in get_image_offset() 513 return (f.track_count * head + track) * compute_track_size(f); in get_image_offset() 559 if (size == (uint64_t)compute_track_size(f) * f.track_count * f.head_count) { in find_size() [all …]
|
H A D | vdk_dsk.cpp | 51 int track_count = header[8]; in load() local 56 for (int track = 0; track < track_count; track++) in load() 95 int track_count, head_count; in save() local 96 image->get_actual_geometry(track_count, head_count); in save() 109 header[8] = track_count; in save() 118 for (int track = 0; track < track_count; track++) in save()
|
H A D | upd765_dsk.cpp | 26 …if(size == file_header_skip_bytes + (uint64_t) compute_track_size(f) * f.track_count * f.head_coun… in find_size() 186 if (f.track_count > img_tracks || f.head_count > img_heads) in load() 220 for(int track=0; track < f.track_count; track++) in load() 311 if(cn.track_count >= tracks && cc.track_count < tracks) in save() 313 else if(cc.track_count >= tracks && cn.track_count < tracks) in save() 317 if(cc.track_count < tracks && cn.track_count > cc.track_count) in save() 319 if(cc.track_count >= tracks && cn.track_count < cc.track_count) in save() 343 for(int track=0; track < f.track_count; track++) in save()
|
/dports/emulators/mame/mame-mame0226/src/lib/formats/ |
H A D | rx50_dsk.cpp | 105 track_count = 80; in find_size() 124 track_count = head_count = sector_count = 0; in find_size() 129 uint8_t track_count, head_count, sector_count; in identify() local 132 if(track_count) in identify() 140 uint8_t track_count, head_count, sector_count; in load() local 142 if(track_count == 0) in load() 154 for(int track=0; track < track_count; track++) { in load() 168 int track_count, head_count, sector_count; in save() local 171 if(track_count != 80) in save() 172 track_count = 80; in save() [all …]
|
H A D | st_dsk.cpp | 42 for(track_count=80; track_count <= 82; track_count++) in find_size() 55 if(track_count) in identify() 92 if(track_count < 80) in save() 93 track_count = 80; in save() 94 else if(track_count > 82) in save() 95 track_count = 82; in save() 266 if(track_count < 80) in save() 267 track_count = 80; in save() 268 else if(track_count > 82) in save() 269 track_count = 82; in save() [all …]
|
H A D | esq16_dsk.cpp | 77 track_count = 80; in find_size() 87 track_count = head_count = sector_count = 0; in find_size() 92 uint8_t track_count, head_count, sector_count; in identify() local 93 find_size(io, track_count, head_count, sector_count); in identify() 95 if(track_count) in identify() 102 uint8_t track_count, head_count, sector_count; in load() local 114 for(int track=0; track < track_count; track++) { in load() 128 int track_count, head_count, sector_count; in save() local 131 if(track_count != 80) in save() 132 track_count = 80; in save() [all …]
|
H A D | concept_dsk.cpp | 79 track_count = 77; in find_size() 89 track_count = head_count = sector_count = 0; in find_size() 94 uint8_t track_count, head_count, sector_count; in identify() local 95 find_size(io, track_count, head_count, sector_count); in identify() 97 if(track_count) in identify() 104 uint8_t track_count, head_count, sector_count; in load() local 116 for(int track=0; track < track_count; track++) { in load() 130 int track_count, head_count, sector_count; in save() local 133 if(track_count != 77) in save() 134 track_count = 77; in save() [all …]
|
H A D | dvk_mx_dsk.cpp | 91 track_count = 40; in find_size() 96 track_count = 40; in find_size() 101 track_count = 80; in find_size() 106 track_count = head_count = sector_count = 0; in find_size() 113 uint8_t track_count, head_count, sector_count; in identify() local 115 find_size(io, track_count, head_count, sector_count); in identify() 117 if (track_count) in identify() 134 uint8_t track_count, head_count, sector_count; in load() local 137 if (track_count == 0) return false; in load() 149 for (int track = 0; track < track_count; track++) in load() [all …]
|
H A D | esq8_dsk.cpp | 79 track_count = 80; in find_size() 88 track_count = head_count = sector_count = 0; in find_size() 93 int track_count, head_count, sector_count; in identify() local 94 find_size(io, track_count, head_count, sector_count); in identify() 96 if(track_count) in identify() 103 int track_count, head_count, sector_count; in load() local 125 for(int track=0; track < track_count; track++) in load() 141 int track_count, head_count, sector_count; in save() local 144 if(track_count != 80) in save() 145 track_count = 80; in save() [all …]
|
H A D | ds9_dsk.cpp | 100 void ds9_format::find_size(io_generic *io, uint8_t &track_count, uint8_t &head_count, uint8_t §… in find_size() argument 106 track_count = 80; in find_size() 108 expected_size = 256 * track_count * head_count * sector_count; in find_size() 113 track_count = head_count = sector_count = 0; in find_size() 118 uint8_t track_count, head_count, sector_count; in identify() local 119 find_size(io, track_count, head_count, sector_count); in identify() 121 if (track_count) return 50; in identify() 128 uint8_t track_count, head_count, sector_count; in load() local 129 find_size(io, track_count, head_count, sector_count); in load() 130 if (track_count == 0) return false; in load() [all …]
|
H A D | acorn_dsk.cpp | 70 …f ((size <= (uint64_t)compute_track_size(f) * f.track_count * f.head_count) && (sectors0 <= f.trac… in find_size() 74 …io_generic_read(io, cat, (uint64_t)compute_track_size(f) * f.track_count + 0x100, 8); // sequential in find_size() 110 return (f.track_count * head + track) * compute_track_size(f); in get_image_offset() 200 …f ((size <= (uint64_t)compute_track_size(f) * f.track_count * f.head_count) && (sectors0 <= f.trac… in find_size() 233 return (f.track_count * head + track) * compute_track_size(f); in get_image_offset() 293 …f ((size <= (uint64_t)compute_track_size(f) * f.track_count * f.head_count) && (sectors0 <= f.trac… in find_size() 328 return (f.track_count * head + track) * compute_track_size(f); in get_image_offset() 416 return (f.track_count * head + track) * compute_track_size(f); in get_image_offset() 513 return (f.track_count * head + track) * compute_track_size(f); in get_image_offset() 559 if (size == (uint64_t)compute_track_size(f) * f.track_count * f.head_count) { in find_size() [all …]
|
H A D | vdk_dsk.cpp | 51 int track_count = header[8]; in load() local 56 for (int track = 0; track < track_count; track++) in load() 95 int track_count, head_count; in save() local 96 image->get_actual_geometry(track_count, head_count); in save() 109 header[8] = track_count; in save() 118 for (int track = 0; track < track_count; track++) in save()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavformat/ |
H A D | pp_bnk.c | 55 int track_count; member 71 hdr->track_count = AV_RL32(buf + 12); in pp_bnk_parse_header() 90 if (track_count == 0 || track_count > INT_MAX) in pp_bnk_probe() 123 if (hdr.track_count == 0 || hdr.track_count > INT_MAX) in pp_bnk_read_header() 134 ctx->track_count = hdr.track_count; in pp_bnk_read_header() 140 for (int i = 0; i < hdr.track_count; i++) { in pp_bnk_read_header() 151 i, hdr.track_count); in pp_bnk_read_header() 152 ctx->track_count = i; in pp_bnk_read_header() 181 ctx->track_count = i + 1; in pp_bnk_read_header() 184 i, ctx->track_count); in pp_bnk_read_header() [all …]
|
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavformat/ |
H A D | pp_bnk.c | 55 int track_count; member 72 hdr->track_count = AV_RL32(buf + 12); in pp_bnk_parse_header() 91 if (track_count == 0 || track_count > INT_MAX) in pp_bnk_probe() 124 if (hdr.track_count == 0 || hdr.track_count > INT_MAX) in pp_bnk_read_header() 135 ctx->track_count = hdr.track_count; in pp_bnk_read_header() 152 i, hdr.track_count); in pp_bnk_read_header() 153 ctx->track_count = i; in pp_bnk_read_header() 182 ctx->track_count = i + 1; in pp_bnk_read_header() 185 i, ctx->track_count); in pp_bnk_read_header() 193 if (ctx->track_count == 0) { in pp_bnk_read_header() [all …]
|
/dports/multimedia/handbrake/ffmpeg-4.4/libavformat/ |
H A D | pp_bnk.c | 55 int track_count; member 72 hdr->track_count = AV_RL32(buf + 12); in pp_bnk_parse_header() 91 if (track_count == 0 || track_count > INT_MAX) in pp_bnk_probe() 124 if (hdr.track_count == 0 || hdr.track_count > INT_MAX) in pp_bnk_read_header() 135 ctx->track_count = hdr.track_count; in pp_bnk_read_header() 152 i, hdr.track_count); in pp_bnk_read_header() 153 ctx->track_count = i; in pp_bnk_read_header() 182 ctx->track_count = i + 1; in pp_bnk_read_header() 185 i, ctx->track_count); in pp_bnk_read_header() 193 if (ctx->track_count == 0) { in pp_bnk_read_header() [all …]
|
/dports/multimedia/quodlibet/quodlibet-4.3.0/quodlibet/ext/songsmenu/brainz/ |
H A D | mb.py | 88 def __init__(self, mbtrack, discnumber, track_count, disctitle): argument 91 self.track_count = track_count 154 def track_count(self): member in Release 157 track_count = 0 160 track_count += medium["track-count"] 162 track_count += 1 163 return track_count 171 track_count = medium["track-count"] 173 track_count += 1 175 ReleaseTrack(medium["pregap"], disc, track_count, title)) [all …]
|
/dports/audio/cue2toc/cue2toc-0.1/ |
H A D | cue2toc | 23 my $track_count = 0; #current track in file 57 $track_count = $words[1] if( $words[0] eq 'TRACK' ); 65 $data[$track_count]{file} = $words[1]; 69 $data[$track_count]{performer} = $words[1] 71 $data[$track_count]{title} = $words[1] 73 $data[$track_count]{"index$words[1]"} = $words[2] 75 $data[$track_count]{isrc} = $words[1] 104 for( my $i=1; $i<=$track_count; ) 113 ($i<=$track_count);
|
/dports/audio/p5-MIDI/MIDI-Perl-0.83/lib/MIDI/ |
H A D | Opus.pm | 489 my $track_count = 0; 493 ++$track_count; 494 print "Reading Track \# $track_count into a new track\n" if $Debug; 503 croak "Can't read header for track chunk \#$track_count" 508 croak "Track \#$track_count\'s length ($length) would" 514 croak "reading track \#$track_count (of length $length) " 528 "Length of track \#$track_count is off in data from $fh; " 536 . "but $track_count were found\n" 537 unless $tracks_expected == $track_count; 538 carp "No tracks read in data from $fh\n" if $track_count == 0;
|