Searched refs:digit (Results 1 - 25 of 99) sorted by relevance

1234

/illumos-gate/usr/src/lib/libresolv2/common/inet/
H A Dinet_network.c59 int digit; local
62 val = 0; base = 10; digit = 0;
64 digit = 1, base = 8, cp++;
73 digit = 1;
80 digit = 1;
85 if (!digit)
/illumos-gate/usr/src/cmd/genmsg/
H A Dgenmsg.y61 %type <id> cast_setid, setid, cast_msgid, msgid, cast_digit, digit
166 cast_digit: '(' INT ')' digit { $$ = $4; }
167 | '(' CONST INT ')' digit { $$ = $5; }
168 | digit
171 digit: digit '+' digit { $$ = $1 + $3; } label
172 | digit '-' digit { $$ = $1 - $3; }
173 | digit '*' digi
[all...]
/illumos-gate/usr/src/lib/libbc/libc/gen/sys5/
H A Dassert.c50 int div, digit; local
61 if ((digit = line_num/div) != 0 || p != &linestr[7] || div == 1)
62 *p++ = digit + '0';
/illumos-gate/usr/src/common/bignum/
H A Dmont_mulf.c247 double digit, m2j, a, b; local
259 digit = mod(lower32(a, Zero) * dn0, TwoToMinus16, TwoTo16);
264 a = pdtj[0] + pdn[0] * digit;
270 pdtj[2 * i] += pdm1[i] * m2j + pdn[i] * digit;
277 digit = mod(lower32(b, Zero) * dn0,
300 digit = mod(lower32(a, Zero) * dn0, TwoToMinus16, TwoTo16);
306 a = pdtj[0] + pdn_0 * digit;
310 pdtj[2] += pdm1[1] *m2j + pdn[1] * digit;
311 pdtj[4] += pdm1[2] *m2j + pdn[2] * digit;
312 pdtj[6] += pdm1[3] *m2j + pdn[3] * digit;
[all...]
H A Dbignum.h182 #define BIG_MUL_SET_VEC(r, a, len, digit) \
183 (*big_mul_set_vec_impl)(r, a, len, digit)
184 #define BIG_MUL_ADD_VEC(r, a, len, digit) \
185 (*big_mul_add_vec_impl)(r, a, len, digit)
192 (BIG_CHUNK_TYPE *r, BIG_CHUNK_TYPE *a, int len, BIG_CHUNK_TYPE digit);
194 (BIG_CHUNK_TYPE *r, BIG_CHUNK_TYPE *a, int len, BIG_CHUNK_TYPE digit);
203 #define BIG_MUL_SET_VEC(r, a, len, digit) big_mul_set_vec(r, a, len, digit)
204 #define BIG_MUL_ADD_VEC(r, a, len, digit) big_mul_add_vec(r, a, len, digit)
[all...]
/illumos-gate/usr/src/test/libc-tests/tests/wctype/
H A Dwctype_test.c63 test_ctype(digit);
74 test_ctype_subset(digit, alnum);
77 test_ctype_subset(digit, print);
82 test_ctype_subset(digit, graph);
/illumos-gate/usr/src/cmd/tbl/
H A Dtm.c36 (str>p && digit(*(str-1)) ||
37 digit(*(str+1))))
43 if (digit( * (str-1) ) && !ineqn(str, p))
H A Dts.c59 digit(int x) function
/illumos-gate/usr/src/cmd/time/
H A Dtime.c146 char digit[9]; local
157 digit[i] = a % quant[i];
163 c = (digit[i] != 0) ? digit[i]+'0' : (nonzero ? '0': pad[i]);
166 nonzero |= digit[i];
/illumos-gate/usr/src/common/ficl/
H A Dfloat.c264 unsigned char digit; local
309 digit = (unsigned char)(c - '0');
310 if (digit > 9)
313 accum = accum * 10 + digit;
324 digit = (unsigned char)(c - '0');
325 if (digit > 9)
328 accum += digit * mant;
349 digit = (unsigned char)(c - '0');
350 if (digit > 9)
353 exponent = exponent * 10 + digit;
[all...]
/illumos-gate/usr/src/common/bignum/i386/
H A Dbignum_i386.c77 (*big_mul_set_vec_impl)(uint32_t *r, uint32_t *a, int len, uint32_t digit)
81 (*big_mul_add_vec_impl)(uint32_t *r, uint32_t *a, int len, uint32_t digit)
92 big_mul_set_vec_init(uint32_t *r, uint32_t *a, int len, uint32_t digit) argument
95 return ((*big_mul_set_vec_impl)(r, a, len, digit));
99 big_mul_add_vec_init(uint32_t *r, uint32_t *a, int len, uint32_t digit) argument
102 return ((*big_mul_add_vec_impl)(r, a, len, digit));
H A Dbignum_i386_asm.s51 big_mul_set_vec_sse2(uint32_t *r, uint32_t *a, int len, uint32_t digit)
56 big_mul_add_vec_sse2(uint32_t *r, uint32_t *a, int len, uint32_t digit)
73 big_mul_set_vec_sse2_nsv(uint32_t *r, uint32_t *a, int len, uint32_t digit)
78 big_mul_add_vec_sse2_nsv(uint32_t *r, uint32_t *a, int len, uint32_t digit)
96 big_mul_set_vec_umul(uint32_t *r, uint32_t *a, int len, uint32_t digit)
101 big_mul_add_vec_umul(uint32_t *r, uint32_t *a, int len, uint32_t digit)
213 / r = a * digit, r and a are vectors of length len
214 / returns the carry digit
218 / big_mul_set_vec_sse2_r(uint32_t *r, uint32_t *a, int len, uint32_t digit)
223 / digit
[all...]
/illumos-gate/usr/src/common/mpi/
H A Dmplogic.c179 integer a, as long as bit lsbNum is in the high order digit of a.
185 mp_digit * digit = MP_DIGITS(a) + lsWndx; local
193 mask &= (digit[0] >> rshift);
195 mask &= ((digit[0] >> rshift) | (digit[1] << (MP_DIGIT_BIT - rshift)));
/illumos-gate/usr/src/lib/libc/port/fp/
H A Dqdivrem.c47 #define B (1 << HALF_BITS) /* digit base */
49 /* Combine two `digits' to make a single two-digit number. */
54 typedef unsigned short digit; typedef
56 typedef ulong_t digit; typedef
65 shl(digit *p, int len, int sh)
86 digit *u, *v, *q;
87 digit v1, v2;
90 digit uspace[5], vspace[5], qspace[5];
140 digit q1, q2, q3, q4;
168 * there is a complete four-digit quotien
[all...]
/illumos-gate/usr/src/common/bignum/amd64/
H A Dbignum_amd64_asm.s34 big_mul_set_vec(uint64_t *r, uint64_t *a, int len, uint64_t digit)
39 big_mul_add_vec(uint64_t *r, uint64_t *a, int len, uint64_t digit)
60 / r = a * digit, r and a are vectors of length len
61 / returns the carry digit
65 / big_mul_set_vec(uint64_t *r, uint64_t *a, int len, uint64_t digit)
80 mulq %rcx / p = a[0] * digit
88 mulq %rcx / p = a[1] * digit
96 mulq %rcx / p = a[2] * digit
104 mulq %rcx / p = a[3] * digit
112 mulq %rcx / p = a[4] * digit
[all...]
/illumos-gate/usr/src/boot/lib/libstand/
H A Dqdivrem.c46 #define B (1 << HALF_BITS) /* digit base */
48 /* Combine two `digits' to make a single two-digit number. */
55 typedef unsigned short digit; typedef
63 shl(digit *p, int len, int sh)
84 digit *u, *v, *q;
85 digit v1, v2;
88 digit uspace[5], vspace[5], qspace[5];
138 digit q1, q2, q3, q4;
166 * there is a complete four-digit quotient at &qspace[1] when
195 digit uj
[all...]
/illumos-gate/usr/src/lib/libbc/libc/stdio/common/
H A Ddoscan.c356 int digit; local
357 digit = c - '0';
360 if (digit >= 8)
363 lcval = (lcval<<3) + digit;
370 lcval = (((lcval<<2) + lcval)<<1) + digit;
372 lcval = (lcval<<4) + digit;
382 int digit; local
383 digit = c - (isupper(c) ? 'A' - 10 : 'a' - 10);
385 lcval = (lcval<<4) + digit;
/illumos-gate/usr/src/lib/libc/port/gen/
H A Decvt.c116 int digit = value/pow10; local
117 *p++ = digit + '0';
118 value -= digit * pow10;
/illumos-gate/usr/src/lib/libmp/common/
H A Dutil.c153 * Convert hex digit to binary value
176 short digit; local
183 digit = xtoi(*key);
184 if (digit < 0) {
187 d = mp_itom(digit);
/illumos-gate/usr/src/lib/libast/common/tm/
H A Dtmdata.c166 static char digit[] = "0123456789"; variable
282 Tm_data_t _tm_data_ = { format, lex, digit, days, sum, leap, zone };
/illumos-gate/usr/src/cmd/sgs/lex/common/
H A Dsub1.c86 digit(int c) function
227 if (!digit(*s) && *s != '-')
234 if (!digit(*s))
300 if (digit((dd = *++*ss)) ||
304 while (digit(dd) ||
307 if (digit(dd))
412 if (digit((dd = gch())) ||
416 while (digit(dd) ||
419 if (digit(dd))
425 if (!digit(pee
[all...]
/illumos-gate/usr/src/lib/libshell/common/features/
H A Dmath.sh183 * first byte is two-digit octal number. Last digit is number of args
184 * first digit is 0 if return value is double, 1 for integer
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_common.c1718 int i, seg, digit, port; local
1723 digit = seg = port = 0;
1727 digit++;
1731 if (digit > 3 || digit == 0)
1733 digit = 0;
1738 if (digit > 3)
1741 digit = 0;
1748 if ((seg == 3 && port == 0 && digit > 0 && digit <
1763 int i, col, digit, port, dc, tc; local
1843 int i, seg, alpha, digit, port; local
[all...]
/illumos-gate/usr/src/lib/libc/port/locale/
H A Disdigit.c77 DEFN_ISTYPE(digit, _ISDIGIT)
/illumos-gate/usr/src/tools/env/
H A Dillumos.sh167 if [[ $(/usr/sbin/prtconf 2>'/dev/null') == ~(E)Memory\ size:\ ([[:digit:]]+)\ Megabytes ]] ; then
173 # the value matched by ([[:digit:]]+), i.e. the amount of

Completed in 163 milliseconds

1234