Lines Matching defs:ucs2les
195 unsigned char **ucs2les,
203 *ucs2les = (unsigned char *)malloc((chars + 1) * sizeof(krb5_ucs2));
204 if (*ucs2les == NULL) {
208 len = k5_utf8s_to_ucs2s((krb5_ucs2 *)*ucs2les, utf8s, chars + 1, 1);
210 free(*ucs2les);
211 *ucs2les = NULL;
225 unsigned char **ucs2les,
233 *ucs2les = (unsigned char *)malloc((chars + 1) * sizeof(krb5_ucs2));
234 if (*ucs2les == NULL) {
238 len = k5_utf8s_to_ucs2s((krb5_ucs2 *)*ucs2les, utf8s, chars + 1, 1);
240 free(*ucs2les);
241 *ucs2les = NULL;
361 krb5int_ucs2les_to_utf8s(const unsigned char *ucs2les,
367 len = k5_ucs2s_to_utf8s(NULL, (krb5_ucs2 *)ucs2les, 0, -1, 1);
376 len = k5_ucs2s_to_utf8s(*utf8s, (krb5_ucs2 *)ucs2les, (size_t)len + 1, -1, 1);
427 krb5int_ucs2lecs_to_utf8s(const unsigned char *ucs2les,
437 len = k5_ucs2s_to_utf8s(NULL, (krb5_ucs2 *)ucs2les, 0,
447 len = k5_ucs2s_to_utf8s(*utf8s, (krb5_ucs2 *)ucs2les,