Lines Matching defs:handle
52 HANDLE handle;
53 handle = CreateFileA("conin$",
60 ASSERT_PTR_NE(handle, INVALID_HANDLE_VALUE);
61 ttyin_fd = _open_osfhandle((intptr_t) handle, 0);
63 handle = CreateFileA("conout$",
70 ASSERT_PTR_NE(handle, INVALID_HANDLE_VALUE);
71 ttyout_fd = _open_osfhandle((intptr_t) handle, 0);
150 static void tty_raw_alloc(uv_handle_t* handle, size_t size, uv_buf_t* buf) {
170 HANDLE handle;
175 handle = CreateFileA("conin$",
182 ASSERT_PTR_NE(handle, INVALID_HANDLE_VALUE);
183 ttyin_fd = _open_osfhandle((intptr_t) handle, 0);
210 WriteConsoleInputW(handle, &record, 1, &written);
227 HANDLE handle;
231 handle = CreateFileA("conout$",
238 ASSERT_PTR_NE(handle, INVALID_HANDLE_VALUE);
239 ttyout_fd = _open_osfhandle((intptr_t) handle, 0);
273 HANDLE handle;
277 handle = CreateFileA("conout$",
284 ASSERT_PTR_NE(handle, INVALID_HANDLE_VALUE);
285 ttyout_fd = _open_osfhandle((intptr_t) handle, 0);
314 HANDLE handle;
317 handle = CreateFileA("conin$",
324 ASSERT_PTR_NE(handle, INVALID_HANDLE_VALUE);
325 ttyin_fd = _open_osfhandle((intptr_t) handle, 0);