HomeSort by relevance Sort by last modified time
    Searched refs:char_traits (Results 76 - 100 of 1003) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/
lt.pass.cpp 12 // template<> struct char_traits<wchar_t>
22 assert(!std::char_traits<wchar_t>::lt(L'a', L'a'));
23 assert( std::char_traits<wchar_t>::lt(L'A', L'a'));
eof.pass.cpp 12 // template<> struct char_traits<wchar_t>
21 assert(std::char_traits<wchar_t>::eof() == WEOF);
to_char_type.pass.cpp 12 // template<> struct char_traits<wchar_t>
21 assert(std::char_traits<wchar_t>::to_char_type(L'a') == L'a');
22 assert(std::char_traits<wchar_t>::to_char_type(L'A') == L'A');
23 assert(std::char_traits<wchar_t>::to_char_type(0) == 0);
to_int_type.pass.cpp 12 // template<> struct char_traits<wchar_t>
21 assert(std::char_traits<wchar_t>::to_int_type(L'a') == L'a');
22 assert(std::char_traits<wchar_t>::to_int_type(L'A') == L'A');
23 assert(std::char_traits<wchar_t>::to_int_type(0) == 0);
find.pass.cpp 12 // template<> struct char_traits<wchar_t>
22 assert(std::char_traits<wchar_t>::find(s1, 3, wchar_t(1)) == s1);
23 assert(std::char_traits<wchar_t>::find(s1, 3, wchar_t(2)) == s1+1);
24 assert(std::char_traits<wchar_t>::find(s1, 3, wchar_t(3)) == s1+2);
25 assert(std::char_traits<wchar_t>::find(s1, 3, wchar_t(4)) == 0);
26 assert(std::char_traits<wchar_t>::find(s1, 3, wchar_t(0)) == 0);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/
eq.pass.cpp 12 // template<> struct char_traits<wchar_t>
22 assert(std::char_traits<wchar_t>::eq(L'a', L'a'));
23 assert(!std::char_traits<wchar_t>::eq(L'a', L'A'));
lt.pass.cpp 12 // template<> struct char_traits<wchar_t>
22 assert(!std::char_traits<wchar_t>::lt(L'a', L'a'));
23 assert( std::char_traits<wchar_t>::lt(L'A', L'a'));
eof.pass.cpp 12 // template<> struct char_traits<wchar_t>
21 assert(std::char_traits<wchar_t>::eof() == WEOF);
to_char_type.pass.cpp 12 // template<> struct char_traits<wchar_t>
21 assert(std::char_traits<wchar_t>::to_char_type(L'a') == L'a');
22 assert(std::char_traits<wchar_t>::to_char_type(L'A') == L'A');
23 assert(std::char_traits<wchar_t>::to_char_type(0) == 0);
to_int_type.pass.cpp 12 // template<> struct char_traits<wchar_t>
21 assert(std::char_traits<wchar_t>::to_int_type(L'a') == L'a');
22 assert(std::char_traits<wchar_t>::to_int_type(L'A') == L'A');
23 assert(std::char_traits<wchar_t>::to_int_type(0) == 0);
  /external/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char/
assign2.pass.cpp 12 // template<> struct char_traits<char>
22 std::char_traits<char>::assign(c, 'a');
types.pass.cpp 12 // template<> struct char_traits<char>
25 static_assert((std::is_same<std::char_traits<char>::char_type, char>::value), "");
26 static_assert((std::is_same<std::char_traits<char>::int_type, int>::value), "");
27 static_assert((std::is_same<std::char_traits<char>::off_type, std::streamoff>::value), "");
28 static_assert((std::is_same<std::char_traits<char>::pos_type, std::streampos>::value), "");
29 static_assert((std::is_same<std::char_traits<char>::state_type, std::mbstate_t>::value), "");
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char/
assign2.pass.cpp 12 // template<> struct char_traits<char>
22 std::char_traits<char>::assign(c, 'a');
  /external/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/
to_char_type.pass.cpp 12 // template<> struct char_traits<char16_t>
22 assert(std::char_traits<char16_t>::to_char_type(u'a') == u'a');
23 assert(std::char_traits<char16_t>::to_char_type(u'A') == u'A');
24 assert(std::char_traits<char16_t>::to_char_type(0) == 0);
to_int_type.pass.cpp 12 // template<> struct char_traits<char16_t>
22 assert(std::char_traits<char16_t>::to_int_type(u'a') == u'a');
23 assert(std::char_traits<char16_t>::to_int_type(u'A') == u'A');
24 assert(std::char_traits<char16_t>::to_int_type(0) == 0);
find.pass.cpp 12 // template<> struct char_traits<char16_t>
23 assert(std::char_traits<char16_t>::find(s1, 3, char16_t(1)) == s1);
24 assert(std::char_traits<char16_t>::find(s1, 3, char16_t(2)) == s1+1);
25 assert(std::char_traits<char16_t>::find(s1, 3, char16_t(3)) == s1+2);
26 assert(std::char_traits<char16_t>::find(s1, 3, char16_t(4)) == 0);
27 assert(std::char_traits<char16_t>::find(s1, 3, char16_t(0)) == 0);
types.pass.cpp 12 // template<> struct char_traits<char16_t>
27 static_assert((std::is_same<std::char_traits<char16_t>::char_type, char16_t>::value), "");
28 static_assert((std::is_same<std::char_traits<char16_t>::int_type, std::uint_least16_t>::value), "");
29 static_assert((std::is_same<std::char_traits<char16_t>::off_type, std::streamoff>::value), "");
30 static_assert((std::is_same<std::char_traits<char16_t>::pos_type, std::u16streampos>::value), "");
31 static_assert((std::is_same<std::char_traits<char16_t>::state_type, std::mbstate_t>::value), "");
  /external/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/
to_char_type.pass.cpp 12 // template<> struct char_traits<char32_t>
22 assert(std::char_traits<char32_t>::to_char_type(U'a') == U'a');
23 assert(std::char_traits<char32_t>::to_char_type(U'A') == U'A');
24 assert(std::char_traits<char32_t>::to_char_type(0) == 0);
to_int_type.pass.cpp 12 // template<> struct char_traits<char32_t>
22 assert(std::char_traits<char32_t>::to_int_type(U'a') == U'a');
23 assert(std::char_traits<char32_t>::to_int_type(U'A') == U'A');
24 assert(std::char_traits<char32_t>::to_int_type(0) == 0);
find.pass.cpp 12 // template<> struct char_traits<char32_t>
23 assert(std::char_traits<char32_t>::find(s1, 3, char32_t(1)) == s1);
24 assert(std::char_traits<char32_t>::find(s1, 3, char32_t(2)) == s1+1);
25 assert(std::char_traits<char32_t>::find(s1, 3, char32_t(3)) == s1+2);
26 assert(std::char_traits<char32_t>::find(s1, 3, char32_t(4)) == 0);
27 assert(std::char_traits<char32_t>::find(s1, 3, char32_t(0)) == 0);
types.pass.cpp 12 // template<> struct char_traits<char32_t>
27 static_assert((std::is_same<std::char_traits<char32_t>::char_type, char32_t>::value), "");
28 static_assert((std::is_same<std::char_traits<char32_t>::int_type, std::uint_least32_t>::value), "");
29 static_assert((std::is_same<std::char_traits<char32_t>::off_type, std::streamoff>::value), "");
30 static_assert((std::is_same<std::char_traits<char32_t>::pos_type, std::u32streampos>::value), "");
31 static_assert((std::is_same<std::char_traits<char32_t>::state_type, std::mbstate_t>::value), "");
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/
to_char_type.pass.cpp 12 // template<> struct char_traits<char16_t>
22 assert(std::char_traits<char16_t>::to_char_type(u'a') == u'a');
23 assert(std::char_traits<char16_t>::to_char_type(u'A') == u'A');
24 assert(std::char_traits<char16_t>::to_char_type(0) == 0);
to_int_type.pass.cpp 12 // template<> struct char_traits<char16_t>
22 assert(std::char_traits<char16_t>::to_int_type(u'a') == u'a');
23 assert(std::char_traits<char16_t>::to_int_type(u'A') == u'A');
24 assert(std::char_traits<char16_t>::to_int_type(0) == 0);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/
to_char_type.pass.cpp 12 // template<> struct char_traits<char32_t>
22 assert(std::char_traits<char32_t>::to_char_type(U'a') == U'a');
23 assert(std::char_traits<char32_t>::to_char_type(U'A') == U'A');
24 assert(std::char_traits<char32_t>::to_char_type(0) == 0);
to_int_type.pass.cpp 12 // template<> struct char_traits<char32_t>
22 assert(std::char_traits<char32_t>::to_int_type(U'a') == U'a');
23 assert(std::char_traits<char32_t>::to_int_type(U'A') == U'A');
24 assert(std::char_traits<char32_t>::to_int_type(0) == 0);

Completed in 1033 milliseconds

1 2 34 5 6 7 8 91011>>