Home
last modified time | relevance | path

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

/external/ImageMagick/MagickCore/
Dutility-private.h68 *wideChar; in create_wchar_path() local
91 wideChar=(wchar_t *) AcquireQuantumMemory(count-3,sizeof(*wideChar)); in create_wchar_path()
92 wcscpy(wideChar,shortPath+4); in create_wchar_path()
93 return(wideChar); in create_wchar_path()
95 wideChar=(wchar_t *) AcquireQuantumMemory(count,sizeof(*wideChar)); in create_wchar_path()
96 if (wideChar == (wchar_t *) NULL) in create_wchar_path()
98 count=MultiByteToWideChar(CP_UTF8,0,utf8,-1,wideChar,count); in create_wchar_path()
101 wideChar=(wchar_t *) RelinquishMagickMemory(wideChar); in create_wchar_path()
104 return(wideChar); in create_wchar_path()
Dnt-base.c172 static inline char *create_utf8_string(const wchar_t *wideChar) in create_utf8_string() argument
180 count=WideCharToMultiByte(CP_UTF8,0,wideChar,-1,NULL,0,NULL,NULL); in create_utf8_string()
186 count=WideCharToMultiByte(CP_UTF8,0,wideChar,-1,utf8,count,NULL,NULL); in create_utf8_string()