/freebsd/share/i18n/esdb/UTF/ |
H A D | Makefile | 7 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 D | UTF.alias | 10 16 utf16
|
/freebsd/contrib/libfido2/openbsd-compat/ |
H A D | readpassphrase_win32.c | 58 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 D | p12_utl.c | 154 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 D | ConvertUTF.h | 334 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 D | test_archive_string_conversion.c | 84 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 D | archive_string.c | 2542 const char *utf16 = s; in utf16_to_unicode() local 2554 uc = archive_be16dec(utf16); in utf16_to_unicode() 2556 uc = archive_le16dec(utf16); in utf16_to_unicode() 2557 utf16 += 2; in utf16_to_unicode() 2565 uc2 = archive_be16dec(utf16); in utf16_to_unicode() 2567 uc2 = archive_le16dec(utf16); in utf16_to_unicode() 2572 utf16 += 2; in utf16_to_unicode() 2592 return (((int)(utf16 - s)) * -1); in utf16_to_unicode() 2595 return ((int)(utf16 - s)); in utf16_to_unicode() 2601 char *utf16 = p; in unicode_to_utf16be() local [all …]
|
H A D | archive_write_set_format_iso9660.c | 2215 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 D | Path.inc | 1541 llvm::SmallVectorImpl<wchar_t> &utf16) { 1545 original.size(), utf16.begin(), 0); 1551 utf16.reserve(len + 1); 1552 utf16.resize_for_overwrite(len); 1556 original.size(), utf16.begin(), utf16.size()); 1563 // Make utf16 null terminated. 1564 utf16.push_back(0); 1565 utf16.pop_back(); 1571 llvm::SmallVectorImpl<wchar_t> &utf16) { 1572 return CodePageToUTF16(CP_UTF8, utf8, utf16); [all …]
|
/freebsd/contrib/libfido2/src/ |
H A D | winhello.c | 164 wchar_t *utf16; in to_utf16() 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_fido() 160 wchar_t *utf16; to_utf16() local
|
/freebsd/crypto/heimdal/lib/wind/ |
H A D | ChangeLog | 11 * Add utf8 <-> utf16 support. 19 * Support utf8 to utf16 conversion.
|
/freebsd/contrib/expat/lib/ |
H A D | xmltok.c | 1313 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 D | scientific | 69 # ged.trid.xml ged-utf8.trid.xml ged-utf16.trid.xml
|
H A D | filesystems | 1578 # number of utf16 characters of loadername
|
/freebsd/contrib/googletest/googletest/test/ |
H A D | gtest_unittest.cc | 1128 const WCHAR* utf16 = String::AnsiToUtf16("str"); in TEST() local 1129 EXPECT_EQ(0, wcsncmp(L"str", utf16, 3)); in TEST() 1130 delete[] utf16; in TEST() 1137 const WCHAR* utf16 = String::AnsiToUtf16(".:\\ \"*?"); in TEST() local 1138 EXPECT_EQ(0, wcsncmp(L".:\\ \"*?", utf16, 3)); in TEST() 1139 delete[] utf16; in TEST()
|
/freebsd/crypto/heimdal/ |
H A D | ChangeLog | 83 * lib/krb5/crypto.c: Use wind_utf8ucs2_length to convert the password to utf16.
|