/ndk/sources/cxx-stl/llvm-libc++/test/utilities/time/ |
seconds.pass.cpp | 25 static_assert(std::numeric_limits<Rep>::digits >= 34, "");
|
/external/icu4c/samples/datefmt/ |
util.cpp | 22 int8_t digits, 25 while (digits > 0) { 26 target += DIGIT_STRING[(number >> ((--digits) * 4)) & 0xF];
|
/external/icu4c/samples/msgfmt/ |
util.cpp | 22 int8_t digits, 25 while (digits > 0) { 26 target += DIGIT_STRING[(number >> ((--digits) * 4)) & 0xF];
|
/external/icu4c/samples/translit/ |
util.cpp | 22 int8_t digits, 25 while (digits > 0) { 26 target += DIGIT_STRING[(number >> ((--digits) * 4)) & 0xF];
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
Target.java | 186 // then only take last 4 digits 327 String digits = Long.toHexString(word); local 328 digits = digits.toUpperCase(); 329 int padding = numHexDigits - digits.length(); 334 buf.append(digits);
|
ActionScriptTarget.java | 116 private void writeHexWithPadding(StringBuffer buf, String digits) { 117 digits = digits.toUpperCase(); 118 int padding = 8 - digits.length(); 123 buf.append(digits);
|
/external/webkit/Source/WebCore/html/ |
HTMLFontElement.cpp | 92 Vector<UChar, 16> digits; 96 digits.append(*position++); 100 if (digits.isEmpty()) 104 int value = charactersToIntStrict(digits.data(), digits.size());
|
/libcore/luni/src/main/java/java/lang/ |
StrictMath.java | 287 * cancellation of significant digits). 1041 long digits = factor + Double.EXPONENT_BIAS + subNormalFactor; local 1093 int digits = factor + Float.EXPONENT_BIAS + subNormalFactor; local [all...] |
RealToString.java | 34 * An array of decimal digits, filled by longDigitGenerator or bigIntDigitGenerator. 36 private final int[] digits = new int[64]; field in class:RealToString 39 * Number of valid entries in 'digits'. 196 sb.append0((char) ('0' + digits[digitIndex++])); 206 sb.append0((char) ('0' + digits[digitIndex++])); 229 int U = digits[digitIndex++]; 240 U = digitIndex < digitCount ? digits[digitIndex++] : -1; 308 digits[digitCount++] = U; 311 digits[digitCount++] = U; 313 digits[digitCount++] = U + 1 [all...] |
IntegralToString.java | 102 * The digits for every supported radix. 104 private static final char[] DIGITS = { 151 buf[--cursor] = DIGITS[radix * q - i]; 219 // Calculate digits two-at-a-time till remaining digits fit in 16 bits 229 // Calculate remaining digits one-at-a-time for performance 234 buf[--cursor] = DIGITS[r]; 285 buf[--cursor] = DIGITS[(int) (radix * q - v)]; 337 int low = (int) (n % 1000000000); // Extract low-order 9 digits 340 // Zero-pad Low order part to 9 digits 458 char[] digits = upperCase ? UPPER_CASE_DIGITS : DIGITS; local 465 char[] digits = upperCase ? UPPER_CASE_DIGITS : DIGITS; local 473 char[] digits = upperCase ? UPPER_CASE_DIGITS : DIGITS; local 488 char[] digits = upperCase ? UPPER_CASE_DIGITS : DIGITS; local [all...] |
Math.java | 275 * cancellation of significant digits). The returned result is within 1 ulp 1164 long digits = factor + Double.EXPONENT_BIAS + subNormalFactor; local 1215 int digits = factor + Float.EXPONENT_BIAS + subNormalFactor; local [all...] |
/external/protobuf/src/google/protobuf/stubs/ |
strutil.cc | 236 // The implementation of \x parses any positive number of hex digits, 296 case '0': case '1': case '2': case '3': // octal digit: 1 to 3 digits 318 while (isxdigit(p[1])) // arbitrarily many hex digits 328 // \uhhhh => convert 4 hex digits to UTF-8 336 << "\\u must be followed by 4 hex digits: \\" 345 // \Uhhhhhhhh => convert 8 hex digits to UTF-8 364 << "\\U must be followed by 8 hex digits: \\" 734 int digits; local 738 // and by outputting two digits at a time rather than one. 743 digits = u / 100000000; // 100,000,00 825 int digits; local [all...] |
/external/stlport/src/ |
num_get_float.cpp | 86 wchar_t* digits) { 92 ct.widen(ndigits + 0, ndigits + 10, digits); 323 // Second argument is number of digits in buffer, 1 <= digits <= 17. 338 * 1) decimal digits as an integer 353 /* Convert the decimal digits to a binary integer. */ 420 if (value == (ULL(1) << (limits::digits - 1))) { /* carry created normal number */ 468 value &= ~(ULL(1) << (limits::digits - 1)); /* hide hidden bit */ 487 /* Convert the decimal digits to a binary integer. */ 530 if ( limits::digits < 64 ) 653 char digits[max_digits]; local 759 char digits[max_digits]; local [all...] |
/ndk/sources/cxx-stl/stlport/src/ |
num_get_float.cpp | 86 wchar_t* digits) { 92 ct.widen(ndigits + 0, ndigits + 10, digits); 323 // Second argument is number of digits in buffer, 1 <= digits <= 17. 338 * 1) decimal digits as an integer 353 /* Convert the decimal digits to a binary integer. */ 420 if (value == (ULL(1) << (limits::digits - 1))) { /* carry created normal number */ 468 value &= ~(ULL(1) << (limits::digits - 1)); /* hide hidden bit */ 487 /* Convert the decimal digits to a binary integer. */ 530 if ( limits::digits < 64 ) 653 char digits[max_digits]; local 759 char digits[max_digits]; local [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.util/rand.util.canonical/ |
generate_canonical.pass.cpp | 38 F f = std::generate_canonical<F, std::numeric_limits<F>::digits - 1>(r); 45 F f = std::generate_canonical<F, std::numeric_limits<F>::digits>(r); 52 F f = std::generate_canonical<F, std::numeric_limits<F>::digits + 1>(r); 74 F f = std::generate_canonical<F, std::numeric_limits<F>::digits - 1>(r); 84 F f = std::generate_canonical<F, std::numeric_limits<F>::digits>(r); 94 F f = std::generate_canonical<F, std::numeric_limits<F>::digits + 1>(r);
|
/libcore/luni/src/main/java/java/sql/ |
Date.java | 194 private void format(int date, int digits, StringBuilder sb) { 196 if (digits - str.length() > 0) { 197 sb.append(PADDING.substring(0, digits - str.length())); 239 * significance digits corresponding to milliseconds, seconds, minutes and
|
Time.java | 202 private void format(int date, int digits, StringBuilder sb) { 204 if (digits - str.length() > 0) { 205 sb.append(PADDING.substring(0, digits - str.length()));
|
/external/jhead/ |
gpsinfo.c | 212 int den, digits; local 215 digits = 0; 216 while (den > 1 && digits <= 6){ 218 digits += 1; 220 if (digits > 6) digits = 6; 221 FmtString[1+a*7] = (char)('2'+digits+(digits ? 1 : 0)); 222 FmtString[3+a*7] = (char)('0'+digits);
|
/external/stlport/test/unit/ |
num_facets_test.cpp | 59 string digits = "7"; local 60 complete_digits(digits); 61 ref += digits; 69 digits = "9"; 70 complete_digits(digits); 71 CPPUNIT_ASSERT( fostr.str() == string("1e+") + digits ); 86 digits = "7"; 87 complete_digits(digits); 88 CPPUNIT_ASSERT( fostr.str() == string("1e+") + digits );
|
/ndk/tests/device/test-gnustl-full/unit/ |
num_facets_test.cpp | 59 string digits = "7"; local 60 complete_digits(digits); 61 ref += digits; 69 digits = "9"; 70 complete_digits(digits); 71 CPPUNIT_ASSERT( fostr.str() == string("1e+") + digits ); 86 digits = "7"; 87 complete_digits(digits); 88 CPPUNIT_ASSERT( fostr.str() == string("1e+") + digits );
|
/ndk/tests/device/test-stlport/unit/ |
num_facets_test.cpp | 59 string digits = "7"; local 60 complete_digits(digits); 61 ref += digits; 69 digits = "9"; 70 complete_digits(digits); 71 CPPUNIT_ASSERT( fostr.str() == string("1e+") + digits ); 86 digits = "7"; 87 complete_digits(digits); 88 CPPUNIT_ASSERT( fostr.str() == string("1e+") + digits );
|
/libcore/luni/src/main/java/java/math/ |
Conversion.java | 57 int[] digits = val.digits; local 63 int highDigit = digits[numberLength - 1]; 84 System.arraycopy(digits, 0, temp, 0, numberLength); 91 // divide the array of digits by bigRadix and convert remainders 116 resDigit = digits[i] >> (j << 2) & 0xf; 141 int[] digits = val.digits; local 173 // one 32-bit unsigned value may contains 10 decimal digits 178 // inserting necessary scaled digits [all...] |
/external/icu4c/tools/genrb/ |
rbutil.c | 68 const char digits[16] = {'0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f'}; local 83 buffer[length++]= digits[digit];
|
/external/icu4c/i18n/ |
tzfmt.cpp | 324 UnicodeString digits = ns->getDescription(); local 325 useDefDigits = !toCodePoints(digits, fGMTOffsetDigits, 10); 502 TimeZoneFormat::getGMTOffsetDigits(UnicodeString& digits) const { 503 digits.remove(); 505 digits.append(fGMTOffsetDigits[i]); 507 return digits; 511 TimeZoneFormat::setGMTOffsetDigits(const UnicodeString& digits, UErrorCode& status) { 516 if (!toCodePoints(digits, digitArray, 10)) { 810 // parsed as localized GMT format, but offset digits were not detected (more specifically, GMT 835 // Note: When ISO 8601 format contains offset digits, it should no [all...] |
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
ISO8601Converter.java | 55 * <li>hh = two digits of hour (00 through 23) 56 * <li>mm = two digits of minute (00 through 59) 57 * <li>ss = two digits of second (00 through 59) 58 * <li>s = one or more digits representing a decimal fraction of a second 205 int digits = input.pos(); local 212 digits = input.pos() - digits; 213 for (; digits > 9; --digits) 217 for (; digits < 9; ++digits [all...] |