H A D | locale.c | 420 # define MultiByteToWideChar(cp, flags, byte_string, m1, wstring, req_size) \ 422 mbsrtowcs(wstring, &(byte_string), req_size, NULL) + 1) 423 # define WideCharToMultiByte(cp, flags, wstring, m1, byte_string, \ 426 wcsrtombs(byte_string, &(wstring), req_size, NULL) + 1) 4181 S_Win_byte_string_to_wstring(const UINT code_page, const char * byte_string) in S_my_langinfo_i() 4185 int req_size = MultiByteToWideChar(code_page, 0, byte_string, -1, NULL, 0); in S_my_langinfo_i() 4194 if (! MultiByteToWideChar(code_page, 0, byte_string, -1, wstring, req_size)) in S_my_langinfo_i() 4215 char *byte_string; in S_my_langinfo_i() 4216 Newx(byte_string, req_size, char); in S_my_langinfo_i() 4218 if (! WideCharToMultiByte(code_page, 0, wstring, -1, byte_string, in S_my_langinfo_i() 2586 S_Win_byte_string_to_wstring(const UINT code_page,const char * byte_string) S_Win_byte_string_to_wstring() argument 2619 char *byte_string; S_Win_wstring_to_byte_string() local [all...] |