Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/crypto/pkcs12/
H A Dp12_utl.c84 unsigned long utf32chr = 0; in OPENSSL_utf82uni() local
90 j = UTF8_getc((const unsigned char *)asc+i, asclen-i, &utf32chr); in OPENSSL_utf82uni()
111 if (utf32chr > 0x10FFFF) /* UTF-16 cap */ in OPENSSL_utf82uni()
114 if (utf32chr >= 0x10000) /* pair of UTF-16 characters */ in OPENSSL_utf82uni()
128 j = UTF8_getc((const unsigned char *)asc+i, asclen-i, &utf32chr); in OPENSSL_utf82uni()
129 if (utf32chr >= 0x10000) { /* pair if UTF-16 characters */ in OPENSSL_utf82uni()
132 utf32chr -= 0x10000; in OPENSSL_utf82uni()
133 hi = 0xD800 + (utf32chr>>10); in OPENSSL_utf82uni()
134 lo = 0xDC00 + (utf32chr&0x3ff); in OPENSSL_utf82uni()
140 *unitmp++ = (unsigned char)(utf32chr>>8); in OPENSSL_utf82uni()
[all …]