Searched refs:ucs2 (Results 1 - 4 of 4) sorted by relevance

/freebsd-11-stable/usr.sbin/efivar/
H A Defiutil.c80 efi_char *ucs2; local
86 ucs2 = malloc(datalen + sizeof(efi_char));
87 memcpy(ucs2, data, datalen);
88 ucs2[datalen / sizeof(efi_char)] = 0;
89 ucs2_to_utf8(ucs2, &utf8);
92 free(ucs2);
/freebsd-11-stable/crypto/heimdal/lib/ntlm/
H A Dntlm.c241 * Strings are either OEM or UNICODE. The later is encoded as ucs2 on
246 len_string(int ucs2, const char *s) argument
249 if (ucs2)
259 ret_string(krb5_storage *sp, int ucs2, size_t len, char **s) argument
270 if (ucs2) {
290 ret_sec_string(krb5_storage *sp, int ucs2, struct sec_buffer *desc, char **s) argument
294 CHECK(ret_string(sp, ucs2, desc->length, s), 0);
300 put_string(krb5_storage *sp, int ucs2, const char *s) argument
305 if (ucs2) {
315 if (ucs2)
370 encode_ti_string(krb5_storage *out, uint16_t type, int ucs2, char *s) argument
395 heim_ntlm_encode_targetinfo(const struct ntlm_targetinfo *ti, int ucs2, struct ntlm_buf *data) argument
456 heim_ntlm_decode_targetinfo(const struct ntlm_buf *data, int ucs2, struct ntlm_targetinfo *ti) argument
687 int ucs2 = 0; local
751 int ucs2 = 0; local
835 heim_ntlm_decode_type3(const struct ntlm_buf *buf, int ucs2, struct ntlm_type3 *type3) argument
922 int ucs2 = 0; local
[all...]
/freebsd-11-stable/crypto/heimdal/lib/wind/
H A Dtest-rw.c48 uint16_t ucs2[MAX_LENGTH]; member in struct:testcase
181 if (testcases[n].ucs2[m] != data[m])
/freebsd-11-stable/crypto/heimdal/lib/krb5/
H A Dpac.c645 uint16_t *ucs2; local
649 ucs2 = malloc(sizeof(ucs2[0]) * ucs2len);
650 if (ucs2 == NULL)
653 ret = wind_ucs2read(s, len, &flags, ucs2, &ucs2len);
656 free(ucs2);
660 ret = wind_ucs2utf8_length(ucs2, ucs2len, &u8len);
662 free(ucs2);
669 free(ucs2);
672 ret = wind_ucs2utf8(ucs2, ucs2le
731 uint16_t *ucs2; local
[all...]

Completed in 192 milliseconds