| /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;
|
| 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/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);
|
| 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/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;
|
| 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/libuv/dist/src/win/ |
| 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
|
| 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/mit/expat/dist/lib/ |
| xmltok.c | 1315 unsigned short utf16[256]; member in struct:unknown_encoding 1386 unsigned short c = uenc->utf16[(unsigned char)**fromP]; 1417 e->utf16[i] = 0xFFFF; 1428 e->utf16[i] = 0; 1436 e->utf16[i] = (unsigned short)(c == 0 ? 0xFFFF : c); 1440 e->utf16[i] = 0xFFFF; 1453 e->utf16[i] = (unsigned short)c;
|
| xmltok.c | 1315 unsigned short utf16[256]; member in struct:unknown_encoding 1386 unsigned short c = uenc->utf16[(unsigned char)**fromP]; 1417 e->utf16[i] = 0xFFFF; 1428 e->utf16[i] = 0; 1436 e->utf16[i] = (unsigned short)(c == 0 ? 0xFFFF : c); 1440 e->utf16[i] = 0xFFFF; 1453 e->utf16[i] = (unsigned short)c;
|
| /src/external/bsd/libarchive/dist/libarchive/ |
| archive_string.c | 2604 const char *utf16 = s; local 2616 uc = archive_be16dec(utf16); 2618 uc = archive_le16dec(utf16); 2619 utf16 += 2; 2627 uc2 = archive_be16dec(utf16); 2629 uc2 = archive_le16dec(utf16); 2634 utf16 += 2; 2654 return (((int)(utf16 - s)) * -1); 2657 return ((int)(utf16 - s)); 2663 char *utf16 = p local 2685 char *utf16 = p; local 3794 const char *utf16 = (const char *)_p; local 3853 char *utf16; local [all...] |
| archive_string.c | 2604 const char *utf16 = s; local 2616 uc = archive_be16dec(utf16); 2618 uc = archive_le16dec(utf16); 2619 utf16 += 2; 2627 uc2 = archive_be16dec(utf16); 2629 uc2 = archive_le16dec(utf16); 2634 utf16 += 2; 2654 return (((int)(utf16 - s)) * -1); 2657 return ((int)(utf16 - s)); 2663 char *utf16 = p local 2685 char *utf16 = p; local 3794 const char *utf16 = (const char *)_p; local 3853 char *utf16; local [all...] |
| archive_write_set_format_iso9660.c | 2220 int utf16 = (high << 8) | low; local 2222 if (utf16 <= 0x001F) 2225 switch (utf16) {
|
| archive_write_set_format_iso9660.c | 2220 int utf16 = (high << 8) | low; local 2222 if (utf16 <= 0x001F) 2225 switch (utf16) {
|