/freebsd/tools/tools/locale/tools/ |
H A D | convert_map.pl | 25 my $utf8; 28 $utf8 = sprintf("\\x%02X", $ucs).$utf8; 30 $utf8 = sprintf("\\x%02X", ($ucs & 0x3f) | 0x80).$utf8; 32 $utf8 = sprintf("\\x%02X", $ucs | 0xc0).$utf8; 35 $utf8 = sprintf("\\x%02X", ($ucs & 0x3f) | 0x80).$utf8; 37 $utf8 = sprintf("\\x%02X", ($ucs & 0x3f) | 0x80).$utf8; 39 $utf8 = sprintf("\\x%02X", $ucs | 0xe0).$utf8; 42 $utf8 = sprintf("\\x%02X", ($ucs & 0x3f) | 0x80).$utf8; 44 $utf8 = sprintf("\\x%02X", ($ucs & 0x3f) | 0x80).$utf8; 46 $utf8 = sprintf("\\x%02X", ($ucs & 0x3f) | 0x80).$utf8; [all …]
|
/freebsd/crypto/openssl/crypto/x509/ |
H A D | v3_utf8.c | 30 ASN1_UTF8STRING *utf8) in i2s_ASN1_UTF8STRING() argument 34 if (utf8 == NULL || utf8->length == 0) { in i2s_ASN1_UTF8STRING() 38 if ((tmp = OPENSSL_malloc(utf8->length + 1)) == NULL) { in i2s_ASN1_UTF8STRING() 42 memcpy(tmp, utf8->data, utf8->length); in i2s_ASN1_UTF8STRING() 43 tmp[utf8->length] = 0; in i2s_ASN1_UTF8STRING() 50 ASN1_UTF8STRING *utf8; in s2i_ASN1_UTF8STRING() local 55 if ((utf8 = ASN1_UTF8STRING_new()) == NULL) { in s2i_ASN1_UTF8STRING() 59 if (!ASN1_STRING_set((ASN1_STRING *)utf8, str, strlen(str))) { in s2i_ASN1_UTF8STRING() 61 ASN1_UTF8STRING_free(utf8); in s2i_ASN1_UTF8STRING() 65 ebcdic2ascii(utf8->data, utf8->data, utf8->length); in s2i_ASN1_UTF8STRING() [all …]
|
/freebsd/contrib/libarchive/libarchive/test/ |
H A D | test_archive_string_conversion.c | 253 struct archive_string utf8; in test_archive_string_normalization_nfc() local 273 archive_string_init(&utf8); in test_archive_string_normalization_nfc() 357 &utf8, utf8_nfd, f_sconv8)); in test_archive_string_normalization_nfc() 360 assertEqualUTF8String(utf8_nfc, utf8.s); in test_archive_string_normalization_nfc() 366 &utf8, utf8_nfc, f_sconv8)); in test_archive_string_normalization_nfc() 369 assertEqualUTF8String(utf8_nfc, utf8.s); in test_archive_string_normalization_nfc() 375 &utf8, utf8_nfc, t_sconv8)); in test_archive_string_normalization_nfc() 378 assertEqualUTF8String(utf8_nfc, utf8.s); in test_archive_string_normalization_nfc() 384 &utf8, utf16be_nfd, 100000, f_sconv16be)); in test_archive_string_normalization_nfc() 387 assertEqualUTF8String(utf8_nfc, utf8.s); in test_archive_string_normalization_nfc() [all …]
|
/freebsd/crypto/heimdal/lib/wind/ |
H A D | ChangeLog | 11 * Add utf8 <-> utf16 support. 19 * Support utf8 to utf16 conversion. 87 * utf8.c: Make wind_utf8ucs4_length() work again. 89 * test-utf8.c: Test wind_utf8ucs4_length(). 93 * utf8.c: Fix overaggressive checks, fix comments. 106 * test-utf8.c: spelling 108 * utf8.c: Add wind_ucs4toutf8 112 * test-utf8.c: Add test for wind_ucs4toutf8. 116 * utf8.c (wind_utf8toucs4): allow calculation of length by passing
|
H A D | NTMakefile | 51 $(OBJ)\utf8.obj 109 $(OBJ)\test-utf8.exe 132 $(OBJ)\test-utf8.exe: $(OBJ)\test-utf8.obj 145 test-utf8.exe
|
H A D | Makefile.am | 38 utf8.c 77 test-utf8
|
/freebsd/contrib/dialog/package/freebsd/ |
H A D | pkg-plist | 20 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/checklist-utf8 55 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/editbox-utf8 63 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/form1-utf8 97 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/inputbox6-utf8 114 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/menubox-utf8 130 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/msgbox-utf8 136 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/msgbox4-utf8 144 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/passwordform1-utf8 169 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/setup-utf8 196 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/yesno-utf8
|
/freebsd/contrib/libfido2/openbsd-compat/ |
H A D | readpassphrase_win32.c | 55 utf8_to_utf16(const char *utf8) in utf8_to_utf16() argument 59 if ((needed = MultiByteToWideChar(CP_UTF8, 0, utf8, -1, NULL, 0)) == 0 || in utf8_to_utf16() 61 MultiByteToWideChar(CP_UTF8, 0, utf8, -1, utf16, needed) == 0) { in utf8_to_utf16()
|
/freebsd/usr.sbin/efivar/ |
H A D | efiutil.c | 76 char *utf8 = NULL; in utf8dump() local 86 ucs2_to_utf8(ucs2, &utf8); in utf8dump() 87 printf("%s\n", utf8); in utf8dump() 88 free(utf8); in utf8dump()
|
/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); 338 SmallVectorImpl<char> &utf8); 341 SmallVectorImpl<char> &utf8);
|
/freebsd/contrib/tzcode/ |
H A D | workman.sh | 18 binmode STDIN, '\'':encoding(utf8)'\''; 19 binmode STDOUT, '\'':encoding(utf8)'\'';
|
/freebsd/contrib/expat/lib/ |
H A D | xmltok.c | 1314 char utf8[256][4]; member 1355 const char *utf8; in unknown_toUtf8() local 1359 utf8 = uenc->utf8[(unsigned char)**fromP]; in unknown_toUtf8() 1360 n = *utf8++; in unknown_toUtf8() 1366 utf8 = buf; in unknown_toUtf8() 1374 memcpy(*toP, utf8, n); in unknown_toUtf8() 1416 e->utf8[i][0] = 1; in XmlInitUnknownEncoding() 1417 e->utf8[i][1] = 0; in XmlInitUnknownEncoding() 1425 e->utf8[i][0] = 0; in XmlInitUnknownEncoding() 1432 e->utf8[i][0] = 1; in XmlInitUnknownEncoding() [all …]
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/ |
H A D | tst.aggpackbanner.ksh | 64 dtrace -qs /dev/stdin -x encoding=utf8 <<EOF 72 dtrace -qs /dev/stdin -x encoding=utf8 -x aggzoom <<EOF
|
H A D | tst.aggencoding.d | 17 #pragma D option encoding=utf8
|
/freebsd/contrib/netbsd-tests/usr.bin/cut/ |
H A D | t_cut.sh | 106 atf_test_case utf8 129 atf_add_test_case utf8
|
/freebsd/crypto/openssh/regress/unittests/utf8/ |
H A D | tests.c | 36 one(int utf8, const char *name, const char *mbs, int width, in one() argument 45 (void)strlcpy(buf, utf8 ? "utf8_" : "c_", sizeof(buf)); in one()
|
H A D | Makefile | 7 SRCS+=utf8.c atomicio.c
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_string.h | 231 int archive_mstring_copy_utf8(struct archive_mstring *, const char *utf8); 237 int archive_mstring_update_utf8(struct archive *, struct archive_mstring *aes, const char *utf8);
|
/freebsd/contrib/dialog/samples/ |
H A D | yesno-utf8 | 6 . ./setup-utf8
|
H A D | msgbox-utf8 | 7 . ./setup-utf8
|
H A D | menubox-utf8 | 8 . ./setup-utf8
|
H A D | inputbox6-utf8 | 8 . ./setup-utf8
|
H A D | msgbox4-utf8 | 6 . ./setup-utf8
|
H A D | checklist-utf8 | 8 . ./setup-utf8
|
/freebsd/crypto/openssh/regress/unittests/ |
H A D | Makefile | 3 SUBDIR= test_helper sshbuf sshkey bitmap kex hostkeys utf8 match conversion
|