Searched refs:printf (Results 1 - 25 of 2795) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libast/common/features/
H A Dmap.c44 printf("#pragma prototyped\n");
45 printf("\n");
46 printf("/*\n");
47 printf(" * prototypes provided for standard interfaces hijacked\n");
48 printf(" * by ast and mapped to _ast_* but already prototyped\n");
49 printf(" * unmapped in native headers included by <ast_std.h>\n");
50 printf(" */\n");
51 printf("\n");
52 printf("#if _BLD_ast && defined(__EXPORT__)\n");
53 printf("#defin
[all...]
/illumos-gate/usr/src/test/util-tests/tests/awk/gnu/
H A Dzero2.awk2 printf "%d\n", -.4
3 printf "%d\n", -0.0
4 printf "%d\n", -.9
H A Ddynlj.awk1 BEGIN { printf "%*sworld\n", -20, "hello" }
H A Dintprec.awk1 BEGIN { printf "%.10d:%.10x\n", 5, 14 }
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/types/
H A Dtst.basics.d42 printf("\nsizeof (char) = %u\n", sizeof (char));
43 printf("sizeof (signed char) = %u\n", sizeof (signed char));
44 printf("sizeof (unsigned char) = %u\n", sizeof (unsigned char));
45 printf("sizeof (short) = %u\n", sizeof (short));
46 printf("sizeof (signed short) = %u\n", sizeof (signed short));
47 printf("sizeof (unsigned short) = %u\n", sizeof (unsigned short));
48 printf("sizeof (int) = %u\n", sizeof (int));
49 printf("sizeof (signed int) = %u\n", sizeof (signed int));
50 printf("sizeof (unsigned int) = %u\n", sizeof (unsigned int));
51 printf("sizeo
[all...]
/illumos-gate/usr/src/cmd/lp/filter/postscript/dpost/
H A Dps_include.awk24 printf("\t0\n};\n\n")
25 printf("static char *%s[] = {\n", $2)
30 $0 != "" {printf("\t\"%s\",\n", $0); next}
31 END {printf("\t0\n};\n")}
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/printf/
H A Dtst.precs.d33 * SECTION: Output Formatting/printf()
40 printf("\n");
43 printf("%.0s\n", "hello");
44 printf("%.1s\n", "hello");
45 printf("%.2s\n", "hello");
46 printf("%.3s\n", "hello");
47 printf("%.4s\n", "hello");
48 printf("%.5s\n", "hello");
50 printf("%.*s\n", x++, "hello");
51 printf("
[all...]
H A Dtst.widths.d33 * SECTION: Output Formatting/printf()
41 printf("\n");
44 printf("%0d\n", 1);
45 printf("%1d\n", 1);
46 printf("%2d\n", 1);
47 printf("%3d\n", 1);
48 printf("%4d\n", 1);
49 printf("%5d\n", 1);
51 printf("%*d\n", x++, 1);
52 printf("
[all...]
H A Dtst.ints.d31 * Test printf() with simple integer arguments, using a variety of
34 * SECTION: Output Formatting/printf()
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("
[all...]
H A Derr.D_PRINTF_AGG_CONV.aggfmt.d31 * Test printf() with a bad aggregation format.
33 * SECTION: Output Formatting/printf()
39 printf("hello %@d", 123);
H A Derr.D_PRINTF_ARG_EXTRA.toomany.d31 * Test printf() with too many arguments.
33 * SECTION: Output Formatting/printf()
39 printf("x = %d y = %d\n", 123, 456, 789);
H A Derr.D_PRINTF_ARG_FMT.badfmt.d31 * Test printf() with a bad format string arg.
33 * SECTION: Output Formatting/printf()
39 printf(123);
H A Derr.D_PRINTF_ARG_PROTO.novalue.d31 * Test printf() with a missing value argument.
33 * SECTION: Output Formatting/printf()
39 printf("%s");
H A Derr.D_PRINTF_DYN_PROTO.noprec.d31 * Test printf() with a missing dynamic precision argument.
33 * SECTION: Output Formatting/printf()
39 printf("%s %.*d\n", "foo");
H A Derr.D_PRINTF_DYN_PROTO.nowidth.d31 * Test printf() with a missing dynamic width argument.
33 * SECTION: Output Formatting/printf()
39 printf("%s %*d\n", "foo");
H A Derr.D_PRINTF_DYN_TYPE.badprec.d33 * SECTION: Output Formatting/printf()
39 printf("%.*d\n", "foo", 1);
H A Derr.D_PRINTF_DYN_TYPE.badwidth.d33 * SECTION: Output Formatting/printf()
39 printf("%*d\n", "foo", 1);
H A Derr.D_PROTO_LEN.toofew.d31 * Test printf() with too few arguments.
33 * SECTION: Output Formatting/printf()
39 printf();
H A Derr.D_SYNTAX.badconv1.d33 * SECTION: Output Formatting/printf()
39 printf("%3$d", 123);
H A Derr.D_SYNTAX.badconv2.d33 * SECTION: Output Formatting/printf()
39 printf("%3", 123);
H A Derr.D_SYNTAX.badconv3.d33 * SECTION: Output Formatting/printf()
39 printf("%Z", 123);
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dmkterm.awk50 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
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dmkterm.awk60 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
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_status_gen.awk34 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");
/illumos-gate/usr/src/test/util-tests/tests/awk/bugs-fixed/
H A Da-format.awk2 printf("%.1a\n", 42)

Completed in 75 milliseconds

1234567891011>>