Home
last modified time | relevance | path

Searched refs:uv_poll_t (Results 1 – 22 of 22) sorted by relevance

/libuv/src/unix/
H A Dpoll.c31 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 Dinternal.h325 void uv__poll_close(uv_poll_t* handle);
H A Dcore.c218 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 Dpoll.c77 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 Dinternal.h182 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 Dhandle.c96 uv__poll_close(loop, (uv_poll_t*) handle); in uv_close()
H A Dhandle-inl.h125 uv__poll_endgame(loop, (uv_poll_t*) handle); in uv__process_endgames()
H A Dreq-inl.h197 uv__process_poll_req(loop, (uv_poll_t*) req->data, req); in uv__process_reqs()
H A Dcore.c709 fd_out = (uv_os_fd_t)((uv_poll_t*) handle)->socket; in uv_fileno()
/libuv/docs/src/
H A Dpoll.rst4 :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 Dtest-poll-closesocket.c30 static uv_poll_t handle;
39 static void poll_cb(uv_poll_t* h, int status, int events) { in poll_cb()
H A Dtest-poll-multiple-handles.c41 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 Dtest-poll-close-doesnt-corrupt-stack.c36 static uv_poll_t handle;
45 static void poll_cb(uv_poll_t* h, int status, int events) { in poll_cb()
H A Dtest-poll.c59 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 Dtest-poll-oob.c36 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 Dbenchmark-sizes.c42 fprintf(stderr, "uv_poll_t: %u bytes\n", (unsigned int) sizeof(uv_poll_t)); in BENCHMARK_IMPL()
H A Dtest-poll-close.c46 uv_poll_t poll_handles[NUM_SOCKETS]; in TEST_IMPL()
H A Dtest-fork.c51 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 Dmain.c12 uv_poll_t poll_handle;
81 void curl_perform(uv_poll_t *req, int status, int events) { in curl_perform()
/libuv/include/
H A Duv.h227 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 Dbasics.rst156 typedef struct uv_poll_s uv_poll_t;
H A Dutilities.rst265 we create a ``uv_poll_t`` handle if it doesn't exist, and associate it with the

Completed in 50 milliseconds