Searched refs:utf_16_errbuf (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/libpcap/ |
H A D | charconv.c | 159 wchar_t *utf_16_errbuf; in utf_8_to_acp_truncated() local 176 utf_16_errbuf = cp_to_utf_16le(CP_UTF8, errbuf, 0); in utf_8_to_acp_truncated() 177 if (utf_16_errbuf == NULL) { in utf_8_to_acp_truncated() 202 retval = WideCharToMultiByte(CP_THREAD_ACP, 0, utf_16_errbuf, -1, in utf_8_to_acp_truncated() 206 free(utf_16_errbuf); in utf_8_to_acp_truncated() 215 free(utf_16_errbuf); in utf_8_to_acp_truncated()
|
H A D | fmtutils.c | 311 wchar_t utf_16_errbuf[PCAP_ERRBUF_SIZE]; in pcapint_vfmt_errmsg_for_errno() local 312 errno_t err = _wcserror_s(utf_16_errbuf, PCAP_ERRBUF_SIZE, errnum); in pcapint_vfmt_errmsg_for_errno() 327 utf_16le_to_utf_8_truncated(utf_16_errbuf, p, errbuflen_remaining); in pcapint_vfmt_errmsg_for_errno() 368 wchar_t utf_16_errbuf[PCAP_ERRBUF_SIZE]; in pcapint_vfmt_errmsg_for_win32_err() local 408 utf_16_errbuf, PCAP_ERRBUF_SIZE, NULL); in pcapint_vfmt_errmsg_for_win32_err() 421 p = utf_16le_to_utf_8_truncated(utf_16_errbuf, p, errbuflen_remaining); in pcapint_vfmt_errmsg_for_win32_err()
|