Lines Matching refs:wchar_t
29 static inline int utf8towchar(const char *filename_utf8, wchar_t **filename_w)
38 *filename_w = (wchar_t *)av_calloc(num_chars, sizeof(wchar_t));
48 static inline int wchartocp(unsigned int code_page, const wchar_t *filename_w,
70 static inline int wchartoutf8(const wchar_t *filename_w, char **filename)
76 static inline int wchartoansi(const wchar_t *filename_w, char **filename)
84 wchar_t *filename_w = NULL;
104 static inline int path_is_extended(const wchar_t *path)
118 static inline int path_is_device_path(const wchar_t *path)
131 static inline int get_full_path_name(wchar_t **ppath_w)
134 wchar_t *temp_w;
142 temp_w = (wchar_t *)av_calloc(num_chars, sizeof(wchar_t));
168 static inline int path_normalize(wchar_t **ppath_w)
193 static inline int add_extended_prefix(wchar_t **ppath_w)
195 const wchar_t *unc_prefix = L"\\\\?\\UNC\\";
196 const wchar_t *extended_path_prefix = L"\\\\?\\";
197 const wchar_t *path_w = *ppath_w;
199 wchar_t *temp_w;
210 temp_w = (wchar_t *)av_calloc(len - 2 + 8 + 1, sizeof(wchar_t));
219 temp_w = (wchar_t *)av_calloc(len + 4 + 1, sizeof(wchar_t));
235 * Converts a file or folder path to wchar_t for use with Windows file
244 static inline int get_extended_win32_path(const char *path, wchar_t **ppath_w)