/ndk/tests/device/test-stlport/unit/ |
D | locale_test.cpp | 195 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/ |
D | locale_test.cpp | 195 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/ |
D | locale_facetptr.pass.cpp | 85 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()
|
D | assign.pass.cpp | 73 std::locale loc2; in main() local 74 loc2 = loc; in main() 75 assert(loc == loc2); in main() 77 check(loc2); in main()
|
D | copy.pass.cpp | 73 std::locale loc2 = loc; in main() local 74 assert(loc == loc2); in main() 76 check(loc2); in main()
|
D | string.pass.cpp | 74 std::locale loc2(std::string(LOCALE_ru_RU_UTF_8)); in main() local 75 check(loc2); in main() 76 assert(loc == loc2); in main()
|
D | char_pointer.pass.cpp | 74 std::locale loc2(LOCALE_ru_RU_UTF_8); in main() local 75 check(loc2); in main() 76 assert(loc == loc2); in main()
|
D | default.pass.cpp | 81 std::locale loc2; in main() local 83 check(loc2); in main() 85 assert(loc2 == std::locale(LOCALE_en_US_UTF_8)); in main()
|
D | locale_locale_cat.pass.cpp | 74 std::locale loc2(loc, std::locale(LOCALE_en_US_UTF_8), std::locale::monetary); in main() local 75 check(loc2); in main()
|
D | locale_string_cat.pass.cpp | 74 std::locale loc2(loc, std::string(LOCALE_en_US_UTF_8), std::locale::monetary); in main() local 75 check(loc2); in main()
|
D | locale_char_pointer_cat.pass.cpp | 74 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/ |
D | has_facet.pass.cpp | 30 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/ |
D | combine.pass.cpp | 82 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/ |
D | global.pass.cpp | 60 std::locale loc2; in main() local 61 check(loc2); in main() 62 assert(loc2 == std::locale(LOCALE_en_US_UTF_8)); in main()
|