Home
last modified time | relevance | path

Searched refs:cp_string (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/libpcap/
H A Dcharconv.c44 cp_to_utf_16le(UINT codepage, const char *cp_string, DWORD flags) in cp_to_utf_16le() argument
53 utf16le_len = MultiByteToWideChar(codepage, flags, cp_string, -1, in cp_to_utf_16le()
78 utf16le_len = MultiByteToWideChar(codepage, flags, cp_string, -1, in cp_to_utf_16le()
99 char *cp_string; in utf_16le_to_cp() local
120 cp_string = malloc(cp_len * sizeof (char)); in utf_16le_to_cp()
121 if (cp_string == NULL) { in utf_16le_to_cp()
133 utf16le_string, -1, cp_string, cp_len, NULL, NULL); in utf_16le_to_cp()
142 free(cp_string); in utf_16le_to_cp()
146 return (cp_string); in utf_16le_to_cp()
H A Dcharconv.h39 extern wchar_t *cp_to_utf_16le(UINT codepage, const char *cp_string, DWORD flags);