| /src/external/bsd/libfido2/dist/openbsd-compat/ |
| readpassphrase_win32.c | 58 wchar_t* utf16 = NULL; local 60 (utf16 = malloc(needed * sizeof(wchar_t))) == NULL || 61 MultiByteToWideChar(CP_UTF8, 0, utf8, -1, utf16, needed) == 0) { 67 return utf16;
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
| ConvertUTF.h | 110 typedef unsigned short UTF16; /* at least 16 bits */ 140 UTF16** targetStart, UTF16* targetEnd, ConversionFlags flags); 159 const UTF16** sourceStart, const UTF16* sourceEnd, 167 const UTF16** sourceStart, const UTF16* sourceEnd, 172 UTF16** targetStart, UTF16* targetEnd, ConversionFlags flags); 188 * Convert an UTF8 StringRef to UTF8, UTF16, or UTF32 depending o [all...] |
| /src/crypto/external/apache2/openssl/dist/crypto/pkcs12/ |
| p12_utl.c | 118 ulen += 2; /* for trailing UTF16 zero */ 150 static int bmp_to_utf8(char *str, const unsigned char *utf16, int len) 161 utf32chr = (utf16[0] << 8) | utf16[1]; 171 lo = (utf16[2] << 8) | utf16[3];
|
| /src/crypto/external/bsd/openssl/dist/crypto/pkcs12/ |
| p12_utl.c | 120 ulen += 2; /* for trailing UTF16 zero */ 154 static int bmp_to_utf8(char *str, const unsigned char *utf16, int len) 163 utf32chr = (utf16[0]<<8) | utf16[1]; 172 lo = (utf16[2]<<8) | utf16[3];
|
| /src/crypto/external/bsd/openssl.old/dist/crypto/pkcs12/ |
| p12_utl.c | 115 ulen += 2; /* for trailing UTF16 zero */ 149 static int bmp_to_utf8(char *str, const unsigned char *utf16, int len) 158 utf32chr = (utf16[0]<<8) | utf16[1]; 167 lo = (utf16[2]<<8) | utf16[3];
|
| /src/external/apache2/llvm/dist/llvm/lib/Support/Windows/ |
| Path.inc | 1488 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) { [all...] |
| /src/external/mit/libuv/dist/src/win/ |
| internal.h | 260 int uv__convert_utf16_to_utf8(const WCHAR* utf16, size_t utf16len, char** utf8); 261 int uv__copy_utf16_to_utf8(const WCHAR* utf16, size_t utf16len, char* utf8, size_t *size); 262 int uv__convert_utf8_to_utf16(const char* utf8, WCHAR** utf16);
|
| util.c | 1068 * If utf16 is null terminated, utf16len can be set to -1, otherwise it must 1071 int uv__convert_utf16_to_utf8(const WCHAR* utf16, size_t utf16len, char** utf8) { 1074 if (utf16 == NULL) 1078 return uv_utf16_to_wtf8(utf16, utf16len, utf8, &utf8_len); 1086 int uv__convert_utf8_to_utf16(const char* utf8, WCHAR** utf16) { 1098 *utf16 = uv__malloc(sizeof(WCHAR) * bufsize); 1100 if (*utf16 == NULL) 1104 uv_wtf8_to_utf16(utf8, *utf16, bufsize); 1114 * If utf16 is null terminated, utf16len can be set to -1, otherwise it must
|
| tty.c | 291 /* Init utf8-to-utf16 conversion state. */ 515 WCHAR utf16[MAX_INPUT_BUFFER_LENGTH / 3]; local 552 (void*) utf16, 559 uv_utf16_to_wtf8(utf16, 873 /* If the utf16 character(s) couldn't be converted something must be
|
| /src/external/bsd/libarchive/dist/libarchive/test/ |
| test_archive_string_conversion.c | 84 char *utf16 = p; local 90 archive_be16enc(utf16, ((uc >> 10) & 0x3ff) + 0xD800); 91 archive_be16enc(utf16+2, (uc & 0x3ff) + 0xDC00); 94 archive_be16enc(utf16, (uint16_t)uc); 111 char *utf16 = p; local 117 archive_le16enc(utf16, ((uc >> 10) & 0x3ff) + 0xD800); 118 archive_le16enc(utf16+2, (uc & 0x3ff) + 0xDC00); 121 archive_le16enc(utf16, (uint16_t)uc);
|
| /src/external/bsd/libarchive/dist/libarchive/ |
| archive_string.c | 2601 const char *utf16 = s; local 2613 uc = archive_be16dec(utf16); 2615 uc = archive_le16dec(utf16); 2616 utf16 += 2; 2624 uc2 = archive_be16dec(utf16); 2626 uc2 = archive_le16dec(utf16); 2631 utf16 += 2; 2651 return (((int)(utf16 - s)) * -1); 2654 return ((int)(utf16 - s)); 2660 char *utf16 = p local 2682 char *utf16 = p; local 3791 const char *utf16 = (const char *)_p; local 3850 char *utf16; local [all...] |
| archive_write_set_format_iso9660.c | 2220 int utf16 = (high << 8) | low; local 2222 if (utf16 <= 0x001F) 2225 switch (utf16) {
|
| /src/external/bsd/libfido2/dist/src/ |
| winhello.c | 164 wchar_t *utf16; local 175 if ((utf16 = calloc((size_t)nch, sizeof(*utf16))) == NULL) { 179 if (MultiByteToWideChar(CP_UTF8, 0, utf8, -1, utf16, nch) != nch) { 181 free(utf16); 185 return utf16;
|
| /src/external/mit/expat/dist/lib/ |
| xmltok.c | 1313 unsigned short utf16[256]; member in struct:unknown_encoding 1384 unsigned short c = uenc->utf16[(unsigned char)**fromP]; 1415 e->utf16[i] = 0xFFFF; 1426 e->utf16[i] = 0; 1434 e->utf16[i] = (unsigned short)(c == 0 ? 0xFFFF : c); 1438 e->utf16[i] = 0xFFFF; 1451 e->utf16[i] = (unsigned short)c;
|
| /src/external/gpl3/gcc.old/dist/gcc/d/dmd/ |
| dmodule.d | 687 enum SourceEncoding { utf16, utf32} 736 * Convert a buffer from UTF16 to UTF8 739 * buf = buffer of UTF16 data 831 : SourceEncoding.utf16; 836 sourceEncoding = SourceEncoding.utf16; 867 sourceEncoding = SourceEncoding.utf16; 872 sourceEncoding = SourceEncoding.utf16; 895 //printf("%s, %d, %d, %d\n", srcfile.name.toChars(), needsReencoding, endian == Endian.little, sourceEncoding == SourceEncoding.utf16); 898 if (sourceEncoding == SourceEncoding.utf16)
|
| /src/external/gpl2/gettext/dist/gettext-tools/libgettextpo/ |
| Makefile.gnulib | 12 # Reproduce by: gnulib-tool --import --dir=gettext-tools --local-dir=gnulib-local --lib=libgnu --source-base=libgettextpo --m4-base=libgettextpo/gnulib-m4 --doc-base=doc --aux-dir=../build-aux --makefile_name=Makefile.gnulib --libtool --macro-prefix=gtpo basename c-ctype c-strcase c-strstr error error-progname exit fstrcmp fwriteerror gcd getline gettext-h gettext-tools-libgettextpo-misc hash iconv linebreak minmax pathname progname stdbool ucs4-utf8 unlocked-io utf16-ucs4 utf8-ucs4 vasprintf xalloc xallocsa xerror xstriconv xvasprintf 411 ## begin gnulib module utf16-ucs4 413 libgnu_la_SOURCES += utf16-ucs4.h 415 ## end gnulib module utf16-ucs4
|
| /src/external/mit/libuv/dist/include/ |
| uv.h | 1955 UV_EXTERN size_t uv_utf16_length_as_wtf8(const uint16_t* utf16, 1957 UV_EXTERN int uv_utf16_to_wtf8(const uint16_t* utf16, 1963 uint16_t* utf16,
|
| /src/external/gpl3/gcc.old/dist/libphobos/src/std/uni/ |
| package.d | 5381 auto utf16 = utfMatcher!wchar(unicode.L); 5382 auto bmp = utf16.subMatcher!1; 5383 auto nonBmp = utf16.subMatcher!1; 5398 assert(testAll(utf16, c16)); 5418 auto utf16 = utfMatcher!wchar(unicode.L); 5438 utf16.test(s);
|