tag | line | file | source code |
printf | 13 | arch/i386/kernel/hexify.c | printf(","); |
printf | 19 | arch/i386/kernel/hexify.c | printf("\n"); |
printf | 22 | arch/i386/kernel/hexify.c | printf("\t"); |
printf | 23 | arch/i386/kernel/hexify.c | printf("0x%02X",c); |
printf | 27 | arch/i386/kernel/hexify.c | printf("\n"); |
printf | 249 | drivers/char/conmakehash.c | printf("\ |
printf | 267 | drivers/char/conmakehash.c | printf("%3d", unicount[i]); |
printf | 269 | drivers/char/conmakehash.c | printf("\n};\n"); |
printf | 271 | drivers/char/conmakehash.c | printf(",\n\t"); |
printf | 273 | drivers/char/conmakehash.c | printf(", "); |
printf | 276 | drivers/char/conmakehash.c | printf("\nstatic u16 dfont_unitable[%d] = \n{\n\t", nuni); |
printf | 287 | drivers/char/conmakehash.c | printf("0x%04x", unitable[fp0][nent++]); |
printf | 289 | drivers/char/conmakehash.c | printf("\n};"); |
printf | 291 | drivers/char/conmakehash.c | printf(",\n\t"); |
printf | 293 | drivers/char/conmakehash.c | printf(", "); |
printf | 197 | drivers/scsi/aic7xxx_asm.c | printf("%d out of %d instructions used.\n", LC, MEMORY); |
printf | 591 | drivers/scsi/aic7xxx_asm.c | printf("usage: %s [-d] [-Dname] [-ooutput] input\n", |
printf | 596 | drivers/scsi/aic7xxx_asm.c | printf("%s\n", id); |
printf | 245 | drivers/sound/configure.c | printf ("#undef CONFIGURE_SOUNDCARD\n"); |
printf | 246 | drivers/sound/configure.c | printf ("#undef KERNEL_SOUNDCARD\n"); |
printf | 276 | drivers/sound/configure.c | printf ("#undef CONFIGURE_SOUNDCARD\n"); |
printf | 277 | drivers/sound/configure.c | printf ("#undef KERNEL_SOUNDCARD\n"); |
printf | 372 | drivers/sound/configure.c | printf ("%s", buf); |
printf | 405 | drivers/sound/configure.c | printf ("%s", buf); |
printf | 436 | drivers/sound/configure.c | printf ("%s", buf); |
printf | 443 | drivers/sound/configure.c | printf ("#undef EXCLUDE_%s\n", hw_table[i].macro); |
printf | 445 | drivers/sound/configure.c | printf ("#define EXCLUDE_%s\n", hw_table[i].macro); |
printf | 448 | drivers/sound/configure.c | printf ("\n"); |
printf | 455 | drivers/sound/configure.c | printf ("#undef EXCLUDE_%s\n", extra_options[i].name); |
printf | 457 | drivers/sound/configure.c | printf ("#define EXCLUDE_%s\n", extra_options[i].name); |
printf | 461 | drivers/sound/configure.c | printf ("\n"); |
printf | 463 | drivers/sound/configure.c | printf ("#define SELECTED_SOUND_OPTIONS\t0x%08x\n", selected_options); |
printf | 543 | drivers/sound/configure.c | printf ("/*\tGenerated by configure. Don't edit!!!!\t*/\n\n"); |
printf | 585 | drivers/sound/configure.c | printf ("#define __SGNXPRO__\n"); |
printf | 593 | drivers/sound/configure.c | printf ("#define JAZZ16\n"); |
printf | 603 | drivers/sound/configure.c | printf ("#define JAZZ_DMA16 %d\n", num); |
printf | 609 | drivers/sound/configure.c | printf ("#define SM_WAVE\n"); |
printf | 637 | drivers/sound/configure.c | printf ("#define SMW_MIDI0001_INCLUDED\n"); |
printf | 638 | drivers/sound/configure.c | printf ("/*build bin2hex %s smw-midi0001.h smw_ucode */\n", path); |
printf | 658 | drivers/sound/configure.c | printf ("#define SM_GAMES\n"); |
printf | 673 | drivers/sound/configure.c | printf ("#define AEDSP16_SBPRO\n"); |
printf | 683 | drivers/sound/configure.c | printf ("#define AEDSP16_MSS\n"); |
printf | 690 | drivers/sound/configure.c | printf ("#undef CONFIGURE_SOUNDCARD\n"); |
printf | 691 | drivers/sound/configure.c | printf ("#undef KERNEL_SOUNDCARD\n"); |
printf | 696 | drivers/sound/configure.c | printf ("#define AEDSP16_MPU401\n"); |
printf | 726 | drivers/sound/configure.c | printf ("#define PSS_HAVE_LD\n"); |
printf | 727 | drivers/sound/configure.c | printf ("/*build bin2hex %s synth-ld.h pss_synth */\n", path); |
printf | 765 | drivers/sound/configure.c | printf ("/*build hex2hex %s trix_boot.h trix_boot */\n", path); |
printf | 766 | drivers/sound/configure.c | printf ("#define INCLUDE_TRIX_BOOT\n"); |
printf | 772 | drivers/sound/configure.c | printf ("#undef CONFIGURE_SOUNDCARD\n"); |
printf | 773 | drivers/sound/configure.c | printf ("#undef KERNEL_SOUNDCARD\n"); |
printf | 778 | drivers/sound/configure.c | printf ("#define KERNEL_SOUNDCARD\n"); |
printf | 783 | drivers/sound/configure.c | printf ("#undef EXCLUDE_%s\n", hw_table[i].macro); |
printf | 785 | drivers/sound/configure.c | printf ("#define EXCLUDE_%s\n", hw_table[i].macro); |
printf | 788 | drivers/sound/configure.c | printf ("\n"); |
printf | 795 | drivers/sound/configure.c | printf ("#undef EXCLUDE_%s\n", extra_options[i].name); |
printf | 797 | drivers/sound/configure.c | printf ("#define EXCLUDE_%s\n", extra_options[i].name); |
printf | 801 | drivers/sound/configure.c | printf ("\n"); |
printf | 821 | drivers/sound/configure.c | printf ("#define AEDSP16_BASE 0x%03x\n", num); |
printf | 832 | drivers/sound/configure.c | printf ("#define SBC_BASE 0x%03x\n", num); |
printf | 849 | drivers/sound/configure.c | printf ("#define SBC_IRQ %d\n", num); |
printf | 868 | drivers/sound/configure.c | printf ("#define SBC_DMA %d\n", num); |
printf | 888 | drivers/sound/configure.c | printf ("#define SB16_DMA %d\n", num); |
printf | 897 | drivers/sound/configure.c | printf ("#define SB16MIDI_BASE 0x%03x\n", num); |
printf | 922 | drivers/sound/configure.c | printf ("#define PAS_IRQ %d\n", num); |
printf | 941 | drivers/sound/configure.c | printf ("#define PAS_DMA %d\n", num); |
printf | 945 | drivers/sound/configure.c | printf ("#define PAS_JOYSTICK_ENABLE\n"); |
printf | 953 | drivers/sound/configure.c | printf ("#define BROKEN_BUS_CLOCK\n"); |
printf | 976 | drivers/sound/configure.c | printf ("#undef CONFIGURE_SOUNDCARD\n"); |
printf | 977 | drivers/sound/configure.c | printf ("#undef KERNEL_SOUNDCARD\n"); |
printf | 981 | drivers/sound/configure.c | printf ("#define GUS_BASE 0x%03x\n", num); |
printf | 999 | drivers/sound/configure.c | printf ("#define GUS_IRQ %d\n", num); |
printf | 1014 | drivers/sound/configure.c | printf ("#define GUS_DMA %d\n", num); |
printf | 1028 | drivers/sound/configure.c | printf ("#define GUS_DMA2 %d\n", num); |
printf | 1039 | drivers/sound/configure.c | printf ("#define GUS16_BASE 0x%03x\n", num); |
printf | 1053 | drivers/sound/configure.c | printf ("#define GUS16_IRQ %d\n", num); |
printf | 1066 | drivers/sound/configure.c | printf ("#define GUS16_DMA %d\n", num); |
printf | 1078 | drivers/sound/configure.c | printf ("#define MPU_BASE 0x%03x\n", num); |
printf | 1093 | drivers/sound/configure.c | printf ("#define MPU_IRQ %d\n", num); |
printf | 1105 | drivers/sound/configure.c | printf ("#define MAUI_BASE 0x%03x\n", num); |
printf | 1120 | drivers/sound/configure.c | printf ("#define MAUI_IRQ %d\n", num); |
printf | 1135 | drivers/sound/configure.c | printf ("#define EXCLUDE_UART6850\n"); |
printf | 1140 | drivers/sound/configure.c | printf ("#define U6850_BASE 0x%03x\n", num); |
printf | 1155 | drivers/sound/configure.c | printf ("#define U6850_IRQ %d\n", num); |
printf | 1167 | drivers/sound/configure.c | printf ("#define PSS_BASE 0x%03x\n", num); |
printf | 1182 | drivers/sound/configure.c | printf ("#define PSS_IRQ %d\n", num); |
printf | 1196 | drivers/sound/configure.c | printf ("#define PSS_DMA %d\n", num); |
printf | 1206 | drivers/sound/configure.c | printf ("#define PSS_MSS_BASE 0x%03x\n", num); |
printf | 1220 | drivers/sound/configure.c | printf ("#define PSS_MSS_IRQ %d\n", num); |
printf | 1234 | drivers/sound/configure.c | printf ("#define PSS_MSS_DMA %d\n", num); |
printf | 1242 | drivers/sound/configure.c | printf ("#define PSS_MPU_BASE 0x%03x\n", num); |
printf | 1257 | drivers/sound/configure.c | printf ("#define PSS_MPU_IRQ %d\n", num); |
printf | 1269 | drivers/sound/configure.c | printf ("#define MSS_BASE 0x%03x\n", num); |
printf | 1283 | drivers/sound/configure.c | printf ("#define MSS_IRQ %d\n", num); |
printf | 1297 | drivers/sound/configure.c | printf ("#define MSS_DMA %d\n", num); |
printf | 1311 | drivers/sound/configure.c | printf ("#define SSCAPE_BASE 0x%03x\n", num); |
printf | 1316 | drivers/sound/configure.c | printf ("#define REVEAL_SPEA\n"); |
printf | 1335 | drivers/sound/configure.c | printf ("#define SSCAPE_IRQ %d\n", num); |
printf | 1349 | drivers/sound/configure.c | printf ("#define SSCAPE_DMA %d\n", num); |
printf | 1358 | drivers/sound/configure.c | printf ("#define SSCAPE_MSS_BASE 0x%03x\n", num); |
printf | 1375 | drivers/sound/configure.c | printf ("#define SSCAPE_MSS_IRQ %d\n", num); |
printf | 1389 | drivers/sound/configure.c | printf ("#define SSCAPE_MSS_DMA %d\n", num); |
printf | 1401 | drivers/sound/configure.c | printf ("#define TRIX_BASE 0x%03x\n", num); |
printf | 1415 | drivers/sound/configure.c | printf ("#define TRIX_IRQ %d\n", num); |
printf | 1429 | drivers/sound/configure.c | printf ("#define TRIX_DMA %d\n", num); |
printf | 1444 | drivers/sound/configure.c | printf ("#define TRIX_DMA2 %d\n", num); |
printf | 1453 | drivers/sound/configure.c | printf ("#define TRIX_SB_BASE 0x%03x\n", num); |
printf | 1467 | drivers/sound/configure.c | printf ("#define TRIX_SB_IRQ %d\n", num); |
printf | 1481 | drivers/sound/configure.c | printf ("#define TRIX_SB_DMA %d\n", num); |
printf | 1490 | drivers/sound/configure.c | printf ("#define TRIX_MPU_BASE 0x%03x\n", num); |
printf | 1504 | drivers/sound/configure.c | printf ("#define TRIX_MPU_IRQ %d\n", num); |
printf | 1518 | drivers/sound/configure.c | printf ("#define CS4232_BASE 0x%03x\n", num); |
printf | 1532 | drivers/sound/configure.c | printf ("#define CS4232_IRQ %d\n", num); |
printf | 1548 | drivers/sound/configure.c | printf ("#define CS4232_DMA %d\n", num); |
printf | 1563 | drivers/sound/configure.c | printf ("#define CS4232_DMA2 %d\n", num); |
printf | 1572 | drivers/sound/configure.c | printf ("#define CS4232_MPU_BASE 0x%03x\n", num); |
printf | 1586 | drivers/sound/configure.c | printf ("#define CS4232_MPU_IRQ %d\n", num); |
printf | 1601 | drivers/sound/configure.c | printf ("#define MAD16_BASE 0x%03x\n", num); |
printf | 1612 | drivers/sound/configure.c | printf ("#undef CONFIGURE_SOUNDCARD\n"); |
printf | 1613 | drivers/sound/configure.c | printf ("#undef KERNEL_SOUNDCARD\n"); |
printf | 1629 | drivers/sound/configure.c | printf ("#define MAD16_IRQ %d\n", num); |
printf | 1643 | drivers/sound/configure.c | printf ("#define MAD16_DMA %d\n", num); |
printf | 1655 | drivers/sound/configure.c | printf ("#define MAD16_DMA2 %d\n", num); |
printf | 1658 | drivers/sound/configure.c | printf ("#define MAD16_DMA2 -1\n"); |
printf | 1675 | drivers/sound/configure.c | printf ("#define MAD16_MPU_BASE 0x%03x\n", num); |
printf | 1689 | drivers/sound/configure.c | printf ("#define MAD16_MPU_IRQ %d\n", num); |
printf | 1709 | drivers/sound/configure.c | printf ("#define DSP_BUFFSIZE %d\n", num); |
printf | 1712 | drivers/sound/configure.c | printf ("#define SELECTED_SOUND_OPTIONS\t0x%08x\n", selected_options); |
printf | 451 | fs/umsdos/mangle.c | printf ("Testing the umsdos_parse.\n"); |
printf | 457 | fs/umsdos/mangle.c | printf ("**** %s -> ",pttb->fname); |
printf | 458 | fs/umsdos/mangle.c | printf ("%s <> %s\n",info.fake.fname,pttb->msname); |
printf | 460 | fs/umsdos/mangle.c | printf ("**** %s -> %s ",pttb->fname,pttb->msname); |
printf | 461 | fs/umsdos/mangle.c | printf ("%d <> %d\n",info.msdos_reject,pttb->msdos_reject); |
printf | 463 | fs/umsdos/mangle.c | printf (" %s -> %s %d\n",pttb->fname,pttb->msname |
printf | 467 | fs/umsdos/mangle.c | printf ("Testing the new umsdos_evalrecsize."); |
printf | 472 | fs/umsdos/mangle.c | printf ("\n%d:\t",i); |
printf | 475 | fs/umsdos/mangle.c | printf ("**** %d newres: %d != %d \n", i, rnew, rold); |
printf | 477 | fs/umsdos/mangle.c | printf("."); |
printf | 480 | fs/umsdos/mangle.c | printf ("\nEnd of Testing.\n"); |
printf | 468 | include/linux/ext2_fs.h | __attribute__ ((format (printf, 3, 4))); |
printf | 471 | include/linux/ext2_fs.h | __attribute__ ((NORET_AND format (printf, 3, 4))); |
printf | 473 | include/linux/ext2_fs.h | __attribute__ ((format (printf, 3, 4))); |
printf | 41 | include/linux/kernel.h | __attribute__ ((NORET_AND format (printf, 1, 2))); |
printf | 55 | include/linux/kernel.h | __attribute__ ((format (printf, 1, 2))); |
printf | 677 | init/main.c | printf("Fork failed in init\n\r"); |
printf | 683 | init/main.c | printf("\n\rchild %d died with code %04x\n\r",pid,i); |
printf | 37 | scripts/tkgen.c | printf("menu_option menu%d %d \"%s\"\n", menu_num, menu_num, label); |
printf | 38 | scripts/tkgen.c | printf("proc menu%d {w title} {\n", menu_num); |
printf | 39 | scripts/tkgen.c | printf("\tcatch {destroy $w}\n"); |
printf | 40 | scripts/tkgen.c | printf("\ttoplevel $w -class Dialog\n"); |
printf | 41 | scripts/tkgen.c | printf("\tmessage $w.m -width 400 -aspect 300 -background grey -text \\\n"); |
printf | 42 | scripts/tkgen.c | printf("\t\t\"%s\" -relief raised -bg grey\n",label); |
printf | 43 | scripts/tkgen.c | printf("\tpack $w.m -pady 10 -side top -padx 10\n"); |
printf | 44 | scripts/tkgen.c | printf("\twm title $w \"%s\" \n\n\n", label); |
printf | 82 | scripts/tkgen.c | printf("\tglobal %s\n", cond->variable.str); |
printf | 87 | scripts/tkgen.c | printf("\tglobal %s\n", cond->variable.cfg->optionname); |
printf | 101 | scripts/tkgen.c | printf("\tglobal %s\n", item->optionname); |
printf | 107 | scripts/tkgen.c | printf("\tif {"); |
printf | 113 | scripts/tkgen.c | printf(" ! "); |
printf | 116 | scripts/tkgen.c | printf(" == "); |
printf | 119 | scripts/tkgen.c | printf(" != "); |
printf | 123 | scripts/tkgen.c | printf(" && "); |
printf | 126 | scripts/tkgen.c | printf(" || "); |
printf | 129 | scripts/tkgen.c | printf("("); |
printf | 132 | scripts/tkgen.c | printf(")"); |
printf | 135 | scripts/tkgen.c | printf("$%s", cond->variable.str); |
printf | 138 | scripts/tkgen.c | printf("$%s", cond->variable.cfg->optionname); |
printf | 141 | scripts/tkgen.c | printf("[exec %s]", cond->variable.str); |
printf | 145 | scripts/tkgen.c | printf("1"); |
printf | 147 | scripts/tkgen.c | printf("0"); |
printf | 149 | scripts/tkgen.c | printf("2"); |
printf | 151 | scripts/tkgen.c | printf("\"%s\"", cond->variable); |
printf | 166 | scripts/tkgen.c | printf("} then { set %s %s } \n", item->optionname, item->value); |
printf | 169 | scripts/tkgen.c | printf("} then { .f0.x%d configure -state normal } else { .f0.x%d configure -state disabled }\n", |
printf | 173 | scripts/tkgen.c | printf("} then { "); |
printf | 174 | scripts/tkgen.c | printf(".menu%d.x%d.x configure -state normal; ", menu_num, line_num); |
printf | 175 | scripts/tkgen.c | printf(".menu%d.x%d.l configure -state normal; ", menu_num, line_num); |
printf | 176 | scripts/tkgen.c | printf("} else { "); |
printf | 177 | scripts/tkgen.c | printf(".menu%d.x%d.x configure -state disabled;", menu_num, line_num ); |
printf | 178 | scripts/tkgen.c | printf(".menu%d.x%d.l configure -state disabled;", menu_num, line_num ); |
printf | 179 | scripts/tkgen.c | printf("}\n"); |
printf | 186 | scripts/tkgen.c | printf("} then { .menu%d.x%d configure -state normal } else { .menu%d.x%d configure -state disabled }\n", |
printf | 193 | scripts/tkgen.c | printf("} then { "); |
printf | 194 | scripts/tkgen.c | printf(".menu%d.x%d.y configure -state normal;",menu_num, line_num); |
printf | 195 | scripts/tkgen.c | printf(".menu%d.x%d.n configure -state normal;",menu_num, line_num); |
printf | 196 | scripts/tkgen.c | printf(".menu%d.x%d.l configure -state normal;",menu_num, line_num); |
printf | 197 | scripts/tkgen.c | printf("set %s [expr $%s&15];", item->optionname, item->optionname); |
printf | 198 | scripts/tkgen.c | printf("} else { "); |
printf | 199 | scripts/tkgen.c | printf(".menu%d.x%d.y configure -state disabled;",menu_num, line_num); |
printf | 200 | scripts/tkgen.c | printf(".menu%d.x%d.n configure -state disabled;",menu_num, line_num); |
printf | 201 | scripts/tkgen.c | printf(".menu%d.x%d.l configure -state disabled;",menu_num, line_num); |
printf | 202 | scripts/tkgen.c | printf("set %s [expr $%s|16];", item->optionname, item->optionname); |
printf | 203 | scripts/tkgen.c | printf("}\n"); |
printf | 208 | scripts/tkgen.c | printf("} then { "); |
printf | 211 | scripts/tkgen.c | printf("if { $%s == 2 } then {", item->depend.str); |
printf | 212 | scripts/tkgen.c | printf(".menu%d.x%d.y configure -state disabled;",menu_num, line_num); |
printf | 213 | scripts/tkgen.c | printf("} else {"); |
printf | 214 | scripts/tkgen.c | printf(".menu%d.x%d.y configure -state normal;",menu_num, line_num); |
printf | 215 | scripts/tkgen.c | printf("}; "); |
printf | 219 | scripts/tkgen.c | printf(".menu%d.x%d.y configure -state normal;",menu_num, line_num); |
printf | 222 | scripts/tkgen.c | printf(".menu%d.x%d.n configure -state normal;",menu_num, line_num); |
printf | 223 | scripts/tkgen.c | printf(".menu%d.x%d.m configure -state normal;",menu_num, line_num); |
printf | 224 | scripts/tkgen.c | printf(".menu%d.x%d.l configure -state normal;",menu_num, line_num); |
printf | 229 | scripts/tkgen.c | printf("set %s [expr $%s&15];", item->optionname, item->optionname); |
printf | 230 | scripts/tkgen.c | printf("} else { "); |
printf | 231 | scripts/tkgen.c | printf(".menu%d.x%d.y configure -state disabled;",menu_num, line_num); |
printf | 232 | scripts/tkgen.c | printf(".menu%d.x%d.n configure -state disabled;",menu_num, line_num); |
printf | 233 | scripts/tkgen.c | printf(".menu%d.x%d.m configure -state disabled;",menu_num, line_num); |
printf | 234 | scripts/tkgen.c | printf(".menu%d.x%d.l configure -state disabled;",menu_num, line_num); |
printf | 239 | scripts/tkgen.c | printf("set %s [expr $%s|16];", item->optionname, item->optionname); |
printf | 240 | scripts/tkgen.c | printf("}\n"); |
printf | 270 | scripts/tkgen.c | printf("\tglobal %s\n", cond->variable.str); |
printf | 275 | scripts/tkgen.c | printf("\tglobal %s\n", cond->variable.cfg->optionname); |
printf | 285 | scripts/tkgen.c | printf("\tif {"); |
printf | 291 | scripts/tkgen.c | printf(" ! "); |
printf | 294 | scripts/tkgen.c | printf(" == "); |
printf | 297 | scripts/tkgen.c | printf(" != "); |
printf | 301 | scripts/tkgen.c | printf(" && "); |
printf | 304 | scripts/tkgen.c | printf(" || "); |
printf | 307 | scripts/tkgen.c | printf("("); |
printf | 310 | scripts/tkgen.c | printf(")"); |
printf | 313 | scripts/tkgen.c | printf("$%s", cond->variable.str); |
printf | 316 | scripts/tkgen.c | printf("[exec %s]", cond->variable.str); |
printf | 319 | scripts/tkgen.c | printf("$%s", cond->variable.cfg->optionname); |
printf | 323 | scripts/tkgen.c | printf("1"); |
printf | 325 | scripts/tkgen.c | printf("0"); |
printf | 327 | scripts/tkgen.c | printf("2"); |
printf | 329 | scripts/tkgen.c | printf("\"%s\"", cond->variable); |
printf | 345 | scripts/tkgen.c | printf("} then {write_variable $cfg $autocfg %s %s $notmod }\n", item->optionname, item->value); |
printf | 348 | scripts/tkgen.c | printf("} then {write_comment $cfg $autocfg \"%s\"}\n", item->label); |
printf | 351 | scripts/tkgen.c | printf("} then { write_variable $cfg $autocfg %s $%s $%s } \n", |
printf | 357 | scripts/tkgen.c | printf("} then { write_variable $cfg $autocfg %s $%s $notmod }\n", |
printf | 376 | scripts/tkgen.c | printf("\n\n\n"); |
printf | 377 | scripts/tkgen.c | printf("\tset oldFocus [focus]\n"); |
printf | 378 | scripts/tkgen.c | printf("\tframe $w.f\n"); |
printf | 383 | scripts/tkgen.c | printf("\tbutton $w.f.prev -text \"Prev\" -activebackground green \\\n"); |
printf | 384 | scripts/tkgen.c | printf("\t\t-width 15 -command \" destroy $w; focus $oldFocus; menu%d .menu%d \\\"$title\\\"\"\n", menu_num-1, menu_num-1); |
printf | 386 | scripts/tkgen.c | if(first == menu_num ) printf("\t$w.f.prev configure -state disabled\n"); |
printf | 388 | scripts/tkgen.c | if( 1 == menu_num ) printf("\t$w.f.prev configure -state disabled\n"); |
printf | 391 | scripts/tkgen.c | printf("\tbutton $w.f.next -text \"Next\" -activebackground green \\\n"); |
printf | 392 | scripts/tkgen.c | printf("\t\t-width 15 -command \" destroy $w; focus $oldFocus; menu%d .menu%d \\\"$title\\\"\"\n", menu_num+1, menu_num+1); |
printf | 394 | scripts/tkgen.c | if(last == menu_num ) printf("\t$w.f.next configure -state disabled\n"); |
printf | 396 | scripts/tkgen.c | if(last == tot_menu_num ) printf("\t$w.f.next configure -state disabled\n"); |
printf | 399 | scripts/tkgen.c | printf("\tbutton $w.f.back -text \"Main Menu\" -activebackground green \\\n"); |
printf | 400 | scripts/tkgen.c | printf("\t\t-width 15 -command \"destroy $w; focus $oldFocus; update_mainmenu $w\"\n"); |
printf | 402 | scripts/tkgen.c | printf("\tpack $w.f.back $w.f.next $w.f.prev -side left -pady 10 -padx 45\n"); |
printf | 403 | scripts/tkgen.c | printf("\tpack $w.f -pady 10 -side top -padx 10 -anchor w\n"); |
printf | 404 | scripts/tkgen.c | printf("\tfocus $w\n"); |
printf | 405 | scripts/tkgen.c | printf("\tupdate_menu%d $w\n", menu_num); |
printf | 406 | scripts/tkgen.c | printf("\tglobal winx; global winy\n"); |
printf | 407 | scripts/tkgen.c | printf("\tset winx [expr [winfo x .]+30]; set winy [expr [winfo y .]+30]\n"); |
printf | 408 | scripts/tkgen.c | printf("\twm geometry $w +$winx+$winy\n"); |
printf | 409 | scripts/tkgen.c | printf("}\n\n\n"); |
printf | 418 | scripts/tkgen.c | printf("proc update_menu%d {w} {\n", menu_num); |
printf | 420 | scripts/tkgen.c | printf("\tupdate_define\n"); |
printf | 435 | scripts/tkgen.c | printf("\tglobal %s\n", cfg->optionname); |
printf | 437 | scripts/tkgen.c | printf("\tset %s 0\n", cfg->optionname); |
printf | 460 | scripts/tkgen.c | printf("\tif {$%s == 2 } then { .menu3.x5.y configure -state normal} else { .menu3.x5.y configure -state disabled}\n",cfg->depend.str, |
printf | 470 | scripts/tkgen.c | printf("}\n\n\n"); |
printf | 603 | scripts/tkgen.c | printf("mainmenu_name \"%s\"\n", cfg->label); |
printf | 633 | scripts/tkgen.c | printf("\tbool $w %d %d \"%s\" %s\n", |
printf | 641 | scripts/tkgen.c | printf("\t$w.line%d.menu add radiobutton -label \"%s\" -variable %s -value %d -command \"update_menu%d .menu%d\"\n", |
printf | 655 | scripts/tkgen.c | printf("\tmenubutton $w.line%d -text \"%s\" -menu $w.line%d.menu \\\n", |
printf | 657 | scripts/tkgen.c | printf("\t -relief raised -width 35\n"); |
printf | 658 | scripts/tkgen.c | printf("\tpack $w.line%d -anchor w\n", cfg->menu_line); |
printf | 659 | scripts/tkgen.c | printf("\tmenu $w.line%d.menu\n", cfg->menu_line); |
printf | 669 | scripts/tkgen.c | printf("\ttristate $w %d %d \"%s\" %s\n", |
printf | 682 | scripts/tkgen.c | printf("\tdep_tristate $w %d %d \"%s\" %s\n", |
printf | 696 | scripts/tkgen.c | printf("\tint $w %d %d \"%s\" %s\n", |
printf | 709 | scripts/tkgen.c | printf("\tdo_sound $w %d %d\n", |
printf | 731 | scripts/tkgen.c | printf("\tdo_make -C drivers/sound config\n"); |
printf | 732 | scripts/tkgen.c | printf("\techo check_sound_config %d\n",menu_num); |
printf | 734 | scripts/tkgen.c | printf("\tlabel $w.m0 -bitmap error\n"); |
printf | 735 | scripts/tkgen.c | printf("\tmessage $w.m1 -width 400 -aspect 300 -text \"The sound drivers cannot as of yet be configured via the X-based interface\" -relief raised\n"); |
printf | 736 | scripts/tkgen.c | printf("\tpack $w.m0 $w.m1 -side top -pady 10\n"); |
printf | 749 | scripts/tkgen.c | printf("proc update_mainmenu {w} {\n"); |
printf | 763 | scripts/tkgen.c | printf("}\n\n\n"); |
printf | 779 | scripts/tkgen.c | printf("\twrite_define %s %s\n", cfg->optionname, cfg->value); |
printf | 799 | scripts/tkgen.c | printf("set %s 0\n", cfg->optionname); |
printf | 802 | scripts/tkgen.c | printf("set %s %d\n", cfg->optionname, cfg->choice_value); |
printf | 813 | scripts/tkgen.c | printf("proc writeconfig {file1 file2} {\n"); |
printf | 814 | scripts/tkgen.c | printf("\tset cfg [open $file1 w]\n"); |
printf | 815 | scripts/tkgen.c | printf("\tset autocfg [open $file2 w]\n"); |
printf | 816 | scripts/tkgen.c | printf("\tset notmod 1\n"); |
printf | 817 | scripts/tkgen.c | printf("\tset notset 0\n"); |
printf | 819 | scripts/tkgen.c | printf("\tputs $cfg \"#\"\n"); |
printf | 820 | scripts/tkgen.c | printf("\tputs $cfg \"# Automatically generated make config: don't edit\"\n"); |
printf | 821 | scripts/tkgen.c | printf("\tputs $cfg \"#\"\n"); |
printf | 823 | scripts/tkgen.c | printf("\tputs $autocfg \"/*\"\n"); |
printf | 824 | scripts/tkgen.c | printf("\tputs $autocfg \" * Automatically generated C config: don't edit\"\n"); |
printf | 825 | scripts/tkgen.c | printf("\tputs $autocfg \" */\"\n"); |
printf | 838 | scripts/tkgen.c | printf("\tglobal %s\n", cfg->optionname); |
printf | 847 | scripts/tkgen.c | printf("\tif {$%s == 2 } then { write_variable $cfg $autocfg %s $%s %s } else { write_variable $cfg $autocfg %s $notset $notmod }\n", |
printf | 855 | scripts/tkgen.c | printf("\twrite_comment $cfg $autocfg \"%s\"\n", cfg->label); |
printf | 860 | scripts/tkgen.c | printf("\twrite_define %s %s\n", cfg->optionname, |
printf | 870 | scripts/tkgen.c | printf("\tif { $%s == %d } then { write_variable $cfg $autocfg %s 1 $notmod }\n", |
printf | 878 | scripts/tkgen.c | printf("\twrite_variable $cfg $autocfg %s $%s $notmod\n", |
printf | 889 | scripts/tkgen.c | printf("\tclose $cfg\n"); |
printf | 890 | scripts/tkgen.c | printf("\tclose $autocfg\n"); |
printf | 891 | scripts/tkgen.c | printf("}\n\n\n"); |
printf | 898 | scripts/tkgen.c | printf("proc clear_choices { } {\n"); |
printf | 906 | scripts/tkgen.c | printf("\tglobal %s; set %s 0\n", cfg1->optionname, cfg1->optionname); |
printf | 909 | scripts/tkgen.c | printf("}\n\n\n"); |
printf | 911 | scripts/tkgen.c | printf("proc update_choices { } {\n"); |
printf | 915 | scripts/tkgen.c | printf("\tglobal %s\n", cfg->optionname); |
printf | 920 | scripts/tkgen.c | printf("\tglobal %s\n", cfg1->optionname); |
printf | 921 | scripts/tkgen.c | printf("\tif { $%s == 1 } then { set %s %d }\n", |
printf | 927 | scripts/tkgen.c | printf("}\n\n\n"); |
printf | 929 | scripts/tkgen.c | printf("proc update_define { } {\n"); |
printf | 934 | scripts/tkgen.c | printf("\tglobal %s; set %s 0\n", cfg->optionname, cfg->optionname); |
printf | 944 | scripts/tkgen.c | printf("\tset %s %s\n", |
printf | 948 | scripts/tkgen.c | printf("}\n\n\n"); |
printf | 502 | scripts/tkparse.c | printf(" "); |
printf | 507 | scripts/tkparse.c | printf(" = "); |
printf | 510 | scripts/tkparse.c | printf(" ! "); |
printf | 513 | scripts/tkparse.c | printf(" != "); |
printf | 516 | scripts/tkparse.c | printf(" -a "); |
printf | 519 | scripts/tkparse.c | printf("("); |
printf | 522 | scripts/tkparse.c | printf(")"); |
printf | 525 | scripts/tkparse.c | printf("$%s", cond->variable); |
printf | 528 | scripts/tkparse.c | printf("'%s'", cond->variable); |
printf | 534 | scripts/tkparse.c | printf("\n"); |
printf | 646 | scripts/tkparse.c | printf("main_menuname "); |
printf | 649 | scripts/tkparse.c | printf("bool "); |
printf | 652 | scripts/tkparse.c | printf("tristate "); |
printf | 655 | scripts/tkparse.c | printf("dep_tristate "); |
printf | 658 | scripts/tkparse.c | printf("int "); |
printf | 661 | scripts/tkparse.c | printf("comment "); |
printf | 664 | scripts/tkparse.c | printf("menuoption "); |
printf | 667 | scripts/tkparse.c | printf("else"); |
printf | 670 | scripts/tkparse.c | printf("fi"); |
printf | 673 | scripts/tkparse.c | printf("if"); |
printf | 683 | scripts/tkparse.c | printf("%s\n", cfg->label); |
printf | 689 | scripts/tkparse.c | printf("%s %s\n", cfg->label, cfg->optionname); |
printf | 697 | scripts/tkparse.c | printf("\n"); |