Searched refs:decimal (Results 1 - 25 of 26) sorted by relevance

12

/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/types/
H A Dtst.constants.d29 * verify that integer constants can be written in decimal
42 decimal = 12345;
47 printf("%d %d %d %d", decimal, octal, hexadecimal_1, hexadecimal_2);
48 printf("%d %o %x %x", decimal, octal, hexadecimal_1, hexadecimal_2);
H A Dtst.charconstants.d55 printf("decimal value = %d; character value = %c\n", char_1, char_1);
56 printf("decimal value = %d; character value = %c\n", char_2, char_2);
57 printf("decimal value = %d; character value = %c\n", char_3, char_3);
58 printf("decimal value = %d; character value = %c\n", char_4, char_4);
59 printf("decimal value = %d; character value = %c\n", char_5, char_5);
60 printf("decimal value = %d; character value = %c\n", char_6, char_6);
61 printf("decimal value = %d; character value = %c\n", char_7, char_7);
62 printf("decimal value = %d; character value = %c\n", char_8, char_8);
63 printf("decimal value = %d; character value = %c\n", char_9, char_9);
64 printf("decimal valu
[all...]
/freebsd-current/contrib/kyua/utils/text/
H A Doperations.cpp71 // as '&#[decimal ASCII value];'
/freebsd-current/usr.bin/kdump/
H A Dkdump.h35 extern bool decimal, fancy, resolv;
68 #define print_number(i,n,c) _print_number(i,n,c,decimal)
70 #define print_number64(first,i,n,c) _print_number64(first,i,n,c,decimal)
H A Dkdump.c126 bool decimal, fancy = true, resolv; variable
200 if (decimal)
217 if (decimal)
351 decimal = true;
763 else if (decimal)
1133 decimal ? 10 : 16);
1253 if (decimal)
1624 if (decimal)
1826 if (decimal)
2249 decimal
[all...]
/freebsd-current/contrib/mandoc/
H A Dout.h38 size_t decimal; /* decimal position in cell */ member in struct:roffcol
H A Dtbl.h33 char decimal; /* Option "decimalpoint". */ member in struct:tbl_opts
H A Dout.c111 * Calculate the abstract widths and decimal positions of columns in a
131 * widths and decimal positions for all cells in the column. It
333 col->decimal += (col->width - col->nwidth) / 2;
489 * the last decimal point that is adjacent to a digit.
498 } else if (cp[0] == opts->decimal &&
531 if (intsz > col->decimal) {
532 col->nwidth += intsz - col->decimal;
533 col->decimal = intsz;
535 totsz += col->decimal - intsz;
H A Dtbl_html.c260 if (col->decimal < col->nwidth) {
262 sp->opts->decimal)) == NULL) {
268 sz = col->nwidth - col->decimal;
H A Dtbl_opts.c99 tbl->opts.decimal = p[*pos];
H A Dterm.h49 int decimal; /* decimal point position */ member in struct:termp_tbl
H A Dtbl.c102 tbl->opts.decimal = '.';
H A Dtbl_term.c61 * by ternary (3-based) numbers, as opposed to binary or decimal.
179 * calculate the table widths and decimal positions.
864 * First find the position of the decimal point.
873 } else if (cp[0] == opts->decimal &&
896 * Pad left to match the decimal position,
900 if (col->decimal > intsz && col->width > totsz) {
901 padl = col->decimal - intsz;
/freebsd-current/usr.sbin/certctl/
H A Dcertctl.sh95 local checkdir hash decimal
99 decimal=0
101 while [ -e "$checkdir/$hash.$decimal" ] ; do
102 decimal=$((decimal + 1))
105 echo ${decimal}
/freebsd-current/contrib/llvm-project/llvm/tools/llvm-strings/
H A Dllvm-strings.cpp72 enum radix { none, octal, hexadecimal, decimal }; enumerator in enum:radix
104 case decimal:
158 Radix = decimal;
163 "(octal), 'd' (decimal), 'x' (hexadecimal)");
/freebsd-current/contrib/bc/vs/tests/
H A Dtests_dc.bat16 decimal
H A Dtests_bc.bat22 decimal
/freebsd-current/contrib/nvi/vi/
H A Dv_increment.c114 goto decimal;
120 goto decimal;
129 decimal: base = 10;
/freebsd-current/sys/kern/
H A Dkern_fail.c703 int decimal = ent->fe_prob % (PROB_MAX / 100); local
706 if (decimal) {
708 while (!(decimal % 10)) {
710 decimal /= 10;
712 sbuf_printf(sb, ".%0*d", digits, decimal);
1016 int units, decimal; local
1018 p = parse_number(&units, &decimal, p);
1025 ent->fe_prob = units * (PROB_MAX / 100) + decimal;
1029 if (!units || units < 0 || decimal)
/freebsd-current/contrib/bmake/unit-tests/
H A Dcond-cmp-numeric-eq.mk31 # Trailing zeroes after the decimal point are irrelevant for the numeric
H A Dvarmod-mtime.mk38 # decimal integer.
H A Dvarmod-to-separator.mk238 # interpreted an "octal escape" as decimal if the first digit was not '0'.
239 .if ${:Ua b:ts\61} != "a1b" # decimal would have been "a=b"
/freebsd-current/sbin/fdisk/
H A Dfdisk.c68 #define Decimal(str, ans, tmp, maxval) if (decimal(str, &tmp, ans, maxval)) ans = tmp
255 static int decimal(const char *str, int *num, int deflt, uint32_t maxval);
915 decimal(const char *str, int *num, int deflt, uint32_t maxval) function
923 printf("Supply a decimal value for \"%s\" [%d] ", str, deflt);
955 printf("%s is an invalid decimal number. Try again.\n",
/freebsd-current/contrib/llvm-project/llvm/tools/llvm-size/
H A Dllvm-size.cpp67 enum RadixTy { octal = 8, decimal = 10, hexadecimal = 16 }; enumerator in enum:__anon3111::RadixTy
160 case decimal:
905 Radix = RadixTy::decimal;
/freebsd-current/stand/lua/
H A Dcore.lua91 -- Note that this is a decimal representation, despite the leading 0 that in

Completed in 183 milliseconds

12