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

/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
H A Dinet_net_pton.c138 static const char digits[] = "0123456789"; local
175 n = (int)(strchr(digits, ch) - digits);
203 n = (int)(strchr(digits, ch) - digits);
H A Dinet_pton.c124 static const char digits[] = "0123456789"; local
134 if ((pch = strchr(digits, ch)) != NULL) {
135 u_int new = *tp * 10 + (u_int)(pch - digits);
H A Dns_ttl.c127 int ch, digits, dirty; local
131 digits = 0;
139 digits++;
142 if (digits == 0)
156 digits = 0;
159 if (digits > 0) {
H A Dns_name.c69 static char digits[] = "0123456789"; variable
133 *dn++ = digits[c / 100];
134 *dn++ = digits[(c % 100) / 10];
135 *dn++ = digits[c % 10];
184 if ((cp = strchr(digits, c)) != NULL) {
185 n = (int)(cp - digits) * 100;
187 (cp = strchr(digits, c)) == NULL) {
191 n += (int)(cp - digits) * 10;
193 (cp = strchr(digits, c)) == NULL) {
197 n += (int)(cp - digits);
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/encodings/
H A Dpunycode.py79 digits = "abcdefghijklmnopqrstuvwxyz0123456789" variable
87 result.append(digits[N])
89 result.append(digits[t + ((N - t) % (36 - t))])
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/
H A Dpunycode.py79 digits = "abcdefghijklmnopqrstuvwxyz0123456789" variable
87 result.append(digits[N])
89 result.append(digits[t + ((N - t) % (36 - t))])
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Objects/stringlib/
H A Dlocaleutil.h63 /* Fill in some digits, leading zeros, and thousands separator. All
101 * @digits: A pointer to the digits we're reading from. If count
103 * @n_digits: The number of digits in the string, in which we want
105 * @min_width: The minimum width of the digits in the output string.
130 STRINGLIB_CHAR *digits,
156 digits_end = digits + n_digits;
208 * @n_digits: The number of digits in the string, in which we want
216 STRINGLIB_CHAR *digits,
224 return _Py_InsertThousandsGrouping(buffer, n_buffer, digits, n_digit
128 _Py_InsertThousandsGrouping(STRINGLIB_CHAR *buffer, Py_ssize_t n_buffer, STRINGLIB_CHAR *digits, Py_ssize_t n_digits, Py_ssize_t min_width, const char *grouping, const char *thousands_sep) argument
214 _Py_InsertThousandsGroupingLocale(STRINGLIB_CHAR *buffer, Py_ssize_t n_buffer, STRINGLIB_CHAR *digits, Py_ssize_t n_digits, Py_ssize_t min_width) argument
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Objects/stringlib/
H A Dlocaleutil.h63 /* Fill in some digits, leading zeros, and thousands separator. All
101 * @digits: A pointer to the digits we're reading from. If count
103 * @n_digits: The number of digits in the string, in which we want
105 * @min_width: The minimum width of the digits in the output string.
130 STRINGLIB_CHAR *digits,
156 digits_end = digits + n_digits;
208 * @n_digits: The number of digits in the string, in which we want
216 STRINGLIB_CHAR *digits,
224 return _Py_InsertThousandsGrouping(buffer, n_buffer, digits, n_digit
128 _Py_InsertThousandsGrouping(STRINGLIB_CHAR *buffer, Py_ssize_t n_buffer, STRINGLIB_CHAR *digits, Py_ssize_t n_digits, Py_ssize_t min_width, const char *grouping, const char *thousands_sep) argument
214 _Py_InsertThousandsGroupingLocale(STRINGLIB_CHAR *buffer, Py_ssize_t n_buffer, STRINGLIB_CHAR *digits, Py_ssize_t n_digits, Py_ssize_t min_width) argument
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/
H A Dlocaleutil.h63 /* Fill in some digits, leading zeros, and thousands separator. All
101 * @digits: A pointer to the digits we're reading from. If count
103 * @n_digits: The number of digits in the string, in which we want
105 * @min_width: The minimum width of the digits in the output string.
130 STRINGLIB_CHAR *digits,
156 digits_end = digits + n_digits;
208 * @n_digits: The number of digits in the string, in which we want
216 STRINGLIB_CHAR *digits,
224 return _Py_InsertThousandsGrouping(buffer, n_buffer, digits, n_digit
128 _Py_InsertThousandsGrouping(STRINGLIB_CHAR *buffer, Py_ssize_t n_buffer, STRINGLIB_CHAR *digits, Py_ssize_t n_digits, Py_ssize_t min_width, const char *grouping, const char *thousands_sep) argument
214 _Py_InsertThousandsGroupingLocale(STRINGLIB_CHAR *buffer, Py_ssize_t n_buffer, STRINGLIB_CHAR *digits, Py_ssize_t n_digits, Py_ssize_t min_width) argument
[all...]
H A Dformatter.h68 integer, and returns the number of digits consumed.
89 expect too many digits.
95 "Too many decimal digits in format string");
385 Py_ssize_t n_sign; /* number of digits needed for sign (0/1) */
386 Py_ssize_t n_grouped_digits; /* Space taken up by the digits, including
395 Py_ssize_t n_digits; /* The number of digits before a decimal
403 digits[remainder]
467 digits is already known
470 actual digits
495 /* The number of chars used for non-digits an
556 fill_number(STRINGLIB_CHAR *buf, const NumberFieldWidths *spec, STRINGLIB_CHAR *digits, Py_ssize_t n_digits, STRINGLIB_CHAR *prefix, STRINGLIB_CHAR fill_char, LocaleInfo *locale, int toupper) argument
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
H A Dstringold.py16 digits -- a string containing all characters considered decimal digits
17 hexdigits -- a string containing all characters considered hexadecimal digits
18 octdigits -- a string containing all characters considered octal digits
30 digits = '0123456789' variable
31 hexdigits = digits + 'abcdef' + 'ABCDEF'
215 or more digits, possibly preceded by a sign. If base is 0, it
242 of one or more digits, possibly preceded by a sign. If base
H A Dstring.py14 digits -- a string containing all characters considered decimal digits
15 hexdigits -- a string containing all characters considered hexadecimal digits
16 octdigits -- a string containing all characters considered octal digits
30 digits = '0123456789' variable
31 hexdigits = digits + 'abcdef' + 'ABCDEF'
34 printable = digits + letters + punctuation + whitespace
397 or more digits, possibly preceded by a sign. If base is 0, it
412 of one or more digits, possibly preceded by a sign. If base
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
H A Dstring.py14 digits -- a string containing all characters considered decimal digits
15 hexdigits -- a string containing all characters considered hexadecimal digits
16 octdigits -- a string containing all characters considered octal digits
30 digits = '0123456789' variable
31 hexdigits = digits + 'abcdef' + 'ABCDEF'
34 printable = digits + letters + punctuation + whitespace
399 or more digits, possibly preceded by a sign. If base is 0, it
414 of one or more digits, possibly preceded by a sign. If base
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
H A Dcodecs.c610 int digits; local
624 digits = 1;
628 digits = 2;
632 digits = 3;
636 digits = 4;
640 digits = 5;
644 digits = 6;
648 digits = 7;
651 while (digits-->0) {
H A Dpystrtod.c406 The exponent always contains at least two digits, and only as many more digits
440 /* If there are 2 exactly digits, we're done,
446 /* There are more than 2 digits in the exponent. See
464 /* If there are fewer than 2 digits, add zeros
478 remove the decimal point if all digits following it are zero. The numeric
497 /* scan any digits after the point */
523 adding a '.0' would produce too many significant digits (see issue 5864).
564 significant digits as were requested. Switch to
702 MIN_EXPONENT_DIGITS digits, providin
945 char *digits, *digits_end; local
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
H A Dcodecs.c599 int digits; local
604 digits = 1;
608 digits = 2;
612 digits = 3;
616 digits = 4;
621 digits = 5;
626 digits = 5;
630 digits = 6;
634 digits = 7;
638 while (digits
[all...]
H A Dpystrtod.c406 The exponent always contains at least two digits, and only as many more digits
440 /* If there are 2 exactly digits, we're done,
446 /* There are more than 2 digits in the exponent. See
464 /* If there are fewer than 2 digits, add zeros
478 remove the decimal point if all digits following it are zero. The numeric
497 /* scan any digits after the point */
523 adding a '.0' would produce too many significant digits (see issue 5864).
564 significant digits as were requested. Switch to
702 MIN_EXPONENT_DIGITS digits, providin
945 char *digits, *digits_end; local
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/stringlib/
H A Dformatter.h68 integer, and returns the number of digits consumed.
93 "Too many decimal digits in format string");
385 Py_ssize_t n_sign; /* number of digits needed for sign (0/1) */
386 Py_ssize_t n_grouped_digits; /* Space taken up by the digits, including
395 Py_ssize_t n_digits; /* The number of digits before a decimal
403 digits[remainder]
467 digits is already known
470 actual digits
495 /* The number of chars used for non-digits and non-padding. */
557 STRINGLIB_CHAR *digits, Py_ssize_
556 fill_number(STRINGLIB_CHAR *buf, const NumberFieldWidths *spec, STRINGLIB_CHAR *digits, Py_ssize_t n_digits, STRINGLIB_CHAR *prefix, STRINGLIB_CHAR fill_char, LocaleInfo *locale, int toupper) argument
[all...]
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
H A Dvfwprintf.c253 * Macros for converting digits to letters and vice versa
263 * use the given digits.
584 * characters between each pair of digits. 100 bytes is a
639 * F: at least two digits for decimal, at least one digit for hex
648 char *dtoaend; /* pointer to end of converted digits */
658 int ndig; /* actual number of digits returned by dtoa */
670 const char *xdigs; /* digits for %[xX] conversion */
679 CHAR_T buf[BUF]; /* buffer with space for digits of uintmax_t */
1246 * digits to print. When converting to [eE] the digit before the
1260 /* space for digits befor
1976 char *digits, *bp, *rve; local
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
H A Dunicodeobject.c2831 int digits; local
2875 digits = 2;
2881 digits = 4;
2887 digits = 8;
2891 if (end - s < digits) {
2892 /* count only hex digits */
2900 for (; digits--; ++s) {
3255 /* \uXXXX with 4 hex digits, \Uxxxxxxxx with 8 */
6936 Return True if all characters in S are digits\n\
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
H A Dunicodeobject.c2762 int digits; local
2806 digits = 2;
2812 digits = 4;
2818 digits = 8;
2823 if (s+digits>end) {
2833 for (i = 0; i < digits; ++i) {
3207 /* \uXXXX with 4 hex digits, \Uxxxxxxxx with 8 */
6828 Return True if all characters in S are digits\n\

Completed in 387 milliseconds