HomeSort by relevance Sort by last modified time
    Searched full:char32_t (Results 1 - 25 of 490) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /ndk/sources/cxx-stl/llvm-libc++/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/
compare.pass.cpp 12 // template<> struct char_traits<char32_t>
22 assert(std::char_traits<char32_t>::compare(U"", U"", 0) == 0);
24 assert(std::char_traits<char32_t>::compare(U"1", U"1", 1) == 0);
25 assert(std::char_traits<char32_t>::compare(U"1", U"2", 1) < 0);
26 assert(std::char_traits<char32_t>::compare(U"2", U"1", 1) > 0);
28 assert(std::char_traits<char32_t>::compare(U"12", U"12", 2) == 0);
29 assert(std::char_traits<char32_t>::compare(U"12", U"13", 2) < 0);
30 assert(std::char_traits<char32_t>::compare(U"12", U"22", 2) < 0);
31 assert(std::char_traits<char32_t>::compare(U"13", U"12", 2) > 0);
32 assert(std::char_traits<char32_t>::compare(U"22", U"12", 2) > 0)
    [all...]
find.pass.cpp 12 // template<> struct char_traits<char32_t>
22 char32_t s1[] = {1, 2, 3};
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)
    [all...]
move.pass.cpp 12 // template<> struct char_traits<char32_t>
22 char32_t s1[] = {1, 2, 3};
23 assert(std::char_traits<char32_t>::move(s1, s1+1, 2) == s1);
24 assert(s1[0] == char32_t(2));
25 assert(s1[1] == char32_t(3));
26 assert(s1[2] == char32_t(3));
27 s1[2] = char32_t(0);
28 assert(std::char_traits<char32_t>::move(s1+1, s1, 2) == s1+1);
29 assert(s1[0] == char32_t(2));
30 assert(s1[1] == char32_t(2))
    [all...]
assign3.pass.cpp 12 // template<> struct char_traits<char32_t>
22 char32_t s1[] = {1, 2, 3};
23 char32_t s2[3] = {0};
24 assert(std::char_traits<char32_t>::assign(s2, 3, char32_t(5)) == s2);
25 assert(s2[0] == char32_t(5));
26 assert(s2[1] == char32_t(5));
27 assert(s2[2] == char32_t(5));
copy.pass.cpp 12 // template<> struct char_traits<char32_t>
22 char32_t s1[] = {1, 2, 3};
23 char32_t s2[3] = {0};
24 assert(std::char_traits<char32_t>::copy(s2, s1, 3) == s2);
25 assert(s2[0] == char32_t(1));
26 assert(s2[1] == char32_t(2));
27 assert(s2[2] == char32_t(3));
eq_int_type.pass.cpp 12 // template<> struct char_traits<char32_t>
22 assert( std::char_traits<char32_t>::eq_int_type(U'a', U'a'));
23 assert(!std::char_traits<char32_t>::eq_int_type(U'a', U'A'));
24 assert(!std::char_traits<char32_t>::eq_int_type(std::char_traits<char32_t>::eof(), U'A'));
25 assert( std::char_traits<char32_t>::eq_int_type(std::char_traits<char32_t>::eof(),
26 std::char_traits<char32_t>::eof()));
types.pass.cpp 12 // template<> struct char_traits<char32_t>
14 // typedef char32_t char_type;
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), "");
not_eof.pass.cpp 12 // template<> struct char_traits<char32_t>
22 assert(std::char_traits<char32_t>::not_eof(U'a') == U'a');
23 assert(std::char_traits<char32_t>::not_eof(U'A') == U'A');
24 assert(std::char_traits<char32_t>::not_eof(0) == 0);
25 assert(std::char_traits<char32_t>::not_eof(std::char_traits<char32_t>::eof()) !=
26 std::char_traits<char32_t>::eof());
length.pass.cpp 12 // template<> struct char_traits<char32_t>
22 assert(std::char_traits<char32_t>::length(U"") == 0);
23 assert(std::char_traits<char32_t>::length(U"a") == 1);
24 assert(std::char_traits<char32_t>::length(U"aa") == 2);
25 assert(std::char_traits<char32_t>::length(U"aaa") == 3);
26 assert(std::char_traits<char32_t>::length(U"aaaa") == 4);
eq.pass.cpp 12 // template<> struct char_traits<char32_t>
22 char32_t c = U'\0';
23 assert(std::char_traits<char32_t>::eq(U'a', U'a'));
24 assert(!std::char_traits<char32_t>::eq(U'a', U'A'));
lt.pass.cpp 12 // template<> struct char_traits<char32_t>
22 char32_t c = U'\0';
23 assert(!std::char_traits<char32_t>::lt(U'a', U'a'));
24 assert( std::char_traits<char32_t>::lt(U'A', U'a'));
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);
assign2.pass.cpp 12 // template<> struct char_traits<char32_t>
22 char32_t c = U'\0';
23 std::char_traits<char32_t>::assign(c, U'a');
eof.pass.cpp 12 // template<> struct char_traits<char32_t>
22 std::char_traits<char32_t>::int_type i = std::char_traits<char32_t>::eof();
  /external/clang/test/Parser/
char-literal-printing.c 52 char32_t test39(void) { return U'\\'; }
53 char32_t test40(void) { return U'\''; }
54 char32_t test41(void) { return U'\a'; }
55 char32_t test42(void) { return U'\b'; }
56 char32_t test43(void) { return U'\e'; }
57 char32_t test44(void) { return U'\f'; }
58 char32_t test45(void) { return U'\n'; }
59 char32_t test46(void) { return U'\r'; }
60 char32_t test47(void) { return U'\t'; }
61 char32_t test48(void) { return U'\v';
    [all...]
  /external/clang/test/SemaCXX/
cxx0x-type-convert-construct.cpp 8 char32_t *Ustr;
9 Ustr = U"a UTF-32 string"; // expected-error {{assigning to 'char32_t *' from incompatible type 'const char32_t [16]'}}
19 char32_t *URstr;
20 URstr = UR"foo(a UTF-32 raw string)foo"; // expected-error {{assigning to 'char32_t *' from incompatible type 'const char32_t [20]'}}
  /external/clang/test/Lexer/
unicode-strings.c 8 typedef __CHAR32_TYPE__ char32_t; typedef
11 // expected-warning@18 {{'char32_t' type specifier is incompatible with C++98}}
13 // expected-warning@21 {{'char32_t' type specifier is incompatible with C++98}}
18 const char32_t *c = U"abcd"; // expected-warning {{unicode literals are incompatible with}}
21 char32_t e = U'a'; // expected-warning {{unicode literals are incompatible with}}
string_concat.cpp 7 typedef __CHAR32_TYPE__ char32_t; typedef
30 const char32_t* m = U"abc" u8"abc"; // expected-error {{unsupported non-standard concatenation of string literals}}
31 const char32_t* n = U"abc" u"abc"; // expected-error {{unsupported non-standard concatenation of string literals}}
32 const char32_t* o = U"abc" L"abc"; // expected-error {{unsupported non-standard concatenation of string literals}}
34 const char32_t* p = U"abc" u8R"(abc)"; // expected-error {{unsupported non-standard concatenation of string literals}}
35 const char32_t* q = U"abc" uR"(abc)"; // expected-error {{unsupported non-standard concatenation of string literals}}
36 const char32_t* r = U"abc" LR"(abc)"; // expected-error {{unsupported non-standard concatenation of string literals}}
char-literal.cpp 7 typedef __CHAR32_TYPE__ char32_t; typedef
27 char32_t k = U'\U0010FFFD';
32 char32_t n = U'ab'; // expected-error {{Unicode character literals may not contain multiple characters}}
string-literal-encoding.c 11 char32_t const *c = U"?????"; // expected-error {{illegal character encoding in string literal}}
14 char32_t const *f = UR"(?????)"; // expected-error {{illegal character encoding in string literal}}
25 char32_t const *c = U"foo ?????"; // expected-error {{illegal character encoding in string literal}}
28 char32_t const *f = UR"(foo ?????)"; // expected-error {{illegal character encoding in string literal}}
  /external/clang/test/CXX/lex/lex.charset/
p2-cxx11.cpp 30 char32_t w10fffe = U'\U0010fffe';
31 char32_t w10ffff = U'\U0010ffff';
32 char32_t w110000 = U'\U00110000'; // expected-error {{invalid universal character}}
38 const char32_t *p5 = U"\u0000\u0012\u004e\u007f\u0080\u009f\u00a0\ud799\ue000";
42 const char32_t *p9 = U"foo \U0010ffff bar"; // ok
  /external/clang/test/CodeGen/
char-literal.c 46 char32_t Ua = U'a';
56 char32_t Ua1 = U'µ';
58 char32_t Ua2 = U'?';
60 char32_t Ua3 = U'?';
74 char32_t Uc = U'\uF00B';
83 char32_t Ud = U'\U0010F00B';
  /external/clang/test/CXX/over/over.oper/over.literal/
p3.cpp 14 char operator "" _a(char32_t);
18 char operator "" _a(const char32_t *, size_t);
38 char operator "" _a(const char32_t *, size_t, bool = false); // expected-error {{parameter}}
  /external/clang/test/CXX/lex/lex.literal/lex.ccon/
p1.cpp 15 extern char32_t e;

Completed in 4000 milliseconds

1 2 3 4 5 6 7 8 91011>>