/ndk/sources/cxx-stl/llvm-libc++/libcxx/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/chromium_org/third_party/WebKit/Source/core/html/ |
MediaFragmentURIParser.cpp | 42 StringBuilder digits; local 47 digits.append(input[position++]); 48 return digits.toString(); 53 StringBuilder digits; local 60 digits.append(input[position++]); 62 digits.append(input[position++]); 63 return digits.toString(); 248 // seconds must be specified as exactly two digits, hours and fractional 249 // seconds can be any number of digits. The hours, minutes and seconds 274 String digits = collectFraction(timeString, length, offset) [all...] |
/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 );
|
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.8/include/parallel/ |
types.h | 130 static const int _CASable_bits = std::numeric_limits<_CASable>::digits;
|
random_number.h | 76 _M_rand_sup(1ULL << std::numeric_limits<uint32_t>::digits), 87 _M_rand_sup(1ULL << std::numeric_limits<uint32_t>::digits),
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/ |
IntegralToString.java | 95 * The digits for every supported radix. 97 private static final char[] DIGITS = { 144 buf[--cursor] = DIGITS[radix * q - i]; 212 // Calculate digits two-at-a-time till remaining digits fit in 16 bits 222 // Calculate remaining digits one-at-a-time for performance 227 buf[--cursor] = DIGITS[r]; 278 buf[--cursor] = DIGITS[(int) (radix * q - v)]; 330 int low = (int) (n % 1000000000); // Extract low-order 9 digits 333 // Zero-pad Low order part to 9 digits 451 char[] digits = upperCase ? UPPER_CASE_DIGITS : DIGITS; local 458 char[] digits = upperCase ? UPPER_CASE_DIGITS : DIGITS; local 466 char[] digits = upperCase ? UPPER_CASE_DIGITS : DIGITS; local 481 char[] digits = upperCase ? UPPER_CASE_DIGITS : DIGITS; local [all...] |
/libcore/luni/src/main/java/java/lang/ |
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 | 283 * cancellation of significant digits). The returned result is within 1 ulp 1176 long digits = factor + Double.EXPONENT_BIAS + subNormalFactor; local 1227 int digits = factor + Float.EXPONENT_BIAS + subNormalFactor; local [all...] |
/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/chromium_org/third_party/icu/source/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/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/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
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/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...] |
/libcore/luni/src/main/native/ |
java_lang_RealToString.cpp | 171 static jfieldID digitsFid = env->GetFieldID(JniConstants::realToStringClass, "digits", "[I"); 173 ScopedIntArrayRW digits(env, javaDigits.get()); 174 if (digits.get() == NULL) { 216 digits[digitCount++] = U; 222 digits[digitCount++] = U; 224 digits[digitCount++] = U + 1; 226 digits[digitCount++] = U; 228 digits[digitCount++] = U + 1;
|
/external/icu4c/samples/numfmt/ |
util.cpp | 33 int8_t digits, 36 while (digits > 0) { 37 digit = (number >> ((--digits) * 4)) & 0xF;
|
/external/chromium/base/ |
rand_util.cc | 32 static const int kBits = std::numeric_limits<double>::digits;
|
/external/tcpdump/missing/ |
inet_ntop.c | 66 const char digits[] = "0123456789"; local 81 *dst++ = digits[n / 100]; 86 *dst++ = digits[n / 10]; 90 *dst++ = digits[n];
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/numeric/conversion/detail/ |
is_subranged.hpp | 52 // numeric_limits<signed T>::digits + 1 == numeric_limits<unsigned T>::digits 54 // The '+1' is required since numeric_limits<>::digits gives 1 bit less for signed integral types. 58 // if ( (numeric_limits<T>::digits+1) < (2*numeric_limits<S>::digits) ) 62 typedef mpl::int_< ::std::numeric_limits<S>::digits > S_digits ; 63 typedef mpl::int_< ::std::numeric_limits<T>::digits > T_digits ; 65 // T is signed, so take digits+1 79 // An integral conversion of the same sign is subranged if digits(T) < digits(S) [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
RuimRecords.java | 196 private int adjstMinDigits (int digits) { 198 digits += 111; 199 digits = (digits % 10 == 0)?(digits - 10):digits; 200 digits = ((digits / 10) % 10 == 0)?(digits - 100):digits; [all...] |
/external/icu4c/i18n/ |
tzfmt.cpp | 399 UnicodeString digits = ns->getDescription(); local 400 useDefDigits = !toCodePoints(digits, fGMTOffsetDigits, 10); 595 TimeZoneFormat::getGMTOffsetDigits(UnicodeString& digits) const { 596 digits.remove(); 598 digits.append(fGMTOffsetDigits[i]); 600 return digits; 604 TimeZoneFormat::setGMTOffsetDigits(const UnicodeString& digits, UErrorCode& status) { 609 if (!toCodePoints(digits, digitArray, 10)) { [all...] |