/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/types/ |
H A D | tst.basics.d | 42 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 D | softcore.awk | 17 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 D | hpif | 10 printf "\033&k2G" && cat && printf "\f" && exit 0
|
H A D | hprf | 7 printf "\033&k2G" && fpr && printf "\f" && exit 0
|
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/printf/ |
H A D | tst.precs.d | 33 * 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 D | tst.widths.d | 33 * 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 D | tst.ints.d | 31 * 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 D | err.D_PRINTF_AGG_CONV.aggfmt.d | 31 * Test printf() with a bad aggregation format. 33 * SECTION: Output Formatting/printf() 39 printf("hello %@d", 123);
|
H A D | err.D_PRINTF_ARG_EXTRA.toomany.d | 31 * Test printf() with too many arguments. 33 * SECTION: Output Formatting/printf() 39 printf("x = %d y = %d\n", 123, 456, 789);
|
H A D | err.D_PRINTF_ARG_FMT.badfmt.d | 31 * Test printf() with a bad format string arg. 33 * SECTION: Output Formatting/printf() 39 printf(123);
|
H A D | err.D_PRINTF_ARG_PROTO.novalue.d | 31 * Test printf() with a missing value argument. 33 * SECTION: Output Formatting/printf() 39 printf("%s");
|
H A D | err.D_PRINTF_DYN_PROTO.noprec.d | 31 * Test printf() with a missing dynamic precision argument. 33 * SECTION: Output Formatting/printf() 39 printf("%s %.*d\n", "foo");
|
H A D | err.D_PRINTF_DYN_PROTO.nowidth.d | 31 * Test printf() with a missing dynamic width argument. 33 * SECTION: Output Formatting/printf() 39 printf("%s %*d\n", "foo");
|
H A D | err.D_PRINTF_DYN_TYPE.badprec.d | 33 * SECTION: Output Formatting/printf() 39 printf("%.*d\n", "foo", 1);
|
H A D | err.D_PRINTF_DYN_TYPE.badwidth.d | 33 * SECTION: Output Formatting/printf() 39 printf("%*d\n", "foo", 1);
|
H A D | err.D_PROTO_LEN.toofew.d | 31 * Test printf() with too few arguments. 33 * SECTION: Output Formatting/printf() 39 printf();
|
H A D | err.D_SYNTAX.badconv1.d | 33 * SECTION: Output Formatting/printf() 39 printf("%3$d", 123);
|
H A D | err.D_SYNTAX.badconv2.d | 33 * SECTION: Output Formatting/printf() 39 printf("%3", 123);
|
H A D | err.D_SYNTAX.badconv3.d | 33 * SECTION: Output Formatting/printf() 39 printf("%Z", 123);
|
H A D | tst.flags.d | 34 * 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 D | spencer1.awk | 3 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 D | bre.awk | 4 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 D | ere.awk | 4 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 D | merge.awk | 5 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 D | etf.awk | 16 printf "%5s %9.3f %7.1f %10.3e\n", $1, $2, $6, $9
|