Lines Matching refs:u_int16_t
84 unicode_combinable(u_int16_t character)
109 unicode_decomposeable(u_int16_t character) {
134 get_combining_class(u_int16_t character) {
147 static int unicode_decompose(u_int16_t character, u_int16_t *convertedChars);
149 static u_int16_t unicode_combine(u_int16_t base, u_int16_t combining);
151 static void priortysort(u_int16_t* characters, int count);
153 static u_int16_t ucs_to_sfm(u_int16_t ucs_ch, int lastchar);
155 static u_int16_t sfm_to_ucs(u_int16_t ucs_ch);
193 utf8_encodelen(const u_int16_t * ucsp, size_t ucslen, u_int16_t altslash, int flags)
195 u_int16_t ucs_ch;
196 u_int16_t * chp = NULL;
197 u_int16_t sequence[8];
260 utf8_encodestr(const u_int16_t * ucsp, size_t ucslen, u_int8_t * utf8p,
261 size_t * utf8len, size_t buflen, u_int16_t altslash, int flags)
265 u_int16_t ucs_ch;
266 u_int16_t * chp = NULL;
267 u_int16_t sequence[8];
334 u_int16_t ch2;
411 utf8_decodestr(const u_int8_t* utf8p, size_t utf8len, u_int16_t* ucsp,
412 size_t *ucslen, size_t buflen, u_int16_t altslash, int flags)
414 u_int16_t* bufstart;
415 u_int16_t* bufend;
431 bufend = (u_int16_t *)((u_int8_t *)ucsp + buflen);
500 *ucsp++ = swapbytes ? OSSwapInt16(ucs_ch) : (u_int16_t)ucs_ch;
508 *ucsp++ = swapbytes ? OSSwapInt16(ucs_ch) : (u_int16_t)ucs_ch;
516 u_int16_t sequence[8];
531 *ucsp++ = swapbytes ? OSSwapInt16(ucs_ch) : (u_int16_t)ucs_ch;
539 u_int16_t composite, base;
568 *ucsp++ = swapbytes ? OSSwapInt16(ucs_ch) : (u_int16_t)ucs_ch;
601 *ucsp++ = swapbytes ? OSSwapInt16(ucs_ch) : (u_int16_t)ucs_ch;
603 *ucsp++ = swapbytes ? OSSwapInt16(ucs_ch) : (u_int16_t)ucs_ch;
605 *ucsp++ = swapbytes ? OSSwapInt16(ucs_ch) : (u_int16_t)ucs_ch;
735 u_int16_t unicodebuf[32];
736 u_int16_t* unistr = NULL;
807 MALLOC(unistr, u_int16_t *, unicode_bytes, M_TEMP, M_WAITOK);
836 u_int16_t character)
858 u_int16_t _key;
859 u_int16_t _value;
862 static inline u_int16_t
864 u_int16_t character)
887 unicode_recursive_decompose(u_int16_t character, u_int16_t *convertedChars)
889 u_int16_t value;
891 u_int16_t firstChar;
892 u_int16_t theChar;
893 const u_int16_t *bmpMappings;
906 usedLength = unicode_recursive_decompose((u_int16_t)*bmpMappings, convertedChars);
945 unicode_decompose(u_int16_t character, u_int16_t *convertedChars)
977 static u_int16_t
978 unicode_combine(u_int16_t base, u_int16_t combining)
1022 priortysort(u_int16_t* characters, int count)
1025 u_int16_t *ch1, *ch2;
1026 u_int16_t *end;
1128 static u_int16_t
1129 ucs_to_sfm(u_int16_t ucs_ch, int lastchar)
1142 u_int16_t lsb;
1154 static u_int16_t
1155 sfm_to_ucs(u_int16_t ucs_ch)