Lines Matching refs:c8
30 * c8rtomb(s, c8, ps)
32 * Encode the Unicode UTF-8 code unit c8 into the multibyte buffer
35 * If c8 is not the last byte of a UTF-8 scalar value sequence, no
36 * output will be produced, but c8 will be remembered; this must
115 utf8_decode_step(utf8_state_t state, char8_t c8, char32_t *pc32)
117 const utf8_class_t class = utf8_classtab[c8];
120 ? (c8 & (0xff >> class))
121 : ((c8 & 0x3f) | (*pc32 << 6)));
131 c8rtomb(char *restrict s, char8_t c8, mbstate_t *restrict ps)
134 return c8rtomb_l(s, c8, ps, _current_locale());
138 c8rtomb_l(char *restrict s, char8_t c8, mbstate_t *restrict ps, locale_t loc)
168 c8 = 0; /* XXX u8'\0' */
177 * `If c8 is a null character, a null byte is stored, preceded
182 * So if c8 is null, discard any buffered input -- there's
187 if (c8 == '\0') {
202 state = utf8_decode_step(state, c8, &c32);