/ndk/tests/device/test-gnustl-full/unit/ |
D | complete_digits.h | 8 complete_digits(std::string &digits) in complete_digits() argument 10 complete_digits(string &digits) in complete_digits() 13 while (digits.size() < 2) in complete_digits() 15 digits.insert(digits.begin(), '0'); in complete_digits()
|
D | num_facets_test.cpp | 59 string digits = "7"; in _num_put_get() local 60 complete_digits(digits); in _num_put_get() 61 ref += digits; in _num_put_get() 69 digits = "9"; in _num_put_get() 70 complete_digits(digits); in _num_put_get() 71 CPPUNIT_ASSERT( fostr.str() == string("1e+") + digits ); in _num_put_get() 86 digits = "7"; in _num_put_get() 87 complete_digits(digits); in _num_put_get() 88 CPPUNIT_ASSERT( fostr.str() == string("1e+") + digits ); in _num_put_get()
|
D | num_put_get_test.cpp | 400 string output, digits; in num_put_float() local 407 digits = "17"; in num_put_float() 408 complete_digits(digits); in num_put_float() 409 CPPUNIT_CHECK(output == string("1.23457e+") + digits ); in num_put_float() 463 digits = "1"; in num_put_float() 464 complete_digits(digits); in num_put_float() 465 CPPUNIT_CHECK(output == string("1.23456780e-") + digits ); in num_put_float()
|
D | money_facets_test.cpp | 173 string digits; in _money_put_get2() local 178 fmg.get(istr, istreambuf_iterator<char, char_traits<char> >(), true, ostr, err, digits); in _money_put_get2() 180 CPPUNIT_ASSERT( digits == "123456" ); in _money_put_get2()
|
/ndk/tests/device/test-stlport/unit/ |
D | complete_digits.h | 8 complete_digits(std::string &digits) in complete_digits() argument 10 complete_digits(string &digits) in complete_digits() 13 while (digits.size() < 2) in complete_digits() 15 digits.insert(digits.begin(), '0'); in complete_digits()
|
D | num_facets_test.cpp | 59 string digits = "7"; in _num_put_get() local 60 complete_digits(digits); in _num_put_get() 61 ref += digits; in _num_put_get() 69 digits = "9"; in _num_put_get() 70 complete_digits(digits); in _num_put_get() 71 CPPUNIT_ASSERT( fostr.str() == string("1e+") + digits ); in _num_put_get() 86 digits = "7"; in _num_put_get() 87 complete_digits(digits); in _num_put_get() 88 CPPUNIT_ASSERT( fostr.str() == string("1e+") + digits ); in _num_put_get()
|
D | num_put_get_test.cpp | 400 string output, digits; in num_put_float() local 407 digits = "17"; in num_put_float() 408 complete_digits(digits); in num_put_float() 409 CPPUNIT_CHECK(output == string("1.23457e+") + digits ); in num_put_float() 463 digits = "1"; in num_put_float() 464 complete_digits(digits); in num_put_float() 465 CPPUNIT_CHECK(output == string("1.23456780e-") + digits ); in num_put_float()
|
D | money_facets_test.cpp | 173 string digits; in _money_put_get2() local 178 fmg.get(istr, istreambuf_iterator<char, char_traits<char> >(), true, ostr, err, digits); in _money_put_get2() 180 CPPUNIT_ASSERT( digits == "123456" ); in _money_put_get2()
|
/ndk/sources/cxx-stl/stlport/src/ |
D | num_get.cpp | 78 bool _STLP_CALL __get_fdigit(wchar_t& c, const wchar_t* digits) { in __get_fdigit() argument 79 const wchar_t* p = find(digits, digits + 10, c); in __get_fdigit() 80 if (p != digits + 10) { in __get_fdigit() 81 c = (char)('0' + (p - digits)); in __get_fdigit() 89 const wchar_t * digits) { in __get_fdigit_or_sep() argument 95 return __get_fdigit(c, digits); in __get_fdigit_or_sep()
|
D | num_get_float.cpp | 86 wchar_t* digits) { in _Initialize_get_float() argument 92 ct.widen(ndigits + 0, ndigits + 10, digits); in _Initialize_get_float() 420 if (value == (ULL(1) << (limits::digits - 1))) { /* carry created normal number */ in _Stl_atod() 468 value &= ~(ULL(1) << (limits::digits - 1)); /* hide hidden bit */ in _Stl_atod() 530 if ( limits::digits < 64 ) { in _Stl_atodT() 532 uint64_t rest = vv.i64 & ((~ULL(0) / ULL(2)) >> (limits::digits - 1)); in _Stl_atodT() 548 …if ( (vv.i64 >> (limits::digits < 64 ? limits::digits : 0)) != 0 ) { /* carry all the way across */ in _Stl_atodT() 555 vv.i64 &= ~(ULL(1) << (limits::digits - 1)); /* hide hidden bit */ in _Stl_atodT() 589 if (bexp < -limits::digits) { /* guaranteed underflow */ in _Stl_atodT() 621 if (vv.i64 == (ULL(1) << (limits::digits - 1))) { /* carry created normal number */ in _Stl_atodT() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/test/language.support/support.limits/limits/numeric.limits.members/ |
D | digits.pass.cpp | 21 static_assert(std::numeric_limits<T>::digits == expected, "digits test 1"); in test() 22 static_assert(std::numeric_limits<const T>::digits == expected, "digits test 2"); in test() 23 static_assert(std::numeric_limits<volatile T>::digits == expected, "digits test 3"); in test() 24 static_assert(std::numeric_limits<const volatile T>::digits == expected, "digits test 4"); in test()
|
D | const_data_members.pass.cpp | 45 test(std::numeric_limits<type>::digits); \
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.util/rand.util.canonical/ |
D | generate_canonical.pass.cpp | 38 F f = std::generate_canonical<F, std::numeric_limits<F>::digits - 1>(r); in main() 45 F f = std::generate_canonical<F, std::numeric_limits<F>::digits>(r); in main() 52 F f = std::generate_canonical<F, std::numeric_limits<F>::digits + 1>(r); in main() 74 F f = std::generate_canonical<F, std::numeric_limits<F>::digits - 1>(r); in main() 84 F f = std::generate_canonical<F, std::numeric_limits<F>::digits>(r); in main() 94 F f = std::generate_canonical<F, std::numeric_limits<F>::digits + 1>(r); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/src/ |
D | string.cpp | 524 const size_t n = (numeric_limits<int>::digits / 3) in to_wstring() 525 + ((numeric_limits<int>::digits % 3) != 0) in to_wstring() 545 const size_t n = (numeric_limits<unsigned>::digits / 3) in to_wstring() 546 + ((numeric_limits<unsigned>::digits % 3) != 0) in to_wstring() 566 const size_t n = (numeric_limits<long>::digits / 3) in to_wstring() 567 + ((numeric_limits<long>::digits % 3) != 0) in to_wstring() 587 const size_t n = (numeric_limits<unsigned long>::digits / 3) in to_wstring() 588 + ((numeric_limits<unsigned long>::digits % 3) != 0) in to_wstring() 608 const size_t n = (numeric_limits<long long>::digits / 3) in to_wstring() 609 + ((numeric_limits<long long>::digits % 3) != 0) in to_wstring() [all …]
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
D | _limits.h | 65 _STLP_STATIC_CONSTANT(int, digits = 0); 124 …_STLP_STATIC_CONSTANT(int, digits = (__idigits < 0) ? ((int)((sizeof(_Int) * (CHAR_BIT))) - ((__im… 125 _STLP_STATIC_CONSTANT(int, digits10 = (digits * 301UL) / 1000); 146 _STLP_STATIC_CONSTANT(int, digits = __Digits); 303 _STLP_STATIC_CONSTANT(int, digits = ((int)((sizeof(_STLP_LONG_LONG) * (CHAR_BIT))) - 1)); 304 _STLP_STATIC_CONSTANT(int, digits10 = (digits * 301UL) / 1000); 322 _STLP_STATIC_CONSTANT(int, digits = ((int)((sizeof(unsigned _STLP_LONG_LONG) * (CHAR_BIT))))); 323 _STLP_STATIC_CONSTANT(int, digits10 = (digits * 301UL) / 1000);
|
D | _limits.c | 41 __declare_numeric_base_member(int, digits); 70 __declare_integer_limits_member(int, digits); 84 _STLP_TEMPLATE_NULL const int numeric_limits<__integer>::digits; \ 116 __declare_float_limits_member(int, digits);
|
/ndk/sources/cxx-stl/llvm-libc++/include/ |
D | limits | 29 static constexpr int digits = 0; 147 static _LIBCPP_CONSTEXPR const int digits = 0; 181 template <class _Tp, int digits, bool is_signed> 184 static _LIBCPP_CONSTEXPR const _Tp value = _Tp(_Tp(1) << digits); 187 template <class _Tp, int digits> 188 struct __libcpp_compute_min<_Tp, digits, false> 202 …static _LIBCPP_CONSTEXPR const int digits = static_cast<int>(sizeof(type) * __CHAR_BIT__ - is_sig… 203 static _LIBCPP_CONSTEXPR const int digits10 = digits * 3 / 10; 205 … static _LIBCPP_CONSTEXPR const type __min = __libcpp_compute_min<type, digits, is_signed>::value; 254 static _LIBCPP_CONSTEXPR const int digits = 1; [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/time/ |
D | seconds.pass.cpp | 25 static_assert(std::numeric_limits<Rep>::digits >= 34, ""); in main()
|
D | hours.pass.cpp | 25 static_assert(std::numeric_limits<Rep>::digits >= 22, ""); in main()
|
D | milliseconds.pass.cpp | 25 static_assert(std::numeric_limits<Rep>::digits >= 44, ""); in main()
|
D | microseconds.pass.cpp | 25 static_assert(std::numeric_limits<Rep>::digits >= 54, ""); in main()
|
D | nanoseconds.pass.cpp | 25 static_assert(std::numeric_limits<Rep>::digits >= 63, ""); in main()
|
D | minutes.pass.cpp | 25 static_assert(std::numeric_limits<Rep>::digits >= 28, ""); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/test/language.support/support.limits/limits/numeric.limits/ |
D | default.pass.cpp | 33 static_assert(std::numeric_limits<A>::digits == 0, in main()
|
/ndk/sources/host-tools/sed-4.2.1/doc/ |
D | sed.texi | 856 In the C locale, this matches any @acronym{ASCII} letters or digits. 1710 is a nine the previous digits must be also incremented until you 1727 # replace all leading 9s by _ (any other character except digits, could 2084 is split so that changing digits go in a buffer and unchanged ones go 2085 in the other; the changed digits are modified in a single step 2121 # separate changing/unchanged digits with an x 2126 # keep changing digits in hold space 2134 # keep unchanged digits in pattern space 3103 sequence of up to three octal digits. If the first digit 3106 is itself an octal digit, you have to supply three octal digits [all …]
|