| /netbsd-src/external/mit/libuv/dist/test/ |
| H A D | test-fs-open-flags.c | 43 static uv_fs_t read_req; variable 187 r = uv_fs_read(NULL, &read_req, open_req.result, &iov, 1, -1, NULL); in writeExpect() 189 ASSERT(read_req.result == size); in writeExpect() 191 uv_fs_req_cleanup(&read_req); in writeExpect() 232 r = uv_fs_read(NULL, &read_req, open_req.result, &iov, 1, -1, NULL); in readExpect() 234 ASSERT(read_req.result == size); in readExpect() 236 uv_fs_req_cleanup(&read_req); in readExpect() 252 r = uv_fs_read(NULL, &read_req, open_req.result, &iov, 1, -1, NULL); in readFail() 254 ASSERT(read_req.result == error); in readFail() 255 uv_fs_req_cleanup(&read_req); in readFail() [all …]
|
| H A D | test-fs.c | 101 static uv_fs_t read_req; variable 405 ASSERT(req == &read_req); in read_cb() 436 r = uv_fs_read(loop, &read_req, open_req1.result, &iov, 1, -1, in open_cb() 1006 r = uv_fs_read(NULL, &read_req, open_req1.result, &iov, 1, -1, NULL); in fs_file_sync() 1008 ASSERT(read_req.result >= 0); in fs_file_sync() 1010 uv_fs_req_cleanup(&read_req); in fs_file_sync() 1035 r = uv_fs_read(NULL, &read_req, open_req1.result, &iov, 1, -1, NULL); in fs_file_sync() 1037 ASSERT(read_req.result >= 0); in fs_file_sync() 1039 uv_fs_req_cleanup(&read_req); in fs_file_sync() 3006 r = uv_fs_read(NULL, &read_req, open_req1.result, &iov, 1, -1, NULL); in fs_file_open_append() [all …]
|
| H A D | test-eintr-handling.c | 37 static uv_fs_t read_req; variable 79 nread = uv_fs_read(loop, &read_req, pipe_fds[0], &iov, 1, -1, NULL); in TEST_IMPL()
|
| /netbsd-src/external/mit/libuv/dist/src/win/ |
| H A D | stream-inl.h | 42 UV_REQ_INIT(&handle->read_req, UV_READ); in uv__stream_init() 43 handle->read_req.event_handle = NULL; in uv__stream_init() 44 handle->read_req.wait_handle = INVALID_HANDLE_VALUE; in uv__stream_init() 45 handle->read_req.data = handle; in uv__stream_init()
|
| H A D | tcp.c | 266 if (handle->read_req.wait_handle != INVALID_HANDLE_VALUE) { in uv__tcp_endgame() 267 UnregisterWait(handle->read_req.wait_handle); in uv__tcp_endgame() 268 handle->read_req.wait_handle = INVALID_HANDLE_VALUE; in uv__tcp_endgame() 270 if (handle->read_req.event_handle != NULL) { in uv__tcp_endgame() 271 CloseHandle(handle->read_req.event_handle); in uv__tcp_endgame() 272 handle->read_req.event_handle = NULL; in uv__tcp_endgame() 484 req = &handle->read_req; in uv__tcp_queue_read() 738 handle->read_req.event_handle == NULL) { in uv__tcp_read_start() 739 handle->read_req.event_handle = CreateEvent(NULL, 0, 0, NULL); in uv__tcp_read_start() 740 if (handle->read_req.event_handle == NULL) { in uv__tcp_read_start() [all …]
|
| H A D | pipe.c | 126 handle->read_req.data = handle; in uv__pipe_connection_init() 663 if (handle->read_req.wait_handle != INVALID_HANDLE_VALUE) { in uv__pipe_endgame() 664 UnregisterWait(handle->read_req.wait_handle); in uv__pipe_endgame() 665 handle->read_req.wait_handle = INVALID_HANDLE_VALUE; in uv__pipe_endgame() 667 if (handle->read_req.event_handle != NULL) { in uv__pipe_endgame() 668 CloseHandle(handle->read_req.event_handle); in uv__pipe_endgame() 669 handle->read_req.event_handle = NULL; in uv__pipe_endgame() 918 r = CancelIoEx(handle->handle, &handle->read_req.u.io.overlapped); in uv__pipe_interrupt_read() 1293 req = &handle->read_req; in uv__pipe_queue_read() 1363 handle->read_req.event_handle == NULL) { in uv__pipe_read_start() [all …]
|
| H A D | tty.c | 466 req = &handle->read_req; in uv__tty_queue_read_raw() 590 req = &handle->read_req; in uv__tty_queue_read_line() 1040 SET_REQ_SUCCESS(&handle->read_req); in uv__tty_read_start() 1041 uv__insert_pending_req(handle->loop, (uv_req_t*) &handle->read_req); in uv__tty_read_start()
|
| /netbsd-src/external/mit/libuv/dist/docs/code/uvcat/ |
| H A D | main.c | 9 uv_fs_t read_req; variable 21 uv_fs_read(uv_default_loop(), &read_req, open_req.result, &iov, 1, -1, on_read); in on_write() 46 uv_fs_read(uv_default_loop(), &read_req, req->result, in on_open() 59 uv_fs_req_cleanup(&read_req); in main()
|
| /netbsd-src/external/mit/libuv/dist/include/uv/ |
| H A D | win.h | 436 uv_read_t read_req; \
|