Lines Matching refs:utf8proc_uint8_t
117 const utf8proc_uint8_t *str, utf8proc_ssize_t strlen, utf8proc_int32_t *dst in utf8proc_iterate()
120 const utf8proc_uint8_t *end; in utf8proc_iterate()
182 UTF8PROC_DLLEXPORT utf8proc_ssize_t utf8proc_encode_char(utf8proc_int32_t uc, utf8proc_uint8_t *dst… in utf8proc_encode_char()
186 dst[0] = (utf8proc_uint8_t) uc; in utf8proc_encode_char()
189 dst[0] = (utf8proc_uint8_t) (0xC0 + (uc >> 6)); in utf8proc_encode_char()
190 dst[1] = (utf8proc_uint8_t) (0x80 + (uc & 0x3F)); in utf8proc_encode_char()
195 dst[0] = (utf8proc_uint8_t) (0xE0 + (uc >> 12)); in utf8proc_encode_char()
196 dst[1] = (utf8proc_uint8_t) (0x80 + ((uc >> 6) & 0x3F)); in utf8proc_encode_char()
197 dst[2] = (utf8proc_uint8_t) (0x80 + (uc & 0x3F)); in utf8proc_encode_char()
200 dst[0] = (utf8proc_uint8_t) (0xF0 + (uc >> 18)); in utf8proc_encode_char()
201 dst[1] = (utf8proc_uint8_t) (0x80 + ((uc >> 12) & 0x3F)); in utf8proc_encode_char()
202 dst[2] = (utf8proc_uint8_t) (0x80 + ((uc >> 6) & 0x3F)); in utf8proc_encode_char()
203 dst[3] = (utf8proc_uint8_t) (0x80 + (uc & 0x3F)); in utf8proc_encode_char()
211 static utf8proc_ssize_t unsafe_encode_char(utf8proc_int32_t uc, utf8proc_uint8_t *dst) { in unsafe_encode_char()
215 dst[0] = (utf8proc_uint8_t) uc; in unsafe_encode_char()
218 dst[0] = (utf8proc_uint8_t) (0xC0 + (uc >> 6)); in unsafe_encode_char()
219 dst[1] = (utf8proc_uint8_t) (0x80 + (uc & 0x3F)); in unsafe_encode_char()
222 dst[0] = (utf8proc_uint8_t) 0xFF; in unsafe_encode_char()
225 dst[0] = (utf8proc_uint8_t) 0xFE; in unsafe_encode_char()
228 dst[0] = (utf8proc_uint8_t) (0xE0 + (uc >> 12)); in unsafe_encode_char()
229 dst[1] = (utf8proc_uint8_t) (0x80 + ((uc >> 6) & 0x3F)); in unsafe_encode_char()
230 dst[2] = (utf8proc_uint8_t) (0x80 + (uc & 0x3F)); in unsafe_encode_char()
233 dst[0] = (utf8proc_uint8_t) (0xF0 + (uc >> 18)); in unsafe_encode_char()
234 dst[1] = (utf8proc_uint8_t) (0x80 + ((uc >> 12) & 0x3F)); in unsafe_encode_char()
235 dst[2] = (utf8proc_uint8_t) (0x80 + ((uc >> 6) & 0x3F)); in unsafe_encode_char()
236 dst[3] = (utf8proc_uint8_t) (0x80 + (uc & 0x3F)); in unsafe_encode_char()