Home
last modified time | relevance | path

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

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