Lines Matching refs:utf8str
75 const char *utf8str,
84 if (utf8str == NULL || *utf8str == '\0') {
91 while (*utf8str && ucs2len < count) {
93 utflen = KRB5_UTF8_CHARLEN2(utf8str, utflen);
99 ch = (krb5_ucs2)(utf8str[0] & mask[utflen]);
103 if ((utf8str[i] & 0xc0) != 0x80)
107 ch |= (krb5_ucs2)(utf8str[i] & 0x3f);
122 utf8str += utflen; /* Move to next UTF-8 character */
261 k5_ucs2s_to_utf8s(char *utf8str, const krb5_ucs2 *ucs2str,
266 char *p = utf8str;
272 if (utf8str == NULL) /* Just compute size of output, excl null */
326 return (p - utf8str);