Lines Matching refs:locale
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()
146 locale loc("C"); in loc_has_facet()
166 static locale global_loc;
167 static locale other_loc("");
170 void LocaleTest::_locale_init_problem( const locale& loc) in _locale_init_problem()
182 locale loc_ref(global_loc); in _locale_init_problem()
184 locale gloc( loc_ref, new my_facet() ); in _locale_init_problem()
187 locale::global( locale::classic() ); in _locale_init_problem()
188 locale::global( gloc ); in _locale_init_problem()
195 locale loc2( loc, new my_facet() ); in _locale_init_problem()
226 locale loc( "" ); in default_locale()
229 class dummy_facet : public locale::facet {
231 static locale::id id;
234 locale::id dummy_facet::id;
242 locale loc(""); in combine()
253 locale loc; in combine()
264 locale loc1(locale::classic()), loc2; in combine()
269 locale loc(_get_ref_monetary_name(_get_ref_monetary(i))); in combine()
270 if (loc1 == locale::classic()) in combine()
290 locale loc = loc1.combine<moneypunct<char, true> >(loc2); in combine()
306 locale loc = loc2.combine<numpunct<char> >(loc1); in combine()