/ndk/sources/cxx-stl/stlport/stlport/stl/ |
D | _locale.h | 47 class locale; variable 50 bool __locale_do_operator_call(const locale& __loc, 60 bool _HasFacet(const locale& __loc, const _Facet* __facet) _STLP_NOTHROW; 63 _Facet* _UseFacet(const locale& __loc, const _Facet* __facet); 66 void _InsertFacet(locale& __loc, _Facet* __facet); 72 # define locale _STLP_NO_MEM_T_NAME(loc) macro 75 class _STLP_CLASS_DECLSPEC locale { 86 friend class locale; variable 118 locale() _STLP_NOTHROW; 119 locale(const locale&) _STLP_NOTHROW; [all …]
|
/ndk/sources/cxx-stl/stlport/src/ |
D | locale.cpp | 34 locale* _Stl_get_classic_locale(); 35 locale* _Stl_get_global_locale(); 39 # define locale _STLP_NO_MEM_T_NAME(loc) macro 42 locale::facet::~facet() {} in ~facet() 46 bool locale::operator()(const string& __x, in operator ()() 51 bool locale::operator()(const wstring& __x, in operator ()() 57 void _STLP_CALL locale::_M_throw_on_null_name() in _M_throw_on_null_name() 60 void _STLP_CALL locale::_M_throw_on_combine_error(const string& name) { in _M_throw_on_combine_error() 68 void _STLP_CALL locale::_M_throw_on_creation_failure(int __err_code, in _M_throw_on_creation_failure() 102 static const locale::id& _Stl_loc_get_index(locale::id& id) { in _Stl_loc_get_index() [all …]
|
D | locale_impl.h | 35 _STLP_EXPORT_TEMPLATE_CLASS allocator<locale::facet*>; 39 _STLP_EXPORT_TEMPLATE_CLASS _STLP_alloc_proxy<locale::facet**, locale::facet*, allocator<locale::fa… 40 _STLP_EXPORT_TEMPLATE_CLASS _Vector_base<locale::facet*, allocator<locale::facet*> >; 47 …ORT_TEMPLATE_CLASS __construct_checker<_STLP_NON_DBG_VECTOR<locale::facet*, allocator<locale::face… 48 _STLP_EXPORT_TEMPLATE_CLASS _STLP_NON_DBG_VECTOR<locale::facet*, allocator<locale::facet*> >; 53 _STLP_EXPORT_TEMPLATE_CLASS vector<locale::facet*, allocator<locale::facet*> >; 98 locale::facet* insert(locale::facet*, const locale::id& n); 99 void insert(_Locale_impl* from, const locale::id& n); 109 bool operator != (const locale& __loc) const { return __loc._M_impl != this; } 112 vector<locale::facet*> facets_vec; [all …]
|
D | locale_impl.cpp | 36 locale::facet * _STLP_CALL _get_facet(locale::facet *f) in _get_facet() 43 void _STLP_CALL _release_facet(locale::facet *&f) in _release_facet() 51 size_t locale::id::_S_max = 27; 76 facets_vec.reserve( locale::id::_S_max ); in _Locale_impl() 120 void _Locale_impl::insert(_Locale_impl *from, const locale::id& n) { in insert() 126 locale::facet* _Locale_impl::insert(locale::facet *f, const locale::id& n) { in insert() 155 _Locale_impl* i2 = locale::classic()._M_impl; in insert_ctype_facets() 163 locale::facet* ct = 0; in insert_ctype_facets() 164 locale::facet* cvt = 0; in insert_ctype_facets() 166 locale::facet* wct = 0; in insert_ctype_facets() [all …]
|
D | dll_main.cpp | 137 template class _STLP_CLASS_DECLSPEC allocator<locale::facet*>; 140 …mplate class _STLP_CLASS_DECLSPEC _STLP_alloc_proxy<locale::facet**, locale::facet*, allocator<loc… 141 template class _STLP_CLASS_DECLSPEC _Vector_base<locale::facet*, allocator<locale::facet*> >; 148 …ECLSPEC __construct_checker<_STLP_PRIV _STLP_NON_DBG_VECTOR<locale::facet*, allocator<locale::face… 149 template class _STLP_CLASS_DECLSPEC _STLP_NON_DBG_VECTOR<locale::facet*, allocator<locale::facet*> … 154 template class _STLP_CLASS_DECLSPEC vector<locale::facet*, allocator<locale::facet*> >;
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
D | localcharset.c | 346 const char *locale; in locale_charset() local 349 locale = getenv ("LC_ALL"); in locale_charset() 350 if (locale == NULL || locale[0] == '\0') in locale_charset() 352 locale = getenv ("LC_CTYPE"); in locale_charset() 353 if (locale == NULL || locale[0] == '\0') in locale_charset() 354 locale = getenv ("LANG"); in locale_charset() 356 if (locale != NULL && locale[0] != '\0') in locale_charset() 360 const char *dot = strchr (locale, '.'); in locale_charset() 389 const char *locale = NULL; in locale_charset() local 396 locale = setlocale (LC_CTYPE, NULL); in locale_charset() [all …]
|
/ndk/tests/device/test-gnustl-full/unit/ |
D | locale_test.cpp | 29 typedef void (LocaleTest::*_Test) (const locale&); 33 locale loc; in test_supported_locale() 37 locale tmp(tested_locales[i]); in test_supported_locale() 59 locale loc(static_cast<char const*>(0)); in locale_by_name() 69 locale loc("yasli_language"); in locale_by_name() 81 locale loc(very_large_locale_name.c_str()); in locale_by_name() 95 locale loc(very_large_locale_name.c_str()); in locale_by_name() 108 locale loc(very_large_locale_name.c_str()); in locale_by_name() 120 locale loc("C"); in locale_by_name() 132 locale loc(""); in locale_by_name() [all …]
|
D | num_facets_test.cpp | 34 void LocaleTest::_num_put_get( const locale& loc, const ref_locale* prl ) { in _num_put_get() 131 typedef void (LocaleTest::*_Test) (const locale&, const ref_locale*); 135 locale loc; in test_supported_locale() 140 locale tmp(tested_locales[i].name); in test_supported_locale() 153 locale tmp(locale::classic(), tested_locales[i].name, locale::numeric); in test_supported_locale() 159 locale tmp(locale::classic(), new numpunct_byname<char>(tested_locales[i].name)); in test_supported_locale() 179 locale loc(locale::classic(), new numpunct_byname<char>(static_cast<char const*>(0))); in numpunct_by_name() 191 locale loc(locale::classic(), new numpunct_byname<char>("yasli_language")); in numpunct_by_name() 204 locale loc(locale::classic(), new numpunct_byname<char>(veryLongFacetName.c_str())); in numpunct_by_name() 215 locale loc(locale::classic(), "C", locale::numeric); in numpunct_by_name() [all …]
|
D | time_facets_test.cpp | 25 void LocaleTest::_time_put_get( const locale& loc ) in _time_put_get() 194 typedef void (LocaleTest::*_Test) (const locale&); 198 locale loc; in test_supported_locale() 203 locale tmp(tested_locales[i]); in test_supported_locale() 216 locale tmp(locale::classic(), tested_locales[i], locale::time); in test_supported_locale() 223 locale tmp0(locale::classic(), new time_put_facet(tested_locales[i])); in test_supported_locale() 225 locale tmp1(tmp0, new time_get_facet(tested_locales[i])); in test_supported_locale() 245 …locale loc(locale::classic(), new time_put_byname<char, ostreambuf_iterator<char, char_traits<char… in time_by_name() 256 …locale loc(locale::classic(), new time_put_byname<char, ostreambuf_iterator<char, char_traits<char… in time_by_name() 268 …locale loc(locale::classic(), new time_put_byname<char, ostreambuf_iterator<char, char_traits<char… in time_by_name() [all …]
|
D | messages_facets_test.cpp | 24 locale loc(locale::classic(), new messages_byname<char>(static_cast<char const*>(0))); in messages_by_name() 36 locale loc(locale::classic(), new messages_byname<char>("yasli_language")); in messages_by_name() 62 locale loc(locale::classic(), new messages_byname<wchar_t>(static_cast<char const*>(0))); in messages_by_name() 73 locale loc(locale::classic(), new messages_byname<wchar_t>("yasli_language")); in messages_by_name()
|
D | locale_test.h | 77 void _loc_has_facet( const STD locale& ); 78 void _num_put_get( const STD locale&, const ref_locale* ); 79 void _time_put_get( const STD locale& ); 80 void _ctype_facet( const STD locale& ); 81 void _ctype_facet_w( const STD locale& ); 82 void _locale_init_problem( const STD locale& ); 87 void _money_put_get( const STD locale&, const ref_monetary* ); 88 void _money_put_get2( const STD locale& loc, const STD locale& streamLoc, const ref_monetary* ); 89 void _money_put_X_bug( const STD locale&, const ref_monetary* );
|
D | money_facets_test.cpp | 52 void LocaleTest::_money_put_get( const locale& loc, const ref_monetary* rl ) in _money_put_get() 57 void LocaleTest::_money_put_get2( const locale& loc, const locale& streamLoc, const ref_monetary* p… in _money_put_get2() 279 void LocaleTest::_money_put_X_bug( const locale& loc, const ref_monetary* prl ) in _money_put_X_bug() 417 typedef void (LocaleTest::*_Test) (const locale&, const ref_monetary*); 421 locale loc; in test_supported_locale() 426 locale tmp(tested_locales[i].name); in test_supported_locale() 439 locale tmp(locale::classic(), tested_locales[i].name, locale::monetary); in test_supported_locale() 445 locale tmp0(locale::classic(), new moneypunct_byname<char, true>(tested_locales[i].name)); in test_supported_locale() 446 locale tmp1(tmp0, new moneypunct_byname<char, false>(tested_locales[i].name)); in test_supported_locale() 469 locale loc(locale::classic(), new moneypunct_byname<char, true>(static_cast<char const*>(0))); in moneypunct_by_name() [all …]
|
D | collate_facets_test.cpp | 19 CPPUNIT_ASSERT( has_facet<collate<char> >(locale::classic()) ); in collate_facet() 20 collate<char> const& col = use_facet<collate<char> >(locale::classic()); in collate_facet() 37 locale loc("fr_FR"); in collate_facet() 151 locale loc(locale::classic(), new collate_byname<char>(static_cast<char const*>(0))); in collate_by_name() 163 locale loc(locale::classic(), new collate_byname<char>("yasli_language")); in collate_by_name() 176 locale loc(locale::classic(), new collate_byname<char>(veryLongFacetName.c_str())); in collate_by_name() 187 locale loc(locale::classic(), "C", locale::collate); in collate_by_name() 199 locale loc(locale::classic(), "", locale::collate); in collate_by_name() 210 locale loc(locale::classic(), new collate_byname<char>("C")); in collate_by_name() 214 collate<char> const& cfacet = use_facet<collate<char> >(locale::classic()); in collate_by_name() [all …]
|
D | ctype_facets_test.cpp | 27 void LocaleTest::_ctype_facet( const locale& loc) in _ctype_facet() 170 void LocaleTest::_ctype_facet_w( const locale& loc ) in _ctype_facet_w() 318 typedef void (LocaleTest::*_Test) (const locale&); 322 locale loc; in test_supported_locale() 327 locale tmp(tested_locales[i]); in test_supported_locale() 341 locale tmp(locale::classic(), tested_locales[i], locale::ctype); in test_supported_locale() 347 locale tmp(locale::classic(), new ctype_byname<char>(tested_locales[i])); in test_supported_locale() 349 locale tmp0(tmp, new ctype_byname<wchar_t>(tested_locales[i])); in test_supported_locale() 377 locale loc(locale::classic(), new ctype_byname<char>(static_cast<char const*>(0))); in ctype_by_name() 389 locale loc(locale::classic(), new ctype_byname<char>("yasli_language")); in ctype_by_name() [all …]
|
/ndk/tests/device/test-stlport/unit/ |
D | locale_test.cpp | 29 typedef void (LocaleTest::*_Test) (const locale&); 33 locale loc; in test_supported_locale() 37 locale tmp(tested_locales[i]); in test_supported_locale() 59 locale loc(static_cast<char const*>(0)); in locale_by_name() 69 locale loc("yasli_language"); in locale_by_name() 81 locale loc(very_large_locale_name.c_str()); in locale_by_name() 95 locale loc(very_large_locale_name.c_str()); in locale_by_name() 108 locale loc(very_large_locale_name.c_str()); in locale_by_name() 120 locale loc("C"); in locale_by_name() 132 locale loc(""); in locale_by_name() [all …]
|
D | num_facets_test.cpp | 34 void LocaleTest::_num_put_get( const locale& loc, const ref_locale* prl ) { in _num_put_get() 131 typedef void (LocaleTest::*_Test) (const locale&, const ref_locale*); 135 locale loc; in test_supported_locale() 140 locale tmp(tested_locales[i].name); in test_supported_locale() 153 locale tmp(locale::classic(), tested_locales[i].name, locale::numeric); in test_supported_locale() 159 locale tmp(locale::classic(), new numpunct_byname<char>(tested_locales[i].name)); in test_supported_locale() 179 locale loc(locale::classic(), new numpunct_byname<char>(static_cast<char const*>(0))); in numpunct_by_name() 191 locale loc(locale::classic(), new numpunct_byname<char>("yasli_language")); in numpunct_by_name() 204 locale loc(locale::classic(), new numpunct_byname<char>(veryLongFacetName.c_str())); in numpunct_by_name() 215 locale loc(locale::classic(), "C", locale::numeric); in numpunct_by_name() [all …]
|
D | time_facets_test.cpp | 25 void LocaleTest::_time_put_get( const locale& loc ) in _time_put_get() 194 typedef void (LocaleTest::*_Test) (const locale&); 198 locale loc; in test_supported_locale() 203 locale tmp(tested_locales[i]); in test_supported_locale() 216 locale tmp(locale::classic(), tested_locales[i], locale::time); in test_supported_locale() 223 locale tmp0(locale::classic(), new time_put_facet(tested_locales[i])); in test_supported_locale() 225 locale tmp1(tmp0, new time_get_facet(tested_locales[i])); in test_supported_locale() 245 …locale loc(locale::classic(), new time_put_byname<char, ostreambuf_iterator<char, char_traits<char… in time_by_name() 256 …locale loc(locale::classic(), new time_put_byname<char, ostreambuf_iterator<char, char_traits<char… in time_by_name() 268 …locale loc(locale::classic(), new time_put_byname<char, ostreambuf_iterator<char, char_traits<char… in time_by_name() [all …]
|
D | messages_facets_test.cpp | 24 locale loc(locale::classic(), new messages_byname<char>(static_cast<char const*>(0))); in messages_by_name() 36 locale loc(locale::classic(), new messages_byname<char>("yasli_language")); in messages_by_name() 62 locale loc(locale::classic(), new messages_byname<wchar_t>(static_cast<char const*>(0))); in messages_by_name() 73 locale loc(locale::classic(), new messages_byname<wchar_t>("yasli_language")); in messages_by_name()
|
D | locale_test.h | 77 void _loc_has_facet( const STD locale& ); 78 void _num_put_get( const STD locale&, const ref_locale* ); 79 void _time_put_get( const STD locale& ); 80 void _ctype_facet( const STD locale& ); 81 void _ctype_facet_w( const STD locale& ); 82 void _locale_init_problem( const STD locale& ); 87 void _money_put_get( const STD locale&, const ref_monetary* ); 88 void _money_put_get2( const STD locale& loc, const STD locale& streamLoc, const ref_monetary* ); 89 void _money_put_X_bug( const STD locale&, const ref_monetary* );
|
D | money_facets_test.cpp | 52 void LocaleTest::_money_put_get( const locale& loc, const ref_monetary* rl ) in _money_put_get() 57 void LocaleTest::_money_put_get2( const locale& loc, const locale& streamLoc, const ref_monetary* p… in _money_put_get2() 279 void LocaleTest::_money_put_X_bug( const locale& loc, const ref_monetary* prl ) in _money_put_X_bug() 417 typedef void (LocaleTest::*_Test) (const locale&, const ref_monetary*); 421 locale loc; in test_supported_locale() 426 locale tmp(tested_locales[i].name); in test_supported_locale() 439 locale tmp(locale::classic(), tested_locales[i].name, locale::monetary); in test_supported_locale() 445 locale tmp0(locale::classic(), new moneypunct_byname<char, true>(tested_locales[i].name)); in test_supported_locale() 446 locale tmp1(tmp0, new moneypunct_byname<char, false>(tested_locales[i].name)); in test_supported_locale() 469 locale loc(locale::classic(), new moneypunct_byname<char, true>(static_cast<char const*>(0))); in moneypunct_by_name() [all …]
|
D | collate_facets_test.cpp | 19 CPPUNIT_ASSERT( has_facet<collate<char> >(locale::classic()) ); in collate_facet() 20 collate<char> const& col = use_facet<collate<char> >(locale::classic()); in collate_facet() 37 locale loc("fr_FR"); in collate_facet() 151 locale loc(locale::classic(), new collate_byname<char>(static_cast<char const*>(0))); in collate_by_name() 163 locale loc(locale::classic(), new collate_byname<char>("yasli_language")); in collate_by_name() 176 locale loc(locale::classic(), new collate_byname<char>(veryLongFacetName.c_str())); in collate_by_name() 187 locale loc(locale::classic(), "C", locale::collate); in collate_by_name() 199 locale loc(locale::classic(), "", locale::collate); in collate_by_name() 210 locale loc(locale::classic(), new collate_byname<char>("C")); in collate_by_name() 214 collate<char> const& cfacet = use_facet<collate<char> >(locale::classic()); in collate_by_name() [all …]
|
D | ctype_facets_test.cpp | 27 void LocaleTest::_ctype_facet( const locale& loc) in _ctype_facet() 170 void LocaleTest::_ctype_facet_w( const locale& loc ) in _ctype_facet_w() 318 typedef void (LocaleTest::*_Test) (const locale&); 322 locale loc; in test_supported_locale() 327 locale tmp(tested_locales[i]); in test_supported_locale() 341 locale tmp(locale::classic(), tested_locales[i], locale::ctype); in test_supported_locale() 347 locale tmp(locale::classic(), new ctype_byname<char>(tested_locales[i])); in test_supported_locale() 349 locale tmp0(tmp, new ctype_byname<wchar_t>(tested_locales[i])); in test_supported_locale() 377 locale loc(locale::classic(), new ctype_byname<char>(static_cast<char const*>(0))); in ctype_by_name() 389 locale loc(locale::classic(), new ctype_byname<char>("yasli_language")); in ctype_by_name() [all …]
|
/ndk/sources/host-tools/sed-4.2.1/m4/ |
D | locale-fr.m4 | 1 # locale-fr.m4 serial 11 9 dnl Determine the name of a french locale with traditional encoding. 14 AC_CACHE_CHECK([for a traditional french locale], [gt_cv_locale_fr], [ 17 #include <locale.h> 27 /* Check whether the given locale name is recognized by the system. */ 30 On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) 31 is empty, and the behaviour of Tcl 8.4 in this locale is not useful. 32 On OpenBSD 4.0, when an unsupported locale is specified, setlocale() 43 /* On Cygwin, avoid locale names without encoding suffix, because the 54 On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point [all …]
|
D | locale-ja.m4 | 1 # locale-ja.m4 serial 7 9 dnl Determine the name of a japanese locale with EUC-JP encoding. 14 AC_CACHE_CHECK([for a traditional japanese locale], [gt_cv_locale_ja], [ 17 #include <locale.h> 29 /* Check whether the given locale name is recognized by the system. */ 32 On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) 33 is empty, and the behaviour of Tcl 8.4 in this locale is not useful. 34 On OpenBSD 4.0, when an unsupported locale is specified, setlocale() 45 /* On Cygwin, avoid locale names without encoding suffix, because the 70 # Test for the AIX locale name. [all …]
|
/ndk/sources/cxx-stl/stlport/stlport/ |
D | locale | 20 // Basic framework: class locale and class locale::facet 83 inline bool isspace (_CharT c, const locale& loc) 87 inline bool isprint (_CharT c, const locale& loc) 91 inline bool iscntrl (_CharT c, const locale& loc) 95 inline bool isupper (_CharT c, const locale& loc) 99 inline bool islower (_CharT c, const locale& loc) 103 inline bool isalpha (_CharT c, const locale& loc) 107 inline bool isdigit (_CharT c, const locale& loc) 111 inline bool ispunct (_CharT c, const locale& loc) 115 inline bool isxdigit (_CharT c, const locale& loc) [all …]
|