Home
last modified time | relevance | path

Searched refs:utf16 (Results 1 – 25 of 32) sorted by relevance

12

/netbsd-src/external/bsd/libfido2/dist/openbsd-compat/
H A Dreadpassphrase_win32.c58 wchar_t* utf16 = NULL; in utf8_to_utf16() local
60 (utf16 = malloc(needed * sizeof(wchar_t))) == NULL || in utf8_to_utf16()
61 MultiByteToWideChar(CP_UTF8, 0, utf8, -1, utf16, needed) == 0) { in utf8_to_utf16()
67 return utf16; in utf8_to_utf16()
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/pkcs12/
H A Dp12_utl.c149 static int bmp_to_utf8(char *str, const unsigned char *utf16, int len) in bmp_to_utf8() argument
158 utf32chr = (utf16[0]<<8) | utf16[1]; in bmp_to_utf8()
167 lo = (utf16[2]<<8) | utf16[3]; in bmp_to_utf8()
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/pkcs12/
H A Dp12_utl.c154 static int bmp_to_utf8(char *str, const unsigned char *utf16, int len) in bmp_to_utf8() argument
163 utf32chr = (utf16[0]<<8) | utf16[1]; in bmp_to_utf8()
172 lo = (utf16[2]<<8) | utf16[3]; in bmp_to_utf8()
/netbsd-src/share/i18n/esdb/UTF/
H A DMakefile.inc9 UTF-16-var= utf16
11 UTF-16BE-var= utf16,big,force
13 UTF-16LE-var= utf16,little,force
/netbsd-src/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);
295 std::error_code UTF16ToUTF8(const wchar_t *utf16, size_t utf16_len,
298 std::error_code UTF16ToCurCP(const wchar_t *utf16, size_t utf16_len,
/netbsd-src/external/apache2/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/
H A Ddiff-encodings.txt4 # RUN: diff -u diff-in.utf16 diff-in.bin && false || true
10 # RUN: cat diff-in.bin | diff -u diff-in.utf16 - && false || true
/netbsd-src/external/mit/libuv/dist/src/win/
H A Dutil.c1202 int uv__convert_utf16_to_utf8(const WCHAR* utf16, int utf16len, char** utf8) { in uv__convert_utf16_to_utf8() argument
1205 if (utf16 == NULL) in uv__convert_utf16_to_utf8()
1211 utf16, in uv__convert_utf16_to_utf8()
1232 utf16, 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
1272 *utf16 = uv__malloc(sizeof(WCHAR) * (bufsize + 1)); in uv__convert_utf8_to_utf16()
1274 if (*utf16 == NULL) in uv__convert_utf8_to_utf16()
1278 bufsize = MultiByteToWideChar(CP_UTF8, 0, utf8, utf8len, *utf16, bufsize); in uv__convert_utf8_to_utf16()
1281 uv__free(*utf16); in uv__convert_utf8_to_utf16()
1282 *utf16 = NULL; in uv__convert_utf8_to_utf16()
[all …]
H A Dinternal.h271 int uv__convert_utf16_to_utf8(const WCHAR* utf16, int utf16len, char** utf8);
272 int uv__convert_utf8_to_utf16(const char* utf8, int utf8len, WCHAR** utf16);
H A Dtty.c491 WCHAR utf16[MAX_INPUT_BUFFER_LENGTH / 3]; in uv_tty_line_read_thread() local
527 (void*) utf16, in uv_tty_line_read_thread()
535 utf16, in uv_tty_line_read_thread()
/netbsd-src/external/gpl2/gettext/dist/gnulib-local/lib/
H A Dlinebreak.c.diff8 #include "utf16-ucs4.h"
19 #include "utf16-ucs4.h"
H A DChangeLog.0225 * ucs4-utf16.h (u16_uctomb_aux, u16_uctomb): Likewise.
228 * utf16-ucs4.h (u16_mbtouc_aux, u16_mbtouc): Likewise.
482 * ucs4-utf16.h: New file.
1000 * utf16-ucs4.h: New file, extracted from linebreak.c.
1002 (u16_mbtouc_aux, u16_mbtouc): Moved to utf16-ucs4.h.
1003 * Makefile.am (noinst_HEADERS): Add utf8-ucs4.h, utf16-ucs4.h.
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/Windows/
H A DPath.inc1488 llvm::SmallVectorImpl<wchar_t> &utf16) {
1491 original.size(), utf16.begin(), 0);
1497 utf16.reserve(len + 1);
1498 utf16.set_size(len);
1501 original.size(), utf16.begin(), utf16.size());
1508 // Make utf16 null terminated.
1509 utf16.push_back(0);
1510 utf16.pop_back();
1516 llvm::SmallVectorImpl<wchar_t> &utf16) {
1517 return CodePageToUTF16(CP_UTF8, utf8, utf16);
[all …]
/netbsd-src/external/bsd/libfido2/dist/src/
H A Dwinhello.c160 wchar_t *utf16; in to_utf16() local
171 if ((utf16 = calloc((size_t)nch, sizeof(*utf16))) == NULL) { in to_utf16()
175 if (MultiByteToWideChar(CP_UTF8, 0, utf8, -1, utf16, nch) != nch) { in to_utf16()
177 free(utf16); in to_utf16()
181 return utf16; in to_utf16()
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/gnulib-m4/
H A Dgnulib-cache.m418 …tpcpy stpncpy strcspn strpbrk strtol strtoul ucs4-utf8 unistd unlocked-io utf16-ucs4 utf8-ucs4 vas…
22 …tpcpy stpncpy strcspn strpbrk strtol strtoul ucs4-utf8 unistd unlocked-io utf16-ucs4 utf8-ucs4 vas…
H A Ducs4-utf.m49 dnl Prerequisites of lib/ucs4-utf8.h, lib/ucs4-utf16.h.
H A Dutf-ucs4.m49 dnl Prerequisites of lib/utf8-ucs4.h, lib/utf16-ucs4.h.
H A Dgnulib-comp.m4337 lib/utf16-ucs4.h
/netbsd-src/external/mit/expat/dist/lib/
H A Dxmltok.c1317 unsigned short utf16[256]; member
1388 unsigned short c = uenc->utf16[(unsigned char)**fromP]; in unknown_toUtf16()
1419 e->utf16[i] = 0xFFFF; in XmlInitUnknownEncoding()
1430 e->utf16[i] = 0; in XmlInitUnknownEncoding()
1438 e->utf16[i] = (unsigned short)(c == 0 ? 0xFFFF : c); in XmlInitUnknownEncoding()
1442 e->utf16[i] = 0xFFFF; in XmlInitUnknownEncoding()
1455 e->utf16[i] = (unsigned short)c; in XmlInitUnknownEncoding()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/wind/
H A DChangeLog11 * Add utf8 <-> utf16 support.
19 * Support utf8 to utf16 conversion.
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Ddmodule.d687 enum SourceEncoding { utf16, utf32} in parseModule()
831 : SourceEncoding.utf16; in parseModule()
836 sourceEncoding = SourceEncoding.utf16; in parseModule()
867 sourceEncoding = SourceEncoding.utf16; in parseModule()
872 sourceEncoding = SourceEncoding.utf16; in parseModule()
898 if (sourceEncoding == SourceEncoding.utf16) in parseModule()
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/libgettextpo/
H A DMakefile.gnulib413 libgnu_la_SOURCES += utf16-ucs4.h
/netbsd-src/external/bsd/file/dist/magic/magdir/
H A Dscientific69 # ged.trid.xml ged-utf8.trid.xml ged-utf16.trid.xml
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/libgettextpo/gnulib-m4/
H A Dgnulib-comp.m4178 lib/utf16-ucs4.h
/netbsd-src/crypto/external/bsd/heimdal/dist/
H A DChangeLog83 * lib/krb5/crypto.c: Use wind_utf8ucs2_length to convert the password to utf16.
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/
H A DMakefile.in214 utf16-ucs4.h utf8-ucs4.h verify.h wait-process.h \

12