| /netbsd-src/external/gpl3/binutils.old/dist/binutils/ |
| H A D | strings.c | 967 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() 975 if ((utf8[1] & 0xc0) != 0x80) in print_unicode_stream_body() 978 putback_buf[num_putback++] = utf8[1]; in print_unicode_stream_body() 982 else if ((utf8[0] & 0x20) == 0) in print_unicode_stream_body() 987 putback_buf[num_putback++] = utf8[1]; in print_unicode_stream_body() 992 print_buf[num_print ++] = utf8[0]; in print_unicode_stream_body() 993 print_buf[num_print ++] = utf8[1]; in print_unicode_stream_body() 1002 utf8[2] = c; in print_unicode_stream_body() [all …]
|
| /netbsd-src/external/gpl3/binutils/dist/binutils/ |
| H A D | strings.c | 983 char utf8[4]; in print_unicode_stream_body() local 985 utf8[0] = c; in print_unicode_stream_body() 989 utf8[1] = c; in print_unicode_stream_body() 991 if ((utf8[1] & 0xc0) != 0x80) in print_unicode_stream_body() 994 putback_buf[num_putback++] = utf8[1]; in print_unicode_stream_body() 998 else if ((utf8[0] & 0x20) == 0) in print_unicode_stream_body() 1003 putback_buf[num_putback++] = utf8[1]; in print_unicode_stream_body() 1008 print_buf[num_print ++] = utf8[0]; in print_unicode_stream_body() 1009 print_buf[num_print ++] = utf8[1]; in print_unicode_stream_body() 1018 utf8[2] = c; in print_unicode_stream_body() [all …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/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 …]
|
| /netbsd-src/external/ibm-public/postfix/dist/src/util/ |
| H A D | midna_domain_test.ref | 4 ./midna_domain: "Δημοσθένους.example.com" ->utf8 "δημοσθένους.example.com" 7 ./midna_domain: "Δημοσθένους.example.com" ->ascii "xn--ixanjetild1af0a.example.com" ->utf8 "δημοσθέ… 12 ./midna_domain: "Hello.example.com" ->utf8 "hello.example.com" 15 ./midna_domain: "Hello.example.com" ->utf8 "hello.example.com" ->ascii "hello.example.com" 21 ./midna_domain: "bad-.example.com" ->utf8 "(error)" 28 ./midna_domain: "-bad.example.com" ->utf8 "(error)" 36 …in: "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789.example.com" ->utf8 "(error)" 42 …f0123456789abcdef0123456789abcdef0123456789abcdef012345678.example.com" ->utf8 "abcdef0123456789ab… 45 …f0123456789abcdef0123456789abcdef0123456789abcdef012345678.example.com" ->utf8 "abcdef0123456789ab… 50 …234567.abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567.example.com" ->utf8 "(error)" [all …]
|
| H A D | midna_domain.c | 367 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-src/crypto/external/bsd/heimdal/dist/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.in | 102 test-punycode$(EXEEXT) test-ldap$(EXEEXT) test-utf8$(EXEEXT) 190 ldap.lo normalize.lo punycode.lo stringprep.lo utf8.lo 237 test_utf8_SOURCES = test-utf8.c 238 test_utf8_OBJECTS = test-utf8.$(OBJEXT) 266 ./$(DEPDIR)/test-rw.Po ./$(DEPDIR)/test-utf8.Po \ 267 ./$(DEPDIR)/utf8.Plo ./$(DEPDIR)/wind_err.Plo 290 test-rw.c test-utf8.c 294 test-utf8.c 798 utf8.c 1022 test-utf8$(EXEEXT): $(test_utf8_OBJECTS) $(test_utf8_DEPENDENCIES) $(EXTRA_test_utf8_DEPENDENCIES) [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/ |
| H A D | diff-encodings.txt | 5 # 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-src/sys/fs/msdosfs/ |
| H A D | direntry.h | 139 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 D | msdosfs_conv.c | 542 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-src/external/bsd/libfido2/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/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);
|
| /netbsd-src/external/bsd/nsd/dist/contrib/ |
| H A D | nsd.spec | 35 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-src/external/gpl2/gettext/dist/gettext-tools/gnulib-m4/ |
| H A D | gnulib-cache.m4 | 18 …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-src/external/mit/expat/dist/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() 1378 memcpy(*toP, utf8, n); 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() [all …]
|
| /netbsd-src/external/apache2/argon2/dist/phc-winner-argon2/kats/ |
| H A D | check-sums.ps1 | 9 $utf8 = New-Object System.Text.UTF8Encoding $false in hash() variable 11 [IO.File]::WriteAllText($tempfile, $contents, $utf8) in hash()
|
| /netbsd-src/tests/usr.bin/cut/ |
| H A D | t_cut.sh | 106 atf_test_case utf8 144 atf_add_test_case utf8
|
| /netbsd-src/external/gpl2/gettext/dist/gettext-tools/src/ |
| H A D | po-charset.c | 49 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-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | json.cc | 186 string::string (const char *utf8) in string() argument 188 gcc_assert (utf8); in string() 189 m_utf8 = xstrdup (utf8); in string()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | json.cc | 189 string::string (const char *utf8) in string() argument 191 gcc_assert (utf8); in string() 192 m_utf8 = xstrdup (utf8); in string()
|
| /netbsd-src/usr.sbin/makefs/ |
| H A D | msdos.c | 70 bool utf8; member 95 { 'U', "utf8", &msdos_opt->utf8, OPT_BOOL, in msdos_prep_opts() 187 if (msdos_opt->utf8) in msdos_makefs()
|
| /netbsd-src/external/mit/libuv/dist/src/win/ |
| H A D | util.c | 1202 int uv__convert_utf16_to_utf8(const WCHAR* utf16, int utf16len, char** utf8) { in uv__convert_utf16_to_utf8() argument 1224 *utf8 = uv__malloc(bufsize + 1); in uv__convert_utf16_to_utf8() 1226 if (*utf8 == NULL) in uv__convert_utf16_to_utf8() 1234 *utf8, in uv__convert_utf16_to_utf8() 1240 uv__free(*utf8); in uv__convert_utf16_to_utf8() 1241 *utf8 = NULL; in uv__convert_utf16_to_utf8() 1245 (*utf8)[bufsize] = '\0'; in uv__convert_utf16_to_utf8() 1257 int uv__convert_utf8_to_utf16(const char* utf8, int utf8len, WCHAR** utf16) { in uv__convert_utf8_to_utf16() argument 1260 if (utf8 == NULL) in uv__convert_utf8_to_utf16() 1264 bufsize = MultiByteToWideChar(CP_UTF8, 0, utf8, utf8len, NULL, 0); in uv__convert_utf8_to_utf16() [all …]
|
| /netbsd-src/external/gpl2/gettext/dist/gnulib-local/lib/ |
| H A D | linebreak.c.diff | 6 #include "utf8-ucs4.h" 16 #include "utf8-ucs4.h"
|
| /netbsd-src/crypto/external/bsd/libsaslc/dist/src/ |
| H A D | mech_digestmd5.c | 164 bool utf8; member 230 utf8_to_8859_1(char *utf8, char **iso8859) in utf8_to_8859_1() argument 235 src = (unsigned char *)utf8; in utf8_to_8859_1() 237 end = src + strlen(utf8); in utf8_to_8859_1() 827 char *utf8, *iso8859; in stringprep_realms() local 842 utf8 = l->value; in stringprep_realms() 843 if (utf8_to_8859_1(utf8, &iso8859) == -1) in stringprep_realms() 845 free(utf8); in stringprep_realms() 1748 if (cdata->utf8) { in saslc__mech_digestmd5_parse_challenge() 1758 cdata->utf8 = true; in saslc__mech_digestmd5_parse_challenge() [all …]
|