Lines Matching refs:utf8s
137 krb5int_utf8s_to_ucs2s(const char *utf8s,
144 chars = krb5int_utf8_chars(utf8s);
150 len = k5_utf8s_to_ucs2s(*ucs2s, utf8s, chars + 1, 0);
165 krb5int_utf8cs_to_ucs2s(const char *utf8s,
173 chars = krb5int_utf8c_chars(utf8s, utf8slen);
179 len = k5_utf8s_to_ucs2s(*ucs2s, utf8s, chars + 1, 0);
194 krb5int_utf8s_to_ucs2les(const char *utf8s,
201 chars = krb5int_utf8_chars(utf8s);
208 len = k5_utf8s_to_ucs2s((krb5_ucs2 *)*ucs2les, utf8s, chars + 1, 1);
223 krb5int_utf8cs_to_ucs2les(const char *utf8s,
231 chars = krb5int_utf8c_chars(utf8s, utf8slen);
238 len = k5_utf8s_to_ucs2s((krb5_ucs2 *)*ucs2les, utf8s, chars + 1, 1);
331 char **utf8s,
341 *utf8s = (char *)malloc((size_t)len + 1);
342 if (*utf8s == NULL) {
346 len = k5_ucs2s_to_utf8s(*utf8s, ucs2s, (size_t)len + 1, -1, 0);
348 free(*utf8s);
349 *utf8s = NULL;
362 char **utf8s,
371 *utf8s = (char *)malloc((size_t)len + 1);
372 if (*utf8s == NULL) {
376 len = k5_ucs2s_to_utf8s(*utf8s, (krb5_ucs2 *)ucs2les, (size_t)len + 1, -1, 1);
378 free(*utf8s);
379 *utf8s = NULL;
393 char **utf8s,
406 *utf8s = (char *)malloc((size_t)len + 1);
407 if (*utf8s == NULL) {
411 len = k5_ucs2s_to_utf8s(*utf8s, (krb5_ucs2 *)ucs2s,
414 free(*utf8s);
415 *utf8s = NULL;
429 char **utf8s,
442 *utf8s = (char *)malloc((size_t)len + 1);
443 if (*utf8s == NULL) {
447 len = k5_ucs2s_to_utf8s(*utf8s, (krb5_ucs2 *)ucs2les,
450 free(*utf8s);
451 *utf8s = NULL;