Searched refs:pc16 (Results 1 – 1 of 1) sorted by relevance
/bionic/libc/bionic/ |
D | mbrtoc16.cpp | 40 static size_t begin_surrogate(char32_t c32, char16_t* pc16, in begin_surrogate() argument 49 *pc16 = ((c32 & 0xffc00) >> 10) | 0xd800; in begin_surrogate() 54 static size_t finish_surrogate(char16_t* pc16, mbstate_t* state) { in finish_surrogate() argument 57 *pc16 = trail; in finish_surrogate() 61 size_t mbrtoc16(char16_t* pc16, const char* s, size_t n, mbstate_t* ps) { in mbrtoc16() argument 66 if (pc16 == nullptr) { in mbrtoc16() 67 pc16 = &__private_pc16; in mbrtoc16() 71 return finish_surrogate(pc16, state); in mbrtoc16() 84 *pc16 = static_cast<char16_t>(c32); in mbrtoc16() 87 return begin_surrogate(c32, pc16, nconv, state); in mbrtoc16()
|