/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 | 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 | 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 | 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 …]
|