/libuv/src/unix/ |
H A D | poll.c | 31 uv_poll_t* handle; in uv__poll_io() 34 handle = container_of(w, uv_poll_t, io_watcher); in uv__poll_io() 68 int uv_poll_init(uv_loop_t* loop, uv_poll_t* handle, int fd) { in uv_poll_init() 97 int uv_poll_init_socket(uv_loop_t* loop, uv_poll_t* handle, in uv_poll_init_socket() 103 static void uv__poll_stop(uv_poll_t* handle) { in uv__poll_stop() 112 int uv_poll_stop(uv_poll_t* handle) { in uv_poll_stop() 119 int uv_poll_start(uv_poll_t* handle, int pevents, uv_poll_cb poll_cb) { in uv_poll_start() 158 void uv__poll_close(uv_poll_t* handle) { in uv__poll_close()
|
H A D | internal.h | 325 void uv__poll_close(uv_poll_t* handle);
|
H A D | core.c | 218 uv__poll_close((uv_poll_t*)handle); in uv_close() 825 fd_out = ((uv_poll_t *) handle)->io_watcher.fd; in uv_fileno()
|
/libuv/src/win/ |
H A D | poll.c | 77 static void uv__fast_poll_submit_poll_req(uv_loop_t* loop, uv_poll_t* handle) { in uv__fast_poll_submit_poll_req() 139 static void uv__fast_poll_process_poll_req(uv_loop_t* loop, uv_poll_t* handle, in uv__fast_poll_process_poll_req() 271 uv_poll_t* handle = (uv_poll_t*) req->data; in uv__slow_poll_thread_proc() 368 static void uv__slow_poll_process_poll_req(uv_loop_t* loop, uv_poll_t* handle, in uv__slow_poll_process_poll_req() 410 int uv_poll_init(uv_loop_t* loop, uv_poll_t* handle, int fd) { in uv_poll_init() 415 int uv_poll_init_socket(uv_loop_t* loop, uv_poll_t* handle, in uv_poll_init_socket() 487 static int uv__poll_set(uv_poll_t* handle, int events, uv_poll_cb cb) { in uv__poll_set() 518 int uv_poll_start(uv_poll_t* handle, int events, uv_poll_cb cb) { in uv_poll_start() 523 int uv_poll_stop(uv_poll_t* handle) { in uv_poll_stop() 537 int uv__poll_close(uv_loop_t* loop, uv_poll_t* handle) { in uv__poll_close() [all …]
|
H A D | internal.h | 182 void uv__process_poll_req(uv_loop_t* loop, uv_poll_t* handle, 185 int uv__poll_close(uv_loop_t* loop, uv_poll_t* handle); 186 void uv__poll_endgame(uv_loop_t* loop, uv_poll_t* handle);
|
H A D | handle.c | 96 uv__poll_close(loop, (uv_poll_t*) handle); in uv_close()
|
H A D | handle-inl.h | 125 uv__poll_endgame(loop, (uv_poll_t*) handle); in uv__process_endgames()
|
H A D | req-inl.h | 197 uv__process_poll_req(loop, (uv_poll_t*) req->data, req); in uv__process_reqs()
|
H A D | core.c | 709 fd_out = (uv_os_fd_t)((uv_poll_t*) handle)->socket; in uv_fileno()
|
/libuv/docs/src/ |
H A D | poll.rst | 4 :c:type:`uv_poll_t` --- Poll handle 12 c-ares or libssh2. Using uv_poll_t for any other purpose is not recommended; 14 more scalable than what can be achieved with :c:type:`uv_poll_t`, especially on 40 .. c:type:: uv_poll_t 44 .. c:type:: void (*uv_poll_cb)(uv_poll_t* handle, int status, int events) 73 .. c:function:: int uv_poll_init(uv_loop_t* loop, uv_poll_t* handle, int fd) 79 .. c:function:: int uv_poll_init_socket(uv_loop_t* loop, uv_poll_t* handle, uv_os_sock_t socket) 86 .. c:function:: int uv_poll_start(uv_poll_t* handle, int events, uv_poll_cb cb) 141 .. c:function:: int uv_poll_stop(uv_poll_t* poll)
|
/libuv/test/ |
H A D | test-poll-closesocket.c | 30 static uv_poll_t handle; 39 static void poll_cb(uv_poll_t* h, int status, int events) { in poll_cb()
|
H A D | test-poll-multiple-handles.c | 41 static void poll_cb(uv_poll_t* handle, int status, int events) { in poll_cb() 48 uv_poll_t first_poll_handle, second_poll_handle; in TEST_IMPL()
|
H A D | test-poll-close-doesnt-corrupt-stack.c | 36 static uv_poll_t handle; 45 static void poll_cb(uv_poll_t* h, int status, int events) { in poll_cb()
|
H A D | test-poll.c | 59 uv_poll_t poll_handle; 70 uv_poll_t poll_handle; 207 static void connection_poll_cb(uv_poll_t* handle, int status, int events) { 492 static void server_poll_cb(uv_poll_t* handle, int status, int events) { 642 uv_poll_t poll_handle; 691 uv_poll_t poll_handle; 713 uv_poll_t poll_handle;
|
H A D | test-poll-oob.c | 36 static uv_poll_t poll_req[2]; 68 static void poll_cb(uv_poll_t* handle, int status, int events) { in poll_cb()
|
H A D | benchmark-sizes.c | 42 fprintf(stderr, "uv_poll_t: %u bytes\n", (unsigned int) sizeof(uv_poll_t)); in BENCHMARK_IMPL()
|
H A D | test-poll-close.c | 46 uv_poll_t poll_handles[NUM_SOCKETS]; in TEST_IMPL()
|
H A D | test-fork.c | 51 static void socket_cb(uv_poll_t* poll, int status, int events) { in socket_cb() 133 uv_poll_t poll_handle; in TEST_IMPL() 177 uv_poll_t poll_handle; in TEST_IMPL()
|
/libuv/docs/code/uvwget/ |
H A D | main.c | 12 uv_poll_t poll_handle; 81 void curl_perform(uv_poll_t *req, int status, int events) { in curl_perform()
|
/libuv/include/ |
H A D | uv.h | 227 typedef struct uv_poll_s uv_poll_t; typedef 335 typedef void (*uv_poll_cb)(uv_poll_t* handle, int status, int events); 899 UV_EXTERN int uv_poll_init(uv_loop_t* loop, uv_poll_t* handle, int fd); 901 uv_poll_t* handle, 903 UV_EXTERN int uv_poll_start(uv_poll_t* handle, int events, uv_poll_cb cb); 904 UV_EXTERN int uv_poll_stop(uv_poll_t* handle);
|
/libuv/docs/src/guide/ |
H A D | basics.rst | 156 typedef struct uv_poll_s uv_poll_t;
|
H A D | utilities.rst | 265 we create a ``uv_poll_t`` handle if it doesn't exist, and associate it with the
|