Searched refs:char32_t (Results 1 – 10 of 10) sorted by relevance
/systemd-251/src/basic/ |
D | utf8.c | 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() [all …]
|
D | utf8.h | 15 bool unichar_is_valid(char32_t c); 35 size_t utf8_encode_unichar(char *out_utf8, char32_t g); 36 size_t utf16_encode_unichar(char16_t *out, char32_t c); 44 int utf8_encoded_to_unichar(const char *str, char32_t *ret_unichar); 54 static inline char32_t utf16_surrogate_pair_to_unichar(char16_t lead, char16_t trail) { in utf16_surrogate_pair_to_unichar() 55 return ((((char32_t) lead - 0xd800U) << 10) + ((char32_t) trail - 0xdc00U) + 0x10000U); in utf16_surrogate_pair_to_unichar()
|
D | escape.c | 106 int cunescape_one(const char *p, size_t length, char32_t *ret, bool *eight_bit, bool accept_nul) { in cunescape_one() 216 char32_t c; in cunescape_one() 253 char32_t m; in cunescape_one() 316 char32_t u; in cunescape_length_with_prefix()
|
D | missing_type.h | 7 #define char32_t uint32_t macro
|
D | escape.h | 48 int cunescape_one(const char *p, size_t length, char32_t *ret, bool *eight_bit, bool accept_nul);
|
D | extract-word.c | 93 char32_t u; in extract_first_word()
|
D | string-util.c | 383 char32_t c; in ellipsize_mem() 398 char32_t c; in ellipsize_mem()
|
/systemd-251/src/shared/ |
D | format-table.c | 1913 char32_t c; in align_string_mem()
|
D | json.c | 2442 n += utf8_encode_unichar(s + n, (char32_t) x); in json_parse_string()
|
/systemd-251/ |
D | meson.build | 486 'char32_t',
|