/external/libcxx/test/std/localization/locales/locale/locale.statics/ |
D | global.pass.cpp | 23 assert(std::has_facet<std::collate<char> >(loc)); in check() 24 assert(std::has_facet<std::collate<wchar_t> >(loc)); in check() 26 assert(std::has_facet<std::ctype<char> >(loc)); in check() 27 assert(std::has_facet<std::ctype<wchar_t> >(loc)); in check() 28 assert((std::has_facet<std::codecvt<char, char, std::mbstate_t> >(loc))); in check() 29 assert((std::has_facet<std::codecvt<char16_t, char, std::mbstate_t> >(loc))); in check() 30 assert((std::has_facet<std::codecvt<char32_t, char, std::mbstate_t> >(loc))); in check() 31 assert((std::has_facet<std::codecvt<wchar_t, char, std::mbstate_t> >(loc))); in check() 33 assert((std::has_facet<std::moneypunct<char> >(loc))); in check() 34 assert((std::has_facet<std::moneypunct<wchar_t> >(loc))); in check() [all …]
|
D | classic.pass.cpp | 19 assert(std::has_facet<std::collate<char> >(loc)); in check() 20 assert(std::has_facet<std::collate<wchar_t> >(loc)); in check() 22 assert(std::has_facet<std::ctype<char> >(loc)); in check() 23 assert(std::has_facet<std::ctype<wchar_t> >(loc)); in check() 24 assert((std::has_facet<std::codecvt<char, char, std::mbstate_t> >(loc))); in check() 25 assert((std::has_facet<std::codecvt<char16_t, char, std::mbstate_t> >(loc))); in check() 26 assert((std::has_facet<std::codecvt<char32_t, char, std::mbstate_t> >(loc))); in check() 27 assert((std::has_facet<std::codecvt<wchar_t, char, std::mbstate_t> >(loc))); in check() 29 assert((std::has_facet<std::moneypunct<char> >(loc))); in check() 30 assert((std::has_facet<std::moneypunct<wchar_t> >(loc))); in check() [all …]
|
/external/libcxx/test/std/localization/locales/locale/locale.cons/ |
D | locale_char_pointer_cat.pass.cpp | 26 assert(std::has_facet<std::collate<char> >(loc)); in check() 27 assert(std::has_facet<std::collate<wchar_t> >(loc)); in check() 29 assert(std::has_facet<std::ctype<char> >(loc)); in check() 30 assert(std::has_facet<std::ctype<wchar_t> >(loc)); in check() 31 assert((std::has_facet<std::codecvt<char, char, std::mbstate_t> >(loc))); in check() 32 assert((std::has_facet<std::codecvt<char16_t, char, std::mbstate_t> >(loc))); in check() 33 assert((std::has_facet<std::codecvt<char32_t, char, std::mbstate_t> >(loc))); in check() 34 assert((std::has_facet<std::codecvt<wchar_t, char, std::mbstate_t> >(loc))); in check() 36 assert((std::has_facet<std::moneypunct<char> >(loc))); in check() 37 assert((std::has_facet<std::moneypunct<wchar_t> >(loc))); in check() [all …]
|
D | copy.pass.cpp | 25 assert(std::has_facet<std::collate<char> >(loc)); in check() 26 assert(std::has_facet<std::collate<wchar_t> >(loc)); in check() 28 assert(std::has_facet<std::ctype<char> >(loc)); in check() 29 assert(std::has_facet<std::ctype<wchar_t> >(loc)); in check() 30 assert((std::has_facet<std::codecvt<char, char, std::mbstate_t> >(loc))); in check() 31 assert((std::has_facet<std::codecvt<char16_t, char, std::mbstate_t> >(loc))); in check() 32 assert((std::has_facet<std::codecvt<char32_t, char, std::mbstate_t> >(loc))); in check() 33 assert((std::has_facet<std::codecvt<wchar_t, char, std::mbstate_t> >(loc))); in check() 35 assert((std::has_facet<std::moneypunct<char> >(loc))); in check() 36 assert((std::has_facet<std::moneypunct<wchar_t> >(loc))); in check() [all …]
|
D | assign.pass.cpp | 27 assert(std::has_facet<std::collate<char> >(loc)); in check() 28 assert(std::has_facet<std::collate<wchar_t> >(loc)); in check() 30 assert(std::has_facet<std::ctype<char> >(loc)); in check() 31 assert(std::has_facet<std::ctype<wchar_t> >(loc)); in check() 32 assert((std::has_facet<std::codecvt<char, char, std::mbstate_t> >(loc))); in check() 33 assert((std::has_facet<std::codecvt<char16_t, char, std::mbstate_t> >(loc))); in check() 34 assert((std::has_facet<std::codecvt<char32_t, char, std::mbstate_t> >(loc))); in check() 35 assert((std::has_facet<std::codecvt<wchar_t, char, std::mbstate_t> >(loc))); in check() 37 assert((std::has_facet<std::moneypunct<char> >(loc))); in check() 38 assert((std::has_facet<std::moneypunct<wchar_t> >(loc))); in check() [all …]
|
D | locale_locale_cat.pass.cpp | 26 assert(std::has_facet<std::collate<char> >(loc)); in check() 27 assert(std::has_facet<std::collate<wchar_t> >(loc)); in check() 29 assert(std::has_facet<std::ctype<char> >(loc)); in check() 30 assert(std::has_facet<std::ctype<wchar_t> >(loc)); in check() 31 assert((std::has_facet<std::codecvt<char, char, std::mbstate_t> >(loc))); in check() 32 assert((std::has_facet<std::codecvt<char16_t, char, std::mbstate_t> >(loc))); in check() 33 assert((std::has_facet<std::codecvt<char32_t, char, std::mbstate_t> >(loc))); in check() 34 assert((std::has_facet<std::codecvt<wchar_t, char, std::mbstate_t> >(loc))); in check() 36 assert((std::has_facet<std::moneypunct<char> >(loc))); in check() 37 assert((std::has_facet<std::moneypunct<wchar_t> >(loc))); in check() [all …]
|
D | locale_string_cat.pass.cpp | 27 assert(std::has_facet<std::collate<char> >(loc)); in check() 28 assert(std::has_facet<std::collate<wchar_t> >(loc)); in check() 30 assert(std::has_facet<std::ctype<char> >(loc)); in check() 31 assert(std::has_facet<std::ctype<wchar_t> >(loc)); in check() 32 assert((std::has_facet<std::codecvt<char, char, std::mbstate_t> >(loc))); in check() 33 assert((std::has_facet<std::codecvt<char16_t, char, std::mbstate_t> >(loc))); in check() 34 assert((std::has_facet<std::codecvt<char32_t, char, std::mbstate_t> >(loc))); in check() 35 assert((std::has_facet<std::codecvt<wchar_t, char, std::mbstate_t> >(loc))); in check() 37 assert((std::has_facet<std::moneypunct<char> >(loc))); in check() 38 assert((std::has_facet<std::moneypunct<wchar_t> >(loc))); in check() [all …]
|
D | char_pointer.pass.cpp | 29 assert(std::has_facet<std::collate<char> >(loc)); in check() 30 assert(std::has_facet<std::collate<wchar_t> >(loc)); in check() 32 assert(std::has_facet<std::ctype<char> >(loc)); in check() 33 assert(std::has_facet<std::ctype<wchar_t> >(loc)); in check() 34 assert((std::has_facet<std::codecvt<char, char, std::mbstate_t> >(loc))); in check() 35 assert((std::has_facet<std::codecvt<char16_t, char, std::mbstate_t> >(loc))); in check() 36 assert((std::has_facet<std::codecvt<char32_t, char, std::mbstate_t> >(loc))); in check() 37 assert((std::has_facet<std::codecvt<wchar_t, char, std::mbstate_t> >(loc))); in check() 39 assert((std::has_facet<std::moneypunct<char> >(loc))); in check() 40 assert((std::has_facet<std::moneypunct<wchar_t> >(loc))); in check() [all …]
|
D | string.pass.cpp | 26 assert(std::has_facet<std::collate<char> >(loc)); in check() 27 assert(std::has_facet<std::collate<wchar_t> >(loc)); in check() 29 assert(std::has_facet<std::ctype<char> >(loc)); in check() 30 assert(std::has_facet<std::ctype<wchar_t> >(loc)); in check() 31 assert((std::has_facet<std::codecvt<char, char, std::mbstate_t> >(loc))); in check() 32 assert((std::has_facet<std::codecvt<char16_t, char, std::mbstate_t> >(loc))); in check() 33 assert((std::has_facet<std::codecvt<char32_t, char, std::mbstate_t> >(loc))); in check() 34 assert((std::has_facet<std::codecvt<wchar_t, char, std::mbstate_t> >(loc))); in check() 36 assert((std::has_facet<std::moneypunct<char> >(loc))); in check() 37 assert((std::has_facet<std::moneypunct<wchar_t> >(loc))); in check() [all …]
|
D | locale_facetptr.pass.cpp | 26 assert(std::has_facet<std::collate<char> >(loc)); in check() 27 assert(std::has_facet<std::collate<wchar_t> >(loc)); in check() 29 assert(std::has_facet<std::ctype<char> >(loc)); in check() 30 assert(std::has_facet<std::ctype<wchar_t> >(loc)); in check() 31 assert((std::has_facet<std::codecvt<char, char, std::mbstate_t> >(loc))); in check() 32 assert((std::has_facet<std::codecvt<char16_t, char, std::mbstate_t> >(loc))); in check() 33 assert((std::has_facet<std::codecvt<char32_t, char, std::mbstate_t> >(loc))); in check() 34 assert((std::has_facet<std::codecvt<wchar_t, char, std::mbstate_t> >(loc))); in check() 36 assert((std::has_facet<std::moneypunct<char> >(loc))); in check() 37 assert((std::has_facet<std::moneypunct<wchar_t> >(loc))); in check() [all …]
|
D | default.pass.cpp | 24 assert(std::has_facet<std::collate<char> >(loc)); in check() 25 assert(std::has_facet<std::collate<wchar_t> >(loc)); in check() 27 assert(std::has_facet<std::ctype<char> >(loc)); in check() 28 assert(std::has_facet<std::ctype<wchar_t> >(loc)); in check() 29 assert((std::has_facet<std::codecvt<char, char, std::mbstate_t> >(loc))); in check() 30 assert((std::has_facet<std::codecvt<char16_t, char, std::mbstate_t> >(loc))); in check() 31 assert((std::has_facet<std::codecvt<char32_t, char, std::mbstate_t> >(loc))); in check() 32 assert((std::has_facet<std::codecvt<wchar_t, char, std::mbstate_t> >(loc))); in check() 34 assert((std::has_facet<std::moneypunct<char> >(loc))); in check() 35 assert((std::has_facet<std::moneypunct<wchar_t> >(loc))); in check() [all …]
|
/external/libcxx/test/std/localization/locales/locale/locale.members/ |
D | combine.pass.cpp | 24 assert(std::has_facet<std::collate<char> >(loc)); in check() 25 assert(std::has_facet<std::collate<wchar_t> >(loc)); in check() 27 assert(std::has_facet<std::ctype<char> >(loc)); in check() 28 assert(std::has_facet<std::ctype<wchar_t> >(loc)); in check() 29 assert((std::has_facet<std::codecvt<char, char, std::mbstate_t> >(loc))); in check() 30 assert((std::has_facet<std::codecvt<char16_t, char, std::mbstate_t> >(loc))); in check() 31 assert((std::has_facet<std::codecvt<char32_t, char, std::mbstate_t> >(loc))); in check() 32 assert((std::has_facet<std::codecvt<wchar_t, char, std::mbstate_t> >(loc))); in check() 34 assert((std::has_facet<std::moneypunct<char> >(loc))); in check() 35 assert((std::has_facet<std::moneypunct<wchar_t> >(loc))); in check() [all …]
|
/external/libcxx/test/std/localization/locale.categories/category.ctype/locale.ctype.byname/ |
D | types.pass.cpp | 37 assert(std::has_facet<std::ctype_byname<char> >(l)); in main() 42 assert(std::has_facet<std::ctype_byname<wchar_t> >(l)); in main() 50 assert(std::has_facet<std::ctype_byname<char> >(l)); in main() 55 assert(std::has_facet<std::ctype_byname<wchar_t> >(l)); in main()
|
/external/libcxx/test/std/localization/locales/locale.global.templates/ |
D | has_facet.pass.cpp | 28 assert(std::has_facet<std::ctype<char> >(loc)); in main() 29 assert(!std::has_facet<my_facet>(loc)); in main() 31 assert(std::has_facet<my_facet>(loc2)); in main()
|
/external/libcxx/test/std/localization/locale.categories/category.collate/locale.collate.byname/ |
D | types.pass.cpp | 38 assert(std::has_facet<std::collate_byname<char> >(l)); in main() 43 assert(std::has_facet<std::collate_byname<wchar_t> >(l)); in main()
|
/external/libcxx/test/std/localization/locale.categories/category.collate/locale.collate/ |
D | types.pass.cpp | 30 assert(std::has_facet<std::collate<char> >(l)); in main() 41 assert(std::has_facet<std::collate<wchar_t> >(l)); in main()
|
/external/libcxx/test/std/localization/locale.categories/facet.numpunct/locale.numpunct/ |
D | types.pass.cpp | 29 assert(std::has_facet<std::numpunct<char> >(l)); in main() 40 assert(std::has_facet<std::numpunct<wchar_t> >(l)); in main()
|
/external/libcxx/test/std/localization/locale.categories/category.ctype/facet.ctype.special/ |
D | types.pass.cpp | 29 assert(std::has_facet<std::ctype<char> >(l)); in main()
|
/external/libcxx/test/std/localization/locale.categories/category.ctype/locale.ctype/ |
D | types.pass.cpp | 29 assert(std::has_facet<std::ctype<wchar_t> >(l)); in main()
|
/external/libcxx/test/std/localization/locale.categories/category.ctype/locale.codecvt/ |
D | types_char32_t.pass.cpp | 37 assert(std::has_facet<F>(l)); in main()
|
D | types_char.pass.cpp | 37 assert(std::has_facet<F>(l)); in main()
|
D | types_char16_t.pass.cpp | 37 assert(std::has_facet<F>(l)); in main()
|
D | types_wchar_t.pass.cpp | 37 assert(std::has_facet<F>(l)); in main()
|
/external/libcxx/include/ |
D | __locale | 55 has_facet(const locale&) _NOEXCEPT; 118 bool has_facet(id&) const; 121 template <class _Facet> friend bool has_facet(const locale&) _NOEXCEPT; 171 if (!_VSTD::has_facet<_Facet>(__other)) 180 has_facet(const locale& __l) _NOEXCEPT 182 return __l.has_facet(_Facet::id);
|
/external/libcxx/src/ |
D | locale.cpp | 165 bool has_facet(long id) const in has_facet() function in locale::__imp 456 if (!has_facet(id)) in use_facet() 591 locale::has_facet(id& x) const in has_facet() function in locale 593 return __locale_->has_facet(x.__get()); in has_facet()
|