Home | History | Annotate | Download | only in unit

Lines Matching full:loc

33     locale loc;
38 loc = tmp;
46 CPPUNIT_MESSAGE( loc.name().c_str() );
47 (inst.*__test)(loc);
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");
132 locale loc("");
146 locale loc("C");
148 CPPUNIT_ASSERT( has_facet<implemented_facet>(loc) );
151 CPPUNIT_ASSERT( !has_facet<not_implemented_facet>(loc) );
170 void LocaleTest::_locale_init_problem( const locale& loc)
195 locale loc2( loc, new my_facet() );
226 locale loc( "" );
242 locale loc("");
243 if (!has_facet<messages<char> >(loc)) {
244 loc.combine<messages<char> >(loc);
253 locale loc;
254 if (!has_facet<dummy_facet>(loc)) {
255 loc.combine<dummy_facet>(loc);
269 locale loc(_get_ref_monetary_name(_get_ref_monetary(i)));
272 loc1 = loc;
278 loc2 = loc;
290 locale loc = loc1.combine<moneypunct<char, true> >(loc2);
291 loc = loc.combine<moneypunct<char, false> >(loc2);
292 loc = loc.combine<money_put<char> >(loc2);
293 loc = loc.combine<money_get<char> >(loc2);
295 //Check loc has the correct facets:
296 _money_put_get2(loc2, loc, _get_ref_monetary(i));
306 locale loc = loc2.combine<numpunct<char> >(loc1);
307 loc = loc.combine<time_put<char> >(loc1);
308 loc = loc.combine<time_get<char> >(loc1);
310 //Check loc has the correct facets:
311 _money_put_get2(loc2, loc, _get_ref_monetary(i));