Lines Matching refs:ucs2s
138 krb5_ucs2 **ucs2s,
145 *ucs2s = (krb5_ucs2 *)malloc((chars + 1) * sizeof(krb5_ucs2));
146 if (*ucs2s == NULL) {
150 len = k5_utf8s_to_ucs2s(*ucs2s, utf8s, chars + 1, 0);
152 free(*ucs2s);
153 *ucs2s = NULL;
167 krb5_ucs2 **ucs2s,
174 *ucs2s = (krb5_ucs2 *)malloc((chars + 1) * sizeof(krb5_ucs2));
175 if (*ucs2s == NULL) {
179 len = k5_utf8s_to_ucs2s(*ucs2s, utf8s, chars + 1, 0);
181 free(*ucs2s);
182 *ucs2s = NULL;
330 krb5int_ucs2s_to_utf8s(const krb5_ucs2 *ucs2s,
336 len = k5_ucs2s_to_utf8s(NULL, ucs2s, 0, -1, 0);
346 len = k5_ucs2s_to_utf8s(*utf8s, ucs2s, (size_t)len + 1, -1, 0);
391 krb5int_ucs2cs_to_utf8s(const krb5_ucs2 *ucs2s,
401 len = k5_ucs2s_to_utf8s(NULL, (krb5_ucs2 *)ucs2s, 0,
411 len = k5_ucs2s_to_utf8s(*utf8s, (krb5_ucs2 *)ucs2s,