Searched defs:digits (Results 1 - 18 of 18) sorted by relevance

/osnet-11/usr/src/lib/libsocket/inet/
H A Dlink_addr.c70 int idx = 0, numcolons = 0, digits = 0; local
82 * consecutive :'s, excessive digits per element
91 digits = 0;
95 digits++;
98 if (digits > 2)
104 (digits > 2)) {
/osnet-11/usr/src/lib/libresolv2/common/nameser/
H A Dns_ttl.c99 int ch, digits, dirty; local
103 digits = 0;
111 digits++;
114 if (digits == 0)
128 digits = 0;
131 if (digits > 0) {
H A Dns_name.c49 static const char digits[] = "0123456789"; variable
161 *dn++ = digits[c / 100];
162 *dn++ = digits[(c % 100) / 10];
163 *dn++ = digits[c % 10];
251 else if ((cp = strchr(digits, c)) != NULL) {
252 n = (cp - digits) * 100;
254 (cp = strchr(digits, c)) == NULL) {
258 n += (cp - digits) * 10;
260 (cp = strchr(digits, c)) == NULL) {
264 n += (cp - digits);
[all...]
/osnet-11/usr/src/lib/libsip/common/
H A Dsip_reass.c85 int digits = 0; local
104 digits = *e - '0';
107 value = (value * base) + digits;
/osnet-11/usr/src/lib/libnsl/nss/
H A Dinet_pton.c84 static const char digits[] = "0123456789"; local
94 if ((pch = strchr(digits, ch)) != NULL) {
95 uint_t new = *tp * 10 + (pch - digits);
/osnet-11/usr/src/lib/libresolv2/common/inet/
H A Dinet_cidr_pton.c82 static const char digits[] = "0123456789"; variable
94 n = strchr(digits, ch) - digits;
263 cp = strchr(digits, ch);
267 bits += cp - digits;
H A Dinet_net_pton.c64 static const char digits[] = "0123456789"; local
103 n = strchr(digits, ch) - digits;
132 n = strchr(digits, ch) - digits;
191 static const char digits[] = "0123456789"; local
201 pch = strchr(digits, ch);
206 val += (pch - digits);
221 static const char digits[] = "0123456789"; local
232 pch = strchr(digits, c
270 int digits; local
[all...]
/osnet-11/usr/src/lib/libast/common/sfio/
H A Dsfstrtof.h153 int digits; member in struct:S2F_part_s
205 register int digits; local
245 digits = 0;
263 digits++;
270 fraction = digits;
310 m -= 4 * (digits - fraction);
340 digits++;
398 digits++;
404 parts[part].digits = digits;
[all...]
/osnet-11/usr/src/lib/libresolv2/common/isc/
H A Dev_timers.c49 static const char *const digits = "0123456789"; variable
91 unsigned int scale_digits; /* digits to shift fixed-point */
103 ep += strspn(ep, digits);
106 ep += strspn(ep, digits);
658 /* copy integer digits (before '.') into buf */
659 int_digits = strspn(nptr, digits);
661 /* too many digits */
665 frac_digits = strspn(nptr, digits);
678 /* copy fraction digits (after '.') into buf */
679 frac_digits = strspn(nptr, digits);
[all...]
/osnet-11/usr/src/lib/libresolv2/common/resolv/
H A Dres_mkupdate.c749 static char digits[] = "0123456789"; variable
801 (strchr(digits, c) - digits);
/osnet-11/usr/src/lib/libshell/common/include/
H A Dshlex.h43 int digits; /* numerical value with word token */ member in struct:_shlex_
/osnet-11/usr/src/lib/libcmd/common/
H A Dod.c186 int digits; member in struct:Size_s
850 for (m = 0, i = zp->digits; i-- > 0; m = m * 10 + 9);
854 prec = zp->digits;
/osnet-11/usr/src/lib/libdtrace/common/
H A Ddt_printf.c826 int digits = 0; local
856 if (dot == 0 && digits == 0 && c == '0') {
871 digits++;
910 digits = 0;
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/
H A Dvasnprintf.c478 /* Allocate room for a_len+2 digits.
479 (Need a_len+1 digits for the real division and 1 more digit for the
812 Return the allocated memory - containing the decimal digits in low-to-high
841 /* Store the remainder as 9 decimal digits. */
1038 Return the allocated memory - containing the decimal digits in low-to-high
1055 char *digits; local
1251 digits = convert_to_decimal (z, extra_zeroes);
1253 return digits;
1260 Return the allocated memory - containing the decimal digits in low-to-high
1278 Return the allocated memory - containing the decimal digits i
1477 is_borderline(const char *digits, size_t precision) argument
3626 char *digits; local
3681 char *digits; local
3816 char *digits; local
4091 char *digits; local
4143 char *digits; local
4290 char *digits; local
[all...]
/osnet-11/usr/src/lib/libc/port/print/
H A Ddoprnt.c545 /* Pointer to a translate table for digits of whatever radix */
548 /* Pointer to a translate table for digits of whatever radix */
1199 /* Set translate table for digits */
1202 /* Set translate table for digits */
1222 /* Develop the digits of the value */
1575 /* Emit the digits before the decimal point */
2272 static const wchar_t digits[] = L"01234567890"; local
2275 static const char digits[] = "01234567890";
2297 if (fmt[n = STRSPN(fmt, digits)] == '$') {
2352 fmt += STRSPN(fmt, digits);
2471 static const wchar_t digits[] = L"01234567890"; local
[all...]
/osnet-11/usr/src/common/mpi/
H A Dmpi.c68 digits, we estimate the output size by taking the least integer
94 /* s_dmap_1 - standard digits and letters */
228 all the used digits of 'from', we'll re-use it to avoid hitting
430 its primary addend (single digits are unsigned anyway).
474 sign of its subtrahend (single digits are unsigned anyway).
519 of its multiplicand (single digits are unsigned anyway)
567 single digit d. Respects the sign of its divisor (single digits are
824 * converts an mp_int with 32-bit "digits" to an array
826 * *digits[0], etc.)
828 * its address in *digits an
835 conv_mp32_to_uint64arr(const mp_int *a, int maxused, uint64_t **digits, int *numdigits) argument
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dregcomp.c3910 /* consecutive digits assumed */
3920 /* consecutive digits assumed */
5126 char digits[16]; local
5130 sprintf(digits, "%lu", (long)i);
5131 if ((mgv = gv_fetchpv(digits, FALSE, SVt_PV)))
H A Dsv.c8326 /* Times 4: a decimal digit takes more than 3 binary digits.
8327 * NV_DIG: mantissa takes than many decimal digits.
8371 unsigned digits = 0; local
8376 digits = 10 * digits + (*pp++ - '0');
8387 /* Add check for digits != 0 because it seems that some
8390 if (digits && digits < sizeof(ebuf) - NV_DIG - 10) {
8392 Gconvert(nv, (int)digits, 0, ebuf);
8394 if (*ebuf) /* May return an empty string for digits
[all...]

Completed in 397 milliseconds