Searched defs:my_facet (Results 1 - 25 of 84) sorted by relevance

1234

/external/libcxx/test/localization/locale.categories/category.collate/locale.collate/
H A Dctor.pass.cpp21 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<cha
53 std::locale l(std::locale::classic(), new my_facet<wchar_t>); local
[all...]
/external/libcxx/test/localization/locale.categories/category.ctype/locale.ctype/
H A Dctor.pass.cpp20 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_
[all...]
/external/libcxx/test/localization/locale.categories/facet.numpunct/locale.numpunct/
H A Dctor.pass.cpp20 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<cha
52 std::locale l(std::locale::classic(), new my_facet<wchar_t>); local
[all...]
/external/libcxx/test/localization/locales/locale/locale.types/locale.facet/
H A Dfacet.pass.cpp26 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
[all...]
/external/libcxx/test/localization/locale.categories/category.time/locale.time.get/locale.time.get.members/
H A Ddate_order.pass.cpp22 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);
/external/libcxx/test/localization/locales/locale.global.templates/
H A Dhas_facet.pass.cpp17 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));
H A Duse_facet.pass.cpp19 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>(lo
[all...]
/external/libcxx/test/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.members/
H A Dctor.pass.cpp19 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
[all...]
/external/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/
H A Dctor_char.pass.cpp21 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
[all...]
H A Dctor_char16_t.pass.cpp23 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
[all...]
H A Dctor_char32_t.pass.cpp23 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
[all...]
H A Dctor_wchar_t.pass.cpp21 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
[all...]
/external/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt.byname/
H A Dctor_char.pass.cpp22 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
[all...]
H A Dctor_char16_t.pass.cpp22 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
[all...]
H A Dctor_char32_t.pass.cpp22 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
[all...]
H A Dctor_wchar_t.pass.cpp24 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
[all...]
/external/libcxx/test/localization/locale.categories/category.messages/locale.messages/
H A Dctor.pass.cpp21 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
[all...]
/external/libcxx/test/localization/locale.categories/category.monetary/locale.money.get/
H A Dctor.pass.cpp21 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
[all...]
/external/libcxx/test/localization/locale.categories/category.monetary/locale.money.put/
H A Dctor.pass.cpp21 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
[all...]
/external/libcxx/test/localization/locale.categories/category.monetary/locale.moneypunct/
H A Dctor.pass.cpp21 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
[all...]
/external/libcxx/test/localization/locale.categories/category.numeric/locale.nm.put/
H A Dctor.pass.cpp21 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
[all...]
/external/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/
H A Dctor.pass.cpp21 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
[all...]
/external/libcxx/test/localization/locale.categories/category.time/locale.time.get/
H A Dctor.pass.cpp21 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
[all...]
/external/libcxx/test/localization/locale.categories/category.time/locale.time.put/
H A Dctor.pass.cpp21 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
[all...]
/external/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/
H A Ddate_order.pass.cpp24 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);

Completed in 268 milliseconds

1234