Searched refs:loc2 (Results 1 - 14 of 14) sorted by relevance

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locales/locale.global.templates/
H A Dhas_facet.pass.cpp30 std::locale loc2(loc, new my_facet);
31 assert(std::has_facet<my_facet>(loc2));
/ndk/tests/device/test-gnustl-full/unit/
H A Dlocale_test.cpp195 locale loc2( loc, new my_facet() );
196 CPPUNIT_ASSERT( has_facet<my_facet>( loc2 ) );
197 os.imbue( loc2 );
264 locale loc1(locale::classic()), loc2;
278 loc2 = loc;
284 ostr << "combining '" << loc2.name() << "' money facets with '" << loc1.name() << "'";
289 //We check that resulting locale has correctly acquire loc2 facets.
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);
[all...]
/ndk/tests/device/test-stlport/unit/
H A Dlocale_test.cpp195 locale loc2( loc, new my_facet() );
196 CPPUNIT_ASSERT( has_facet<my_facet>( loc2 ) );
197 os.imbue( loc2 );
264 locale loc1(locale::classic()), loc2;
278 loc2 = loc;
284 ostr << "combining '" << loc2.name() << "' money facets with '" << loc1.name() << "'";
289 //We check that resulting locale has correctly acquire loc2 facets.
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);
[all...]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locales/locale/locale.cons/
H A Dlocale_facetptr.pass.cpp85 std::locale loc2(loc, new my_facet);
86 check(loc2);
87 assert((std::has_facet<my_facet>(loc2)));
88 const my_facet& f = std::use_facet<my_facet>(loc2);
97 std::locale loc2(loc, (std::ctype<char>*)0);
98 check(loc2);
99 assert(loc == loc2);
H A Dassign.pass.cpp73 std::locale loc2; local
74 loc2 = loc;
75 assert(loc == loc2);
77 check(loc2);
H A Dcopy.pass.cpp73 std::locale loc2 = loc; local
74 assert(loc == loc2);
76 check(loc2);
H A Dstring.pass.cpp74 std::locale loc2(std::string(LOCALE_ru_RU_UTF_8));
75 check(loc2);
76 assert(loc == loc2);
H A Dchar_pointer.pass.cpp74 std::locale loc2(LOCALE_ru_RU_UTF_8);
75 check(loc2);
76 assert(loc == loc2);
H A Ddefault.pass.cpp81 std::locale loc2; local
83 check(loc2);
85 assert(loc2 == std::locale(LOCALE_en_US_UTF_8));
H A Dlocale_char_pointer_cat.pass.cpp74 std::locale loc2(loc, LOCALE_en_US_UTF_8, std::locale::monetary);
75 check(loc2);
H A Dlocale_locale_cat.pass.cpp74 std::locale loc2(loc, std::locale(LOCALE_en_US_UTF_8), std::locale::monetary);
75 check(loc2);
H A Dlocale_string_cat.pass.cpp74 std::locale loc2(loc, std::string(LOCALE_en_US_UTF_8), std::locale::monetary);
75 check(loc2);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locales/locale/locale.statics/
H A Dglobal.pass.cpp60 std::locale loc2; local
61 check(loc2);
62 assert(loc2 == std::locale(LOCALE_en_US_UTF_8));
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locales/locale/locale.members/
H A Dcombine.pass.cpp82 std::locale loc2(loc, new my_facet);
83 std::locale loc3 = loc.combine<my_facet>(loc2);
95 std::locale loc2; local
98 std::locale loc3 = loc.combine<my_facet>(loc2);

Completed in 84 milliseconds