Lines Matching defs:num_chars
31 int num_chars;
32 num_chars = MultiByteToWideChar(CP_UTF8, MB_ERR_INVALID_CHARS, filename_utf8, -1, NULL, 0);
33 if (num_chars <= 0) {
38 *filename_w = (wchar_t *)av_calloc(num_chars, sizeof(wchar_t));
43 MultiByteToWideChar(CP_UTF8, 0, filename_utf8, -1, *filename_w, num_chars);
52 int num_chars = WideCharToMultiByte(code_page, flags, filename_w, -1,
54 if (num_chars <= 0) {
59 *filename = (char*)av_malloc_array(num_chars, sizeof *filename);
65 *filename, num_chars, NULL, NULL);
133 int num_chars;
136 num_chars = GetFullPathNameW(*ppath_w, 0, NULL, NULL);
137 if (num_chars <= 0) {
142 temp_w = (wchar_t *)av_calloc(num_chars, sizeof(wchar_t));
148 num_chars = GetFullPathNameW(*ppath_w, num_chars, temp_w, NULL);
149 if (num_chars <= 0) {