Lines Matching defs:handle
52 HANDLE handle;
53 handle = CreateFileA("conin$",
60 ASSERT(handle != INVALID_HANDLE_VALUE);
61 ttyin_fd = _open_osfhandle((intptr_t) handle, 0);
63 handle = CreateFileA("conout$",
70 ASSERT(handle != INVALID_HANDLE_VALUE);
71 ttyout_fd = _open_osfhandle((intptr_t) handle, 0);
154 static void tty_raw_alloc(uv_handle_t* handle, size_t size, uv_buf_t* buf) {
174 HANDLE handle;
179 handle = CreateFileA("conin$",
186 ASSERT(handle != INVALID_HANDLE_VALUE);
187 ttyin_fd = _open_osfhandle((intptr_t) handle, 0);
214 WriteConsoleInputW(handle, &record, 1, &written);
231 HANDLE handle;
235 handle = CreateFileA("conout$",
242 ASSERT(handle != INVALID_HANDLE_VALUE);
243 ttyout_fd = _open_osfhandle((intptr_t) handle, 0);
277 HANDLE handle;
281 handle = CreateFileA("conout$",
288 ASSERT(handle != INVALID_HANDLE_VALUE);
289 ttyout_fd = _open_osfhandle((intptr_t) handle, 0);
318 HANDLE handle;
321 handle = CreateFileA("conin$",
328 ASSERT(handle != INVALID_HANDLE_VALUE);
329 ttyin_fd = _open_osfhandle((intptr_t) handle, 0);