/ndk/sources/cxx-stl/llvm-libc++/test/localization/locale.categories/category.messages/locale.messages/ |
ctor.pass.cpp | 21 class my_facet class in inherits:F 27 explicit my_facet(std::size_t refs = 0) function in class:my_facet 30 ~my_facet() {--count;} 33 int my_facet::count = 0; 38 std::locale l(std::locale::classic(), new my_facet); local 39 assert(my_facet::count == 1); 41 assert(my_facet::count == 0); 43 my_facet f(1); 44 assert(my_facet::count == 1); 47 assert(my_facet::count == 1) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/localization/locale.categories/category.monetary/locale.money.get/ |
ctor.pass.cpp | 21 class my_facet class in inherits:F 27 explicit my_facet(std::size_t refs = 0) function in class:my_facet 30 ~my_facet() {--count;} 33 int my_facet::count = 0; 38 std::locale l(std::locale::classic(), new my_facet); local 39 assert(my_facet::count == 1); 41 assert(my_facet::count == 0); 43 my_facet f(1); 44 assert(my_facet::count == 1); 47 assert(my_facet::count == 1) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/localization/locale.categories/category.monetary/locale.money.put/ |
ctor.pass.cpp | 21 class my_facet class in inherits:F 27 explicit my_facet(std::size_t refs = 0) function in class:my_facet 30 ~my_facet() {--count;} 33 int my_facet::count = 0; 38 std::locale l(std::locale::classic(), new my_facet); local 39 assert(my_facet::count == 1); 41 assert(my_facet::count == 0); 43 my_facet f(1); 44 assert(my_facet::count == 1); 47 assert(my_facet::count == 1) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/localization/locale.categories/category.monetary/locale.moneypunct/ |
ctor.pass.cpp | 21 class my_facet class in inherits:F 27 explicit my_facet(std::size_t refs = 0) function in class:my_facet 30 ~my_facet() {--count;} 33 int my_facet::count = 0; 38 std::locale l(std::locale::classic(), new my_facet); local 39 assert(my_facet::count == 1); 41 assert(my_facet::count == 0); 43 my_facet f(1); 44 assert(my_facet::count == 1); 47 assert(my_facet::count == 1) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/localization/locale.categories/category.numeric/locale.nm.put/ |
ctor.pass.cpp | 21 class my_facet class in inherits:F 27 explicit my_facet(std::size_t refs = 0) function in class:my_facet 30 ~my_facet() {--count;} 33 int my_facet::count = 0; 38 std::locale l(std::locale::classic(), new my_facet); local 39 assert(my_facet::count == 1); 41 assert(my_facet::count == 0); 43 my_facet f(1); 44 assert(my_facet::count == 1); 47 assert(my_facet::count == 1) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/localization/locale.categories/category.numeric/locale.num.get/ |
ctor.pass.cpp | 21 class my_facet class in inherits:F 27 explicit my_facet(std::size_t refs = 0) function in class:my_facet 30 ~my_facet() {--count;} 33 int my_facet::count = 0; 38 std::locale l(std::locale::classic(), new my_facet); local 39 assert(my_facet::count == 1); 41 assert(my_facet::count == 0); 43 my_facet f(1); 44 assert(my_facet::count == 1); 47 assert(my_facet::count == 1) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/localization/locale.categories/category.time/locale.time.get/ |
ctor.pass.cpp | 21 class my_facet class in inherits:F 27 explicit my_facet(std::size_t refs = 0) function in class:my_facet 30 ~my_facet() {--count;} 33 int my_facet::count = 0; 38 std::locale l(std::locale::classic(), new my_facet); local 39 assert(my_facet::count == 1); 41 assert(my_facet::count == 0); 43 my_facet f(1); 44 assert(my_facet::count == 1); 47 assert(my_facet::count == 1) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/localization/locale.categories/category.time/locale.time.put/ |
ctor.pass.cpp | 21 class my_facet class in inherits:F 27 explicit my_facet(std::size_t refs = 0) function in class:my_facet 30 ~my_facet() {--count;} 33 int my_facet::count = 0; 38 std::locale l(std::locale::classic(), new my_facet); local 39 assert(my_facet::count == 1); 41 assert(my_facet::count == 0); 43 my_facet f(1); 44 assert(my_facet::count == 1); 47 assert(my_facet::count == 1) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/localization/locales/locale/locale.types/locale.facet/ |
facet.pass.cpp | 26 struct my_facet struct in inherits:std::locale::facet 30 my_facet(unsigned refs = 0) function in struct:my_facet 34 ~my_facet() {--count;} 37 int my_facet::count = 0; 41 my_facet* f = new my_facet; 43 assert(my_facet::count == 1); 45 assert(my_facet::count == 0); 46 f = new my_facet(1); 48 assert(my_facet::count == 1) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/localization/locale.categories/category.ctype/locale.codecvt.byname/ |
ctor_char.pass.cpp | 22 class my_facet class in inherits:F 28 explicit my_facet(const char* nm, std::size_t refs = 0) function in class:my_facet 30 explicit my_facet(const std::string& nm, std::size_t refs = 0) function in class:my_facet 33 ~my_facet() {--count;} 36 int my_facet::count = 0; 41 std::locale l(std::locale::classic(), new my_facet("en_US")); 42 assert(my_facet::count == 1); 44 assert(my_facet::count == 0); 46 my_facet f("en_US", 1); 47 assert(my_facet::count == 1) [all...] |
ctor_char16_t.pass.cpp | 22 class my_facet class in inherits:F 28 explicit my_facet(const char* nm, std::size_t refs = 0) function in class:my_facet 30 explicit my_facet(const std::string& nm, std::size_t refs = 0) function in class:my_facet 33 ~my_facet() {--count;} 36 int my_facet::count = 0; 41 std::locale l(std::locale::classic(), new my_facet("en_US")); 42 assert(my_facet::count == 1); 44 assert(my_facet::count == 0); 46 my_facet f("en_US", 1); 47 assert(my_facet::count == 1) [all...] |
ctor_char32_t.pass.cpp | 22 class my_facet class in inherits:F 28 explicit my_facet(const char* nm, std::size_t refs = 0) function in class:my_facet 30 explicit my_facet(const std::string& nm, std::size_t refs = 0) function in class:my_facet 33 ~my_facet() {--count;} 36 int my_facet::count = 0; 41 std::locale l(std::locale::classic(), new my_facet("en_US")); 42 assert(my_facet::count == 1); 44 assert(my_facet::count == 0); 46 my_facet f("en_US", 1); 47 assert(my_facet::count == 1) [all...] |
ctor_wchar_t.pass.cpp | 24 class my_facet class in inherits:F 30 explicit my_facet(const char* nm, std::size_t refs = 0) function in class:my_facet 32 explicit my_facet(const std::string& nm, std::size_t refs = 0) function in class:my_facet 35 ~my_facet() {--count;} 38 int my_facet::count = 0; 43 std::locale l(std::locale::classic(), new my_facet(LOCALE_en_US_UTF_8)); 44 assert(my_facet::count == 1); 46 assert(my_facet::count == 0); 48 my_facet f(LOCALE_en_US_UTF_8, 1); 49 assert(my_facet::count == 1) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/localization/locale.categories/category.collate/locale.collate/ |
ctor.pass.cpp | 21 class my_facet class in inherits:std::collate 27 explicit my_facet(std::size_t refs = 0) function in class:my_facet 30 ~my_facet() {--count;} 33 template <class C> int my_facet<C>::count = 0; 38 std::locale l(std::locale::classic(), new my_facet<char>); local 39 assert(my_facet<char>::count == 1); 41 assert(my_facet<char>::count == 0); 43 my_facet<char> f(1); 44 assert(my_facet<char>::count == 1); 47 assert(my_facet<char>::count == 1) 53 std::locale l(std::locale::classic(), new my_facet<wchar_t>); local [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/localization/locale.categories/facet.numpunct/locale.numpunct/ |
ctor.pass.cpp | 20 class my_facet class in inherits:std::numpunct 26 explicit my_facet(std::size_t refs = 0) function in class:my_facet 29 ~my_facet() {--count;} 32 template <class C> int my_facet<C>::count = 0; 37 std::locale l(std::locale::classic(), new my_facet<char>); local 38 assert(my_facet<char>::count == 1); 40 assert(my_facet<char>::count == 0); 42 my_facet<char> f(1); 43 assert(my_facet<char>::count == 1); 46 assert(my_facet<char>::count == 1) 52 std::locale l(std::locale::classic(), new my_facet<wchar_t>); local [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.members/ |
ctor.pass.cpp | 19 class my_facet class in inherits:std::ctype 25 explicit my_facet(const mask* tbl = 0, bool del = false, std::size_t refs = 0) function in class:my_facet 28 ~my_facet() {--count;} 31 int my_facet::count = 0; 36 std::locale l(std::locale::classic(), new my_facet); local 37 assert(my_facet::count == 1); 39 assert(my_facet::count == 0); 41 my_facet f(0, false, 1); 42 assert(my_facet::count == 1); 45 assert(my_facet::count == 1) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/localization/locale.categories/category.ctype/locale.codecvt/ |
ctor_char.pass.cpp | 21 class my_facet class in inherits:F 27 explicit my_facet(std::size_t refs = 0) function in class:my_facet 30 ~my_facet() {--count;} 33 int my_facet::count = 0; 38 std::locale l(std::locale::classic(), new my_facet); local 39 assert(my_facet::count == 1); 41 assert(my_facet::count == 0); 43 my_facet f(1); 44 assert(my_facet::count == 1); 47 assert(my_facet::count == 1) [all...] |
ctor_char16_t.pass.cpp | 23 class my_facet class in inherits:F 29 explicit my_facet(std::size_t refs = 0) function in class:my_facet 32 ~my_facet() {--count;} 35 int my_facet::count = 0; 43 std::locale l(std::locale::classic(), new my_facet); local 44 assert(my_facet::count == 1); 46 assert(my_facet::count == 0); 48 my_facet f(1); 49 assert(my_facet::count == 1); 52 assert(my_facet::count == 1) [all...] |
ctor_char32_t.pass.cpp | 23 class my_facet class in inherits:F 29 explicit my_facet(std::size_t refs = 0) function in class:my_facet 32 ~my_facet() {--count;} 35 int my_facet::count = 0; 43 std::locale l(std::locale::classic(), new my_facet); local 44 assert(my_facet::count == 1); 46 assert(my_facet::count == 0); 48 my_facet f(1); 49 assert(my_facet::count == 1); 52 assert(my_facet::count == 1) [all...] |
ctor_wchar_t.pass.cpp | 21 class my_facet class in inherits:F 27 explicit my_facet(std::size_t refs = 0) function in class:my_facet 30 ~my_facet() {--count;} 33 int my_facet::count = 0; 38 std::locale l(std::locale::classic(), new my_facet); local 39 assert(my_facet::count == 1); 41 assert(my_facet::count == 0); 43 my_facet f(1); 44 assert(my_facet::count == 1); 47 assert(my_facet::count == 1) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/localization/locale.categories/category.ctype/locale.ctype/ |
ctor.pass.cpp | 20 class my_facet class in inherits:std::ctype 26 explicit my_facet(std::size_t refs = 0) function in class:my_facet 29 ~my_facet() {--count;} 32 template <class C> int my_facet<C>::count = 0; 37 std::locale l(std::locale::classic(), new my_facet<wchar_t>); local 38 assert(my_facet<wchar_t>::count == 1); 40 assert(my_facet<wchar_t>::count == 0); 42 my_facet<wchar_t> f(1); 43 assert(my_facet<wchar_t>::count == 1); 46 assert(my_facet<wchar_t>::count == 1) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/localization/locales/locale.global.templates/ |
use_facet.pass.cpp | 19 struct my_facet struct in inherits:std::locale::facet 26 my_facet() : im_alive(true) {++facet_count;} function in struct:my_facet 27 ~my_facet() {im_alive = false; --facet_count;} 30 std::locale::id my_facet::id; 36 const my_facet& f = std::use_facet<my_facet>(std::locale()); 42 const my_facet* fp = 0; 44 std::locale loc(std::locale(), new my_facet); local 45 const my_facet& f = std::use_facet<my_facet>(loc) [all...] |
has_facet.pass.cpp | 17 struct my_facet struct in inherits:std::locale::facet 23 std::locale::id my_facet::id; 29 assert(!std::has_facet<my_facet>(loc)); 30 std::locale loc2(loc, new my_facet); 31 assert(std::has_facet<my_facet>(loc2));
|
/ndk/sources/cxx-stl/llvm-libc++/test/localization/locale.categories/category.time/locale.time.get.byname/ |
date_order.pass.cpp | 24 class my_facet class in inherits:F 28 explicit my_facet(const std::string& nm, std::size_t refs = 0) function in class:my_facet 35 const my_facet f(LOCALE_en_US_UTF_8, 1); 39 const my_facet f(LOCALE_fr_FR_UTF_8, 1); 43 const my_facet f(LOCALE_ru_RU_UTF_8, 1); 47 const my_facet f(LOCALE_zh_CN_UTF_8, 1);
|
/ndk/sources/cxx-stl/llvm-libc++/test/localization/locale.categories/category.time/locale.time.get/locale.time.get.members/ |
date_order.pass.cpp | 22 class my_facet class in inherits:F 26 explicit my_facet(std::size_t refs = 0) function in class:my_facet 32 const my_facet f(1);
|