Searched refs:digits (Results 1 - 25 of 55) sorted by relevance

123

/haiku-fatelf/src/tools/docbook/libxslt/libxslt/
H A Dextra.c176 char digits[5]; local
203 memset(digits, 0, sizeof(digits));
204 strncpy(digits, str+7, 4);
205 field = strtol(digits, NULL, 10);
208 memset(digits, 0, sizeof(digits));
209 strncpy(digits, str+12, 2);
210 field = strtol(digits, NULL, 10);
213 memset(digits,
[all...]
/haiku-fatelf/src/system/libroot/posix/glibc/stdio-common/
H A D_itowa.h40 const wchar_t *digits = (upper_case local
49 *--bp = digits[value % Base]; \
58 *--bp = digits[value % base];
H A D_itoa.h41 const char *digits = (upper_case local
56 *--buflim = digits[value % Base]; \
65 *--buflim = digits[value % base];
H A D_itowa.c82 /* Lower-case digits. */
84 /* Upper-case digits. */
95 const wchar_t *digits = (upper_case local
118 *--bp = digits[work_lo & ((1ul << BITS) - 1)]; \
132 *--bp = digits[work_lo]; \
140 *--bp = digits[work_hi & ((1 << BITS) - 1)]; \
166 *--bp = digits[rem];
177 *--bp = digits[rem];
303 *--bp = digits[rem];
315 *--bp = digits[re
[all...]
H A D_itoa.c160 /* Lower-case digits. */
163 /* Upper-case digits. */
175 const char *digits = (upper_case local
198 *--buflim = digits[work_lo & ((1ul << BITS) - 1)]; \
212 *--buflim = digits[work_lo]; \
220 *--buflim = digits[work_hi & ((1 << BITS) - 1)]; \
246 *--buflim = digits[rem];
257 *--buflim = digits[rem];
383 *--buflim = digits[rem];
395 *--buflim = digits[re
[all...]
/haiku-fatelf/src/kits/network/libbind/inet/
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...]
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_pton.c85 static const char digits[] = "0123456789"; local
95 if ((pch = strchr(digits, ch)) != NULL) {
96 u_int new = *tp * 10 + (pch - digits);
/haiku-fatelf/src/kits/network/libbind/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...]
/haiku-fatelf/src/add-ons/translators/exr/openexr/half/
H A DhalfLimits.h66 static const int digits = HALF_MANT_DIG; member in class:std::numeric_limits
/haiku-fatelf/src/apps/icon-o-matic/generic/support/
H A Dsupport.cpp110 // find out how many digits remain
116 int32 digits = strlen(tmp); local
119 digits--;
124 if (digits > 0) {
126 for (int32 i = 0; i < digits; i++) {
/haiku-fatelf/src/bin/network/tcpdump/missing/
H A Dinet_ntop.c66 const char digits[] = "0123456789"; local
81 *dst++ = digits[n / 100];
86 *dst++ = digits[n / 10];
90 *dst++ = digits[n];
/haiku-fatelf/src/bin/rcs/
H A Dpartime.c290 parse_fixed (s, digits, res) char const *s; int digits, *res;
298 char const *lim = s + digits;
310 parse_ranged (s, digits, lo, hi, res) char const *s; int digits, lo, hi, *res;
318 s = parse_fixed (s, digits, res);
323 parse_decimal (s, digits, lo, hi, resolution, res, fres)
325 int digits, lo, hi, resolution, *res, *fres;
335 s = parse_fixed (s, digits, res);
612 case 'Y': /* year in full [4 or more digits] */
[all...]
/haiku-fatelf/src/bin/coreutils/lib/
H A Dvasnprintf.c468 /* Allocate room for a_len+2 digits.
469 (Need a_len+1 digits for the real division and 1 more digit for the
802 Return the allocated memory - containing the decimal digits in low-to-high
831 /* Store the remainder as 9 decimal digits. */
1028 Return the allocated memory - containing the decimal digits in low-to-high
1045 char *digits; local
1241 digits = convert_to_decimal (z, extra_zeroes);
1243 return digits;
1250 Return the allocated memory - containing the decimal digits in low-to-high
1268 Return the allocated memory - containing the decimal digits i
1467 is_borderline(const char *digits, size_t precision) argument
3356 char *digits; local
3411 char *digits; local
3546 char *digits; local
3821 char *digits; local
3873 char *digits; local
4020 char *digits; local
[all...]
H A Didcache.c33 static char digits[] = "0123456789"; variable
123 if (!pwent && strspn (user, digits) < strlen (user))
205 if (!grent && strspn (group, digits) < strlen (group))
H A Dgetdate.y76 POSIX says that only '0' through '9' are digits. Prefer ISDIGIT to
117 /* An integer value, and the number of digits in its textual
123 size_t digits;
209 /* Extract into *PC any date and time info from a string of digits
215 if (pc->dates_seen && ! pc->year.digits
216 && ! pc->rels_seen && (pc->times_seen || 2 < text_int.digits))
220 if (4 < text_int.digits)
226 pc->year.digits = text_int.digits - 4;
231 if (text_int.digits <
[all...]
/haiku-fatelf/src/bin/findutils/gnulib/lib/
H A Didcache.c33 static char digits[] = "0123456789"; variable
123 if (!pwent && strspn (user, digits) < strlen (user))
205 if (!grent && strspn (group, digits) < strlen (group))
/haiku-fatelf/src/bin/gdb/gdb/
H A Dvalprint.c573 unsigned char *digits;
580 /* Base-ten number is less than twice as many digits
581 * as the base 16 number, which is 2 digits per byte.
584 digits = xmalloc (decimal_len);
588 digits[i] = 0;
598 * The trick is that "digits" holds a base-10 number, but sometimes
599 * the individual digits are > 10.
604 decimal_digits = 0; /* Number of decimal digits so far */
616 digits[j] = SHIFT (digits[
572 unsigned char *digits; local
[all...]
/haiku-fatelf/src/libs/mapm/
H A Dmapmcnst.c91 * added more constants with more digits
165 * the following constants have ~520 digits each, if needed
353 void m_apm_cpp_precision(int digits) argument
360 if (digits >= 2)
361 MM_cpp_min_precision = digits;
/haiku-fatelf/src/bin/bc/lib/
H A Dnumber.c191 /* If we get here, they have the same number of integer digits.
352 /* Zero extra digits made by scale_min. */
446 /* Zero extra digits made by scale_min. */
501 /* If n1 has more digits then n2, we now do that subtract. */
755 B is the base of storage, number of digits in u1,u0 close to equal.
775 /* Calculate n -- the u and v split point in digits. */
887 NUM (with SIZE digits) is multiplied by DIGIT and the result is
928 digits after the decimal point is SCALE. It returns -1 if division
993 /* Calculate the number of quotient digits. */
1194 /* Check the base for scale digits
1437 char digits[40]; local
1468 stk_rec *digits, *temp; local
1700 int digits, strscale; local
[all...]
/haiku-fatelf/src/kits/locale/
H A DGenericNumberFormat.cpp572 // the digits
587 // write digits
598 // write digits
651 // We simply cut those digits later.
660 // get the mantissa's digits -- we drop trailing zeros
791 char digits[kMaxFloatDigitCount]; local
797 = _Round(digits, integerDigits + fractionDigits, exponent);
806 writer.Append(digitSymbols[(int)digits[digitCount - i - 1]]);
807 // pad with zeros to get the desired number of integer digits
813 if (!_IsZero(digits, digitCoun
880 char digits[kMaxFloatDigitCount]; local
942 _Round(char *digits, int32 count, int32 &exponent) const argument
981 _IsZero(const char *digits, int32 digitCount) argument
1217 SetDigitSymbols(const char **digits) argument
[all...]
/haiku-fatelf/src/bin/diffutils/src/
H A Difdef.c392 ptrdiff_t digits; local
410 digits = p - lit - 2;
411 if (! (1 <= digits && digits <= 3))
/haiku-fatelf/src/bin/network/wget/src/
H A Dhtml-parse.c386 int digits = 0;
389 for (++p; value < 256 && p < end && c_isxdigit (*p); p++, digits++)
392 for (; value < 256 && p < end && c_isdigit (*p); p++, digits++)
394 if (!digits)
524 letters, digits, periods, and hyphens as names (of tags or
385 int digits = 0; local
/haiku-fatelf/src/bin/patch/
H A Dpartime.c404 parse_fixed (s, digits, res)
406 int digits, *res;
409 char const *lim = s + digits;
447 parse_ranged (s, digits, lo, hi, res)
449 int digits, lo, hi, *res;
451 s = parse_fixed (s, digits, res);
462 parse_decimal (s, digits, lo, hi, resolution, res, fres)
464 int digits, lo, hi, resolution, *res, *fres;
466 s = parse_fixed (s, digits, res);
859 case 'Y': /* year in full [4 or more digits] */
[all...]

Completed in 381 milliseconds

123