Home
last modified time | relevance | path

Searched refs:collate (Results 1 – 25 of 45) sorted by relevance

12

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.collate/locale.collate/
Dtypes.pass.cpp30 assert(std::has_facet<std::collate<char> >(l)); in main()
31 const std::collate<char>& f = std::use_facet<std::collate<char> >(l); in main()
33 (void)std::collate<char>::id; in main()
35 static_assert((std::is_same<std::collate<char>::char_type, char>::value), ""); in main()
36 static_assert((std::is_same<std::collate<char>::string_type, std::string>::value), ""); in main()
37 static_assert((std::is_base_of<std::locale::facet, std::collate<char> >::value), ""); in main()
40 assert(std::has_facet<std::collate<wchar_t> >(l)); in main()
41 const std::collate<wchar_t>& f = std::use_facet<std::collate<wchar_t> >(l); in main()
43 (void)std::collate<wchar_t>::id; in main()
45 static_assert((std::is_same<std::collate<wchar_t>::char_type, wchar_t>::value), ""); in main()
[all …]
Dctor.pass.cpp22 : public std::collate<C>
28 : std::collate<C>(refs) {++count;} in my_facet()
/ndk/sources/cxx-stl/stlport/src/
Dcollate.cpp26 collate<char>::~collate() {} in ~collate()
28 int collate<char>::do_compare(const char* low1, const char* high1, in do_compare()
32 string collate<char>::do_transform(const char* low, const char* high) const in do_transform()
35 long collate<char>::do_hash(const char* low, const char* high) const { in do_hash()
45 collate<wchar_t>::~collate() {} in ~collate()
48 collate<wchar_t>::do_compare(const wchar_t* low1, const wchar_t* high1, in do_compare()
52 wstring collate<wchar_t>::do_transform(const wchar_t* low, const wchar_t* high) const in do_transform()
55 long collate<wchar_t>::do_hash(const wchar_t* low, const wchar_t* high) const { in do_hash()
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_collate.h39 template <class _CharT> class collate {};
43 class _STLP_CLASS_DECLSPEC collate<char> : public locale::facet {
48 explicit collate(size_t __refs = 0) : locale::facet(__refs) {} in facet()
65 ~collate();
72 collate(const collate<char>&);
73 collate<char>& operator =(const collate<char>&);
79 class _STLP_CLASS_DECLSPEC collate<wchar_t> : public locale::facet {
84 explicit collate(size_t __refs = 0) : locale::facet(__refs) {} in facet()
101 ~collate();
108 collate(const collate<wchar_t>&);
[all …]
D_iosfwd.h100 template <class _CharT> class collate; variable
105 _STLP_TEMPLATE_NULL class collate<char>; variable
111 _STLP_TEMPLATE_NULL class collate<wchar_t>; variable
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.collate/locale.collate.byname/
Dtransform.pass.cpp32 const std::collate<char>& f = std::use_facet<std::collate<char> >(l); in main()
37 const std::collate<wchar_t>& f = std::use_facet<std::collate<wchar_t> >(l); in main()
45 const std::collate<char>& f = std::use_facet<std::collate<char> >(l); in main()
50 const std::collate<wchar_t>& f = std::use_facet<std::collate<wchar_t> >(l); in main()
58 const std::collate<char>& f = std::use_facet<std::collate<char> >(l); in main()
63 const std::collate<wchar_t>& f = std::use_facet<std::collate<wchar_t> >(l); in main()
Dcompare.pass.cpp34 const std::collate<char>& f = std::use_facet<std::collate<char> >(l); in main()
41 const std::collate<wchar_t>& f = std::use_facet<std::collate<wchar_t> >(l); in main()
51 const std::collate<char>& f = std::use_facet<std::collate<char> >(l); in main()
58 const std::collate<wchar_t>& f = std::use_facet<std::collate<wchar_t> >(l); in main()
68 const std::collate<char>& f = std::use_facet<std::collate<char> >(l); in main()
75 const std::collate<wchar_t>& f = std::use_facet<std::collate<wchar_t> >(l); in main()
Dhash.pass.cpp30 const std::collate<char>& f = std::use_facet<std::collate<char> >(l); in main()
37 const std::collate<wchar_t>& f = std::use_facet<std::collate<wchar_t> >(l); in main()
Dtypes.pass.cpp37 assert(&std::use_facet<std::collate<char> >(l) in main()
42 assert(&std::use_facet<std::collate<wchar_t> >(l) in main()
/ndk/tests/device/test-stlport/unit/
Dcollate_facets_test.cpp19 CPPUNIT_ASSERT( has_facet<collate<char> >(locale::classic()) ); in collate_facet()
20 collate<char> const& col = use_facet<collate<char> >(locale::classic()); in collate_facet()
39 CPPUNIT_ASSERT( has_facet<collate<char> >(loc) ); in collate_facet()
40 collate<char> const& col = use_facet<collate<char> >(loc); in collate_facet()
55 CPPUNIT_ASSERT( has_facet<collate<char> >(loc) ); in collate_facet()
56 collate<char> const& col = use_facet<collate<char> >(loc); in collate_facet()
86 CPPUNIT_ASSERT( has_facet<collate<wchar_t> >(loc) ); in collate_facet()
87 collate<wchar_t> const& col = use_facet<collate<wchar_t> >(loc); in collate_facet()
103 CPPUNIT_ASSERT( has_facet<collate<wchar_t> >(loc) ); in collate_facet()
104 collate<wchar_t> const& col = use_facet<collate<wchar_t> >(loc); in collate_facet()
[all …]
/ndk/tests/device/test-gnustl-full/unit/
Dcollate_facets_test.cpp19 CPPUNIT_ASSERT( has_facet<collate<char> >(locale::classic()) ); in collate_facet()
20 collate<char> const& col = use_facet<collate<char> >(locale::classic()); in collate_facet()
39 CPPUNIT_ASSERT( has_facet<collate<char> >(loc) ); in collate_facet()
40 collate<char> const& col = use_facet<collate<char> >(loc); in collate_facet()
55 CPPUNIT_ASSERT( has_facet<collate<char> >(loc) ); in collate_facet()
56 collate<char> const& col = use_facet<collate<char> >(loc); in collate_facet()
86 CPPUNIT_ASSERT( has_facet<collate<wchar_t> >(loc) ); in collate_facet()
87 collate<wchar_t> const& col = use_facet<collate<wchar_t> >(loc); in collate_facet()
103 CPPUNIT_ASSERT( has_facet<collate<wchar_t> >(loc) ); in collate_facet()
104 collate<wchar_t> const& col = use_facet<collate<wchar_t> >(loc); in collate_facet()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.collate/locale.collate/locale.collate.members/
Dtransform.pass.cpp25 const std::collate<char>& f = std::use_facet<std::collate<char> >(l); in main()
30 const std::collate<wchar_t>& f = std::use_facet<std::collate<wchar_t> >(l); in main()
Dhash.pass.cpp28 const std::collate<char>& f = std::use_facet<std::collate<char> >(l); in main()
35 const std::collate<wchar_t>& f = std::use_facet<std::collate<wchar_t> >(l); in main()
Dcompare.pass.cpp27 const std::collate<char>& f = std::use_facet<std::collate<char> >(l); in main()
40 const std::collate<wchar_t>& f = std::use_facet<std::collate<wchar_t> >(l); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.const/re.synopt/
Dsyntax_option_type.pass.cpp40 assert(std::regex_constants::collate != 0); in main()
50 assert((std::regex_constants::icase & std::regex_constants::collate) == 0); in main()
59 assert((std::regex_constants::nosubs & std::regex_constants::collate) == 0); in main()
67 assert((std::regex_constants::optimize & std::regex_constants::collate) == 0); in main()
75 assert((std::regex_constants::collate & std::regex_constants::ECMAScript) == 0); in main()
76 assert((std::regex_constants::collate & std::regex_constants::basic) == 0); in main()
77 assert((std::regex_constants::collate & std::regex_constants::extended) == 0); in main()
78 assert((std::regex_constants::collate & std::regex_constants::awk) == 0); in main()
79 assert((std::regex_constants::collate & std::regex_constants::grep) == 0); in main()
80 assert((std::regex_constants::collate & std::regex_constants::egrep) == 0); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locales/locale/locale.types/locale.category/
Dcategory.pass.cpp31 assert(std::locale::collate); in main()
37 assert((std::locale::collate in main()
43 assert((std::locale::collate in main()
52 test(std::locale::collate); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.regex/re.regex.const/
Dconstants.pass.cpp42 static_assert((BR::collate == std::regex_constants::collate), ""); in test()
52 where(BR::collate); in test()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locales/locale/locale.statics/
Dclassic.pass.cpp19 assert(std::has_facet<std::collate<char> >(loc)); in check()
20 assert(std::has_facet<std::collate<wchar_t> >(loc)); in check()
Dglobal.pass.cpp21 assert(std::has_facet<std::collate<char> >(loc)); in check()
22 assert(std::has_facet<std::collate<wchar_t> >(loc)); in check()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locales/locale/locale.cons/
Dcopy.pass.cpp36 assert(std::has_facet<std::collate<char> >(loc)); in check()
37 assert(std::has_facet<std::collate<wchar_t> >(loc)); in check()
Dlocale_locale_cat.pass.cpp36 assert(std::has_facet<std::collate<char> >(loc)); in check()
37 assert(std::has_facet<std::collate<wchar_t> >(loc)); in check()
Dassign.pass.cpp36 assert(std::has_facet<std::collate<char> >(loc)); in check()
37 assert(std::has_facet<std::collate<wchar_t> >(loc)); in check()
Dlocale_string_cat.pass.cpp36 assert(std::has_facet<std::collate<char> >(loc)); in check()
37 assert(std::has_facet<std::collate<wchar_t> >(loc)); in check()
Dlocale_char_pointer_cat.pass.cpp36 assert(std::has_facet<std::collate<char> >(loc)); in check()
37 assert(std::has_facet<std::collate<wchar_t> >(loc)); in check()
Dchar_pointer.pass.cpp36 assert(std::has_facet<std::collate<char> >(loc)); in check()
37 assert(std::has_facet<std::collate<wchar_t> >(loc)); in check()

12