Home
last modified time | relevance | path

Searched refs:utf8 (Results 1 – 25 of 89) sorted by relevance

1234

/freebsd/tools/tools/locale/tools/
H A Dconvert_map.pl25 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;
48 $utf8 = sprintf("\\x%02X", $ucs | 0xf0).$utf8;
59 $utf8 = sprintf("\\x%02X", $ucs | 0xf8).$utf8;
72 $utf8 = sprintf("\\x%02X", $ucs | 0xf8).$utf8;
[all …]
/freebsd/crypto/openssl/crypto/x509/
H A Dv3_utf8.c30 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 Dtest_archive_string_conversion.c253 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()
366 &utf8, utf8_nfc, f_sconv8)); in test_archive_string_normalization_nfc()
375 &utf8, utf8_nfc, t_sconv8)); in test_archive_string_normalization_nfc()
453 archive_string_free(&utf8); in test_archive_string_normalization_nfc()
464 struct archive_string utf8; in test_archive_string_normalization_mac_nfd() local
484 archive_string_init(&utf8); in test_archive_string_normalization_mac_nfd()
569 &utf8, utf8_nfc, f_sconv8)); in test_archive_string_normalization_mac_nfd()
584 &utf8, utf8_nfd, f_sconv8)); in test_archive_string_normalization_mac_nfd()
[all …]
/freebsd/crypto/heimdal/lib/wind/
H A DChangeLog11 * 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 DNTMakefile51 $(OBJ)\utf8.obj
109 $(OBJ)\test-utf8.exe
132 $(OBJ)\test-utf8.exe: $(OBJ)\test-utf8.obj
145 test-utf8.exe
H A DMakefile.am38 utf8.c
77 test-utf8
/freebsd/contrib/dialog/package/freebsd/
H A Dpkg-plist20 %%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 Dreadpassphrase_win32.c55 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 Defiutil.c76 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 DConvertUTF.h334 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 Dworkman.sh19 binmode STDIN, '\'':encoding(utf8)'\'';
20 binmode STDOUT, '\'':encoding(utf8)'\'';
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/
H A Dtst.aggpackbanner.ksh64 dtrace -qs /dev/stdin -x encoding=utf8 <<EOF
72 dtrace -qs /dev/stdin -x encoding=utf8 -x aggzoom <<EOF
H A Dtst.aggencoding.d17 #pragma D option encoding=utf8
/freebsd/contrib/expat/lib/
H A Dxmltok.c1314 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()
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()
1439 e->utf8[i][0] = 1; in XmlInitUnknownEncoding()
[all …]
/freebsd/contrib/netbsd-tests/usr.bin/cut/
H A Dt_cut.sh106 atf_test_case utf8
129 atf_add_test_case utf8
/freebsd/crypto/openssh/regress/unittests/utf8/
H A Dtests.c36 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 DMakefile7 SRCS+=utf8.c atomicio.c
/freebsd/contrib/dialog/samples/
H A Dyesno-utf86 . ./setup-utf8
H A Dmsgbox-utf87 . ./setup-utf8
H A Dmenubox-utf88 . ./setup-utf8
H A Dinputbox6-utf88 . ./setup-utf8
H A Dchecklist-utf88 . ./setup-utf8
H A Dmsgbox4-utf86 . ./setup-utf8
/freebsd/contrib/libarchive/libarchive/
H A Darchive_string.h231 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/crypto/openssh/regress/unittests/
H A DMakefile3 SUBDIR= test_helper sshbuf sshkey bitmap kex hostkeys utf8 match conversion

1234