/titanic_41/usr/src/lib/libast/common/features/ |
H A D | map.c | 44 printf("#pragma prototyped\n"); in main() 45 printf("\n"); in main() 46 printf("/*\n"); in main() 47 printf(" * prototypes provided for standard interfaces hijacked\n"); in main() 48 printf(" * by ast and mapped to _ast_* but already prototyped\n"); in main() 49 printf(" * unmapped in native headers included by <ast_std.h>\n"); in main() 50 printf(" */\n"); in main() 51 printf("\n"); in main() 52 printf("#if _BLD_ast && defined(__EXPORT__)\n"); in main() 53 printf("#define extern __EXPORT__\n"); in main() [all …]
|
H A D | fcntl.c | 74 printf("#pragma prototyped\n"); in main() 75 printf("\n"); in main() 76 printf("#if _typ_off64_t\n"); in main() 77 printf("#undef off_t\n"); in main() 78 printf("#ifdef __STDC__\n"); in main() 79 printf("#define off_t off_t\n"); in main() 80 printf("#endif\n"); in main() 81 printf("#endif\n"); in main() 82 printf("\n"); in main() 83 printf("#include <ast_fs.h>\n"); in main() [all …]
|
H A D | limits.c | 103 printf("\n"); in main() 109 printf("#define CHAR_BIT %lu\n", val); in main() 113 printf("#define MB_LEN_MAX %lu\n", val); in main() 133 printf("#if defined(__STDC__)\n"); in main() 134 printf("#define UCHAR_MAX %luU\n", val); in main() 135 printf("#else\n"); in main() 136 printf("#define UCHAR_MAX %lu\n", val); in main() 137 printf("#endif\n"); in main() 142 printf("#define SCHAR_MIN (-%lu)\n", val); in main() 147 printf("#define SCHAR_MAX %lu\n", val); in main() [all …]
|
H A D | sfinit.c | 43 printf("\nstatic const float sf_flt_pow10[] =\n{\n"); in main() 45 printf("\t1E%d%s,\n", i, fs); in main() 46 printf("};\n"); in main() 47 printf("\nstatic const double sf_dbl_pow10[] =\n{\n"); in main() 49 printf("\t1E%d%s,\n", i, ds); in main() 50 printf("};\n"); in main() 52 printf("\nstatic const _ast_fltmax_t sf_ldbl_pow10[] =\n{\n"); in main() 54 printf("\t1E%d%s,\n", i, ls); in main() 55 printf("};\n"); in main() 57 printf("\nSftab_t _Sftable =\n{\n"); in main() [all …]
|
H A D | iconv | 25 printf("#include <ast_common.h>\n"); 26 printf("#include <ccode.h>\n"); 28 printf("#undef _hdr_iconv\n"); 31 printf("#undef _lib_iconv_open\n"); 34 printf("#include <%s> /* the native iconv.h */\n", _nxt_iconv_str); 36 printf("\n"); 37 printf("#define CC_ICONV (-1)\n"); 38 printf("#define CC_UCS (-2)\n"); 39 printf("#define CC_SCU (-3)\n"); 40 printf("#define CC_UTF (-4)\n"); [all …]
|
H A D | mode.c | 46 printf("#define S_ITYPE(m) ((m)&S_IFMT)\n"); in main() 48 printf("#define S_ITYPE(m) ((m)&~S_IPERM)\n"); in main() 55 printf("#define S_ISBLK(m) (S_ITYPE(m)==S_IFBLK)\n"); in main() 57 printf("#define S_ISBLK(m) 0\n"); in main() 64 printf("#define S_ISCHR(m) (S_ITYPE(m)==S_IFCHR)\n"); in main() 66 printf("#define S_ISCHR(m) 0\n"); in main() 73 printf("#define S_ISCTG(m) (S_ITYPE(m)==S_IFCTG)\n"); in main() 80 printf("#define S_ISDIR(m) (S_ITYPE(m)==S_IFDIR)\n"); in main() 82 printf("#define S_ISDIR(m) 0\n"); in main() 89 printf("#define S_ISFIFO(m) (S_ITYPE(m)==S_IFIFO)\n"); in main() [all …]
|
H A D | align.c | 113 …printf("typedef unsigned %s ALIGN_INTEGRAL;\n", sizeof(char*) >= sizeof(long) ? "long" : sizeof(ch… in main() 114 printf("\n"); in main() 115 printf("#define ALIGN_CHUNK %d\n", sizeof(char*) >= 4 ? 8192 : 1024); in main() 116 …printf("#define ALIGN_INTEGRAL %s\n", sizeof(char*) >= sizeof(long) ? "long" : sizeof(char*) >= s… in main() 117 printf("#define ALIGN_INTEGER(x) ((ALIGN_INTEGRAL)(x))\n"); in main() 118 printf("#define ALIGN_POINTER(x) ((char*)(x))\n"); in main() 119 …if (bits2 == (align2 - 1)) printf("#define ALIGN_ROUND(x,y) ALIGN_POINTER(ALIGN_INTEGER((x)+(y)-1)… in main() 120 …else printf("#define ALIGN_ROUND(x,y) ALIGN_POINTER(ALIGN_INTEGER(ALIGN_ALIGN(x)+(((y)+%d)/%d)-1)&… in main() 121 printf("\n"); in main() 124 printf("#define ALIGN_BOUND ALIGN_BOUND2\n"); in main() [all …]
|
H A D | nl_types | 18 printf("#include <limits.h>\n"); 20 printf("#include <%s> /* the native nl_types.h */\n", _nxt_nl_types_str); 22 printf("\n"); 24 printf("#undef NL_SETMAX\n"); 25 printf("#define NL_SETMAX 1023\n"); 28 printf("#undef NL_MSGMAX\n"); 29 printf("#define NL_MSGMAX 32767\n"); 32 printf("#undef NL_SETD\n"); 33 printf("#define NL_SETD 1\n"); 36 printf("#undef NL_CAT_LOCALE\n"); [all …]
|
/titanic_41/usr/src/cmd/dtrace/test/tst/common/funcs/ |
H A D | tst.index.d.out | 5 printf("perl => index(\"foobarbaz\", \"barbaz\") = %d\n", 7 printf(" D => index(\"foobarbaz\", \"barbaz\") = 3\n"); 12 printf("perl => rindex(\"foobarbaz\", \"barbaz\") = %d\n", 14 printf(" D => rindex(\"foobarbaz\", \"barbaz\") = 3\n"); 19 printf("perl => index(\"foofoofoo\", \"foo\") = %d\n", 21 printf(" D => index(\"foofoofoo\", \"foo\") = 0\n"); 26 printf("perl => rindex(\"foofoofoo\", \"foo\") = %d\n", 28 printf(" D => rindex(\"foofoofoo\", \"foo\") = 6\n"); 33 printf("perl => index(\"boofoofoo\", \"foo\") = %d\n", 35 printf(" D => index(\"boofoofoo\", \"foo\") = 3\n"); [all …]
|
H A D | tst.substr.d.out | 5 printf("perl => substr(\"foobarbazbop\", 3) = \"%s\"\n", 7 printf(" D => substr(\"foobarbazbop\", 3) = \"%s\"\n", 13 printf("perl => substr(\"foobarbazbop\", 300) = \"%s\"\n", 15 printf(" D => substr(\"foobarbazbop\", 300) = \"%s\"\n", 21 printf("perl => substr(\"foobarbazbop\", -10) = \"%s\"\n", 23 printf(" D => substr(\"foobarbazbop\", -10) = \"%s\"\n", 29 printf("perl => substr(\"foobarbazbop\", 0) = \"%s\"\n", 31 printf(" D => substr(\"foobarbazbop\", 0) = \"%s\"\n", 37 printf("perl => substr(\"foobarbazbop\", 1) = \"%s\"\n", 39 printf(" D => substr(\"foobarbazbop\", 1) = \"%s\"\n", [all …]
|
/titanic_41/usr/src/uts/i86pc/ml/ |
H A D | genassym.c | 71 printf("#define\tT_AST 0x%x\n", T_AST); in main() 73 printf("#define\tLOCK_LEVEL 0x%x\n", LOCK_LEVEL); in main() 74 printf("#define\tCLOCK_LEVEL 0x%x\n", CLOCK_LEVEL); in main() 75 printf("#define\tDISP_LEVEL 0x%x\n", DISP_LEVEL); in main() 76 printf("#define\tPIL_MAX 0x%x\n", PIL_MAX); in main() 77 printf("#define\tHIGH_LEVELS 0x%x\n", HIGH_LEVELS); in main() 78 printf("#define\tCPU_INTR_ACTV_HIGH_LEVEL_MASK 0x%x\n", in main() 81 printf("#define\tPIC_NSEOI 0x%x\n", PIC_NSEOI); in main() 82 printf("#define\tPIC_SEOI_LVL7 0x%x\n", PIC_SEOI_LVL7); in main() 84 printf("#define\tNANOSEC 0x%x\n", NANOSEC); in main() [all …]
|
/titanic_41/usr/src/uts/sun4/ml/ |
H A D | genconst.c | 82 printf("#define\tSSLEEP 0x%x\n", SSLEEP); in main() 83 printf("#define\tSRUN 0x%x\n", SRUN); in main() 84 printf("#define\tSONPROC 0x%x\n", SONPROC); in main() 86 printf("#define\tT_INTR_THREAD %d\n", T_INTR_THREAD); in main() 87 printf("#define\tTP_MSACCT 0x%x\n", TP_MSACCT); in main() 88 printf("#define\tTP_WATCHPT 0x%x\n", TP_WATCHPT); in main() 89 printf("#define\tTS_FREE 0x%x\n", TS_FREE); in main() 90 printf("#define\tTS_ZOMB 0x%x\n", TS_ZOMB); in main() 91 printf("#define\tTS_ONPROC 0x%x\n", TS_ONPROC); in main() 92 printf("#define\tNSYSCALL %d\n", NSYSCALL); in main() [all …]
|
/titanic_41/usr/src/cmd/ttymon/ |
H A D | stty.c | 242 (void) printf("iuclc "); in prmodes() 244 (void) printf("-iuclc "); in prmodes() 247 (void) printf("olcuc "); in prmodes() 249 (void) printf("-olcuc "); in prmodes() 251 (void) printf("tab3 "); in prmodes() 254 (void) printf("xcase "); in prmodes() 256 (void) printf("-xcase "); in prmodes() 258 (void) printf("stflush "); in prmodes() 260 (void) printf("-stflush "); in prmodes() 262 (void) printf("stwrap "); in prmodes() [all …]
|
/titanic_41/usr/src/cmd/dtrace/test/tst/common/printf/ |
H A D | tst.ints.d | 42 printf("\n%d\n", (char)0x1234567890abcdef); 43 printf("%d\n", (short)0x1234567890abcdef); 44 printf("%d\n", (int)0x1234567890abcdef); 45 printf("%d\n", (long long)0x1234567890abcdef); 47 printf("\n%d\n", (unsigned char)0x1234567890abcdef); 48 printf("%d\n", (unsigned short)0x1234567890abcdef); 49 printf("%d\n", (unsigned int)0x1234567890abcdef); 50 printf("%d\n", (unsigned long long)0x1234567890abcdef); 52 printf("\n%u\n", (char)0x1234567890abcdef); 53 printf("%u\n", (short)0x1234567890abcdef); [all …]
|
H A D | tst.basics.d | 45 printf("\n"); 47 printf("%%a = %a\n", &`kmem_alloc); 48 printf("%%c = %c\n", i); 49 printf("%%d = %d\n", i); 50 printf("%%hd = %hd\n", (short)i); 51 printf("%%hi = %hi\n", (short)i); 52 printf("%%ho = %ho\n", (ushort_t)i); 53 printf("%%hu = %hu\n", (ushort_t)i); 54 printf("%%hx = %hx\n", (ushort_t)i); 55 printf("%%hX = %hX\n", (ushort_t)i); [all …]
|
H A D | tst.wp.d | 40 printf("\n"); 43 printf("%0.0s\n", "hello"); 44 printf("%1.1s\n", "hello"); 45 printf("%2.2s\n", "hello"); 46 printf("%3.3s\n", "hello"); 47 printf("%4.4s\n", "hello"); 48 printf("%5.5s\n", "hello"); 49 printf("%6.6s\n", "hello"); 50 printf("%7.7s\n", "hello"); 51 printf("%8.8s\n", "hello"); [all …]
|
/titanic_41/usr/src/cmd/dtrace/test/tst/sparc/arrays/ |
H A D | tst.uregsarray.d | 46 printf("R_G0 = 0x%x\n", uregs[R_G0]); 47 printf("R_G1 = 0x%x\n", uregs[R_G1]); 48 printf("R_G2 = 0x%x\n", uregs[R_G2]); 49 printf("R_G3 = 0x%x\n", uregs[R_G3]); 50 printf("R_G4 = 0x%x\n", uregs[R_G4]); 51 printf("R_G5 = 0x%x\n", uregs[R_G5]); 52 printf("R_G6 = 0x%x\n", uregs[R_G6]); 53 printf("R_G7 = 0x%x\n", uregs[R_G7]); 54 printf("R_O0 = 0x%x\n", uregs[R_O0]); 55 printf("R_O1 = 0x%x\n", uregs[R_O1]); [all …]
|
/titanic_41/usr/src/uts/common/io/usb/ |
H A D | usbdevs2h.awk | 67 printf("/*\t\$NetBSD\$\t*/\n\n") > file 69 printf("/* \$FreeBSD\$ */\n\n") > file 71 printf("/*\t\$OpenBSD\$\t*/\n\n") > file 73 printf("/*\n") > file 74 printf(" * THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.\n") \ 76 printf(" *\n") > file 77 printf(" * generated from:\n") > file 78 printf(" * %s\n", VERSION) > file 79 printf(" */\n") > file 84 printf("\n") > file [all …]
|
/titanic_41/usr/src/cmd/avs/dsstat/ |
H A D | report.c | 193 (void) printf(KPS_INF_FMT, in io_report() 195 (void) printf(KPS_INF_FMT, in io_report() 198 (void) printf(DATA_C6, NO_INFO); in io_report() 199 (void) printf(KPS_INF_FMT, rd_kb + wr_kb); in io_report() 202 (void) printf(KPS_INF_FMT, rd_kb + wr_kb); in io_report() 204 (void) printf(TPS_INF_FMT, (uint32_t)(rd_cnt + wr_cnt)); in io_report() 205 (void) printf(SVT_INF_FMT, rtm); in io_report() 213 (void) printf(KPS_INF_FMT, in io_report() 215 (void) printf(KPS_INF_FMT, in io_report() 218 (void) printf(DATA_C6, NO_INFO); in io_report() [all …]
|
/titanic_41/usr/src/cmd/ipf/lib/common/ |
H A D | printfr.c | 34 printf("# Builtin: "); 37 printf("%u ", fp->fr_collect); 42 printf("call"); 44 printf(" now"); 46 printf(" %s/%u", s ? s : "?", fp->fr_arg); 48 printf("pass"); 50 printf("block"); 53 printf(" return-icmp-as-dest"); 55 printf(" return-icmp"); 58 printf("(%s)", [all …]
|
/titanic_41/usr/src/cmd/krb5/kproplog/ |
H A D | kproplog.c | 40 (void) printf(gettext("\t\tAttribute flags\n")); in print_attr() 43 (void) printf(gettext("\t\tMaximum ticket life\n")); in print_attr() 46 (void) printf(gettext("\t\tMaximum renewable life\n")); in print_attr() 49 (void) printf(gettext("\t\tPrincipal expiration\n")); in print_attr() 52 (void) printf(gettext("\t\tPassword expiration\n")); in print_attr() 55 (void) printf(gettext("\t\tLast successful auth\n")); in print_attr() 58 (void) printf(gettext("\t\tLast failed auth\n")); in print_attr() 61 (void) printf(gettext("\t\tFailed passwd attempt\n")); in print_attr() 64 (void) printf(gettext("\t\tPrincipal\n")); in print_attr() 67 (void) printf(gettext("\t\tKey data\n")); in print_attr() [all …]
|
/titanic_41/usr/src/cmd/smbsrv/dtrace/ |
H A D | smbnode.d | 31 printf("-->SMB Server Node Trace Started"); 32 printf("\n\n"); 37 printf("<--SMB Server Node Trace Ended"); 38 printf("\n\n"); 44 printf("\nSMB Node lookup hit/SMB_NODE_STATE_AVAILABLE"); 45 printf("\n\tNode: %p", arg0); 46 printf("\n\tRefCnt: %d", ((smb_node_t *)arg0)->n_refcnt); 47 printf("\n\tName: %s", (string)((vnode_t *)((smb_node_t *)arg0)->vp)->v_path); 54 printf("\nSMB Node lookup hit/SMB_NODE_STATE_DESTROYING"); 55 printf("\n\tNode: %p", arg0); [all …]
|
/titanic_41/usr/src/lib/libdll/common/features/ |
H A D | dll | 95 printf("\n"); 96 printf("#if defined(__MVS__) && !defined(__SUSV3)\n"); 97 printf("#define __SUSV3 1\n"); 98 printf("#endif\n"); 100 printf("#include <dlfcn.h>\n"); 104 printf("\n"); 105 printf("#define RTLD_LAZY 1\n"); 113 printf("\n"); 115 printf("#define RTLD_NOW 2\n"); 121 printf("\n"); [all …]
|
/titanic_41/usr/src/cmd/krb5/kadmin/kdcmgr/ |
H A D | kdcmgr.sh | 35 printf "\n$(gettext "Usage: %s [ -a admprincipal ] [ -e enctype ] [ -h ]")\n" $app 36 printf "\t$(gettext "[ -p pwfile ] [ -r realm ] subcommand")\n\n" 38 printf "\t$(gettext "-a: Create non-default admin principal.")\n" 39 printf "\t$(gettext "-e: Encryption type used to encrypt the master key")\n" 40 printf "\t$(gettext "-h: This help message.")\n" 41 printf "\t$(gettext "-p: File that contains the admin principal and master key password.")\n" 42 printf "\t$(gettext "-r: Set the default realm for this server.")\n\n" 44 printf "\t$(gettext "where 'subcommand' is one of the following:")\n\n" 46 printf "\t$(gettext "create [ master ]")\n" 47 printf "\t$(gettext "create [ -m masterkdc ] slave")\n" [all …]
|
/titanic_41/usr/src/lib/libcurses/screen/ |
H A D | print.c | 207 (void) printf("# Reconstructed via infocmp from file: " in pr_heading() 213 (void) printf("%s,\n", synonyms); in pr_heading() 216 (void) printf("%s:\\\n", synonyms); in pr_heading() 220 (void) printf("Terminal type %s\n", term); in pr_heading() 221 (void) printf(" %s\n", synonyms); in pr_heading() 230 (void) printf("flags\n"); in pr_bheading() 248 (void) printf("\t%s@,\n", infoname); in pr_boolean() 251 (void) printf("\t:%s@:\\\n", capname); in pr_boolean() 255 (void) printf(" %s@\n", fullname); in pr_boolean() 260 (void) printf("\t%s,\n", infoname); in pr_boolean() [all …]
|