OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:char16_t
(Results
1 - 25
of
540
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/ndk/sources/cxx-stl/llvm-libc++/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/
compare.pass.cpp
12
// template<> struct char_traits<
char16_t
>
22
assert(std::char_traits<
char16_t
>::compare(u"", u"", 0) == 0);
24
assert(std::char_traits<
char16_t
>::compare(u"1", u"1", 1) == 0);
25
assert(std::char_traits<
char16_t
>::compare(u"1", u"2", 1) < 0);
26
assert(std::char_traits<
char16_t
>::compare(u"2", u"1", 1) > 0);
28
assert(std::char_traits<
char16_t
>::compare(u"12", u"12", 2) == 0);
29
assert(std::char_traits<
char16_t
>::compare(u"12", u"13", 2) < 0);
30
assert(std::char_traits<
char16_t
>::compare(u"12", u"22", 2) < 0);
31
assert(std::char_traits<
char16_t
>::compare(u"13", u"12", 2) > 0);
32
assert(std::char_traits<
char16_t
>::compare(u"22", u"12", 2) > 0)
[
all
...]
find.pass.cpp
12
// template<> struct char_traits<
char16_t
>
22
char16_t
s1[] = {1, 2, 3};
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)
[
all
...]