Searched refs:decoded_wstr (Results 1 – 1 of 1) sorted by relevance
/external/python/cpython3/Modules/_io/ |
D | winconsoleio.c | 77 wchar_t *decoded_wstr; in _PyIO_get_console_type() local 83 decoded_wstr = PyUnicode_AsWideCharString(decoded, NULL); in _PyIO_get_console_type() 85 if (!decoded_wstr) { in _PyIO_get_console_type() 91 if (!_wcsicmp(decoded_wstr, L"CONIN$")) { in _PyIO_get_console_type() 93 } else if (!_wcsicmp(decoded_wstr, L"CONOUT$")) { in _PyIO_get_console_type() 95 } else if (!_wcsicmp(decoded_wstr, L"CON")) { in _PyIO_get_console_type() 99 PyMem_Free(decoded_wstr); in _PyIO_get_console_type() 106 length = GetFullPathNameW(decoded_wstr, MAX_PATH, pname_buf, NULL); in _PyIO_get_console_type() 110 length = GetFullPathNameW(decoded_wstr, length, pname_buf, NULL); in _PyIO_get_console_type() 114 PyMem_Free(decoded_wstr); in _PyIO_get_console_type()
|