/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/ |
localeutil.h | 63 /* 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_digits, [all...] |
/external/desugar/test/java/com/google/devtools/build/android/desugar/testdata/java8/ |
ConcreteOverridesDefaultWithLambda.java | 33 public List<String> digits() { method in class:ConcreteOverridesDefaultWithLambda
|
/external/icu/icu4c/source/i18n/ |
digitformatter.h | 62 * digits. default is FALSE. 125 * minus sign is minus (-), grouping separator is comma (,), digits are 0-9. 130 * Let symbols determine the digits, decimal separator, 136 * Change what this instance uses for digits, decimal separator, 143 * Change what this instance uses for digits, decimal separator, 186 * @param range specifies minimum and maximum number of digits. 199 * If digits is negative, the negative sign is not included in the count. 202 const VisibleDigits &digits, 208 * If digits is negative, the negative sign is not included in the count. 211 const VisibleDigitsWithExponent &digits, [all...] |
tzfmt.cpp | 406 UnicodeString digits = ns->getDescription(); local 407 useDefDigits = !toCodePoints(digits, fGMTOffsetDigits, 10); 608 TimeZoneFormat::getGMTOffsetDigits(UnicodeString& digits) const { 609 digits.remove(); 611 digits.append(fGMTOffsetDigits[i]); 613 return digits; 617 TimeZoneFormat::setGMTOffsetDigits(const UnicodeString& digits, UErrorCode& status) { 622 if (!toCodePoints(digits, digitArray, 10)) { [all...] |
collationiterator.cpp | 688 // Collect digits. 689 CharString digits; local 693 digits.append(digit, errorCode); 710 digits.append(digit, errorCode); 723 char *p = digits.data(); 724 char *q = p + digits.length() - 1; 735 while(pos < (digits.length() - 1) && digits[pos] == 0) { ++pos; } 736 // Write a sequence of CEs for at most 254 digits at a time. 737 int32_t segmentLength = digits.length() - pos [all...] |
/external/python/cpython2/Objects/stringlib/ |
localeutil.h | 48 /* Fill in some digits, leading zeros, and thousands separator. All 86 * @digits: A pointer to the digits we're reading from. If count 88 * @n_digits: The number of digits in the string, in which we want 90 * @min_width: The minimum width of the digits in the output string. 115 STRINGLIB_CHAR *digits, 141 digits_end = digits + n_digits; 193 * @n_digits: The number of digits in the string, in which we want 201 STRINGLIB_CHAR *digits, 209 return _Py_InsertThousandsGrouping(buffer, n_buffer, digits, n_digits [all...] |
/external/tcpdump/ |
addrtostr.c | 65 const char digits[] = "0123456789"; local 78 *dst++ = digits[n / 100]; 83 *dst++ = digits[n / 10]; 87 *dst++ = digits[n];
|
/external/webrtc/webrtc/base/ |
random.h | 32 std::numeric_limits<T>::digits <= 32,
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/ |
misctest.cpp | 346 static const char digits[201] =
variable 435 // Using digits LUT to reduce divsion/modulo
460 *p++ = digits[i + 1];
461 *p++ = digits[i];
467 *p++ = digits[i + 1];
468 *p++ = digits[i];
493 *p++ = digits[i + 1];
494 *p++ = digits[i];
500 *p++ = digits[i + 1];
501 *p++ = digits[i]; [all...] |
/prebuilts/go/darwin-x86/test/fixedbugs/ |
issue14636.go | 21 checkLinkOutput("0x0", "-B argument must have even number of digits") 25 checkLinkOutput("0x"+strings.Repeat("00", 33), "-B option too long (max 32 digits)")
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
issue14636.go | 21 checkLinkOutput("0x0", "-B argument must have even number of digits") 25 checkLinkOutput("0x"+strings.Repeat("00", 33), "-B option too long (max 32 digits)")
|
/prebuilts/go/darwin-x86/src/fmt/ |
format.go | 194 func (f *fmt) fmt_integer(u uint64, base int, isSigned bool, digits string) { 212 // Two ways to ask for extra leading zero digits: %.3d or %03d. 250 buf[i] = digits[u&0xF] 269 buf[i] = digits[u] 286 buf[i] = digits[16] 332 func (f *fmt) fmt_sbx(s string, b []byte, digits string) { 370 buf = append(buf, '0', digits[16]) 379 buf = append(buf, '0', digits[16]) 387 // Encode each byte as two hexadecimal digits. 388 buf = append(buf, digits[c>>4], digits[c&0xF] [all...] |
/prebuilts/go/linux-x86/src/fmt/ |
format.go | 194 func (f *fmt) fmt_integer(u uint64, base int, isSigned bool, digits string) { 212 // Two ways to ask for extra leading zero digits: %.3d or %03d. 250 buf[i] = digits[u&0xF] 269 buf[i] = digits[u] 286 buf[i] = digits[16] 332 func (f *fmt) fmt_sbx(s string, b []byte, digits string) { 370 buf = append(buf, '0', digits[16]) 379 buf = append(buf, '0', digits[16]) 387 // Encode each byte as two hexadecimal digits. 388 buf = append(buf, digits[c>>4], digits[c&0xF] [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
VersionInfo.java | 332 // preserve only digits, separated by single '.' 606 * @param minDigits Minimum number of version digits 607 * @param maxDigits Maximum number of version digits 620 int[] digits = new int[4]; local 621 digits[0] = getMajor(); 622 digits[1] = getMinor(); 623 digits[2] = getMilli(); 624 digits[3] = getMicro(); 628 if (digits[numDigits - 1] != 0) { 635 verStr.append(digits[0]) [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
VersionInfo.java | 364 // preserve only digits, separated by single '.' 646 * @param minDigits Minimum number of version digits 647 * @param maxDigits Maximum number of version digits 659 int[] digits = new int[4]; local 660 digits[0] = getMajor(); 661 digits[1] = getMinor(); 662 digits[2] = getMilli(); 663 digits[3] = getMicro(); 667 if (digits[numDigits - 1] != 0) { 674 verStr.append(digits[0]) [all...] |
/external/tensorflow/tensorflow/contrib/eager/python/examples/mnist/ |
mnist_test.py | 37 digits = tf.random_uniform([batch_size], minval=0, maxval=10, dtype=tf.int32) 38 labels = tf.one_hot(digits, 10)
|
/prebuilts/go/darwin-x86/src/math/big/ |
sqrt_test.go | 35 // 'sqrt(N) to 350 digits' 36 // 350 decimal digits give up to 1000 binary digits. 74 // (but do intermediate steps with 32 guard digits to
|
decimal.go | 28 mant []byte // mantissa ASCII digits, big-endian 46 // digits that need to be computed by init by providing an additional 87 // the decimal point independent of the number of digits. 107 // pick up enough leading digits to cover first shift 139 // write extra digits that still fit 149 // append additional digits that didn't fit 188 // appendZeros appends n 0 digits to buf and returns buf. 197 // if shortened to n digits. n must be a valid index 208 // round sets x to (at most) n mantissa digits by rounding it 209 // to the nearest even value with n (or fever) mantissa digits [all...] |
ratconv.go | 135 // exponent = ( "E" | "e" | "p" ) [ sign ] digits . 137 // digits = digit { digit } . 171 var digits []byte 173 digits = append(digits, '-') 176 // no need to use nat.scan for exponent digits 190 err = fmt.Errorf("invalid exponent (missing digits)") 195 digits = append(digits, ch) 199 exp, err = strconv.ParseInt(string(digits), 10, 64 [all...] |
/prebuilts/go/linux-x86/src/math/big/ |
sqrt_test.go | 35 // 'sqrt(N) to 350 digits' 36 // 350 decimal digits give up to 1000 binary digits. 74 // (but do intermediate steps with 32 guard digits to
|
decimal.go | 28 mant []byte // mantissa ASCII digits, big-endian 46 // digits that need to be computed by init by providing an additional 87 // the decimal point independent of the number of digits. 107 // pick up enough leading digits to cover first shift 139 // write extra digits that still fit 149 // append additional digits that didn't fit 188 // appendZeros appends n 0 digits to buf and returns buf. 197 // if shortened to n digits. n must be a valid index 208 // round sets x to (at most) n mantissa digits by rounding it 209 // to the nearest even value with n (or fever) mantissa digits [all...] |
ratconv.go | 135 // exponent = ( "E" | "e" | "p" ) [ sign ] digits . 137 // digits = digit { digit } . 171 var digits []byte 173 digits = append(digits, '-') 176 // no need to use nat.scan for exponent digits 190 err = fmt.Errorf("invalid exponent (missing digits)") 195 digits = append(digits, ch) 199 exp, err = strconv.ParseInt(string(digits), 10, 64 [all...] |
/external/protobuf/src/google/protobuf/stubs/ |
strutil.cc | 301 // The implementation of \x parses any positive number of hex digits, 350 case '0': case '1': case '2': case '3': // octal digit: 1 to 3 digits 372 while (isxdigit(p[1])) // arbitrarily many hex digits 382 // \uhhhh => convert 4 hex digits to UTF-8 390 << "\\u must be followed by 4 hex digits: \\" 399 // \Uhhhhhhhh => convert 8 hex digits to UTF-8 418 << "\\U must be followed by 8 hex digits: \\" 708 // loop over digits 749 // loop over digits 969 int digits; local 1060 int digits; local [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
CollationIterator.java | [all...] |
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
CollationIterator.java | [all...] |