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 | 286 | arch/m68k/boot/amiga/bootstrap.c | printf("A3640 MapROM detected.\n"); |
printf | 289 | arch/m68k/boot/amiga/bootstrap.c | printf("A3000 shadowed Kickstart detected.\n"); |
printf | 296 | arch/m68k/boot/amiga/bootstrap.c | printf("ZKick detected.\n"); |
printf | 408 | arch/m68k/boot/amiga/bootstrap.c | printf ("Amiga 500 "); |
printf | 411 | arch/m68k/boot/amiga/bootstrap.c | printf ("Amiga 2000 "); |
printf | 414 | arch/m68k/boot/amiga/bootstrap.c | printf ("Amiga 3000 "); |
printf | 417 | arch/m68k/boot/amiga/bootstrap.c | printf ("Amiga 4000 "); |
printf | 420 | arch/m68k/boot/amiga/bootstrap.c | printf ("Amiga 1200 "); /* equipped with at least 68030 !!! */ |
printf | 425 | arch/m68k/boot/amiga/bootstrap.c | printf("CPU: "); |
printf | 427 | arch/m68k/boot/amiga/bootstrap.c | printf("68040"); |
printf | 430 | arch/m68k/boot/amiga/bootstrap.c | printf(" with internal FPU"); |
printf | 433 | arch/m68k/boot/amiga/bootstrap.c | printf(" without FPU"); |
printf | 436 | arch/m68k/boot/amiga/bootstrap.c | printf("68030"); |
printf | 439 | arch/m68k/boot/amiga/bootstrap.c | printf("68020 (Do you have an MMU?)"); |
printf | 443 | arch/m68k/boot/amiga/bootstrap.c | printf("SysBase->AttnFlags = %#x\n", SysBase->AttnFlags); |
printf | 447 | arch/m68k/boot/amiga/bootstrap.c | printf(" with 68882 FPU"); |
printf | 450 | arch/m68k/boot/amiga/bootstrap.c | printf(" with 68881 FPU"); |
printf | 453 | arch/m68k/boot/amiga/bootstrap.c | printf(" without FPU"); |
printf | 459 | arch/m68k/boot/amiga/bootstrap.c | printf(", old or unknown chipset"); |
printf | 462 | arch/m68k/boot/amiga/bootstrap.c | printf(", OCS"); |
printf | 465 | arch/m68k/boot/amiga/bootstrap.c | printf(", ECS"); |
printf | 468 | arch/m68k/boot/amiga/bootstrap.c | printf(", AGA chipset"); |
printf | 487 | arch/m68k/boot/amiga/bootstrap.c | printf ("Command line is '%s'\n", bi.command_line); |
printf | 490 | arch/m68k/boot/amiga/bootstrap.c | printf("Vertical Blank Frequency: %dHz\nPower Supply Frequency: %dHz\n", |
printf | 492 | arch/m68k/boot/amiga/bootstrap.c | printf("EClock Frequency: %7.5fKHz\n\n", |
printf | 497 | arch/m68k/boot/amiga/bootstrap.c | printf("Found %d AutoConfig Device%s", bi.bi_amiga.num_autocon, |
printf | 501 | arch/m68k/boot/amiga/bootstrap.c | printf("Device %d: addr = %08lx\n", i, |
printf | 507 | arch/m68k/boot/amiga/bootstrap.c | printf("(Found a Rainbow 3 board - will reset it at kernel boot time)\n"); |
printf | 515 | arch/m68k/boot/amiga/bootstrap.c | printf("(Found a Piccolo board - will reset it at kernel boot time)\n"); |
printf | 523 | arch/m68k/boot/amiga/bootstrap.c | printf("(Found a SD64 board - will reset it at kernel boot time)\n"); |
printf | 537 | arch/m68k/boot/amiga/bootstrap.c | printf("\n%d Block%sof Memory Found\n", bi.num_memory, |
printf | 540 | arch/m68k/boot/amiga/bootstrap.c | printf("Block %d: %08lx to %08lx (%ldKB)\n", |
printf | 551 | arch/m68k/boot/amiga/bootstrap.c | printf ("%ldK of CHIP memory\n", bi.bi_amiga.chip_size >> 10); |
printf | 557 | arch/m68k/boot/amiga/bootstrap.c | printf("\nThe kernel will be located at %08lx\n", start_mem); |
printf | 685 | arch/m68k/boot/amiga/bootstrap.c | printf ("RAM disk at %#lx, size is %ldK\n", |
printf | 689 | arch/m68k/boot/amiga/bootstrap.c | printf ("\nKernel text at %#lx, code size %x\n", |
printf | 691 | arch/m68k/boot/amiga/bootstrap.c | printf ("Kernel data at %#lx, data size %x\n", |
printf | 693 | arch/m68k/boot/amiga/bootstrap.c | printf ("Kernel bss at %#lx, bss size %x\n", |
printf | 696 | arch/m68k/boot/amiga/bootstrap.c | printf ("boot info at %#lx\n", start_mem + kexec.a_text |
printf | 699 | arch/m68k/boot/amiga/bootstrap.c | printf ("\nKernel entry is %#x\n", kexec.a_entry ); |
printf | 701 | arch/m68k/boot/amiga/bootstrap.c | printf ("ramdisk dest top is %#lx\n", start_mem + mem_size); |
printf | 702 | arch/m68k/boot/amiga/bootstrap.c | printf ("ramdisk lower limit is %#lx\n", |
printf | 704 | arch/m68k/boot/amiga/bootstrap.c | printf ("ramdisk src top is %#lx\n", |
printf | 708 | arch/m68k/boot/amiga/bootstrap.c | printf ("Type a key to continue the Linux boot..."); |
printf | 393 | arch/m68k/boot/atari/bootstrap.c | printf("CPU: %ld; ", cpu_type + 68000); |
printf | 394 | arch/m68k/boot/atari/bootstrap.c | printf("FPU: "); |
printf | 462 | arch/m68k/boot/atari/bootstrap.c | printf("TT-RAM: %ld Mb; ", TT_ramsize); |
printf | 472 | arch/m68k/boot/atari/bootstrap.c | printf("MAGNUM alternate RAM: %ld Mb; ", bi.memory[i].size/MB); |
printf | 484 | arch/m68k/boot/atari/bootstrap.c | printf("FX alternate RAM: %ld Mb; ", bi.memory[i].size/MB); |
printf | 493 | arch/m68k/boot/atari/bootstrap.c | printf("ST-RAM: %ld Mb\n", ST_ramsize ); |
printf | 516 | arch/m68k/boot/atari/bootstrap.c | printf("Medusa pseudo ST-RAM from bank 1: %ld Mb; ", ST_ramsize ); |
printf | 523 | arch/m68k/boot/atari/bootstrap.c | printf("TT-RAM bank 1: %ld Mb; ", bank1/MB ); |
printf | 531 | arch/m68k/boot/atari/bootstrap.c | printf("TT-RAM bank 2: %ld Mb; ", bank2/MB ); |
printf | 535 | arch/m68k/boot/atari/bootstrap.c | printf("\n"); |
printf | 554 | arch/m68k/boot/atari/bootstrap.c | printf("Language: "); |
printf | 576 | arch/m68k/boot/atari/bootstrap.c | printf("Language: "); |
printf | 579 | arch/m68k/boot/atari/bootstrap.c | case 1: printf("German "); break; |
printf | 580 | arch/m68k/boot/atari/bootstrap.c | case 2: printf("French "); break; |
printf | 581 | arch/m68k/boot/atari/bootstrap.c | case 4: printf("Spanish "); break; |
printf | 582 | arch/m68k/boot/atari/bootstrap.c | case 5: printf("Italian "); break; |
printf | 583 | arch/m68k/boot/atari/bootstrap.c | case 7: printf("Swiss French "); break; |
printf | 584 | arch/m68k/boot/atari/bootstrap.c | case 8: printf("Swiss German "); break; |
printf | 585 | arch/m68k/boot/atari/bootstrap.c | default: printf("English "); |
printf | 587 | arch/m68k/boot/atari/bootstrap.c | printf("Keyboard type :"); |
printf | 590 | arch/m68k/boot/atari/bootstrap.c | case 1: printf("German "); break; |
printf | 591 | arch/m68k/boot/atari/bootstrap.c | case 2: printf("French "); break; |
printf | 592 | arch/m68k/boot/atari/bootstrap.c | case 4: printf("Spanish "); break; |
printf | 593 | arch/m68k/boot/atari/bootstrap.c | case 5: printf("Italian "); break; |
printf | 594 | arch/m68k/boot/atari/bootstrap.c | case 7: printf("Swiss French "); break; |
printf | 595 | arch/m68k/boot/atari/bootstrap.c | case 8: printf("Swiss German "); break; |
printf | 596 | arch/m68k/boot/atari/bootstrap.c | default: printf("English "); |
printf | 598 | arch/m68k/boot/atari/bootstrap.c | printf("\n"); |
printf | 617 | arch/m68k/boot/atari/bootstrap.c | printf ("Command line is '%s'\n", bi.command_line); |
printf | 623 | arch/m68k/boot/atari/bootstrap.c | printf("\nThe kernel will be located at 0x%08lx\n", start_mem); |
printf | 638 | arch/m68k/boot/atari/bootstrap.c | printf( "\nremote boot failed; trying local kernel\n" ); |
printf | 649 | arch/m68k/boot/atari/bootstrap.c | printf( "\nlocal kernel failed; trying remote boot\n" ); |
printf | 854 | arch/m68k/boot/atari/bootstrap.c | printf ("RAM disk at %#lx, size is %ldK\n", |
printf | 862 | arch/m68k/boot/atari/bootstrap.c | printf ("Kernel segment %d at %#lx, size %ld\n", i, |
printf | 869 | arch/m68k/boot/atari/bootstrap.c | printf ("\nKernel text at %#lx, code size %d\n", |
printf | 871 | arch/m68k/boot/atari/bootstrap.c | printf ("Kernel data at %#lx, data size %d\n", |
printf | 873 | arch/m68k/boot/atari/bootstrap.c | printf ("Kernel bss at %#lx, bss size %d\n", |
printf | 876 | arch/m68k/boot/atari/bootstrap.c | printf ("\nboot_info is at %#lx\n", |
printf | 878 | arch/m68k/boot/atari/bootstrap.c | printf ("\nKernel entry is %#lx\n", |
printf | 880 | arch/m68k/boot/atari/bootstrap.c | printf ("ramdisk dest top is %#lx\n", bi.ramdisk_addr + rd_size); |
printf | 881 | arch/m68k/boot/atari/bootstrap.c | printf ("ramdisk lower limit is %#lx\n", |
printf | 883 | arch/m68k/boot/atari/bootstrap.c | printf ("ramdisk src top is %#lx\n", |
printf | 887 | arch/m68k/boot/atari/bootstrap.c | printf ("Type a key to continue the Linux boot..."); |
printf | 892 | arch/m68k/boot/atari/bootstrap.c | printf("Booting Linux...\n"); |
printf | 52 | arch/ppc/boot/cortstrip.c | printf("lseek'd %d bytes\n", i); |
printf | 60 | arch/ppc/boot/cortstrip.c | printf("Read %d bytes\n", n); |
printf | 62 | arch/ppc/boot/cortstrip.c | printf("Wrote %d bytes\n", i); |
printf | 43 | arch/ppc/kernel/cortstrip.c | printf("lseek'd %d bytes\n", i); |
printf | 51 | arch/ppc/kernel/cortstrip.c | printf("Read %d bytes\n", n); |
printf | 53 | arch/ppc/kernel/cortstrip.c | printf("Wrote %d bytes\n", i); |
printf | 48 | arch/ppc/kernel/mkboot.c | printf("lseek'd %d bytes\n", i); |
printf | 56 | arch/ppc/kernel/mkboot.c | printf("Read %d bytes\n", n); |
printf | 58 | arch/ppc/kernel/mkboot.c | printf("Wrote %d bytes\n", i); |
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 | 65 | drivers/char/ftape/ecc.c | #define printk printf |
printf | 214 | drivers/scsi/aic7xxx_asm.c | printf("%d out of %d instructions used.\n", LC, MEMORY); |
printf | 616 | drivers/scsi/aic7xxx_asm.c | printf("usage: %s [-d] [-Dname] [-ooutput] input\n", |
printf | 621 | drivers/scsi/aic7xxx_asm.c | printf("%s\n", id); |
printf | 356 | drivers/sound/configure.c | printf ("invalid_configuration__run_make_config_again\n"); |
printf | 394 | drivers/sound/configure.c | printf ("invalid_configuration__run_make_config_again\n"); |
printf | 438 | drivers/sound/configure.c | printf ("\nif [ \"$CONFIG_%s\" = \"y\" ]; then\n", |
printf | 441 | drivers/sound/configure.c | printf ("int '%s %s' %s %d\n", question, choices, macro, defa); |
printf | 443 | drivers/sound/configure.c | printf ("hex '%s %s' %s %x\n", question, choices, macro, defa); |
printf | 444 | drivers/sound/configure.c | printf ("fi\n"); |
printf | 466 | drivers/sound/configure.c | printf ("#define %s %d\n", macro, num); |
printf | 478 | drivers/sound/configure.c | printf ("#define %s 0x%x\n", macro, num); |
printf | 558 | drivers/sound/configure.c | printf ("%s", buf); |
printf | 592 | drivers/sound/configure.c | printf ("#define SB_DMA2 %s\n", |
printf | 599 | drivers/sound/configure.c | printf ("#define SB_DMA2 %s\n", |
printf | 625 | drivers/sound/configure.c | printf ("%s", buf); |
printf | 660 | drivers/sound/configure.c | printf ("%s", buf); |
printf | 667 | drivers/sound/configure.c | printf ("#define CONFIG_%s\n", hw_table[i].macro); |
printf | 669 | drivers/sound/configure.c | printf ("#undef CONFIG_%s\n", hw_table[i].macro); |
printf | 672 | drivers/sound/configure.c | printf ("\n"); |
printf | 679 | drivers/sound/configure.c | printf ("#define CONFIG_%s\n", extra_options[i].name); |
printf | 681 | drivers/sound/configure.c | printf ("#undef CONFIG_%s\n", extra_options[i].name); |
printf | 685 | drivers/sound/configure.c | printf ("\n"); |
printf | 687 | drivers/sound/configure.c | printf ("#define SELECTED_SOUND_OPTIONS\t0x%08x\n", selected_options); |
printf | 798 | drivers/sound/configure.c | printf ("#define PAS_JOYSTICK_ENABLE\n"); |
printf | 805 | drivers/sound/configure.c | printf ("#define BROKEN_BUS_CLOCK\n"); |
printf | 810 | drivers/sound/configure.c | printf ("#define DISABLE_SB_EMULATION\n"); |
printf | 993 | drivers/sound/configure.c | printf ("#define REVEAL_SPEA\n"); |
printf | 1138 | drivers/sound/configure.c | printf ("bool '%s' CONFIG_%s\n", questions[i], hw_table[i].macro); |
printf | 1144 | drivers/sound/configure.c | printf ("bool 'Support for SM Wave' CONFIG_SMWAVE\n"); |
printf | 1150 | drivers/sound/configure.c | printf ("#\n$MAKE -C drivers/sound kernelconfig || exit 1\n"); |
printf | 1158 | drivers/sound/configure.c | printf ("/* Computer generated file. Please don't edit! */\n\n"); |
printf | 1159 | drivers/sound/configure.c | printf ("#define KERNEL_COMPATIBLE_CONFIG\n\n"); |
printf | 1160 | drivers/sound/configure.c | printf ("#define SELECTED_SOUND_OPTIONS\t0x%08x\n\n", selected_options); |
printf | 1166 | drivers/sound/configure.c | printf ("#if "); |
printf | 1173 | drivers/sound/configure.c | printf (" || "); |
printf | 1175 | drivers/sound/configure.c | printf ("\\\n "); |
printf | 1177 | drivers/sound/configure.c | printf ("defined(CONFIG_%s)", hw_table[j].macro); |
printf | 1180 | drivers/sound/configure.c | printf ("\n"); |
printf | 1181 | drivers/sound/configure.c | printf ("#\tdefine CONFIG_%s\n", extra_options[i].name); |
printf | 1182 | drivers/sound/configure.c | printf ("#endif\n\n"); |
printf | 1192 | drivers/sound/configure.c | printf ("# Computer generated file. Please don't edit\n\n"); |
printf | 1202 | drivers/sound/configure.c | printf ("ifdef CONFIG_%s\n", hw_table[j].macro); |
printf | 1203 | drivers/sound/configure.c | printf ("CONFIG_%s=y\n", extra_options[i].name); |
printf | 1204 | drivers/sound/configure.c | printf ("endif\n\n"); |
printf | 1264 | drivers/sound/configure.c | printf ("/*\tGenerated by configure. Don't edit!!!!\t*/\n"); |
printf | 1265 | drivers/sound/configure.c | printf ("/*\tMaking changes to this file is not as simple as it may look.\t*/\n\n"); |
printf | 1266 | drivers/sound/configure.c | printf ("/*\tIf you change the CONFIG_ settings in local.h you\t*/\n"); |
printf | 1267 | drivers/sound/configure.c | printf ("/*\t_have_ to edit .defines too.\t*/\n\n"); |
printf | 1308 | drivers/sound/configure.c | printf ("#define __SGNXPRO__\n"); |
printf | 1319 | drivers/sound/configure.c | printf ("#define SM_WAVE\n"); |
printf | 1346 | drivers/sound/configure.c | printf ("#define SMW_MIDI0001_INCLUDED\n"); |
printf | 1347 | drivers/sound/configure.c | printf ("/*build bin2hex %s smw-midi0001.h smw_ucode */\n", path); |
printf | 1364 | drivers/sound/configure.c | printf ("#define SM_GAMES\n"); |
printf | 1380 | drivers/sound/configure.c | printf ("#define AEDSP16_SBPRO\n"); |
printf | 1394 | drivers/sound/configure.c | printf ("#define AEDSP16_MSS\n"); |
printf | 1401 | drivers/sound/configure.c | printf ("invalid_configuration__run_make_config_again\n"); |
printf | 1406 | drivers/sound/configure.c | printf ("#define AEDSP16_MPU401\n"); |
printf | 1432 | drivers/sound/configure.c | printf ("#define PSS_HAVE_LD\n"); |
printf | 1433 | drivers/sound/configure.c | printf ("/*build bin2hex %s synth-ld.h pss_synth */\n", path); |
printf | 1468 | drivers/sound/configure.c | printf ("/*build hex2hex %s trix_boot.h trix_boot */\n", path); |
printf | 1469 | drivers/sound/configure.c | printf ("#define INCLUDE_TRIX_BOOT\n"); |
printf | 1500 | drivers/sound/configure.c | printf ("#define HAVE_MAUI_BOOT\n"); |
printf | 1501 | drivers/sound/configure.c | printf ("/*build bin2hex %s maui_boot.h maui_os */\n", path); |
printf | 1508 | drivers/sound/configure.c | printf ("invalid_configuration__run_make_config_again\n"); |
printf | 1516 | drivers/sound/configure.c | printf ("#define CONFIG_%s\n", hw_table[i].macro); |
printf | 1518 | drivers/sound/configure.c | printf ("#undef CONFIG_%s\n", hw_table[i].macro); |
printf | 1520 | drivers/sound/configure.c | printf ("\n"); |
printf | 1527 | drivers/sound/configure.c | printf ("#define CONFIG_%s\n", extra_options[i].name); |
printf | 1529 | drivers/sound/configure.c | printf ("#undef CONFIG_%s\n", extra_options[i].name); |
printf | 1533 | drivers/sound/configure.c | printf ("\n"); |
printf | 1537 | drivers/sound/configure.c | printf ("#define SELECTED_SOUND_OPTIONS\t0x%08lx\n", selected_options); |
printf | 450 | fs/umsdos/mangle.c | printf ("Testing the umsdos_parse.\n"); |
printf | 456 | fs/umsdos/mangle.c | printf ("**** %s -> ",pttb->fname); |
printf | 457 | fs/umsdos/mangle.c | printf ("%s <> %s\n",info.fake.fname,pttb->msname); |
printf | 459 | fs/umsdos/mangle.c | printf ("**** %s -> %s ",pttb->fname,pttb->msname); |
printf | 460 | fs/umsdos/mangle.c | printf ("%d <> %d\n",info.msdos_reject,pttb->msdos_reject); |
printf | 462 | fs/umsdos/mangle.c | printf (" %s -> %s %d\n",pttb->fname,pttb->msname |
printf | 466 | fs/umsdos/mangle.c | printf ("Testing the new umsdos_evalrecsize."); |
printf | 471 | fs/umsdos/mangle.c | printf ("\n%d:\t",i); |
printf | 474 | fs/umsdos/mangle.c | printf ("**** %d newres: %d != %d \n", i, rnew, rold); |
printf | 476 | fs/umsdos/mangle.c | printf("."); |
printf | 479 | fs/umsdos/mangle.c | printf ("\nEnd of Testing.\n"); |
printf | 506 | include/linux/ext2_fs.h | __attribute__ ((format (printf, 3, 4))); |
printf | 509 | include/linux/ext2_fs.h | __attribute__ ((NORET_AND format (printf, 3, 4))); |
printf | 511 | include/linux/ext2_fs.h | __attribute__ ((format (printf, 3, 4))); |
printf | 44 | include/linux/kernel.h | __attribute__ ((NORET_AND format (printf, 1, 2))); |
printf | 58 | include/linux/kernel.h | __attribute__ ((format (printf, 1, 2))); |
printf | 959 | init/main.c | printf("Fork failed in init\n\r"); |
printf | 965 | init/main.c | printf("\n\rchild %d died with code %04x\n\r",pid,i); |
printf | 96 | scripts/tkgen.c | printf("menu_option menu%d %d \"%s\"\n", menu_num, menu_num, label); |
printf | 97 | scripts/tkgen.c | printf("proc menu%d {w title} {\n", menu_num); |
printf | 98 | scripts/tkgen.c | printf("\tcatch {destroy $w}\n"); |
printf | 99 | scripts/tkgen.c | printf("\ttoplevel $w -class Dialog\n"); |
printf | 100 | scripts/tkgen.c | printf("\twm withdraw $w\n"); |
printf | 101 | scripts/tkgen.c | printf("\tmessage $w.m -width 400 -aspect 300 -text \\\n"); |
printf | 102 | scripts/tkgen.c | printf("\t\t\"%s\" -relief raised\n",label); |
printf | 103 | scripts/tkgen.c | printf("\tpack $w.m -pady 10 -side top -padx 10\n"); |
printf | 104 | scripts/tkgen.c | printf("\twm title $w \"%s\" \n\n", label); |
printf | 109 | scripts/tkgen.c | printf("\tset oldFocus [focus]\n"); |
printf | 110 | scripts/tkgen.c | printf("\tframe $w.f\n"); |
printf | 111 | scripts/tkgen.c | printf("\tbutton $w.f.back -text \"Main Menu\" \\\n" |
printf | 113 | scripts/tkgen.c | printf("\tbutton $w.f.next -text \"Next\" \\\n" |
printf | 117 | scripts/tkgen.c | printf("\t$w.f.next configure -state disabled\n"); |
printf | 118 | scripts/tkgen.c | printf("\tbutton $w.f.prev -text \"Prev\" \\\n" |
printf | 122 | scripts/tkgen.c | printf("\t$w.f.prev configure -state disabled\n"); |
printf | 123 | scripts/tkgen.c | printf("\tpack $w.f.back $w.f.next $w.f.prev -side left -expand on\n"); |
printf | 124 | scripts/tkgen.c | printf("\tpack $w.f -pady 10 -side bottom -anchor w -fill x\n"); |
printf | 129 | scripts/tkgen.c | printf("\tframe $w.topline -relief ridge -borderwidth 2 -height 2\n"); |
printf | 130 | scripts/tkgen.c | printf("\tpack $w.topline -side top -fill x\n\n"); |
printf | 131 | scripts/tkgen.c | printf("\tframe $w.botline -relief ridge -borderwidth 2 -height 2\n"); |
printf | 132 | scripts/tkgen.c | printf("\tpack $w.botline -side bottom -fill x\n\n"); |
printf | 137 | scripts/tkgen.c | printf("\tframe $w.config\n"); |
printf | 138 | scripts/tkgen.c | printf("\tpack $w.config -fill y -expand on\n\n"); |
printf | 139 | scripts/tkgen.c | printf("\tscrollbar $w.config.vscroll -command \"$w.config.canvas yview\"\n"); |
printf | 140 | scripts/tkgen.c | printf("\tpack $w.config.vscroll -side right -fill y\n\n"); |
printf | 145 | scripts/tkgen.c | printf("\tcanvas $w.config.canvas -height 1\\\n" |
printf | 148 | scripts/tkgen.c | printf("\tframe $w.config.f\n"); |
printf | 149 | scripts/tkgen.c | printf("\tpack $w.config.canvas -side right -fill y\n"); |
printf | 151 | scripts/tkgen.c | printf("\n\n"); |
printf | 175 | scripts/tkgen.c | printf("\tglobal %s; vfix %s\n", var, var); |
printf | 223 | scripts/tkgen.c | printf("\tif {"); |
printf | 229 | scripts/tkgen.c | printf(" ! "); |
printf | 232 | scripts/tkgen.c | printf(" == "); |
printf | 235 | scripts/tkgen.c | printf(" != "); |
printf | 239 | scripts/tkgen.c | printf(" && "); |
printf | 242 | scripts/tkgen.c | printf(" || "); |
printf | 245 | scripts/tkgen.c | printf("("); |
printf | 248 | scripts/tkgen.c | printf(")"); |
printf | 251 | scripts/tkgen.c | printf("$%s", cond->variable.str); |
printf | 254 | scripts/tkgen.c | printf("$%s", cond->variable.cfg->optionname); |
printf | 257 | scripts/tkgen.c | printf("[exec %s]", cond->variable.str); |
printf | 261 | scripts/tkgen.c | printf("1"); |
printf | 263 | scripts/tkgen.c | printf("0"); |
printf | 265 | scripts/tkgen.c | printf("2"); |
printf | 267 | scripts/tkgen.c | printf("\"%s\"", cond->variable.str); |
printf | 284 | scripts/tkgen.c | printf("} then { set %s %s } \n", item->optionname, item->value); |
printf | 287 | scripts/tkgen.c | printf("} then { .f0.x%d configure -state normal } else { .f0.x%d configure -state disabled }\n", |
printf | 292 | scripts/tkgen.c | printf("} then { "); |
printf | 293 | scripts/tkgen.c | printf(".menu%d.config.f.x%d.x configure -state normal -fore [ cget .ref -foreground ]; ", menu_num, line_num); |
printf | 294 | scripts/tkgen.c | printf(".menu%d.config.f.x%d.l configure -state normal; ", menu_num, line_num); |
printf | 295 | scripts/tkgen.c | printf("} else { "); |
printf | 296 | scripts/tkgen.c | printf(".menu%d.config.f.x%d.x configure -state disabled -fore [ cget .ref -disabledforeground ];", menu_num, line_num ); |
printf | 297 | scripts/tkgen.c | printf(".menu%d.config.f.x%d.l configure -state disabled;", menu_num, line_num ); |
printf | 298 | scripts/tkgen.c | printf("}\n"); |
printf | 305 | scripts/tkgen.c | printf("} then { .menu%d.config.f.x%d configure -state normal } else { .menu%d.config.f.x%d configure -state disabled }\n", |
printf | 312 | scripts/tkgen.c | printf("} then { "); |
printf | 313 | scripts/tkgen.c | printf(".menu%d.config.f.x%d.y configure -state normal;",menu_num, line_num); |
printf | 314 | scripts/tkgen.c | printf(".menu%d.config.f.x%d.n configure -state normal;",menu_num, line_num); |
printf | 315 | scripts/tkgen.c | printf(".menu%d.config.f.x%d.l configure -state normal;",menu_num, line_num); |
printf | 316 | scripts/tkgen.c | printf("set %s [expr $%s&15];", item->optionname, item->optionname); |
printf | 317 | scripts/tkgen.c | printf("} else { "); |
printf | 318 | scripts/tkgen.c | printf(".menu%d.config.f.x%d.y configure -state disabled;",menu_num, line_num); |
printf | 319 | scripts/tkgen.c | printf(".menu%d.config.f.x%d.n configure -state disabled;",menu_num, line_num); |
printf | 320 | scripts/tkgen.c | printf(".menu%d.config.f.x%d.l configure -state disabled;",menu_num, line_num); |
printf | 321 | scripts/tkgen.c | printf("set %s [expr $%s|16];", item->optionname, item->optionname); |
printf | 322 | scripts/tkgen.c | printf("}\n"); |
printf | 327 | scripts/tkgen.c | printf("} then { "); |
printf | 331 | scripts/tkgen.c | printf("if { $%s != 1 && $%s != 0 } then {", |
printf | 333 | scripts/tkgen.c | printf(".menu%d.config.f.x%d.y configure -state disabled;",menu_num, line_num); |
printf | 334 | scripts/tkgen.c | printf("} else {"); |
printf | 335 | scripts/tkgen.c | printf(".menu%d.config.f.x%d.y configure -state normal;",menu_num, line_num); |
printf | 336 | scripts/tkgen.c | printf("}; "); |
printf | 340 | scripts/tkgen.c | printf(".menu%d.config.f.x%d.y configure -state normal;",menu_num, line_num); |
printf | 343 | scripts/tkgen.c | printf(".menu%d.config.f.x%d.n configure -state normal;",menu_num, line_num); |
printf | 344 | scripts/tkgen.c | printf(".menu%d.config.f.x%d.m configure -state normal;",menu_num, line_num); |
printf | 345 | scripts/tkgen.c | printf(".menu%d.config.f.x%d.l configure -state normal;",menu_num, line_num); |
printf | 350 | scripts/tkgen.c | printf("set %s [expr $%s&15];", item->optionname, item->optionname); |
printf | 351 | scripts/tkgen.c | printf("} else { "); |
printf | 352 | scripts/tkgen.c | printf(".menu%d.config.f.x%d.y configure -state disabled;",menu_num, line_num); |
printf | 353 | scripts/tkgen.c | printf(".menu%d.config.f.x%d.n configure -state disabled;",menu_num, line_num); |
printf | 354 | scripts/tkgen.c | printf(".menu%d.config.f.x%d.m configure -state disabled;",menu_num, line_num); |
printf | 355 | scripts/tkgen.c | printf(".menu%d.config.f.x%d.l configure -state disabled;",menu_num, line_num); |
printf | 360 | scripts/tkgen.c | printf("set %s [expr $%s|16];", item->optionname, item->optionname); |
printf | 361 | scripts/tkgen.c | printf("}\n"); |
printf | 406 | scripts/tkgen.c | printf("\tif {"); |
printf | 412 | scripts/tkgen.c | printf(" ! "); |
printf | 415 | scripts/tkgen.c | printf(" == "); |
printf | 418 | scripts/tkgen.c | printf(" != "); |
printf | 422 | scripts/tkgen.c | printf(" && "); |
printf | 425 | scripts/tkgen.c | printf(" || "); |
printf | 428 | scripts/tkgen.c | printf("("); |
printf | 431 | scripts/tkgen.c | printf(")"); |
printf | 434 | scripts/tkgen.c | printf("$%s", cond->variable.str); |
printf | 437 | scripts/tkgen.c | printf("[exec %s]", cond->variable.str); |
printf | 440 | scripts/tkgen.c | printf("$%s", cond->variable.cfg->optionname); |
printf | 444 | scripts/tkgen.c | printf("1"); |
printf | 446 | scripts/tkgen.c | printf("0"); |
printf | 448 | scripts/tkgen.c | printf("2"); |
printf | 450 | scripts/tkgen.c | printf("\"%s\"", cond->variable.str); |
printf | 468 | scripts/tkgen.c | printf("} then {write_tristate $cfg $autocfg %s %s $notmod }\n", item->optionname, item->value); |
printf | 471 | scripts/tkgen.c | printf("} then {write_comment $cfg $autocfg \"%s\"}\n", item->label); |
printf | 474 | scripts/tkgen.c | printf("} then { write_tristate $cfg $autocfg %s $%s $%s } \n", |
printf | 479 | scripts/tkgen.c | printf("} then { write_tristate $cfg $autocfg %s $%s $notmod }\n", |
printf | 483 | scripts/tkgen.c | printf("} then { write_int $cfg $autocfg %s $%s $notmod }\n", |
printf | 487 | scripts/tkgen.c | printf("} then { write_hex $cfg $autocfg %s $%s $notmod }\n", |
printf | 491 | scripts/tkgen.c | printf("} then { do_make {%s} }\n",item->value); |
printf | 509 | scripts/tkgen.c | printf("\n\n\n"); |
printf | 510 | scripts/tkgen.c | printf("\tfocus $w\n"); |
printf | 511 | scripts/tkgen.c | printf("\tupdate_menu%d $w.config.f\n", menu_num); |
printf | 512 | scripts/tkgen.c | printf("\tglobal winx; global winy\n"); |
printf | 513 | scripts/tkgen.c | printf("\tset winx [expr [winfo x .]+30]; set winy [expr [winfo y .]+30]\n"); |
printf | 514 | scripts/tkgen.c | printf("\twm geometry $w +$winx+$winy\n"); |
printf | 526 | scripts/tkgen.c | printf("\tupdate idletasks\n"); |
printf | 527 | scripts/tkgen.c | printf("\t$w.config.canvas create window 0 0 -anchor nw -window $w.config.f\n\n"); |
printf | 528 | scripts/tkgen.c | printf("\t$w.config.canvas configure \\\n" |
printf | 537 | scripts/tkgen.c | printf("\tset winy [expr [winfo reqh $w] - [winfo reqh $w.config.canvas]]\n"); |
printf | 538 | scripts/tkgen.c | printf("\tset scry [expr [winfo screenh $w] / 2]\n"); |
printf | 539 | scripts/tkgen.c | printf("\tset maxy [expr [winfo screenh $w] * 3 / 4]\n"); |
printf | 540 | scripts/tkgen.c | printf("\tset canvtotal [expr [winfo reqh $w.config.f] + 2]\n"); |
printf | 541 | scripts/tkgen.c | printf("\tif [expr $winy + $canvtotal < $maxy] {\n" |
printf | 551 | scripts/tkgen.c | printf("\tupdate idletasks\n"); |
printf | 552 | scripts/tkgen.c | printf("\twm maxsize $w [winfo width $w] [winfo screenheight $w]\n"); |
printf | 553 | scripts/tkgen.c | printf("\twm minsize $w [winfo width $w] 100\n\n"); |
printf | 554 | scripts/tkgen.c | printf("\twm deiconify $w\n"); |
printf | 556 | scripts/tkgen.c | printf("}\n\n\n"); |
printf | 565 | scripts/tkgen.c | printf("proc update_menu%d {w} {\n", menu_num); |
printf | 567 | scripts/tkgen.c | printf("\tupdate_define\n"); |
printf | 582 | scripts/tkgen.c | printf("\tglobal %s\n", cfg->optionname); |
printf | 584 | scripts/tkgen.c | printf("\tset %s 0\n", cfg->optionname); |
printf | 608 | scripts/tkgen.c | printf("\tif {$%s != 1 && $%s != 0 } then { .menu%d.config.f.x%d.y configure -state disabled } else { .menu%d.config.f.x%d.y configure -state normal}\n", |
printf | 618 | scripts/tkgen.c | printf("}\n\n\n"); |
printf | 744 | scripts/tkgen.c | printf("mainmenu_name \"%s\"\n", cfg->label); |
printf | 774 | scripts/tkgen.c | printf("\tbool $w.config.f %d %d \"%s\" %s\n", |
printf | 782 | scripts/tkgen.c | printf("\t$w.config.f.x%d.x.menu add radiobutton -label \"%s\" -variable %s -value \"%s\" -command \"update_menu%d .menu%d.config.f\"\n", |
printf | 796 | scripts/tkgen.c | printf("\tglobal %s\n",cfg->optionname); |
printf | 797 | scripts/tkgen.c | printf("\tminimenu $w.config.f %d %d \"%s\" %s %s\n", |
printf | 809 | scripts/tkgen.c | printf("\tmenu $w.config.f.x%d.x.menu\n", cfg->menu_line); |
printf | 819 | scripts/tkgen.c | printf("\ttristate $w.config.f %d %d \"%s\" %s\n", |
printf | 832 | scripts/tkgen.c | printf("\tdep_tristate $w.config.f %d %d \"%s\" %s %s\n", |
printf | 846 | scripts/tkgen.c | printf("\tint $w.config.f %d %d \"%s\" %s\n", |
printf | 859 | scripts/tkgen.c | printf("\thex $w.config.f %d %d \"%s\" %s\n", |
printf | 883 | scripts/tkgen.c | printf("\tdo_make -C drivers/sound config\n"); |
printf | 884 | scripts/tkgen.c | printf("\techo check_sound_config %d\n",menu_num); |
printf | 886 | scripts/tkgen.c | printf("\tlabel $w.config.f.m0 -bitmap error\n"); |
printf | 887 | scripts/tkgen.c | printf("\tmessage $w.config.f.m1 -width 400 -aspect 300 -text \"The sound drivers cannot as of yet be configured via the X-based interface\" -relief raised\n"); |
printf | 888 | scripts/tkgen.c | printf("\tpack $w.config.f.m0 $w.config.f.m1 -side top -pady 10 -expand on\n"); |
printf | 901 | scripts/tkgen.c | printf("proc update_mainmenu {w} {\n"); |
printf | 915 | scripts/tkgen.c | printf("}\n\n\n"); |
printf | 931 | scripts/tkgen.c | printf("\twrite_define %s %s\n", cfg->optionname, cfg->value); |
printf | 950 | scripts/tkgen.c | printf("set %s 0\n", cfg->optionname); |
printf | 954 | scripts/tkgen.c | printf("set %s %s\n", cfg->optionname, cfg->value); |
printf | 957 | scripts/tkgen.c | printf("set %s \"(not set)\"\n",cfg->optionname); |
printf | 968 | scripts/tkgen.c | printf("proc writeconfig {file1 file2} {\n"); |
printf | 969 | scripts/tkgen.c | printf("\tset cfg [open $file1 w]\n"); |
printf | 970 | scripts/tkgen.c | printf("\tset autocfg [open $file2 w]\n"); |
printf | 971 | scripts/tkgen.c | printf("\tset notmod 1\n"); |
printf | 972 | scripts/tkgen.c | printf("\tset notset 0\n"); |
printf | 974 | scripts/tkgen.c | printf("\tputs $cfg \"#\"\n"); |
printf | 975 | scripts/tkgen.c | printf("\tputs $cfg \"# Automatically generated make config: don't edit\"\n"); |
printf | 976 | scripts/tkgen.c | printf("\tputs $cfg \"#\"\n"); |
printf | 978 | scripts/tkgen.c | printf("\tputs $autocfg \"/*\"\n"); |
printf | 979 | scripts/tkgen.c | printf("\tputs $autocfg \" * Automatically generated C config: don't edit\"\n"); |
printf | 980 | scripts/tkgen.c | printf("\tputs $autocfg \" */\"\n"); |
printf | 994 | scripts/tkgen.c | printf("\tglobal %s\n", cfg->optionname); |
printf | 1004 | scripts/tkgen.c | printf("\tif {$%s == 0 } then {\n" |
printf | 1017 | scripts/tkgen.c | printf("\twrite_comment $cfg $autocfg \"%s\"\n", cfg->label); |
printf | 1022 | scripts/tkgen.c | printf("\twrite_define %s %s\n", cfg->optionname, |
printf | 1032 | scripts/tkgen.c | printf("\tif { $%s == \"%s\" } then { write_tristate $cfg $autocfg %s 1 $notmod }\n", |
printf | 1040 | scripts/tkgen.c | printf("\twrite_int $cfg $autocfg %s $%s $notmod\n", |
printf | 1046 | scripts/tkgen.c | printf("\twrite_hex $cfg $autocfg %s $%s $notmod\n", |
printf | 1052 | scripts/tkgen.c | printf("\tdo_make {%s}\n",cfg->value); |
printf | 1056 | scripts/tkgen.c | printf("\twrite_tristate $cfg $autocfg %s $%s $notmod\n", |
printf | 1066 | scripts/tkgen.c | printf("\tclose $cfg\n"); |
printf | 1067 | scripts/tkgen.c | printf("\tclose $autocfg\n"); |
printf | 1068 | scripts/tkgen.c | printf("}\n\n\n"); |
printf | 1075 | scripts/tkgen.c | printf("proc clear_choices { } {\n"); |
printf | 1083 | scripts/tkgen.c | printf("\tglobal %s; set %s 0\n",cfg1->optionname,cfg1->optionname); |
printf | 1086 | scripts/tkgen.c | printf("}\n\n\n"); |
printf | 1088 | scripts/tkgen.c | printf("proc update_choices { } {\n"); |
printf | 1092 | scripts/tkgen.c | printf("\tglobal %s\n", cfg->optionname); |
printf | 1097 | scripts/tkgen.c | printf("\tglobal %s\n", cfg1->optionname); |
printf | 1098 | scripts/tkgen.c | printf("\tif { $%s == 1 } then { set %s \"%s\" }\n", |
printf | 1104 | scripts/tkgen.c | printf("}\n\n\n"); |
printf | 1106 | scripts/tkgen.c | printf("proc update_define { } {\n"); |
printf | 1111 | scripts/tkgen.c | printf("\tglobal %s; set %s 0\n", cfg->optionname, cfg->optionname); |
printf | 1121 | scripts/tkgen.c | printf("\tset %s %s\n", |
printf | 1125 | scripts/tkgen.c | printf("}\n\n\n"); |
printf | 540 | scripts/tkparse.c | printf(" "); |
printf | 545 | scripts/tkparse.c | printf(" = "); |
printf | 548 | scripts/tkparse.c | printf(" ! "); |
printf | 551 | scripts/tkparse.c | printf(" != "); |
printf | 554 | scripts/tkparse.c | printf(" -a "); |
printf | 557 | scripts/tkparse.c | printf("("); |
printf | 560 | scripts/tkparse.c | printf(")"); |
printf | 563 | scripts/tkparse.c | printf("$%s", cond->variable.str); |
printf | 566 | scripts/tkparse.c | printf("'%s'", cond->variable.str); |
printf | 574 | scripts/tkparse.c | printf("\n"); |
printf | 688 | scripts/tkparse.c | printf("main_menuname "); |
printf | 691 | scripts/tkparse.c | printf("bool "); |
printf | 694 | scripts/tkparse.c | printf("tristate "); |
printf | 697 | scripts/tkparse.c | printf("dep_tristate "); |
printf | 700 | scripts/tkparse.c | printf("int "); |
printf | 703 | scripts/tkparse.c | printf("hex "); |
printf | 706 | scripts/tkparse.c | printf("comment "); |
printf | 709 | scripts/tkparse.c | printf("menuoption "); |
printf | 712 | scripts/tkparse.c | printf("else"); |
printf | 715 | scripts/tkparse.c | printf("fi"); |
printf | 718 | scripts/tkparse.c | printf("if"); |
printf | 728 | scripts/tkparse.c | printf("%s\n", cfg->label); |
printf | 735 | scripts/tkparse.c | printf("%s %s\n", cfg->label, cfg->optionname); |
printf | 744 | scripts/tkparse.c | printf("\n"); |