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

1234567891011>>

/freebsd-9.3-release/cddl/contrib/opensolaris/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...]
/freebsd-9.3-release/sys/boot/ficl/softwords/
H A Dsoftcore.awk17 printf "/*******************************************************************\n";
18 printf "** s o f t c o r e . c\n";
19 printf "** Forth Inspired Command Language -\n";
20 printf "** Words from CORE set written in FICL\n";
21 printf "** Author: John Sadler (john_sadler@alum.mit.edu)\n";
22 printf "** Created: 27 December 1997\n";
23 printf "** Last update: %s\n", datestamp;
24 printf "*******************************************************************/\n";
25 printf "/*\n";
26 printf "** D
[all...]
/freebsd-9.3-release/share/examples/printing/
H A Dhpif10 printf "\033&k2G" && cat && printf "\f" && exit 0
H A Dhprf7 printf "\033&k2G" && fpr && printf "\f" && exit 0
/freebsd-9.3-release/cddl/contrib/opensolaris/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);
H A Dtst.flags.d34 * SECTION: Output Formatting/printf()
42 printf("\n");
43 printf("# %#8x\n", 0x123);
44 printf("0 %08x\n", 0x123);
45 printf("- %-8x\n", 0x123);
46 printf("+ %+8d\n", 123);
47 printf(" % 8d\n", 123);
/freebsd-9.3-release/gnu/usr.bin/grep/tests/
H A Dspencer1.awk3 printf ("failures=0\n");
7 # printf ("status=`echo '%s'| { ${GREP} -E -e '%s' > /dev/null 2>&1; echo $?; cat >/dev/null; }`\n",$3, $2);
8 printf ("status=`echo '%s'| { ${GREP} -E -e '%s' >/dev/null 2>&1 ; echo $?; }`\n",$3, $2);
9 printf ("if test $status -ne %s ; then\n", $1);
10 printf ("\techo Spencer test \\#%d failed\n", ++n);
11 printf ("\tfailures=1\n");
12 printf ("fi\n");
15 END { printf ("exit $failures\n"); }
H A Dbre.awk4 printf ("# Generated Spencer BRE Test\n");
5 printf ("failures=0\n");
11 # printf ("status=`echo '%s' | { ${GREP} -e '%s' > /dev/null 2>&1; echo $?; cat >/dev/null; }`\n",$3, $2);
12 printf ("status=`echo '%s' | { ${GREP} -e '%s' > /dev/null 2>&1; echo $? ; }`\n",$3, $2);
13 printf ("if test $status -ne %s ; then\n", $1);
14 printf ("\techo Spencer bre test \\#%d failed\n", ++n);
15 printf ("\tfailures=1\n");
16 printf ("fi\n");
21 # printf ("echo '%s' | ${GREP} -e '%s' > /dev/null 2>&1\n",$3, $2);
22 # printf ("i
[all...]
H A Dere.awk4 printf ("# Generated Spencer ERE Test\n");
5 printf ("failures=0\n");
11 # printf ("status=`echo '%s' | { ${GREP} -E -e '%s' > /dev/null 2>&1; echo $?; cat >/dev/null; }`\n",$3, $2);
12 printf ("status=`echo '%s' | { ${GREP} -E -e '%s' > /dev/null 2>&1; echo $?; }`\n",$3, $2);
13 printf ("if test $status -ne %s ; then\n", $1);
14 printf ("\techo Spencer ere test \\#%d failed\n", ++n);
15 printf ("\tfailures=1\n");
16 printf ("fi\n");
21 # printf ("echo '%s'|${GREP} -E -e '%s' > /dev/null 2>&1\n",$3, $2);
22 # printf ("i
[all...]
/freebsd-9.3-release/contrib/nvi/docs/USD.doc/vi.ref/
H A Dmerge.awk5 printf ", %s", $2;
10 printf "\n";
11 printf "%s \t%s", $1, $2;
15 printf "\n"
/freebsd-9.3-release/contrib/ntp/scripts/stats/
H A Detf.awk16 printf "%5s %9.3f %7.1f %10.3e\n", $1, $2, $6, $9

Completed in 177 milliseconds

1234567891011>>