Lines Matching refs:char32_t
37 bool unichar_is_valid(char32_t ch) { in unichar_is_valid()
51 static bool unichar_is_control(char32_t ch) { in unichar_is_control()
82 int utf8_encoded_to_unichar(const char *str, char32_t *ret_unichar) { in utf8_encoded_to_unichar()
83 char32_t unichar; in utf8_encoded_to_unichar()
92 *ret_unichar = (char32_t)str[0]; in utf8_encoded_to_unichar()
98 unichar = (char32_t)str[0] & 0x0f; in utf8_encoded_to_unichar()
101 unichar = (char32_t)str[0] & 0x07; in utf8_encoded_to_unichar()
104 unichar = (char32_t)str[0] & 0x03; in utf8_encoded_to_unichar()
107 unichar = (char32_t)str[0] & 0x01; in utf8_encoded_to_unichar()
114 if (((char32_t)str[i] & 0xc0) != 0x80) in utf8_encoded_to_unichar()
118 unichar |= (char32_t)str[i] & 0x3f; in utf8_encoded_to_unichar()
131 char32_t val; in utf8_is_printable_newline()
201 char32_t c; in utf8_char_console_width()
358 size_t utf8_encode_unichar(char *out_utf8, char32_t g) { in utf8_encode_unichar()
442 size_t utf16_encode_unichar(char16_t *out, char32_t c) { in utf16_encode_unichar()
477 char32_t unichar; in utf8_to_utf16()
515 static int utf8_unichar_to_encoded_len(char32_t unichar) { in utf8_unichar_to_encoded_len()
533 char32_t unichar; in utf8_encoded_valid_unichar()