Home
last modified time | relevance | path

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

1234567

/netbsd/external/gpl3/binutils/dist/binutils/
H A Dstrings.c967 char utf8[4]; in print_unicode_stream_body() local
969 utf8[0] = c; in print_unicode_stream_body()
973 utf8[1] = c; in print_unicode_stream_body()
1002 utf8[2] = c; in print_unicode_stream_body()
1034 utf8[3] = c; in print_unicode_stream_body()
1102 unsigned char utf8[4]; in print_unicode_stream_body() local
1104 utf8[0] = c; in print_unicode_stream_body()
1108 utf8[1] = c; in print_unicode_stream_body()
1110 if ((utf8[1] & 0xc0) != 0x80) in print_unicode_stream_body()
1134 utf8[2] = c; in print_unicode_stream_body()
[all …]
/netbsd/crypto/external/bsd/openssl/dist/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 …]
/netbsd/external/ibm-public/postfix/dist/src/util/
H A Dmidna_domain_test.ref4 ./midna_domain: "Δημοσθένους.example.com" ->utf8 "δημοσθένους.example.com"
12 ./midna_domain: "Hello.example.com" ->utf8 "hello.example.com"
21 ./midna_domain: "bad-.example.com" ->utf8 "(error)"
28 ./midna_domain: "-bad.example.com" ->utf8 "(error)"
56 ./midna_domain: "x。example.com" ->utf8 "x.example.com"
59 ./midna_domain: "x。example.com" ->ascii "x.example.com" ->utf8 "x.example.com"
63 ./midna_domain: "x.example.com" ->utf8 "x.example.com"
66 ./midna_domain: "x.example.com" ->ascii "x.example.com" ->utf8 "x.example.com"
70 ./midna_domain: "x。example.com" ->utf8 "x.example.com"
78 ./midna_domain: "xn--mumble.example.com" ->utf8 "㲹㲺㲵㲴.example.com"
[all …]
H A Dmidna_domain.c367 const char *utf8; in main() local
389 utf8 = midna_domain_to_utf8(bp); in main()
390 msg_info("\"%s\" ->utf8 \"%s\"", bp, utf8 ? utf8 : "(error)"); in main()
396 utf8 = midna_domain_to_utf8(ascii); in main()
398 bp, ascii, utf8 ? utf8 : "(error)"); in main()
399 if (utf8 != 0) { in main()
400 if (strcmp(utf8, bp) != 0) in main()
401 msg_warn("\"%s\" != \"%s\"", bp, utf8); in main()
405 if (utf8 != 0) { in main()
406 ascii = midna_domain_to_ascii(utf8); in main()
[all …]
/netbsd/external/bsd/libarchive/dist/libarchive/test/
H A Dtest_archive_string_conversion.c255 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 …]
/netbsd/crypto/external/bsd/heimdal/dist/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.in237 test_utf8_SOURCES = test-utf8.c
238 test_utf8_OBJECTS = test-utf8.$(OBJEXT)
290 test-rw.c test-utf8.c
294 test-utf8.c
798 utf8.c
1023 @rm -f test-utf8$(EXEEXT)
1376 test-utf8.log: test-utf8$(EXEEXT)
1514 -rm -f ./$(DEPDIR)/test-utf8.Po
1515 -rm -f ./$(DEPDIR)/utf8.Plo
1588 -rm -f ./$(DEPDIR)/test-utf8.Po
[all …]
/netbsd/external/gpl3/gdb/dist/gas/testsuite/gas/arc/
H A Dnps400-6.d224 404: 3c22 150a utf8 r10,r12,r20
226 410: 3f22 0f86 ffff ffff utf8 r6,r7,0xffffffff
228 420: 3e22 137e utf8 0,r14,r13
229 424: 3e22 72be ffff ffff utf8 0,0xffffffff,r10
230 42c: 3c22 1fbe ffff ffff utf8 0,r12,0xffffffff
231 434: 3d62 0044 utf8 r4,r5,0x1
233 440: 3962 013e utf8 0,r1,0x4
235 44c: 3c22 950a utf8.f r10,r12,r20
239 468: 3e22 937e utf8.f 0,r14,r13
242 47c: 3d62 8044 utf8.f r4,r5,0x1
[all …]
/netbsd/external/gpl3/gdb.old/dist/gas/testsuite/gas/arc/
H A Dnps400-6.d224 404: 3c22 150a utf8 r10,r12,r20
226 410: 3f22 0f86 ffff ffff utf8 r6,r7,0xffffffff
228 420: 3e22 137e utf8 0,r14,r13
229 424: 3e22 72be ffff ffff utf8 0,0xffffffff,r10
230 42c: 3c22 1fbe ffff ffff utf8 0,r12,0xffffffff
231 434: 3d62 0044 utf8 r4,r5,0x1
233 440: 3962 013e utf8 0,r1,0x4
235 44c: 3c22 950a utf8.f r10,r12,r20
239 468: 3e22 937e utf8.f 0,r14,r13
242 47c: 3d62 8044 utf8.f r4,r5,0x1
[all …]
/netbsd/external/apache2/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/
H A Ddiff-encodings.txt5 # RUN: diff -u diff-in.utf8 diff-in.bin && false || true
6 # RUN: diff -u diff-in.bin diff-in.utf8 && false || true
11 # RUN: cat diff-in.bin | diff -u diff-in.utf8 - && false || true
12 # RUN: cat diff-in.bin | diff -u - diff-in.utf8 && false || true
/netbsd/sys/fs/msdosfs/
H A Ddirentry.h139 struct winentry *wep, int cnt, int chksum, int utf8);
141 struct winentry *wep, int chksum, int utf8);
143 uint16_t *namlen, int utf8);
145 int msdosfs_winSlotCnt(const unsigned char *un, int unlen, int utf8);
H A Dmsdosfs_conv.c542 int chksum, int utf8) in msdosfs_unix2winfn() argument
563 len = utf8 ? utf8ucs2str(un, unlen, wn, WIN_MAXLEN) : char8ucs2str(un, unlen, wn, WIN_MAXLEN); in msdosfs_unix2winfn()
599 int chksum, int utf8) in msdosfs_winChkName() argument
623 len = utf8 ? utf8ucs2str(un, unlen, wn, WIN_MAXLEN) : char8ucs2str(un, unlen, wn, WIN_MAXLEN); in msdosfs_winChkName()
644 if (! (utf8 ? ucs2match(&wn[i], buf, WIN_CHARS) : char8match(&wn[i], buf, WIN_CHARS))) in msdosfs_winChkName()
656 uint16_t *namlen, int utf8) in msdosfs_win2unixfn() argument
696 len = utf8 ? ucs2utf8str(wn, WIN_CHARS, buf, sizeof(buf)) in msdosfs_win2unixfn()
743 msdosfs_winSlotCnt(const u_char *un, int unlen, int utf8) in msdosfs_winSlotCnt() argument
755 len = utf8 ? utf8ucs2str(un, unlen, NULL, WIN_MAXLEN) : unlen; in msdosfs_winSlotCnt()
/netbsd/external/bsd/libfido2/dist/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()
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DConvertUTF.h292 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);
/netbsd/external/bsd/nsd/dist/contrib/
H A Dnsd.spec35 iconv -f iso8859-1 -t utf-8 doc/RELNOTES > doc/RELNOTES.utf8
36 iconv -f iso8859-1 -t utf-8 doc/CREDITS > doc/CREDITS.utf8
37 mv -f doc/RELNOTES.utf8 doc/RELNOTES
38 mv -f doc/CREDITS.utf8 doc/CREDITS
/netbsd/external/gpl2/gettext/dist/gettext-tools/gnulib-m4/
H A Dgnulib-cache.m418 …dbool stpcpy stpncpy strcspn strpbrk strtol strtoul ucs4-utf8 unistd unlocked-io utf16-ucs4 utf8-u…
22 …dbool stpcpy stpncpy strcspn strpbrk strtol strtoul ucs4-utf8 unistd unlocked-io utf16-ucs4 utf8-u…
/netbsd/external/mit/expat/dist/lib/
H A Dxmltok.c1318 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 …]
/netbsd/external/bsd/libfido2/dist/src/
H A Dwinhello.c44 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()
/netbsd/external/apache2/argon2/dist/phc-winner-argon2/kats/
H A Dcheck-sums.ps19 $utf8 = New-Object System.Text.UTF8Encoding $false in hash() variable
11 [IO.File]::WriteAllText($tempfile, $contents, $utf8) in hash()
/netbsd/tests/usr.bin/cut/
H A Dt_cut.sh106 atf_test_case utf8
129 atf_add_test_case utf8
/netbsd/external/gpl2/gettext/dist/gettext-tools/src/
H A Dpo-charset.c49 static const char utf8[] = "UTF-8"; variable
52 const char *po_charset_utf8 = utf8;
105 utf8 in po_charset_canonicalize()
410 if (canon_charset == utf8) in po_charset_character_iterator()
/netbsd/external/gpl3/gcc.old/dist/gcc/
H A Djson.cc186 string::string (const char *utf8) in string() argument
188 gcc_assert (utf8); in string()
189 m_utf8 = xstrdup (utf8); in string()
/netbsd/external/gpl3/gcc/dist/gcc/
H A Djson.cc189 string::string (const char *utf8) in string() argument
191 gcc_assert (utf8); in string()
192 m_utf8 = xstrdup (utf8); in string()
/netbsd/usr.sbin/makefs/
H A Dmsdos.c70 bool utf8; member
95 { 'U', "utf8", &msdos_opt->utf8, OPT_BOOL, in msdos_prep_opts()
187 if (msdos_opt->utf8) in msdos_makefs()

1234567