/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_strtod.py | 129 digits, exponent = n, e 130 while digits < 10**20: 131 s = '{}e{}'.format(digits, exponent) 134 s = '{}e{}'.format(digits * 10**40, exponent - 40) 136 digits *= 2 140 digits, exponent = n, e 141 while digits < 10**20: 142 s = '{}e{}'.format(digits, exponent) 145 s = '{}e{}'.format(digits * 10**40, exponent - 40) 147 digits *= 5 [all …]
|
D | test_fpformat.py | 23 def checkFix(self, n, digits): argument 24 result = fix(n, digits) 27 expected = "%.*f" % (digits, float(n)) 31 def checkSci(self, n, digits): argument 32 result = sci(n, digits) 35 expected = "%.*e" % (digits, float(n))
|
D | test_long.py | 137 digits = range(1, MAXDIGITS+1) + range(KARATSUBA_CUTOFF, 139 digits.append(KARATSUBA_CUTOFF * 3) 140 for lenx in digits: 142 for leny in digits: 176 digits = range(1, 5) + range(KARATSUBA_CUTOFF, KARATSUBA_CUTOFF + 10) 177 digits.extend([KARATSUBA_CUTOFF * 10, KARATSUBA_CUTOFF * 100]) 179 bits = [digit * SHIFT for digit in digits] 258 digits = xrange(1, MAXDIGITS+1) 259 for lenx in digits: 262 for leny in digits: [all …]
|
D | string_tests.py | 138 digits = 7 141 for i in xrange(base ** digits): 143 for j in xrange(digits): 195 digits = 5 198 for i in xrange(base ** digits): 200 for j in xrange(digits): 239 digits = 5 242 for i in xrange(base ** digits): 244 for j in xrange(digits): 1011 s = string.ascii_letters + string.digits
|
D | test_mimetools.py | 19 start = string.ascii_letters + "=" + string.digits + "\n"
|
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
D | ns_ttl.c | 127 int ch, digits, dirty; in ns_parse_ttl() local 131 digits = 0; in ns_parse_ttl() 139 digits++; in ns_parse_ttl() 142 if (digits == 0) in ns_parse_ttl() 156 digits = 0; in ns_parse_ttl() 159 if (digits > 0) { in ns_parse_ttl()
|
D | ns_name.c | 69 static char digits[] = "0123456789"; variable 133 *dn++ = digits[c / 100]; in ns_name_ntop() 134 *dn++ = digits[(c % 100) / 10]; in ns_name_ntop() 135 *dn++ = digits[c % 10]; in ns_name_ntop() 184 if ((cp = strchr(digits, c)) != NULL) { in ns_name_pton() 185 n = (int)(cp - digits) * 100; in ns_name_pton() 187 (cp = strchr(digits, c)) == NULL) { in ns_name_pton() 191 n += (int)(cp - digits) * 10; in ns_name_pton() 193 (cp = strchr(digits, c)) == NULL) { in ns_name_pton() 197 n += (int)(cp - digits); in ns_name_pton()
|
D | inet_net_pton.c | 138 static const char digits[] = "0123456789"; in inet_net_pton_ipv4() local 175 n = (int)(strchr(digits, ch) - digits); in inet_net_pton_ipv4() 203 n = (int)(strchr(digits, ch) - digits); in inet_net_pton_ipv4()
|
D | inet_pton.c | 124 static const char digits[] = "0123456789"; in inet_pton4() local 134 if ((pch = strchr(digits, ch)) != NULL) { in inet_pton4() 135 u_int new = *tp * 10 + (u_int)(pch - digits); in inet_pton4()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
D | pystrtod.c | 945 char *digits, *digits_end; in format_float_short() local 953 digits = _Py_dg_dtoa(d, mode, precision, &decpt_as_int, &sign, in format_float_short() 958 if (digits == NULL) { in format_float_short() 963 assert(digits_end != NULL && digits_end >= digits); in format_float_short() 964 digits_len = digits_end - digits; in format_float_short() 966 if (digits_len && !Py_ISDIGIT(digits[0])) { in format_float_short() 972 if (digits[0] == 'n' || digits[0] == 'N') in format_float_short() 990 if (digits[0] == 'i' || digits[0] == 'I') { in format_float_short() 997 else if (digits[0] == 'n' || digits[0] == 'N') { in format_float_short() 1137 strncpy(p, digits, decpt-0); in format_float_short() [all …]
|
D | codecs.c | 599 int digits; in PyCodec_XMLCharRefReplaceErrors() local 604 digits = 1; in PyCodec_XMLCharRefReplaceErrors() 608 digits = 2; in PyCodec_XMLCharRefReplaceErrors() 612 digits = 3; in PyCodec_XMLCharRefReplaceErrors() 616 digits = 4; in PyCodec_XMLCharRefReplaceErrors() 621 digits = 5; in PyCodec_XMLCharRefReplaceErrors() 626 digits = 5; in PyCodec_XMLCharRefReplaceErrors() 630 digits = 6; in PyCodec_XMLCharRefReplaceErrors() 634 digits = 7; in PyCodec_XMLCharRefReplaceErrors() 638 while (digits-->0) { in PyCodec_XMLCharRefReplaceErrors()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/ |
D | pystrtod.c | 945 char *digits, *digits_end; in format_float_short() local 953 digits = _Py_dg_dtoa(d, mode, precision, &decpt_as_int, &sign, in format_float_short() 958 if (digits == NULL) { in format_float_short() 963 assert(digits_end != NULL && digits_end >= digits); in format_float_short() 964 digits_len = digits_end - digits; in format_float_short() 966 if (digits_len && !Py_ISDIGIT(digits[0])) { in format_float_short() 972 if (digits[0] == 'n' || digits[0] == 'N') in format_float_short() 990 if (digits[0] == 'i' || digits[0] == 'I') { in format_float_short() 997 else if (digits[0] == 'n' || digits[0] == 'N') { in format_float_short() 1137 strncpy(p, digits, decpt-0); in format_float_short() [all …]
|
D | codecs.c | 610 int digits; in PyCodec_XMLCharRefReplaceErrors() local 624 digits = 1; in PyCodec_XMLCharRefReplaceErrors() 628 digits = 2; in PyCodec_XMLCharRefReplaceErrors() 632 digits = 3; in PyCodec_XMLCharRefReplaceErrors() 636 digits = 4; in PyCodec_XMLCharRefReplaceErrors() 640 digits = 5; in PyCodec_XMLCharRefReplaceErrors() 644 digits = 6; in PyCodec_XMLCharRefReplaceErrors() 648 digits = 7; in PyCodec_XMLCharRefReplaceErrors() 651 while (digits-->0) { in PyCodec_XMLCharRefReplaceErrors()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/ |
D | localeutil.h | 130 STRINGLIB_CHAR *digits, in _Py_InsertThousandsGrouping() argument 156 digits_end = digits + n_digits; in _Py_InsertThousandsGrouping() 216 STRINGLIB_CHAR *digits, in _Py_InsertThousandsGroupingLocale() argument 224 return _Py_InsertThousandsGrouping(buffer, n_buffer, digits, n_digits, in _Py_InsertThousandsGroupingLocale()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Objects/stringlib/ |
D | localeutil.h | 130 STRINGLIB_CHAR *digits, in _Py_InsertThousandsGrouping() argument 156 digits_end = digits + n_digits; in _Py_InsertThousandsGrouping() 216 STRINGLIB_CHAR *digits, in _Py_InsertThousandsGroupingLocale() argument 224 return _Py_InsertThousandsGrouping(buffer, n_buffer, digits, n_digits, in _Py_InsertThousandsGroupingLocale()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Objects/stringlib/ |
D | localeutil.h | 130 STRINGLIB_CHAR *digits, in _Py_InsertThousandsGrouping() argument 156 digits_end = digits + n_digits; in _Py_InsertThousandsGrouping() 216 STRINGLIB_CHAR *digits, in _Py_InsertThousandsGroupingLocale() argument 224 return _Py_InsertThousandsGrouping(buffer, n_buffer, digits, n_digits, in _Py_InsertThousandsGroupingLocale()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | fractions.py | 197 sign, digits, exp = dec.as_tuple() 198 digits = int(''.join(map(str, digits))) 200 digits = -digits 202 return cls(digits * 10 ** exp) 204 return cls(digits, 10 ** -exp)
|
D | decimal.py | 624 digits = [] 628 if digits or digit != 0: 629 digits.append(digit) 636 self._int = ''.join(map(str, digits)) 641 self._int = ''.join(map(str, digits or [0])) 1681 digits = len(self._int) + self._exp - exp_min 1682 if digits < 0: 1684 digits = 0 1686 changed = rounding_method(self, digits) 1687 coeff = self._int[:digits] or '0' [all …]
|
D | stringold.py | 30 digits = '0123456789' variable 31 hexdigits = digits + 'abcdef' + 'ABCDEF'
|
D | string.py | 30 digits = '0123456789' variable 31 hexdigits = digits + 'abcdef' + 'ABCDEF' 34 printable = digits + letters + punctuation + whitespace
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/ |
D | stringobject.h | 186 char *digits, 195 char *digits,
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/ |
D | stringobject.h | 186 char *digits, 195 char *digits,
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/ |
D | punycode.py | 79 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.10/Lib/encodings/ |
D | punycode.py | 79 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.10/Lib/ |
D | string.py | 30 digits = '0123456789' variable 31 hexdigits = digits + 'abcdef' + 'ABCDEF' 34 printable = digits + letters + punctuation + whitespace
|