Searched refs:decoded_wstr (Results 1 – 1 of 1) sorted by relevance
/external/python/cpython3/Modules/_io/ |
D | winconsoleio.c | 76 wchar_t *decoded_wstr; in _PyIO_get_console_type() local 82 decoded_wstr = PyUnicode_AsWideCharString(decoded, NULL); in _PyIO_get_console_type() 84 if (!decoded_wstr) { in _PyIO_get_console_type() 90 if (!_wcsicmp(decoded_wstr, L"CONIN$")) { in _PyIO_get_console_type() 92 } else if (!_wcsicmp(decoded_wstr, L"CONOUT$")) { in _PyIO_get_console_type() 94 } else if (!_wcsicmp(decoded_wstr, L"CON")) { in _PyIO_get_console_type() 98 PyMem_Free(decoded_wstr); in _PyIO_get_console_type() 105 length = GetFullPathNameW(decoded_wstr, MAX_PATH, pname_buf, NULL); in _PyIO_get_console_type() 109 length = GetFullPathNameW(decoded_wstr, length, pname_buf, NULL); in _PyIO_get_console_type() 113 PyMem_Free(decoded_wstr); in _PyIO_get_console_type()
|