Home | History | Annotate | Download | only in unit

Lines Matching refs:locale

5 #  include <locale>
29 typedef void (LocaleTest::*_Test) (const locale&);
33 locale loc;
37 locale tmp(tested_locales[i]);
42 //This locale is not supported.
54 * Check of the 22.1.1.2.7 standard point. Construction of a locale
59 locale loc(static_cast<char const*>(0));
69 locale loc("yasli_language");
81 locale loc(very_large_locale_name.c_str());
95 locale loc(very_large_locale_name.c_str());
108 locale loc(very_large_locale_name.c_str());
120 locale loc("C");
131 // On platform without real localization support we should rely on the "C" locale facet.
132 locale loc("");
146 locale loc("C");
162 * Creation of a locale instance imply initialization of some STLport internal
163 * static objects first. We use a static instance of locale to check that this
166 static locale global_loc;
167 static locale other_loc("");
170 void LocaleTest::_locale_init_problem( const locale& loc)
182 locale loc_ref(global_loc);
184 locale gloc( loc_ref, new my_facet() );
187 locale::global( locale::classic() );
188 locale::global( gloc );
195 locale loc2( loc, new my_facet() );
226 locale loc( "" );
229 class dummy_facet : public locale::facet {
231 static locale::id id;
234 locale::id dummy_facet::id;
242 locale loc("");
253 locale loc;
264 locale loc1(locale::classic()), loc2;
269 locale loc(_get_ref_monetary_name(_get_ref_monetary(i)));
270 if (loc1 == locale::classic())
289 //We check that resulting locale has correctly acquire loc2 facets.
290 locale loc = loc1.combine<moneypunct<char, true> >(loc2);
305 //We check that resulting locale has not wrongly acquire loc1 facets that hasn't been combine:
306 locale loc = loc2.combine<numpunct<char> >(loc1);
330 //This locale is not supported.