Searched refs:cp_string (Results 1 – 2 of 2) sorted by relevance
/external/libpcap/ |
D | charconv.c | 43 cp_to_utf_16le(UINT codepage, const char *cp_string, DWORD flags) in cp_to_utf_16le() argument 52 utf16le_len = MultiByteToWideChar(codepage, flags, cp_string, -1, in cp_to_utf_16le() 77 utf16le_len = MultiByteToWideChar(codepage, flags, cp_string, -1, in cp_to_utf_16le() 98 char *cp_string; in utf_16le_to_cp() local 119 cp_string = malloc(cp_len * sizeof (char)); in utf_16le_to_cp() 120 if (cp_string == NULL) { in utf_16le_to_cp() 132 utf16le_string, -1, cp_string, cp_len, NULL, NULL); in utf_16le_to_cp() 141 free(cp_string); in utf_16le_to_cp() 145 return (cp_string); in utf_16le_to_cp()
|
D | charconv.h | 39 extern wchar_t *cp_to_utf_16le(UINT codepage, const char *cp_string, DWORD flags);
|