Home
last modified time | relevance | path

Searched refs:krb5_ucs2 (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dutf8_conv.c74 k5_utf8s_to_ucs2s(krb5_ucs2 *ucs2str, in k5_utf8s_to_ucs2s()
81 krb5_ucs2 ch; in k5_utf8s_to_ucs2s()
99 ch = (krb5_ucs2)(utf8str[0] & mask[utflen]); in k5_utf8s_to_ucs2s()
107 ch |= (krb5_ucs2)(utf8str[i] & 0x3f); in k5_utf8s_to_ucs2s()
138 krb5_ucs2 **ucs2s, in krb5int_utf8s_to_ucs2s()
145 *ucs2s = (krb5_ucs2 *)malloc((chars + 1) * sizeof(krb5_ucs2)); in krb5int_utf8s_to_ucs2s()
167 krb5_ucs2 **ucs2s, in krb5int_utf8cs_to_ucs2s()
174 *ucs2s = (krb5_ucs2 *)malloc((chars + 1) * sizeof(krb5_ucs2)); in krb5int_utf8cs_to_ucs2s()
203 *ucs2les = (unsigned char *)malloc((chars + 1) * sizeof(krb5_ucs2)); in krb5int_utf8s_to_ucs2les()
208 len = k5_utf8s_to_ucs2s((krb5_ucs2 *)*ucs2les, utf8s, chars + 1, 1); in krb5int_utf8s_to_ucs2les()
[all …]
H A Dutf8.c194 int krb5int_utf8_to_ucs2(const char *p, krb5_ucs2 *out) in krb5int_utf8_to_ucs2()
201 *out = (krb5_ucs2) ch; in krb5int_utf8_to_ucs2()
257 size_t krb5int_ucs2_to_utf8(krb5_ucs2 c, char *buf) in krb5int_ucs2_to_utf8()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/include/
H A Dk5-utf8.h87 typedef unsigned int krb5_ucs2; typedef
89 typedef unsigned short krb5_ucs2; typedef
104 #define KRB5_MAX_UTF8_LEN (sizeof(krb5_ucs2) * 3/2)
106 int krb5int_utf8_to_ucs2(const char *p, krb5_ucs2 *out);
107 size_t krb5int_ucs2_to_utf8(krb5_ucs2 c, char *buf);
113 krb5int_ucs2s_to_utf8s(const krb5_ucs2 *ucs2s,
118 krb5int_ucs2cs_to_utf8s(const krb5_ucs2 *ucs2s,
136 krb5_ucs2 **ucs2s,
142 krb5_ucs2 **ucs2s,