Home
last modified time | relevance | path

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

/freebsd/share/i18n/esdb/UTF/
H A DMakefile7 UTF-16-var= utf16
9 UTF-16BE-var= utf16,big,force
11 UTF-16LE-var= utf16,little,force
13 UTF-16-INTERNAL-var= utf16,internal,force
15 UTF-16-SWAPPED-var= utf16,swapped,force
H A DUTF.alias10 16 utf16
/freebsd/contrib/libfido2/openbsd-compat/
H A Dreadpassphrase_win32.c58 wchar_t* utf16 = NULL; in utf8_to_utf16() local
60 (utf16 = malloc(needed * sizeof(wchar_t))) == NULL || in utf8_to_utf16()
61 MultiByteToWideChar(CP_UTF8, 0, utf8, -1, utf16, needed) == 0) { in utf8_to_utf16()
67 return utf16; in utf8_to_utf16()
/freebsd/crypto/openssl/crypto/pkcs12/
H A Dp12_utl.c154 static int bmp_to_utf8(char *str, const unsigned char *utf16, int len) in bmp_to_utf8() argument
163 utf32chr = (utf16[0]<<8) | utf16[1]; in bmp_to_utf8()
172 lo = (utf16[2]<<8) | utf16[3]; in bmp_to_utf8()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DConvertUTF.h334 std::error_code UTF8ToUTF16(StringRef utf8, SmallVectorImpl<wchar_t> &utf16);
336 std::error_code CurCPToUTF16(StringRef utf8, SmallVectorImpl<wchar_t> &utf16);
337 std::error_code UTF16ToUTF8(const wchar_t *utf16, size_t utf16_len,
340 std::error_code UTF16ToCurCP(const wchar_t *utf16, size_t utf16_len,
/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_archive_string_conversion.c84 char *utf16 = p; in unicode_to_utf16be() local
90 archive_be16enc(utf16, ((uc >> 10) & 0x3ff) + 0xD800); in unicode_to_utf16be()
91 archive_be16enc(utf16+2, (uc & 0x3ff) + 0xDC00); in unicode_to_utf16be()
94 archive_be16enc(utf16, uc); in unicode_to_utf16be()
111 char *utf16 = p; in unicode_to_utf16le() local
117 archive_le16enc(utf16, ((uc >> 10) & 0x3ff) + 0xD800); in unicode_to_utf16le()
118 archive_le16enc(utf16+2, (uc & 0x3ff) + 0xDC00); in unicode_to_utf16le()
121 archive_le16enc(utf16, uc); in unicode_to_utf16le()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_string.c2542 const char *utf16 = s; in utf16_to_unicode() local
2557 utf16 += 2; in utf16_to_unicode()
2572 utf16 += 2; in utf16_to_unicode()
2595 return ((int)(utf16 - s)); in utf16_to_unicode()
2601 char *utf16 = p; in unicode_to_utf16be() local
2615 archive_be16enc(utf16, uc); in unicode_to_utf16be()
2623 char *utf16 = p; in unicode_to_utf16le() local
2637 archive_le16enc(utf16, uc); in unicode_to_utf16le()
3751 utf16 += n; in best_effort_strncat_from_utf16()
3788 char *utf16; in best_effort_strncat_to_utf16() local
[all …]
H A Darchive_write_set_format_iso9660.c2215 int utf16 = (high << 8) | low; in joliet_allowed_char() local
2217 if (utf16 <= 0x001F) in joliet_allowed_char()
2220 switch (utf16) { in joliet_allowed_char()
/freebsd/contrib/llvm-project/llvm/lib/Support/Windows/
H A DPath.inc1539 original.size(), utf16.begin(), 0);
1545 utf16.reserve(len + 1);
1546 utf16.resize_for_overwrite(len);
1550 original.size(), utf16.begin(), utf16.size());
1557 // Make utf16 null terminated.
1558 utf16.push_back(0);
1559 utf16.pop_back();
1566 return CodePageToUTF16(CP_UTF8, utf8, utf16);
1571 return CodePageToUTF16(CP_ACP, curcp, utf16);
1607 return UTF16ToCodePage(CP_UTF8, utf16, utf16_len, utf8);
[all …]
/freebsd/contrib/libfido2/src/
H A Dwinhello.c164 wchar_t *utf16; in to_utf16() local
175 if ((utf16 = calloc((size_t)nch, sizeof(*utf16))) == NULL) { in to_utf16()
179 if (MultiByteToWideChar(CP_UTF8, 0, utf8, -1, utf16, nch) != nch) { in to_utf16()
181 free(utf16); in to_utf16()
185 return utf16; in to_utf16()
/freebsd/crypto/heimdal/lib/wind/
H A DChangeLog11 * Add utf8 <-> utf16 support.
19 * Support utf8 to utf16 conversion.
/freebsd/contrib/expat/lib/
H A Dxmltok.c1313 unsigned short utf16[256]; member
1384 unsigned short c = uenc->utf16[(unsigned char)**fromP]; in unknown_toUtf16()
1415 e->utf16[i] = 0xFFFF; in XmlInitUnknownEncoding()
1426 e->utf16[i] = 0; in XmlInitUnknownEncoding()
1434 e->utf16[i] = (unsigned short)(c == 0 ? 0xFFFF : c); in XmlInitUnknownEncoding()
1438 e->utf16[i] = 0xFFFF; in XmlInitUnknownEncoding()
1451 e->utf16[i] = (unsigned short)c; in XmlInitUnknownEncoding()
/freebsd/contrib/file/magic/Magdir/
H A Dscientific69 # ged.trid.xml ged-utf8.trid.xml ged-utf16.trid.xml
H A Dfilesystems1578 # number of utf16 characters of loadername
/freebsd/contrib/googletest/googletest/test/
H A Dgtest_unittest.cc1124 const WCHAR* utf16 = String::AnsiToUtf16("str"); in TEST() local
1125 EXPECT_EQ(0, wcsncmp(L"str", utf16, 3)); in TEST()
1126 delete[] utf16; in TEST()
1133 const WCHAR* utf16 = String::AnsiToUtf16(".:\\ \"*?"); in TEST() local
1134 EXPECT_EQ(0, wcsncmp(L".:\\ \"*?", utf16, 3)); in TEST()
1135 delete[] utf16; in TEST()
/freebsd/crypto/heimdal/
H A DChangeLog83 * lib/krb5/crypto.c: Use wind_utf8ucs2_length to convert the password to utf16.