Home
last modified time | relevance | path

Searched refs:digit (Results 1 – 25 of 312) sorted by relevance

12345678910>>...13

/titanic_51/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; }
172 | digit '-' digit { $$ = $1 - $3; }
173 | digit '*' digi
[all...]
/titanic_51/usr/src/common/bignum/
H A Dmont_mulf.c247 double digit, m2j, a, b; in mont_mulf_noconv() local
259 digit = mod(lower32(a, Zero) * dn0, TwoToMinus16, TwoTo16); in mont_mulf_noconv()
264 a = pdtj[0] + pdn[0] * digit; in mont_mulf_noconv()
270 pdtj[2 * i] += pdm1[i] * m2j + pdn[i] * digit; in mont_mulf_noconv()
277 digit = mod(lower32(b, Zero) * dn0, in mont_mulf_noconv()
300 digit = mod(lower32(a, Zero) * dn0, TwoToMinus16, TwoTo16); in mont_mulf_noconv()
306 a = pdtj[0] + pdn_0 * digit; in mont_mulf_noconv()
310 pdtj[2] += pdm1[1] *m2j + pdn[1] * digit; in mont_mulf_noconv()
311 pdtj[4] += pdm1[2] *m2j + pdn[2] * digit; in mont_mulf_noconv()
312 pdtj[6] += pdm1[3] *m2j + pdn[3] * digit; in mont_mulf_noconv()
[all...]
H A Dbignum.h182 #define BIG_MUL_SET_VEC(r, a, len, digit) \ argument
183 (*big_mul_set_vec_impl)(r, a, len, digit)
184 #define BIG_MUL_ADD_VEC(r, a, len, digit) \ argument
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) argument
204 #define BIG_MUL_ADD_VEC(r, a, len, digit) big_mul_add_vec(r, a, len, digit) argument
[all...]
/titanic_51/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)
/titanic_51/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...]
/titanic_51/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) in shl()
86 digit *u, *v, *q; in ___qdivrem()
87 digit v1, v2; in ___qdivrem()
90 digit uspace[5], vspace[5], qspace[5]; in ___qdivrem()
140 digit q1, q2, q3, q4; in ___qdivrem()
168 * there is a complete four-digit quotien in ___qdivrem()
[all...]
/titanic_51/usr/src/common/ficl/
H A Dfloat.c263 unsigned char digit; in ficlVmParseFloatNumber() local
308 digit = (unsigned char)(c - '0'); in ficlVmParseFloatNumber()
309 if (digit > 9) in ficlVmParseFloatNumber()
312 accum = accum * 10 + digit; in ficlVmParseFloatNumber()
323 digit = (unsigned char)(c - '0'); in ficlVmParseFloatNumber()
324 if (digit > 9) in ficlVmParseFloatNumber()
327 accum += digit * mant; in ficlVmParseFloatNumber()
348 digit = (unsigned char)(c - '0'); in ficlVmParseFloatNumber()
349 if (digit > 9) in ficlVmParseFloatNumber()
352 exponent = exponent * 10 + digit; in ficlVmParseFloatNumber()
[all...]
/titanic_51/usr/src/cmd/time/
H A Dtime.c146 char digit[9]; in printt() local
157 digit[i] = a % quant[i]; in printt()
163 c = (digit[i] != 0) ? digit[i]+'0' : (nonzero ? '0': pad[i]); in printt()
166 nonzero |= digit[i]; in printt()
/titanic_51/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) in big_mul_set_vec_init() argument
95 return ((*big_mul_set_vec_impl)(r, a, len, digit)); in big_mul_set_vec_init()
99 big_mul_add_vec_init(uint32_t *r, uint32_t *a, int len, uint32_t digit) in big_mul_add_vec_init() argument
102 return ((*big_mul_add_vec_impl)(r, a, len, digit)); in big_mul_add_vec_init()
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...]
/titanic_51/usr/src/lib/libbc/libc/stdio/common/
H A Ddoscan.c356 int digit; in number() local
357 digit = c - '0'; in number()
360 if (digit >= 8) in number()
363 lcval = (lcval<<3) + digit; in number()
370 lcval = (((lcval<<2) + lcval)<<1) + digit; in number()
372 lcval = (lcval<<4) + digit; in number()
382 int digit; in number() local
383 digit = c - (isupper(c) ? 'A' - 10 : 'a' - 10); in number()
385 lcval = (lcval<<4) + digit; in number()
/titanic_51/usr/src/test/libc-tests/tests/wctype/
H A Dwctype_test.c63 test_ctype(digit); in main()
74 test_ctype_subset(digit, alnum); in main()
77 test_ctype_subset(digit, print); in main()
82 test_ctype_subset(digit, graph); in main()
/titanic_51/usr/src/lib/libbc/libc/gen/sys5/
H A Dassert.c50 int div, digit; in _assert() local
61 if ((digit = line_num/div) != 0 || p != &linestr[7] || div == 1) in _assert()
62 *p++ = digit + '0'; in _assert()
/titanic_51/usr/src/lib/libsldap/common/
H A Dns_common.c1718 int i, seg, digit, port; in __s_api_isipv4() local
1723 digit = seg = port = 0; in __s_api_isipv4()
1727 digit++; in __s_api_isipv4()
1731 if (digit > 3 || digit == 0) in __s_api_isipv4()
1733 digit = 0; in __s_api_isipv4()
1738 if (digit > 3) in __s_api_isipv4()
1741 digit = 0; in __s_api_isipv4()
1748 if ((seg == 3 && port == 0 && digit > 0 && digit < in __s_api_isipv4()
1763 int i, col, digit, port, dc, tc; __s_api_isipv6() local
1843 int i, seg, alpha, digit, port; __s_api_ishost() local
[all...]
/titanic_51/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) in shl()
84 digit *u, *v, *q; in __udivmoddi4()
85 digit v1, v2; in __udivmoddi4()
88 digit uspace[5], vspace[5], qspace[5]; in __udivmoddi4()
138 digit q1, q2, q3, q4; in __udivmoddi4()
166 * there is a complete four-digit quotient at &qspace[1] when in __udivmoddi4()
195 digit uj in __udivmoddi4()
[all...]
H A Dpkgfs.c524 int digit, sign, base; in pkg_atol8() local
539 digit = *p - '0'; in pkg_atol8()
540 while (digit >= 0 && digit < base && char_cnt-- > 0) { in pkg_atol8()
541 if (l>limit || (l == limit && digit > last_digit_limit)) { in pkg_atol8()
545 l = (l * base) + digit; in pkg_atol8()
546 digit = *++p - '0'; in pkg_atol8()
/titanic_51/usr/src/cmd/tbl/
H A Dtm.c36 (str>p && digit(*(str-1)) || in maknew()
37 digit(*(str+1)))) in maknew()
43 if (digit( * (str-1) ) && !ineqn(str, p)) in maknew()
/titanic_51/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; in mpl_get_bits() local
193 mask &= (digit[0] >> rshift); in mpl_get_bits()
195 mask &= ((digit[0] >> rshift) | (digit[1] << (MP_DIGIT_BIT - rshift))); in mpl_get_bits()
/titanic_51/usr/src/lib/libc/port/gen/
H A Decvt.c116 int digit = value/pow10; in cvt() local
117 *p++ = digit + '0'; in cvt()
118 value -= digit * pow10; in cvt()
/titanic_51/usr/src/lib/libmp/common/
H A Dutil.c153 * Convert hex digit to binary value
176 short digit; in mp_xtom() local
183 digit = xtoi(*key); in mp_xtom()
184 if (digit < 0) { in mp_xtom()
187 d = mp_itom(digit); in mp_xtom()
/titanic_51/usr/src/cmd/sgs/lex/common/
H A Dsub1.c86 digit(int c) in digit() function
227 if (!digit(*s) && *s != '-') in siconv()
234 if (!digit(*s)) in siconv()
300 if (digit((dd = *++*ss)) || in ctrans()
304 while (digit(dd) || in ctrans()
307 if (digit(dd)) in ctrans()
412 if (digit((dd = gch())) || in usescape()
416 while (digit(dd) || in usescape()
419 if (digit(dd)) in usescape()
425 if (!digit(pee in usescape()
[all...]
/titanic_51/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dasn1_encode.c62 int digit; in asn1_encode_integer_internal() local
66 digit = (int) (valcopy&0xFF); in asn1_encode_integer_internal()
67 retval = asn1buf_insert_octet(buf,(asn1_octet) digit); in asn1_encode_integer_internal()
73 if ((val > 0) && ((digit&0x80) == 0x80)) { /* make sure the high bit is */ in asn1_encode_integer_internal()
77 } else if ((val < 0) && ((digit&0x80) != 0x80)) { in asn1_encode_integer_internal()
134 int digit; in asn1_encode_unsigned_integer() local
138 digit = (int) (valcopy&0xFF); in asn1_encode_unsigned_integer()
139 retval = asn1buf_insert_octet(buf,(asn1_octet) digit); in asn1_encode_unsigned_integer()
145 if (digit&0x80) { /* make sure the high bit is */ in asn1_encode_unsigned_integer()
/titanic_51/usr/src/uts/common/io/
H A Dtty_common.c554 uint_t digit; in termioval() local
561 digit = *s++ - '0'; in termioval()
563 digit = *s++ - 'a' + 10; in termioval()
565 digit = *s++ - 'A' + 10; in termioval()
570 *valp = (*valp * 16) + digit; in termioval()
/titanic_51/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
/titanic_51/usr/src/cmd/csh/
H A Dsh.dol.c400 if (digit(c)) { in Dgetdol()
407 } while (digit(c)); in Dgetdol()
486 if (digit(*np)) { in Dgetdol()
489 while (digit(*np)) in Dgetdol()
509 if (digit(*np)) { in Dgetdol()
511 while (digit(*np)) in Dgetdol()

12345678910>>...13