Lines Matching refs:uchar_t
112 (s)[(i)] = (uchar_t)(0xE0U | ((uint32_t)(b) & 0xF000U) >> 12); \
113 (s)[(j)] = (uchar_t)(0x80U | ((uint32_t)(b) & 0x0FC0U) >> 6); \
114 (s)[(k)] = (uchar_t)(0x80U | ((uint32_t)(b) & 0x003FU));
161 #define U8_ISASCII(c) (((uchar_t)(c)) < 0x80U)
338 uchar_t *ib; in u8_validate()
339 uchar_t *ibtail; in u8_validate()
340 uchar_t **p; in u8_validate()
341 uchar_t *s1; in u8_validate()
342 uchar_t *s2; in u8_validate()
343 uchar_t f; in u8_validate()
355 ib = (uchar_t *)u8str; in u8_validate()
423 for (p = (uchar_t **)list, i = 0; p[i]; i++) { in u8_validate()
461 do_case_conv(int uv, uchar_t *u8s, uchar_t *s, int sz, boolean_t is_it_toupper) in do_case_conv()
567 do_case_compare(size_t uv, uchar_t *s1, uchar_t *s2, size_t n1, in do_case_compare()
576 uchar_t u8s1[U8_MB_CUR_MAX + 1]; in do_case_compare()
577 uchar_t u8s2[U8_MB_CUR_MAX + 1]; in do_case_compare()
691 static uchar_t
692 combining_class(size_t uv, uchar_t *s, size_t sz) in combining_class()
745 do_decomp(size_t uv, uchar_t *u8s, uchar_t *s, int sz, in do_decomp()
969 static uchar_t *
970 find_composition_start(size_t uv, uchar_t *s, size_t sz) in find_composition_start()
1031 return ((uchar_t *)&(u8_composition_final_tbl[uv][b3_base + start_id])); in find_composition_start()
1039 blocked(uchar_t *comb_class, size_t last) in blocked()
1041 uchar_t my_comb_class; in blocked()
1061 do_composition(size_t uv, uchar_t *s, uchar_t *comb_class, uchar_t *start, in do_composition()
1062 uchar_t *disp, size_t last, uchar_t **os, uchar_t *oslast) in do_composition()
1064 uchar_t t[U8_STREAM_SAFE_TEXT_MAX + 1]; in do_composition()
1065 uchar_t tc[U8_MB_CUR_MAX] = { '\0' }; in do_composition()
1068 uchar_t *p; in do_composition()
1069 uchar_t *saved_p; in do_composition()
1070 uchar_t *q; in do_composition()
1387 collect_a_seq(size_t uv, uchar_t *u8s, uchar_t **source, uchar_t *slast, in collect_a_seq()
1395 uchar_t *s; in collect_a_seq()
1402 uchar_t comb_class[U8_MAX_CHARS_A_SEQ]; in collect_a_seq()
1403 uchar_t disp[U8_MAX_CHARS_A_SEQ]; in collect_a_seq()
1404 uchar_t start[U8_MAX_CHARS_A_SEQ]; in collect_a_seq()
1405 uchar_t u8t[U8_MB_CUR_MAX] = { '\0' }; in collect_a_seq()
1406 uchar_t uts[U8_STREAM_SAFE_TEXT_MAX + 1]; in collect_a_seq()
1407 uchar_t tc; in collect_a_seq()
1735 do_norm_compare(size_t uv, uchar_t *s1, uchar_t *s2, size_t n1, size_t n2, in do_norm_compare()
1741 uchar_t u8s1[U8_STREAM_SAFE_TEXT_MAX + 1]; in do_norm_compare()
1742 uchar_t u8s2[U8_STREAM_SAFE_TEXT_MAX + 1]; in do_norm_compare()
1743 uchar_t *s1last; in do_norm_compare()
1744 uchar_t *s2last; in do_norm_compare()
1909 return (do_case_compare(uv, (uchar_t *)s1, (uchar_t *)s2, in u8_strcmp()
1912 return (do_case_compare(uv, (uchar_t *)s1, (uchar_t *)s2, in u8_strcmp()
1916 return (do_norm_compare(uv, (uchar_t *)s1, (uchar_t *)s2, n1, n2, in u8_strcmp()
1926 uchar_t *ib; in u8_textprep_str()
1927 uchar_t *ibtail; in u8_textprep_str()
1928 uchar_t *ob; in u8_textprep_str()
1929 uchar_t *obtail; in u8_textprep_str()
1940 uchar_t u8s[U8_STREAM_SAFE_TEXT_MAX + 1]; in u8_textprep_str()
1969 ib = (uchar_t *)inarray; in u8_textprep_str()
1970 ob = (uchar_t *)outarray; in u8_textprep_str()