Lines Matching refs:console
1525 static bool _get_key_event_record(const HANDLE console, INPUT_RECORD* const input_record) { in _get_key_event_record() argument
1529 if (!ReadConsoleInputA(console, input_record, 1, &read_count)) { in _get_key_event_record()
1917 static int _console_read(const HANDLE console, void* buf, size_t len) { in _console_read() argument
1935 if (!_get_key_event_record(console, &input_record)) { in _console_read()
2653 HANDLE console) { in _console_write_utf8() argument
2703 if (!WriteConsoleW(console, utf16.c_str(), utf16.length(), &written, nullptr)) { in _console_write_utf8()
2716 static int _console_vfprintf(const HANDLE console, FILE* stream, const char* format, va_list ap)
2721 static int _console_vfprintf(const HANDLE console, FILE* stream, in _console_vfprintf() argument
2731 console); in _console_vfprintf()
2743 const HANDLE console = _get_console_handle(stream); in adb_vfprintf() local
2747 if (console != nullptr) { in adb_vfprintf()
2748 return _console_vfprintf(console, stream, format, ap); in adb_vfprintf()
2822 FILE* stream, HANDLE console) { in _console_fwrite() argument
2824 console); in _console_fwrite()
2834 const HANDLE console = _get_console_handle(stream); in adb_fwrite() local
2838 if (console != nullptr) { in adb_fwrite()
2839 return _console_fwrite(ptr, size, nmemb, stream, console); in adb_fwrite()