| /freebsd-12.1/share/i18n/esdb/UTF/ |
| H A D | Makefile | 8 UTF-16-var= utf16 10 UTF-16BE-var= utf16,big,force 12 UTF-16LE-var= utf16,little,force 14 UTF-16-INTERNAL-var= utf16,internal,force 16 UTF-16-SWAPPED-var= utf16,swapped,force
|
| H A D | UTF.alias | 11 16 utf16
|
| /freebsd-12.1/crypto/openssl/crypto/pkcs12/ |
| H A D | p12_utl.c | 149 static int bmp_to_utf8(char *str, const unsigned char *utf16, int len) in bmp_to_utf8() argument 158 utf32chr = (utf16[0]<<8) | utf16[1]; in bmp_to_utf8() 167 lo = (utf16[2]<<8) | utf16[3]; in bmp_to_utf8()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Support/ |
| H A D | ConvertUTF.h | 293 std::error_code UTF8ToUTF16(StringRef utf8, SmallVectorImpl<wchar_t> &utf16); 295 std::error_code CurCPToUTF16(StringRef utf8, SmallVectorImpl<wchar_t> &utf16); 296 std::error_code UTF16ToUTF8(const wchar_t *utf16, size_t utf16_len, 299 std::error_code UTF16ToCurCP(const wchar_t *utf16, size_t utf16_len,
|
| /freebsd-12.1/contrib/libarchive/libarchive/test/ |
| H A D | test_archive_string_conversion.c | 86 char *utf16 = p; in unicode_to_utf16be() local 92 archive_be16enc(utf16, ((uc >> 10) & 0x3ff) + 0xD800); in unicode_to_utf16be() 93 archive_be16enc(utf16+2, (uc & 0x3ff) + 0xDC00); in unicode_to_utf16be() 96 archive_be16enc(utf16, uc); in unicode_to_utf16be() 113 char *utf16 = p; in unicode_to_utf16le() local 119 archive_le16enc(utf16, ((uc >> 10) & 0x3ff) + 0xD800); in unicode_to_utf16le() 120 archive_le16enc(utf16+2, (uc & 0x3ff) + 0xDC00); in unicode_to_utf16le() 123 archive_le16enc(utf16, uc); in unicode_to_utf16le()
|
| /freebsd-12.1/contrib/libarchive/libarchive/ |
| H A D | archive_string.c | 2526 const char *utf16 = s; in utf16_to_unicode() local 2541 utf16 += 2; in utf16_to_unicode() 2556 utf16 += 2; in utf16_to_unicode() 2579 return ((int)(utf16 - s)); in utf16_to_unicode() 2585 char *utf16 = p; in unicode_to_utf16be() local 2599 archive_be16enc(utf16, uc); in unicode_to_utf16be() 2607 char *utf16 = p; in unicode_to_utf16le() local 2621 archive_le16enc(utf16, uc); in unicode_to_utf16le() 3746 utf16 += n; in best_effort_strncat_from_utf16() 3783 char *utf16; in best_effort_strncat_to_utf16() local [all …]
|
| H A D | archive_write_set_format_iso9660.c | 2214 int utf16 = (high << 8) | low; in joliet_allowed_char() local 2216 if (utf16 <= 0x001F) in joliet_allowed_char() 2219 switch (utf16) { in joliet_allowed_char()
|
| /freebsd-12.1/contrib/llvm/lib/Support/Windows/ |
| H A D | Path.inc | 1367 utf16.reserve(len + 1); 1368 utf16.set_size(len); 1371 original.size(), utf16.begin(), utf16.size()); 1378 // Make utf16 null terminated. 1379 utf16.push_back(0); 1380 utf16.pop_back(); 1387 return CodePageToUTF16(CP_UTF8, utf8, utf16); 1392 return CodePageToUTF16(CP_ACP, curcp, utf16); 1427 std::error_code UTF16ToUTF8(const wchar_t *utf16, size_t utf16_len, 1429 return UTF16ToCodePage(CP_UTF8, utf16, utf16_len, utf8); [all …]
|
| /freebsd-12.1/contrib/expat/lib/ |
| H A D | xmltok.c | 1346 unsigned short utf16[256]; member 1427 unsigned short c = uenc->utf16[(unsigned char)**fromP]; in unknown_toUtf16() 1465 e->utf16[i] = 0xFFFF; in XmlInitUnknownEncoding() 1474 e->utf16[i] = 0; in XmlInitUnknownEncoding() 1484 e->utf16[i] = (unsigned short)(c == 0 ? 0xFFFF : c); in XmlInitUnknownEncoding() 1489 e->utf16[i] = 0xFFFF; in XmlInitUnknownEncoding() 1503 e->utf16[i] = (unsigned short)c; in XmlInitUnknownEncoding()
|
| /freebsd-12.1/crypto/heimdal/lib/wind/ |
| H A D | ChangeLog | 11 * Add utf8 <-> utf16 support. 19 * Support utf8 to utf16 conversion.
|
| /freebsd-12.1/contrib/googletest/googletest/test/ |
| H A D | gtest_unittest.cc | 1071 const WCHAR* utf16 = String::AnsiToUtf16("str"); in TEST() local 1072 EXPECT_EQ(0, wcsncmp(L"str", utf16, 3)); in TEST() 1073 delete [] utf16; in TEST() 1080 const WCHAR* utf16 = String::AnsiToUtf16(".:\\ \"*?"); in TEST() local 1081 EXPECT_EQ(0, wcsncmp(L".:\\ \"*?", utf16, 3)); in TEST() 1082 delete [] utf16; in TEST()
|
| /freebsd-12.1/crypto/heimdal/ |
| H A D | ChangeLog | 83 * lib/krb5/crypto.c: Use wind_utf8ucs2_length to convert the password to utf16.
|