Searched defs:c16 (Results 1 - 1 of 1) sorted by relevance

/bionic/libc/bionic/
H A Dc16rtomb.cpp35 static inline constexpr bool is_high_surrogate(char16_t c16) { argument
36 return c16 >= 0xd800 && c16 < 0xdc00;
39 static inline constexpr bool is_low_surrogate(char16_t c16) { argument
40 return c16 >= 0xdc00 && c16 < 0xe000;
43 size_t c16rtomb(char* s, char16_t c16, mbstate_t* ps) { argument
47 if (is_high_surrogate(c16)) {
48 char32_t c32 = (c16 & ~0xd800) << 10;
52 } else if (is_low_surrogate(c16)) {
[all...]

Completed in 54 milliseconds