HomeSort by: relevance | last modified time | path
    Searched defs:digit (Results 1 - 25 of 60) sorted by relevancy

1 2 3

  /src/lib/libc/stdlib/
a64l.c 23 long value, digit, shift; local in function:__weak_alias
32 digit = *s - '.';
34 digit = *s - '0' + 2;
36 digit = *s - 'A' + 12;
38 digit = *s - 'a' + 38;
40 value |= digit << shift;
a64l.c 23 long value, digit, shift; local in function:__weak_alias
32 digit = *s - '.';
34 digit = *s - '0' + 2;
36 digit = *s - 'A' + 12;
38 digit = *s - 'a' + 38;
40 value |= digit << shift;
l64a.c 37 int digit; local in function:l64a_r
46 digit = (int)(v & 0x3f);
48 if (digit < 2)
49 *s = digit + '.';
50 else if (digit < 12)
51 *s = digit + '0' - 2;
52 else if (digit < 38)
53 *s = digit + 'A' - 12;
55 *s = digit + 'a' - 38;
l64a.c 37 int digit; local in function:l64a_r
46 digit = (int)(v & 0x3f);
48 if (digit < 2)
49 *s = digit + '.';
50 else if (digit < 12)
51 *s = digit + '0' - 2;
52 else if (digit < 38)
53 *s = digit + 'A' - 12;
55 *s = digit + 'a' - 38;
  /src/common/lib/libc/inet/
inet_addr.c 133 int digit; local in function:inet_aton
144 val = 0; base = 10; digit = 0;
151 digit = 1 ;
160 digit = 1;
166 digit = 1;
190 * Did we get a valid digit?
192 if (!digit)
inet_addr.c 133 int digit; local in function:inet_aton
144 val = 0; base = 10; digit = 0;
151 digit = 1 ;
160 digit = 1;
166 digit = 1;
190 * Did we get a valid digit?
192 if (!digit)
  /src/lib/libc/inet/
inet_network.c 68 int digit, base; local in function:__weak_alias
73 val = 0; base = 10; digit = 0;
75 digit = 1, base = 8, cp++;
77 digit = 0, base = 16, cp++;
85 digit = 1;
91 digit = 1;
96 if (!digit)
inet_network.c 68 int digit, base; local in function:__weak_alias
73 val = 0; base = 10; digit = 0;
75 digit = 1, base = 8, cp++;
77 digit = 0, base = 16, cp++;
85 digit = 1;
91 digit = 1;
96 if (!digit)
inet_pton.c 103 u_int digit, base; local in function:inet_pton4
134 digit = c - '0';
135 if (digit >= base)
137 val = (val * base) + digit;
140 digit = c + 10 - (islower(c) ? 'a' : 'A');
141 if (digit >= 16)
143 val = (val << 4) | digit;
inet_pton.c 103 u_int digit, base; local in function:inet_pton4
134 digit = c - '0';
135 if (digit >= base)
137 val = (val * base) + digit;
140 digit = c + 10 - (islower(c) ? 'a' : 'A');
141 if (digit >= 16)
143 val = (val << 4) | digit;
  /src/regress/lib/libc/ieeefp/testfloat/
writeHex.c 72 int digit; local in function:writeHex_bits8
74 digit = ( a>>4 ) & 0xF;
75 if ( 9 < digit ) digit += 'A' - ( '0' + 10 );
76 fputc( '0' + digit, stream );
77 digit = a & 0xF;
78 if ( 9 < digit ) digit += 'A' - ( '0' + 10 );
79 fputc( '0' + digit, stream );
85 int digit; local in function:writeHex_bits12
101 int digit; local in function:writeHex_bits16
    [all...]
writeHex.c 72 int digit; local in function:writeHex_bits8
74 digit = ( a>>4 ) & 0xF;
75 if ( 9 < digit ) digit += 'A' - ( '0' + 10 );
76 fputc( '0' + digit, stream );
77 digit = a & 0xF;
78 if ( 9 < digit ) digit += 'A' - ( '0' + 10 );
79 fputc( '0' + digit, stream );
85 int digit; local in function:writeHex_bits12
101 int digit; local in function:writeHex_bits16
    [all...]
  /src/games/morse/
morse.c 44 static const char digit[][6] = { variable in typeref:typename:const char[][6]
196 for (size_t i = 0; i < __arraycount(digit); i++)
197 if (strcmp(digit[i], s) == 0) {
226 show(digit[c - '0']);
morse.c 44 static const char digit[][6] = { variable in typeref:typename:const char[][6]
196 for (size_t i = 0; i < __arraycount(digit); i++)
197 if (strcmp(digit[i], s) == 0) {
226 show(digit[c - '0']);
  /src/sbin/nvmectl/
humanize_bignum.c 48 static mp_digit digit = 5UL; local in function:BN_value_5
49 static const BIGNUM bn = { &digit, 1, 1, 0 };
56 static mp_digit digit = 10UL; local in function:BN_value_10
57 static const BIGNUM bn = { &digit, 1, 1, 0 };
64 static mp_digit digit = 50UL; local in function:BN_value_50
65 static const BIGNUM bn = { &digit, 1, 1, 0 };
72 static mp_digit digit = 100UL; local in function:BN_value_100
73 static const BIGNUM bn = { &digit, 1, 1, 0 };
80 static mp_digit digit = 995UL; local in function:BN_value_995
81 static const BIGNUM bn = { &digit, 1, 1, 0 }
88 static mp_digit digit = 1000UL; local in function:BN_value_1000
96 static mp_digit digit = 1024UL; local in function:BN_value_1024
    [all...]
humanize_bignum.c 48 static mp_digit digit = 5UL; local in function:BN_value_5
49 static const BIGNUM bn = { &digit, 1, 1, 0 };
56 static mp_digit digit = 10UL; local in function:BN_value_10
57 static const BIGNUM bn = { &digit, 1, 1, 0 };
64 static mp_digit digit = 50UL; local in function:BN_value_50
65 static const BIGNUM bn = { &digit, 1, 1, 0 };
72 static mp_digit digit = 100UL; local in function:BN_value_100
73 static const BIGNUM bn = { &digit, 1, 1, 0 };
80 static mp_digit digit = 995UL; local in function:BN_value_995
81 static const BIGNUM bn = { &digit, 1, 1, 0 }
88 static mp_digit digit = 1000UL; local in function:BN_value_1000
96 static mp_digit digit = 1024UL; local in function:BN_value_1024
    [all...]
  /src/sys/dev/pcmcia/
if_sm_pcmcia.c 209 u_int8_t digit; local in function:sm_pcmcia_ascii_enaddr
218 for (i = 0, digit = 0; i < (ETHER_ADDR_LEN * 2); i++) {
220 digit |= cisstr[i] - '0';
222 digit |= (cisstr[i] - 'a') + 10;
224 digit |= (cisstr[i] - 'A') + 10;
226 /* Bogus digit!! */
232 myla[i >> 1] = digit;
233 digit = 0;
235 digit <<= 4;
if_sm_pcmcia.c 209 u_int8_t digit; local in function:sm_pcmcia_ascii_enaddr
218 for (i = 0, digit = 0; i < (ETHER_ADDR_LEN * 2); i++) {
220 digit |= cisstr[i] - '0';
222 digit |= (cisstr[i] - 'a') + 10;
224 digit |= (cisstr[i] - 'A') + 10;
226 /* Bogus digit!! */
232 myla[i >> 1] = digit;
233 digit = 0;
235 digit <<= 4;
  /src/lib/libutil/
strpct.c 138 unsigned digit = 0; local in function:strpct
139 for (; bignum_ge_u(num, denominator); digit++)
142 if (i > 0 || p > buf || digit > 0) {
144 *p++ = '0' + digit, n--;
strpct.c 138 unsigned digit = 0; local in function:strpct
139 for (; bignum_ge_u(num, denominator); digit++)
142 if (i > 0 || p > buf || digit > 0) {
144 *p++ = '0' + digit, n--;
  /src/bin/pax/
gen_subs.c 229 * for each valid digit, shift running value (tval) over to next digit
230 * and add next digit
261 uint32_t digit; local in function:u32_asc
277 * least significant digit). Keep shifting until conversion value goes
282 if ((digit = (val & 0xf)) < 10)
283 *pt-- = '0' + (char)digit;
285 *pt-- = 'a' + (char)(digit - 10);
354 * for each valid digit, shift running value (tval) over to next digit
386 uintmax_t digit; local in function:umax_asc
    [all...]
gen_subs.c 229 * for each valid digit, shift running value (tval) over to next digit
230 * and add next digit
261 uint32_t digit; local in function:u32_asc
277 * least significant digit). Keep shifting until conversion value goes
282 if ((digit = (val & 0xf)) < 10)
283 *pt-- = '0' + (char)digit;
285 *pt-- = 'a' + (char)(digit - 10);
354 * for each valid digit, shift running value (tval) over to next digit
386 uintmax_t digit; local in function:umax_asc
    [all...]
  /src/common/lib/libc/quad/
qdivrem.c 52 #define B ((int)1 << (unsigned int)HALF_BITS) /* digit base */
54 /* Combine two `digits' to make a single two-digit number. */
59 typedef unsigned short digit; typedef in typeref:typename:unsigned short
61 typedef u_int digit; typedef in typeref:typename:u_int
64 static void shl(digit *p, int len, int sh);
78 digit *u, *v, *q;
79 digit v1, v2;
82 digit uspace[5], vspace[5], qspace[5];
120 u[1] = (digit)HHALF(tmp.ul[H]);
121 u[2] = (digit)LHALF(tmp.ul[H])
    [all...]
  /src/games/hack/
makedefs.c 88 static int digit(int);
229 } while (letter(ch) || digit(ch));
334 digit(ch) function
  /src/sys/ddb/
db_lex.c 215 db_expr_t r, digit = 0; local in function:db_lex
236 digit = c - '0';
239 digit = c - 'A' + 10;
241 digit = c - 'a' + 10;
246 db_tok_number = db_tok_number * r + digit;

Completed in 105 milliseconds

1 2 3