/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/support/ibm/ |
D | xlocale.h | 39 locale_t newlocale(int category_mask, const char *locale, locale_t base) in newlocale() argument 42 if ((loc = (_LC_locale_t *)__xopen_locale(locale)) == NULL) in newlocale() 81 int isalnum_l(int c, locale_t locale) in isalnum_l() argument 83 return __xisalnum(locale, c); in isalnum_l() 86 int isalpha_l(int c, locale_t locale) in isalpha_l() argument 88 return __xisalpha(locale, c); in isalpha_l() 91 int isblank_l(int c, locale_t locale) in isblank_l() argument 93 return __xisblank(locale, c); in isblank_l() 96 int iscntrl_l(int c, locale_t locale) in iscntrl_l() argument 98 return __xiscntrl(locale, c); in iscntrl_l() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locales/locale/locale.types/locale.category/ |
D | category.pass.cpp | 29 static_assert((std::is_same<std::locale::category, int>::value), ""); in main() 30 assert(std::locale::none == 0); in main() 31 assert(std::locale::collate); in main() 32 assert(std::locale::ctype); in main() 33 assert(std::locale::monetary); in main() 34 assert(std::locale::numeric); in main() 35 assert(std::locale::time); in main() 36 assert(std::locale::messages); in main() 37 assert((std::locale::collate in main() 38 & std::locale::ctype in main() [all …]
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
D | _locale.h | 49 class locale; variable 52 bool __locale_do_operator_call(const locale& __loc, 62 bool _HasFacet(const locale& __loc, const _Facet* __facet) _STLP_NOTHROW; 65 _Facet* _UseFacet(const locale& __loc, const _Facet* __facet); 68 void _InsertFacet(locale& __loc, _Facet* __facet); 74 # define locale _STLP_NO_MEM_T_NAME(loc) macro 77 class _STLP_CLASS_DECLSPEC locale { 88 friend class locale; variable 120 locale() _STLP_NOTHROW; 121 locale(const locale&) _STLP_NOTHROW; [all …]
|
/ndk/sources/android/support/ |
D | Android.mk | 9 src/musl-locale/catclose.c \ 10 src/musl-locale/catgets.c \ 11 src/musl-locale/catopen.c \ 12 src/musl-locale/isdigit_l.c \ 13 src/musl-locale/islower_l.c \ 14 src/musl-locale/isupper_l.c \ 15 src/musl-locale/iswalpha_l.c \ 16 src/musl-locale/iswblank_l.c \ 17 src/musl-locale/iswcntrl_l.c \ 18 src/musl-locale/iswdigit_l.c \ [all …]
|
/ndk/sources/cxx-stl/stlport/src/ |
D | locale.cpp | 35 locale* _Stl_get_classic_locale(); 36 locale* _Stl_get_global_locale(); 40 # define locale _STLP_NO_MEM_T_NAME(loc) macro 43 locale::facet::~facet() {} in ~facet() 47 bool locale::operator()(const string& __x, in operator ()() 52 bool locale::operator()(const wstring& __x, in operator ()() 58 void _STLP_CALL locale::_M_throw_on_null_name() in _M_throw_on_null_name() 61 void _STLP_CALL locale::_M_throw_on_combine_error(const string& name) { in _M_throw_on_combine_error() 69 void _STLP_CALL locale::_M_throw_on_creation_failure(int __err_code, in _M_throw_on_creation_failure() 103 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 …]
|
/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* );
|
/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* );
|
/ndk/tests/device/test-libc++-shared-full/ |
D | BROKEN_RUN | 18 cd ~/libcxx-test/localization/locale.categories/category.collate/locale.collate.byname 23 cd ~/libcxx-test/localization/locale.categories/category.ctype/locale.ctype.byname 28 cd ~/libcxx-test/localization/locale.categories/category.ctype/locale.ctype.byname 33 cd ~/libcxx-test/localization/locale.categories/category.ctype/locale.ctype.byname 38 cd ~/libcxx-test/localization/locale.categories/category.ctype/locale.ctype.byname 43 cd ~/libcxx-test/localization/locale.categories/category.ctype/locale.ctype.byname 48 cd ~/libcxx-test/localization/locale.categories/category.ctype/locale.ctype.byname 53 cd ~/libcxx-test/localization/locale.categories/category.ctype/locale.ctype.byname 58 cd ~/libcxx-test/localization/locale.categories/category.ctype/locale.ctype.byname 63 cd ~/libcxx-test/localization/locale.categories/category.ctype/locale.ctype.byname [all …]
|
/ndk/tests/device/test-libc++-static-full/ |
D | BROKEN_RUN | 18 cd ~/libcxx-test/localization/locale.categories/category.collate/locale.collate.byname 23 cd ~/libcxx-test/localization/locale.categories/category.ctype/locale.ctype.byname 28 cd ~/libcxx-test/localization/locale.categories/category.ctype/locale.ctype.byname 33 cd ~/libcxx-test/localization/locale.categories/category.ctype/locale.ctype.byname 38 cd ~/libcxx-test/localization/locale.categories/category.ctype/locale.ctype.byname 43 cd ~/libcxx-test/localization/locale.categories/category.ctype/locale.ctype.byname 48 cd ~/libcxx-test/localization/locale.categories/category.ctype/locale.ctype.byname 53 cd ~/libcxx-test/localization/locale.categories/category.ctype/locale.ctype.byname 58 cd ~/libcxx-test/localization/locale.categories/category.ctype/locale.ctype.byname 63 cd ~/libcxx-test/localization/locale.categories/category.ctype/locale.ctype.byname [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/facet.numpunct/locale.numpunct/ |
D | ctor.pass.cpp | 37 std::locale l(std::locale::classic(), new my_facet<char>); in main() 45 std::locale l(std::locale::classic(), &f); in main() 52 std::locale l(std::locale::classic(), new my_facet<wchar_t>); in main() 60 std::locale l(std::locale::classic(), &f); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.collate/locale.collate/ |
D | ctor.pass.cpp | 38 std::locale l(std::locale::classic(), new my_facet<char>); in main() 46 std::locale l(std::locale::classic(), &f); in main() 53 std::locale l(std::locale::classic(), new my_facet<wchar_t>); in main() 61 std::locale l(std::locale::classic(), &f); in main()
|
/ndk/sources/android/support/src/locale/ |
D | setlocale.c | 31 char *setlocale(int category, const char *locale) { in setlocale() argument 33 if (locale == NULL) { in setlocale() 38 if (*locale && strcmp(locale, "C") && strcmp(locale, "POSIX")) { in setlocale()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt.byname/ |
D | ctor_char16_t.pass.cpp | 41 std::locale l(std::locale::classic(), new my_facet("en_US")); in main() 49 std::locale l(std::locale::classic(), &f); in main() 56 std::locale l(std::locale::classic(), new my_facet(std::string("en_US"))); in main() 64 std::locale l(std::locale::classic(), &f); in main()
|
D | ctor_char32_t.pass.cpp | 41 std::locale l(std::locale::classic(), new my_facet("en_US")); in main() 49 std::locale l(std::locale::classic(), &f); in main() 56 std::locale l(std::locale::classic(), new my_facet(std::string("en_US"))); in main() 64 std::locale l(std::locale::classic(), &f); in main()
|