Searched refs:char16_t (Results 1 – 7 of 7) sorted by relevance
/bionic/libc/bionic/ |
D | mbrtoc16.cpp | 40 static size_t begin_surrogate(char32_t c32, char16_t* pc16, in begin_surrogate() 43 char16_t trail = (c32 & 0x3ff) | 0xdc00; in begin_surrogate() 54 static size_t finish_surrogate(char16_t* pc16, mbstate_t* state) { in finish_surrogate() 55 char16_t trail = mbstate_get_byte(state, 1) << 8 | in finish_surrogate() 61 size_t mbrtoc16(char16_t* pc16, const char* s, size_t n, mbstate_t* ps) { in mbrtoc16() 65 char16_t __private_pc16; in mbrtoc16() 84 *pc16 = static_cast<char16_t>(c32); in mbrtoc16()
|
D | c16rtomb.cpp | 35 static inline constexpr bool is_high_surrogate(char16_t c16) { in is_high_surrogate() 39 static inline constexpr bool is_low_surrogate(char16_t c16) { in is_low_surrogate() 43 size_t c16rtomb(char* s, char16_t c16, mbstate_t* ps) { in c16rtomb()
|
D | iconv.cpp | 253 char16_t hi = 0xd800 | (wc >> 10); in Convert() 254 char16_t lo = 0xdc00 | (wc & 0x3ff); in Convert() 301 void Out16(char* dst, char16_t ch, bool swap) { in Out16()
|
/bionic/tests/ |
D | uchar_test.cpp | 28 EXPECT_EQ(2U, sizeof(char16_t)); in TEST() 119 char16_t out; in TEST() 132 char16_t out; in TEST() 142 ASSERT_EQ(static_cast<char16_t>(0x00a2), out); in TEST() 145 ASSERT_EQ(static_cast<char16_t>(0x20ac), out); in TEST() 149 char16_t out; in TEST() 153 ASSERT_EQ(static_cast<char16_t>(0xdbea), out); in TEST() 155 ASSERT_EQ(static_cast<char16_t>(0xdfcd), out); in TEST() 159 char16_t out; in TEST() 165 char16_t out; in TEST() [all …]
|
D | malloc_test.cpp | 852 ASSERT_NO_FATAL_FAILURE(TestAllocateType<char16_t>()); in TEST()
|
/bionic/libc/include/ |
D | uchar.h | 44 typedef __CHAR16_TYPE__ char16_t; typedef 64 size_t c16rtomb(char* _Nullable __buf, char16_t __ch16, mbstate_t* _Nullable __ps) __INTRODUCED_IN(… 83 size_t mbrtoc16(char16_t* _Nullable __ch16, const char* _Nullable __s, size_t __n, mbstate_t* _Null…
|
/bionic/libc/include/bits/ |
D | stdatomic.h | 172 typedef _Atomic(char16_t) atomic_char16_t;
|