/ndk/sources/cxx-stl/stlport/src/ |
D | time_facets.cpp | 148 void __subformat(_STLP_BASIC_IOSTRING(_Ch) &buf, const ctype<_Ch>& ct, in __subformat() argument 159 __write_formatted_timeT(buf, ct, *cp++, mod, table, t); in __subformat() 174 static void __append(__iowstring &buf, char *first, char *last, const ctype<wchar_t>& ct) { in __append() argument 176 ct.widen(first, last, _wbuf); in __append() 214 const ctype<_Ch>& ct, in __write_formatted_timeT() argument 238 __subformat(buf, ct, (modifier != '#') ? table._M_date_time_format in __write_formatted_timeT() 244 __append(buf, _buf, ((long)t->tm_mday < 10L && modifier == '#') ? _buf + 1 : _buf + 2, ct); in __write_formatted_timeT() 249 __append(buf, _buf, _buf + 2, ct); in __write_formatted_timeT() 254 __append(buf, _buf, ((long)t->tm_hour < 10L && modifier == '#') ? _buf + 1 : _buf + 2, ct); in __write_formatted_timeT() 259 …append(buf, _buf, ((long)__hour12(t->tm_hour) < 10L && modifier == '#') ? _buf + 1 : _buf + 2, ct); in __write_formatted_timeT() [all …]
|
D | num_get_float.cpp | 83 _Initialize_get_float( const ctype<wchar_t>& ct, in _Initialize_get_float() argument 88 Plus = ct.widen('+'); in _Initialize_get_float() 89 Minus = ct.widen('-'); in _Initialize_get_float() 90 pow_e = ct.widen('e'); in _Initialize_get_float() 91 pow_E = ct.widen('E'); in _Initialize_get_float() 92 ct.widen(ndigits + 0, ndigits + 10, digits); in _Initialize_get_float()
|
D | messages.cpp | 152 …const wctype& ct = use_facet<wctype>(_M_map->lookup(_STLP_MUTABLE(_Messages_impl, _M_cat)[thecat])… in do_get() local 171 ct.widen(str, str + n, &*result.begin()); in do_get()
|
D | locale_impl.cpp | 163 locale::facet* ct = 0; in insert_ctype_facets() local 179 ct = new ctype_byname<char>(__lct); in insert_ctype_facets() 186 _STLP_UNWIND(delete ct); in insert_ctype_facets() 209 _STLP_UNWIND(delete cvt; delete ct); in insert_ctype_facets() 212 this->insert(ct, ctype<char>::id); in insert_ctype_facets()
|
D | num_put_float.cpp | 875 const ctype<wchar_t>& ct, wchar_t dot, bool __check_dot) { argument 882 out += ct.widen(*str_ite++); 890 out += ct.widen(*str_ite); 897 out += ct.widen(*str_ite);
|
/ndk/tests/device/test-stlport/unit/ |
D | ctype_facets_test.cpp | 30 ctype<char> const& ct = use_facet<ctype<char> >(loc); in _ctype_facet() local 33 CPPUNIT_ASSERT( ct.is(ctype_base::digit, '0') ); in _ctype_facet() 34 CPPUNIT_ASSERT( ct.is(ctype_base::upper, 'A') ); in _ctype_facet() 35 CPPUNIT_ASSERT( ct.is(ctype_base::lower, 'a') ); in _ctype_facet() 36 CPPUNIT_ASSERT( ct.is(ctype_base::alpha, 'A') ); in _ctype_facet() 37 CPPUNIT_ASSERT( ct.is(ctype_base::space, ' ') ); in _ctype_facet() 38 CPPUNIT_ASSERT( !ct.is(ctype_base::space, '2') ); in _ctype_facet() 39 CPPUNIT_ASSERT( ct.is(ctype_base::punct, '.') ); in _ctype_facet() 40 CPPUNIT_ASSERT( ct.is(ctype_base::xdigit, 'a') ); in _ctype_facet() 47 ct.is(values, values + sizeof(values), res); in _ctype_facet() [all …]
|
/ndk/tests/device/test-gnustl-full/unit/ |
D | ctype_facets_test.cpp | 30 ctype<char> const& ct = use_facet<ctype<char> >(loc); in _ctype_facet() local 33 CPPUNIT_ASSERT( ct.is(ctype_base::digit, '0') ); in _ctype_facet() 34 CPPUNIT_ASSERT( ct.is(ctype_base::upper, 'A') ); in _ctype_facet() 35 CPPUNIT_ASSERT( ct.is(ctype_base::lower, 'a') ); in _ctype_facet() 36 CPPUNIT_ASSERT( ct.is(ctype_base::alpha, 'A') ); in _ctype_facet() 37 CPPUNIT_ASSERT( ct.is(ctype_base::space, ' ') ); in _ctype_facet() 38 CPPUNIT_ASSERT( !ct.is(ctype_base::space, '2') ); in _ctype_facet() 39 CPPUNIT_ASSERT( ct.is(ctype_base::punct, '.') ); in _ctype_facet() 40 CPPUNIT_ASSERT( ct.is(ctype_base::xdigit, 'a') ); in _ctype_facet() 47 ct.is(values, values + sizeof(values), res); in _ctype_facet() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/ |
D | __scan_keyword.pass.cpp | 44 const std::ctype<char>& ct = std::use_facet<std::ctype<char> >(std::locale::classic()); in main() local 53 ct, err); in main() 65 ct, err); in main() 77 ct, err); in main() 89 ct, err); in main() 101 ct, err); in main() 113 ct, err, false); in main()
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/impl/ |
D | test_tools.ipp | 119 tool_level tl, check_type ct, 159 switch( ct ) { 202 … << ll << prefix << arg1_descr << check_str[ct-CHECK_EQUAL] << arg2_descr << suffix; 205 unit_test_log << " [" << *arg1_val << rever_str[ct-CHECK_EQUAL] << *arg2_val << "]" ; 230 unit_test_log << "difference{" << pr.message() << (ct == CHECK_CLOSE ? "%" : "") 235 if( ct == CHECK_CLOSE )
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/ |
D | locale.cpp | 4710 __time_get_storage<char>::__analyze(char fmt, const ctype<char>& ct) in __analyze() argument 4732 if (ct.is(ctype_base::space, *bb)) in __analyze() 4735 for (++bb; bb != be && ct.is(ctype_base::space, *bb); ++bb) in __analyze() 4742 ct, err, false) in __analyze() 4756 ct, err, false) in __analyze() 4765 if (fmt == 'x' && ct.is(ctype_base::digit, this->__months_[i][0])) in __analyze() 4774 ct, err, false) - this->__am_pm_; in __analyze() 4784 if (ct.is(ctype_base::digit, *bb)) in __analyze() 4786 switch(__get_up_to_n_digits(bb, be, err, ct, 4)) in __analyze() 4856 __time_get_storage<wchar_t>::__analyze(char fmt, const ctype<wchar_t>& ct) in __analyze() argument [all …]
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/ |
D | test_tools.hpp | 481 tool_level tl, check_type ct, 506 tool_level tl, check_type ct \ 512 check_descr, file_name, line_num, tl, ct, \
|