| /freebsd-13.1/tools/tools/locale/tools/ |
| H A D | convert_map.pl | 26 my $utf8; 29 $utf8 = sprintf("\\x%02X", $ucs).$utf8; 31 $utf8 = sprintf("\\x%02X", ($ucs & 0x3f) | 0x80).$utf8; 33 $utf8 = sprintf("\\x%02X", $ucs | 0xc0).$utf8; 36 $utf8 = sprintf("\\x%02X", ($ucs & 0x3f) | 0x80).$utf8; 38 $utf8 = sprintf("\\x%02X", ($ucs & 0x3f) | 0x80).$utf8; 40 $utf8 = sprintf("\\x%02X", $ucs | 0xe0).$utf8; 49 $utf8 = sprintf("\\x%02X", $ucs | 0xf0).$utf8; 60 $utf8 = sprintf("\\x%02X", $ucs | 0xf8).$utf8; 73 $utf8 = sprintf("\\x%02X", $ucs | 0xf8).$utf8; [all …]
|
| /freebsd-13.1/contrib/libarchive/libarchive/test/ |
| H A D | test_archive_string_conversion.c | 255 struct archive_string utf8; in test_archive_string_normalization_nfc() local 275 archive_string_init(&utf8); in test_archive_string_normalization_nfc() 359 &utf8, utf8_nfd, f_sconv8)); in test_archive_string_normalization_nfc() 368 &utf8, utf8_nfc, f_sconv8)); in test_archive_string_normalization_nfc() 377 &utf8, utf8_nfc, t_sconv8)); in test_archive_string_normalization_nfc() 455 archive_string_free(&utf8); in test_archive_string_normalization_nfc() 466 struct archive_string utf8; in test_archive_string_normalization_mac_nfd() local 486 archive_string_init(&utf8); in test_archive_string_normalization_mac_nfd() 571 &utf8, utf8_nfc, f_sconv8)); in test_archive_string_normalization_mac_nfd() 586 &utf8, utf8_nfd, f_sconv8)); in test_archive_string_normalization_mac_nfd() [all …]
|
| /freebsd-13.1/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-13.1/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-13.1/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-13.1/usr.sbin/efivar/ |
| H A D | efiutil.c | 78 char *utf8 = NULL; in utf8dump() local 88 ucs2_to_utf8(ucs2, &utf8); in utf8dump() 89 printf("%s\n", utf8); in utf8dump() 90 free(utf8); in utf8dump()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | ConvertUTF.h | 292 std::error_code UTF8ToUTF16(StringRef utf8, SmallVectorImpl<wchar_t> &utf16); 294 std::error_code CurCPToUTF16(StringRef utf8, SmallVectorImpl<wchar_t> &utf16); 296 SmallVectorImpl<char> &utf8); 299 SmallVectorImpl<char> &utf8);
|
| /freebsd-13.1/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-13.1/contrib/expat/lib/ |
| H A D | xmltok.c | 1318 char utf8[256][4]; member 1359 const char *utf8; in unknown_toUtf8() local 1363 utf8 = uenc->utf8[(unsigned char)**fromP]; in unknown_toUtf8() 1364 n = *utf8++; in unknown_toUtf8() 1370 utf8 = buf; in unknown_toUtf8() 1420 e->utf8[i][0] = 1; in XmlInitUnknownEncoding() 1421 e->utf8[i][1] = 0; in XmlInitUnknownEncoding() 1429 e->utf8[i][0] = 0; in XmlInitUnknownEncoding() 1436 e->utf8[i][0] = 1; in XmlInitUnknownEncoding() 1443 e->utf8[i][0] = 1; in XmlInitUnknownEncoding() [all …]
|
| /freebsd-13.1/contrib/netbsd-tests/usr.bin/cut/ |
| H A D | t_cut.sh | 106 atf_test_case utf8 129 atf_add_test_case utf8
|
| /freebsd-13.1/contrib/libfido2/src/ |
| H A D | winhello.c | 44 to_utf16(const char *utf8) in to_utf16() argument 49 if (utf8 == NULL) { in to_utf16() 53 if ((nch = MultiByteToWideChar(CP_UTF8, 0, utf8, -1, NULL, 0)) < 1 || in to_utf16() 62 if (MultiByteToWideChar(CP_UTF8, 0, utf8, -1, utf16, nch) != nch) { in to_utf16() 75 char *utf8; in to_utf8() local 86 if ((utf8 = calloc((size_t)nch, sizeof(*utf8))) == NULL) { in to_utf8() 91 utf8, nch, NULL, NULL) != nch) { in to_utf8() 93 free(utf8); in to_utf8() 97 return utf8; in to_utf8()
|
| /freebsd-13.1/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-13.1/contrib/dialog/samples/ |
| H A D | msgbox-utf8 | 7 . ./setup-utf8
|
| H A D | yesno-utf8 | 6 . ./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-13.1/contrib/libarchive/libarchive/ |
| H A D | archive_string.h | 234 int archive_mstring_copy_utf8(struct archive_mstring *, const char *utf8); 240 int archive_mstring_update_utf8(struct archive *, struct archive_mstring *aes, const char *utf8…
|
| /freebsd-13.1/crypto/openssh/regress/unittests/ |
| H A D | Makefile | 4 SUBDIR= test_helper sshbuf sshkey bitmap kex hostkeys utf8 match conversion
|
| /freebsd-13.1/lib/libc/locale/ |
| H A D | Makefile.inc | 17 tolower.c toupper.c utf8.c wcrtomb.c wcsnrtombs.c \ 52 MAN+= big5.5 euc.5 gb18030.5 gb2312.5 gbk.5 mskanji.5 utf8.5
|