/osnet-11/usr/src/lib/libast/common/features/ |
H A D | map.c | 45 printf("#pragma prototyped\n"); 46 printf("\n"); 47 printf("/*\n"); 48 printf(" * prototypes provided for standard interfaces hijacked\n"); 49 printf(" * by ast and mapped to _ast_* but already prototyped\n"); 50 printf(" * unmapped in native headers included by <ast_std.h>\n"); 51 printf(" */\n"); 52 printf("\n"); 53 printf("#if _BLD_ast && defined(__EXPORT__)\n"); 54 printf("#defin [all...] |
H A D | sfinit.c | 43 printf("\nstatic const float sf_flt_pow10[] =\n{\n"); 45 printf("\t1E%d%s,\n", i, fs); 46 printf("};\n"); 47 printf("\nstatic const double sf_dbl_pow10[] =\n{\n"); 49 printf("\t1E%d%s,\n", i, ds); 50 printf("};\n"); 52 printf("\nstatic const _ast_fltmax_t sf_ldbl_pow10[] =\n{\n"); 54 printf("\t1E%d%s,\n", i, ls); 55 printf("};\n"); 57 printf("\nSftab_ [all...] |
H A D | fcntl.c | 74 printf("#pragma prototyped\n"); 75 printf("\n"); 76 printf("#if _typ_off64_t\n"); 77 printf("#undef off_t\n"); 78 printf("#ifdef __STDC__\n"); 79 printf("#define off_t off_t\n"); 80 printf("#endif\n"); 81 printf("#endif\n"); 82 printf("\n"); 83 printf("#includ [all...] |
H A D | limits.c | 103 printf("\n"); 109 printf("#define CHAR_BIT %lu\n", val); 113 printf("#define MB_LEN_MAX %lu\n", val); 133 printf("#if defined(__STDC__)\n"); 134 printf("#define UCHAR_MAX %luU\n", val); 135 printf("#else\n"); 136 printf("#define UCHAR_MAX %lu\n", val); 137 printf("#endif\n"); 142 printf("#define SCHAR_MIN (-%lu)\n", val); 147 printf("#defin [all...] |
H A D | mode.c | 46 printf("#define S_ITYPE(m) ((m)&S_IFMT)\n"); 48 printf("#define S_ITYPE(m) ((m)&~S_IPERM)\n"); 55 printf("#define S_ISBLK(m) (S_ITYPE(m)==S_IFBLK)\n"); 57 printf("#define S_ISBLK(m) 0\n"); 64 printf("#define S_ISCHR(m) (S_ITYPE(m)==S_IFCHR)\n"); 66 printf("#define S_ISCHR(m) 0\n"); 73 printf("#define S_ISCTG(m) (S_ITYPE(m)==S_IFCTG)\n"); 80 printf("#define S_ISDIR(m) (S_ITYPE(m)==S_IFDIR)\n"); 82 printf("#define S_ISDIR(m) 0\n"); 89 printf("#defin [all...] |
H A D | align.c | 113 printf("typedef unsigned %s ALIGN_INTEGRAL;\n", sizeof(char*) >= sizeof(long) ? "long" : sizeof(char*) >= sizeof(int) ? "int" : "short"); 114 printf("\n"); 115 printf("#define ALIGN_CHUNK %d\n", sizeof(char*) >= 4 ? 8192 : 1024); 116 printf("#define ALIGN_INTEGRAL %s\n", sizeof(char*) >= sizeof(long) ? "long" : sizeof(char*) >= sizeof(int) ? "int" : "short"); 117 printf("#define ALIGN_INTEGER(x) ((ALIGN_INTEGRAL)(x))\n"); 118 printf("#define ALIGN_POINTER(x) ((char*)(x))\n"); 119 if (bits2 == (align2 - 1)) printf("#define ALIGN_ROUND(x,y) ALIGN_POINTER(ALIGN_INTEGER((x)+(y)-1)&~((y)-1))\n"); 120 else printf("#define ALIGN_ROUND(x,y) ALIGN_POINTER(ALIGN_INTEGER(ALIGN_ALIGN(x)+(((y)+%d)/%d)-1)&~((((y)+%d)/%d)-1))\n", align0, align0, align0, align0); 121 printf("\n"); 124 printf("#defin [all...] |
/osnet-11/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | mkterm.awk | 50 printf " * $Header%s\n", "$" 70 printf "#define %-30s __TERM _bool[%d]\n", $1, BoolCount++ 74 printf "#define %-30s __TERM _num[%d]\n", $1, NumberCount++ 78 printf "#define %-30s __TERM _str[%d]\n", $1, StringCount++ 83 printf "#define __COUNT_BOOL\t\t%d\n", BoolCount 84 printf "#define __COUNT_NUM\t\t%d\n", NumberCount 85 printf "#define __COUNT_STR\t\t%d\n", StringCount
|
H A D | mkkey.awk | 54 printf "static char rcsID[] = \"$Header%s\";\n", "$" 70 printf("\t{ %d, KEY_F(%d) },\n", strcount, substr($1, 6, 2)); 72 printf "\t{ %d, %s },\n", strcount, toupper($1);
|
H A D | mknames.awk | 38 printf " * %s\n", file > file 51 printf "static char rcsID[] = \"$Header%s\"\n", "$" > file 55 printf "char *__m_%s[] = {\n", array > file 59 printf("\t0\n};\n\n") >file; 76 printf "\t\"%s\",\n", $1 > "boolfnam.c" 77 printf "\t\"%s\",\n", $2 > "boolname.c" 78 printf "\t\"%s\",\n", $3 > "boolcode.c" 82 printf "\t\"%s\",\n", $1 > "numfnam.c" 83 printf "\t\"%s\",\n", $2 > "numname.c" 84 printf "\ [all...] |
/osnet-11/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | mkterm.awk | 60 printf " * $Header%s\n", "$" 72 printf "#define %s\t\t__TERM _bool[%d]\n", $1, BoolCount++ 76 printf "#define %s\t\t__TERM _num[%d]\n", $1, NumberCount++ 80 printf "#define %s\t\t__TERM _str[%d]\n", $1, StringCount++ 85 printf "#define __COUNT_BOOL\t\t%d\n", BoolCount 86 printf "#define __COUNT_NUM\t\t%d\n", NumberCount 87 printf "#define __COUNT_STR\t\t%d\n", StringCount
|
H A D | mknames.awk | 45 printf " * %s\n", file > file 56 printf "const char *%s[] = {\n", array > file 60 printf("\t0\n};\n") >file; 77 printf "\t\"%s\",\n", $1 > "boolfnam.c" 78 printf "\t\"%s\",\n", $2 > "boolname.c" 79 printf "\t\"%s\",\n", $3 > "boolcode.c" 83 printf "\t\"%s\",\n", $1 > "numfnam.c" 84 printf "\t\"%s\",\n", $2 > "numname.c" 85 printf "\t\"%s\",\n", $3 > "numcode.c" 91 printf "\ [all...] |
H A D | mkkey.awk | 71 printf("\t{ %d, KEY_F(%d) },\n", strcount, substr($1, 6, 2)); 73 printf "\t{ %d, %s },\n", strcount, toupper($1);
|
/osnet-11/usr/src/lib/libsmb/common/ |
H A D | smb_status_gen.awk | 34 printf("/* Table generated by smb_status_gen.awk */\n"); 35 printf("#include <smb/ntstatus.h>\n\n"); 36 printf("typedef struct smb_status_table {\n"); 37 printf("\tunsigned int value;\n"); 38 printf("\tconst char *name;\n"); 39 printf("} smb_status_table_t;\n\n"); 40 printf("static const smb_status_table_t ntx_table[] = {\n"); 55 printf("\t/* %s */\t{ %s,\t\"%s\" },\n", 60 printf("};\n");
|
/osnet-11/usr/src/cmd/perl/5.8.4/ |
H A D | extract_config.sh | 16 printf 'No config.sh file specified\n' >&2 27 printf '# This file was automatically generated from %s by %s\n\n' \ 34 printf 'C99MODE = $(C99_ENABLE)\n' 35 printf 'COPTFLAG = %s\n' "$optimize" 36 printf 'SPACEFLAG =\n' 37 printf 'ILDOFF =\n' 38 printf 'CERRWARN =\n' 39 printf 'G_SHARED = %s\n' "$lddlflags" 40 printf 'sparc_C_PICFLAGS = %s\n' "$cccdlflags" 41 printf 'i386_C_PICFLAG [all...] |
H A D | extract_makeext.sh | 24 printf 'No config.sh file specified\n' 33 printf '# This file was automatically generated from config.sh by %s\n\n' \ 46 printf 'PERL_STATIC_EXT = ' 49 printf '%s ' $ext 51 printf '\n' 53 printf 'PERL_DYNAMIC_EXT = ' 56 printf '%s ' $ext 58 printf '\n' 60 printf 'PERL_NONXS_EXT = ' 63 printf ' [all...] |
/osnet-11/usr/src/lib/libc/amd64/ |
H A D | genassym.c | 48 (void) printf("#define\tMUTEX_LOCK_WORD\t0x%x\n", 50 (void) printf("#define\tWAITER_MASK\t0x00ff0000\n"); 52 (void) printf("#define\tSIG_SETMASK\t0x%x\n", SIG_SETMASK); 53 (void) printf("#define\tMASKSET0\t0x%x\n", MASKSET0); 54 (void) printf("#define\tMASKSET1\t0x%x\n", MASKSET1); 55 (void) printf("#define\tMASKSET2\t0x%x\n", MASKSET2); 56 (void) printf("#define\tMASKSET3\t0x%x\n", MASKSET3); 57 (void) printf("#define\tSIGSEGV\t0x%x\n", SIGSEGV); 59 (void) printf("#define\tRIP_OFF\t0x%x\n", REG_RIP * 8); 60 (void) printf("#defin [all...] |
/osnet-11/usr/src/lib/libc/i386/ |
H A D | genassym.c | 48 (void) printf("#define\tMUTEX_LOCK_WORD\t0x%x\n", 50 (void) printf("#define\tWAITER_MASK\t0x00ff0000\n"); 52 (void) printf("#define\tSIG_SETMASK\t0x%x\n", SIG_SETMASK); 53 (void) printf("#define\tMASKSET0\t0x%x\n", MASKSET0); 54 (void) printf("#define\tMASKSET1\t0x%x\n", MASKSET1); 55 (void) printf("#define\tMASKSET2\t0x%x\n", MASKSET2); 56 (void) printf("#define\tMASKSET3\t0x%x\n", MASKSET3); 57 (void) printf("#define\tSIGSEGV\t0x%x\n", SIGSEGV); 59 (void) printf("#define\tEIP_OFF\t0x%x\n", EIP * 4); 60 (void) printf("#defin [all...] |
/osnet-11/usr/src/lib/libc/sparc/ |
H A D | genassym.c | 45 (void) printf("#define\tMUTEX_LOCK_WORD\t0x%p\n", 47 (void) printf("#define\tWAITER_MASK\t0xff\n"); 49 (void) printf("#define\tSIG_SETMASK\t0x%lx\n", SIG_SETMASK); 50 (void) printf("#define\tMASKSET0\t0x%lx\n", MASKSET0); 51 (void) printf("#define\tMASKSET1\t0x%lx\n", MASKSET1); 52 (void) printf("#define\tMASKSET2\t0x%lx\n", MASKSET2); 53 (void) printf("#define\tMASKSET3\t0x%lx\n", MASKSET3); 54 (void) printf("#define\tSIGSEGV\t0x%lx\n", SIGSEGV);
|
/osnet-11/usr/src/grub/grub2/grub-core/ |
H A D | gentrigtables.c | 32 printf ("#include <grub/types.h>\n"); 33 printf ("#include <grub/dl.h>\n"); 34 printf ("\n"); 36 printf ("/* Under copyright legislature such automated output isn't\n"); 37 printf ("covered by any copyright. Hence it's public domain. Public\n"); 38 printf ("domain works can be dual-licenced with any license. */\n"); 39 printf ("GRUB_MOD_LICENSE (\"GPLv3+\");"); 40 printf ("GRUB_MOD_DUAL_LICENSE (\"Public Domain\");"); 43 printf ("grub_int16_t grub_trig_" #op "tab[] =\n{"); \ 48 printf ("\ [all...] |
/osnet-11/usr/src/lib/libsqlite/tool/ |
H A D | opcodeDoc.awk | 14 printf "<tr><td>%s %s %s %s</td>\n<td>\n", $3, $4, $5, $6 16 printf "</td></tr>\n"
|
/osnet-11/usr/src/lib/fm/topo/maps/i86pc/ |
H A D | fan-hc-topology.xmlgen | 392 printf("%*s<range name='%s' min='%d' max='%d'>\n", 415 printf("%*s<node instance='%d'>\n", $indent, "", $i); 421 printf("%*s<fac-enum provider='", 423 printf($level->{provider}); 424 printf("' />\n"); 429 printf("%*s<facility name='service' type='indicator' ". 431 printf("%*s<propgroup name='facility' version='1' ". 434 printf("%*s<propval name='type' type='uint32' ". 436 printf("%*s<propmethod name='ipmi_entity' version='0' ". 440 printf(" [all...] |
/osnet-11/usr/src/lib/storage/common/ |
H A D | l_common.h | 55 #define S_DPRINTF if (getenv("_LUX_S_DEBUG") != NULL) (void) printf 58 #define P_DPRINTF if (getenv("_LUX_P_DEBUG") != NULL) (void) printf 61 #define O_DPRINTF if (getenv("_LUX_O_DEBUG") != NULL) (void) printf 64 #define I_DPRINTF if (getenv("_LUX_I_DEBUG") != NULL) (void) printf 67 #define H_DPRINTF if (getenv("_LUX_H_DEBUG") != NULL) (void) printf 70 #define L_DPRINTF if (getenv("_LUX_L_DEBUG") != NULL) (void) printf 73 #define G_DPRINTF if (getenv("_LUX_G_DEBUG") != NULL) (void) printf 76 #define B_DPRINTF if (getenv("_LUX_B_DEBUG") != NULL) (void) printf 79 #define N_DPRINTF if (getenv("_LUX_N_DEBUG") != NULL) (void) printf 82 #define W_DPRINTF if (getenv("_LUX_W_DEBUG") != NULL) (void) printf [all...] |
/osnet-11/usr/src/lib/libmtmalloc/tests/ |
H A D | dblfree.c | 48 printf("Double free coming up\n"); 49 printf("This should NOT dump core.\n"); 57 printf("Double free coming up\n"); 58 printf("This should dump core.\n");
|
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Bin/ |
H A D | crash.d | 59 printf("Waiting for crashing applications...\n"); 72 printf("\n-----------------------------------------------------\n"); 73 printf("CRASH DETECTED at %Y\n", walltimestamp); 74 printf("-----------------------------------------------------\n"); 75 printf("Type: %s\n", args[2] == SIGBUS ? "SIGBUS" : "SIGSEGV"); 76 printf("Program: %s\n", execname); 77 printf("Args: %S\n", curpsinfo->pr_psargs); 78 printf("PID: %d\n", pid); 79 printf("TID: %d\n", tid); 80 printf("LWP [all...] |
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Proc/ |
H A D | crash.d | 59 printf("Waiting for crashing applications...\n"); 72 printf("\n-----------------------------------------------------\n"); 73 printf("CRASH DETECTED at %Y\n", walltimestamp); 74 printf("-----------------------------------------------------\n"); 75 printf("Type: %s\n", args[2] == SIGBUS ? "SIGBUS" : "SIGSEGV"); 76 printf("Program: %s\n", execname); 77 printf("Args: %S\n", curpsinfo->pr_psargs); 78 printf("PID: %d\n", pid); 79 printf("TID: %d\n", tid); 80 printf("LWP [all...] |