Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/_io/
Dwinconsoleio.c266 char console_type = '\0'; in _io__WindowsConsoleIO___init___impl() local
308 console_type = _PyIO_get_console_type(decodedname); in _io__WindowsConsoleIO___init___impl()
327 if (console_type == 'x') in _io__WindowsConsoleIO___init___impl()
328 console_type = 'r'; in _io__WindowsConsoleIO___init___impl()
335 if (console_type == 'x') in _io__WindowsConsoleIO___init___impl()
336 console_type = 'w'; in _io__WindowsConsoleIO___init___impl()
384 if (console_type == '\0') in _io__WindowsConsoleIO___init___impl()
385 console_type = _get_console_type(self->handle); in _io__WindowsConsoleIO___init___impl()
387 if (self->writable && console_type != 'w') { in _io__WindowsConsoleIO___init___impl()
392 if (self->readable && console_type != 'r') { in _io__WindowsConsoleIO___init___impl()