/haiku-fatelf/src/add-ons/kernel/file_systems/cdda/ |
H A D | cddb.h | 12 uint32 compute_cddb_disc_id(scsi_toc_toc &toc);
|
H A D | cddb.cpp | 31 compute_cddb_disc_id(scsi_toc_toc &toc) argument 33 int32 numTracks = toc.last_track + 1 - toc.first_track; 37 n = n + cddb_sum((toc.tracks[i].start.time.minute * 60) 38 + toc.tracks[i].start.time.second); 41 int32 t = ((toc.tracks[numTracks].start.time.minute * 60) 42 + toc.tracks[numTracks].start.time.second) 43 - ((toc.tracks[0].start.time.minute * 60) 44 + toc.tracks[0].start.time.second);
|
H A D | cdda.h | 33 status_t read_table_of_contents(int fd, scsi_toc_toc *toc, size_t length);
|
H A D | cdda.cpp | 430 dump_toc(scsi_toc_toc *toc) argument 432 int32 numTracks = toc->last_track + 1 - toc->first_track; 435 scsi_toc_track& track = toc->tracks[i]; 436 scsi_cd_msf& next = toc->tracks[i + 1].start.time; 438 scsi_cd_msf& start = toc->tracks[i].start.time; 509 scsi_cmd_read_toc &toc = *(scsi_cmd_read_toc*)&raw.command; local 510 toc.opcode = SCSI_OP_READ_TOC; 511 toc.time = 1; 512 toc 628 read_table_of_contents(int fd, scsi_toc_toc *toc, size_t length) argument [all...] |
H A D | kernel_interface.cpp | 274 static const char* kTocAttribute = "CD:toc"; 545 count_audio_tracks(scsi_toc_toc* toc) argument 547 uint32 trackCount = toc->last_track + 1 - toc->first_track; 550 if (!is_data_track(toc->tracks[i])) 620 scsi_toc_toc* toc = (scsi_toc_toc*)malloc(1024); 621 if (toc == NULL) 624 status_t status = read_table_of_contents(fDevice, toc, 1024); 626 if (status == B_OK && count_audio_tracks(toc) == 0) 630 free(toc); 1383 scsi_toc_toc* toc = (scsi_toc_toc*)malloc(2048); local 1436 scsi_toc_toc* toc = (scsi_toc_toc*)_cookie; local [all...] |
/haiku-fatelf/src/bin/ |
H A D | play.cpp | 131 scsi_toc toc; local 173 if (!ioctl(id, B_SCSI_GET_TOC, &toc)) { 175 for (i = toc.toc_data[2]; i <= toc.toc_data[3]; i++) { 176 length = (toc.toc_data[(((i + 1) - toc.toc_data[2]) * 8) + 4 + 5] * 60) + 177 (toc.toc_data[(((i + 1) - toc.toc_data[2]) * 8) + 4 + 6]); 178 length -= ((toc.toc_data[((i - toc [all...] |
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/cdda/ |
H A D | cdda_text.cpp | 49 scsi_toc_toc *toc = (scsi_toc_toc *)buffer; local 51 status_t status = read_table_of_contents(fd, toc, sizeof(buffer)); 61 uint32 id = compute_cddb_disc_id(*toc);
|
/haiku-fatelf/src/apps/cdplayer/ |
H A D | CDAudioDevice.cpp | 370 scsi_toc toc; local 371 status_t result = ioctl(fFileHandle, B_SCSI_GET_TOC, &toc); 376 return toc.toc_data[3]; 532 scsi_toc toc; local 533 status_t result = ioctl(fFileHandle, B_SCSI_GET_TOC, &toc); 538 int16 trackcount = toc.toc_data[3] - toc.toc_data[2] + 1; 543 TrackDescriptor *desc = (TrackDescriptor*)&(toc.toc_data[4]); 558 scsi_toc toc; local 559 status_t result = ioctl(fFileHandle, B_SCSI_GET_TOC, &toc); 578 scsi_toc toc; local 616 scsi_toc toc; local [all...] |
H A D | CDDBSupport.cpp | 615 CDDBQuery::GetDiscID(const scsi_toc *toc) argument 618 TrackRecord *tocData = (TrackRecord*)&(toc->toc_data[4]); 620 int32 numTracks = toc->toc_data[3] - toc->toc_data[2] + 1; 638 CDDBQuery::OffsetsToString(const scsi_toc *toc) argument 640 TrackRecord *tocData = (TrackRecord*)&(toc->toc_data[4]); 642 int32 numTracks = toc->toc_data[3] - toc->toc_data[2] + 1; 655 CDDBQuery::GetTrackCount(const scsi_toc *toc) argument 657 return toc 662 GetDiscTime(const scsi_toc *toc) argument 676 GetTrackTimes(const scsi_toc *toc, vector<CDAudioTime> ×) argument [all...] |
/haiku-fatelf/src/servers/cddb_daemon/ |
H A D | cddb_daemon.cpp | 80 scsi_toc_toc* toc = (scsi_toc_toc*)malloc(kMaxTocSize); local 81 if (toc == NULL) 85 if (!_CanLookup(device, &cddbId, toc)) { 86 free(toc); 98 if ((result = cddb_server.Query(cddbId, toc, &queryResponse)) != B_OK) { 100 free(toc); 104 free(toc); 145 scsi_toc_toc* toc) const 147 if (cddbId == NULL || toc == NULL) 171 // Does it have the CD:toc attribut [all...] |
H A D | cddb_daemon.h | 33 scsi_toc_toc* toc) const;
|
H A D | cddb_server.h | 52 status_t Query(uint32 cddbId, const scsi_toc_toc* toc,
|
H A D | cddb_server.cpp | 52 CDDBServer::Query(uint32 cddbId, const scsi_toc_toc* toc, BList* queryResponse) argument 62 int32 numTracks = toc->last_track + 1 - toc->first_track; 69 const scsi_cd_msf& start = toc->tracks[i].start.time; 78 const scsi_cd_msf& lastTrack = toc->tracks[numTracks].start.time;
|
/haiku-fatelf/src/documentation/docbook-xsl/slides/browser/ |
H A D | slides.js | 67 var toc = (kc == 116) || (kc == 84); 80 if (toc && (links[count].getAttribute("rel") == 'contents')) {
|
H A D | slides.css | 38 .toc-body { margin-left: 0.5in;
|
/haiku-fatelf/src/add-ons/kernel/drivers/disk/scsi/scsi_cd/ |
H A D | scsi_cd.cpp | 232 get_toc(cd_driver_info *info, scsi_toc *toc) argument 238 scsi_toc_general *shortResponse = (scsi_toc_general *)toc->toc_data; 263 ccb->data = toc->toc_data; 265 ccb->data_length = sizeof(toc->toc_data); 278 dataLength = min_c(dataLength, sizeof(toc->toc_data)); 475 scsi_toc_toc *toc; local 488 toc = (scsi_toc_toc *)&generic_toc.toc_data[0]; 493 if (start_track > toc->last_track) 496 if (end_track > toc->last_track) 497 end_track = toc [all...] |
/haiku-fatelf/src/bin/gdb/gdb/doc/ |
H A D | Makefile.in | 277 GDB_TEX_TMPS = gdb.aux gdb.cp* gdb.fn* gdb.ky* gdb.log gdb.pg* gdb.toc \ 384 gdbint.log gdbint.pg* gdbint.toc gdbint.tp* gdbint.vr* 420 stabs.log stabs.pg* stabs.toc stabs.tp* stabs.vr* 438 annotate.log annotate.pg* annotate.toc annotate.tp* annotate.vr*
|
/haiku-fatelf/src/bin/bash/lib/readline/doc/ |
H A D | Makefile | 127 $(RM) *.aux *.cp *.fn *.ky *.log *.pg *.toc *.tp *.vr *.cps *.pgs \
|
/haiku-fatelf/src/bin/sharutils/doc/ |
H A D | Makefile | 131 rm -f *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.log *.pg *.toc *.tp *.vr
|
/haiku-fatelf/src/bin/gdb/gdb/ |
H A D | ppc-sysv-tdep.c | 824 CORE_ADDR toc = local 829 tdep->ppc_gp0_regnum + 2, toc);
|
/haiku-fatelf/src/bin/gdb/bfd/ |
H A D | libcoff-in.h | 142 bfd_vma toc; member in struct:xcoff_tdata
|
H A D | coff64-rs6000.c | 990 bfd_vma toc; local 1031 toc = xcoff_data (abfd)->toc; 1032 internal_a.o_toc = toc; 1255 val = xcoff_data (output_bfd)->toc;
|
/haiku-fatelf/src/tools/rman/ |
H A D | rman.c | 53 struct { char *text; int type; int line; } toc[MAXTOC]; variable in typeref:struct:__anon6127 411 toc[tocc].text = r; 412 toc[tocc].type = type; 413 toc[tocc].line = line; 1334 printf("<a href='#toc'>%s</a><p>\n", TABLEOFCONTENTS); 1349 printf("<a name='toc'><b>%s</b></a><p>\n", TABLEOFCONTENTS); 1351 for (i=0, lasttoc=BEGINSECTION; i<tocc; lasttoc=toc[i].type, i++) { 1352 if (lasttoc!=toc[i].type) { 1353 if (toc[i].type==BEGINSUBSECTION) printf("<ul>\n"); 1356 printf("<li><a name='toc [all...] |
/haiku-fatelf/src/bin/gdb/texinfo/ |
H A D | texinfo.tex | 1215 % text, which might be empty if this toc entry had no 1235 % Read toc silently, to get counts of subentries for \pdfoutline. 1267 \input \jobname.toc 1269 % Read toc second time, this time actually producing the outlines. 1271 % subentries, which we calculated on our first read of the .toc above. 1294 \input \jobname.toc 1993 % in effect the toc pages will come out with page numbers. 3801 % expanded while writing the .toc file. \char\appendixno is not 3803 % with the same letter (or @) in the toc without it. 3940 % the toc entrie [all...] |
/haiku-fatelf/src/bin/diffutils/doc/ |
H A D | Makefile | 216 diff.ps diff.toc diff.tp diff.vr
|