Home
last modified time | relevance | path

Searched refs:poll_cb (Results 1 – 10 of 10) sorted by relevance

/libuv/src/unix/
H A Dpoll.c50 handle->poll_cb(handle, UV_EBADF, 0); in uv__poll_io()
64 handle->poll_cb(handle, 0, pevents); in uv__poll_io()
92 handle->poll_cb = NULL; in uv_poll_init()
119 int uv_poll_start(uv_poll_t* handle, int pevents, uv_poll_cb poll_cb) { in uv_poll_start() argument
152 handle->poll_cb = poll_cb; in uv_poll_start()
/libuv/test/
H A Dtest-poll-multiple-handles.c41 static void poll_cb(uv_poll_t* handle, int status, int events) { in poll_cb() function
71 ASSERT_OK(uv_poll_start(&first_poll_handle, UV_READABLE, poll_cb)); in TEST_IMPL()
80 ASSERT_EQ(uv_poll_start(&second_poll_handle, UV_READABLE, poll_cb), in TEST_IMPL()
86 ASSERT_OK(uv_poll_start(&second_poll_handle, UV_READABLE, poll_cb)); in TEST_IMPL()
H A Dtest-poll-closesocket.c39 static void poll_cb(uv_poll_t* h, int status, int events) { in poll_cb() function
45 r = uv_poll_start(&handle, UV_READABLE, poll_cb); in poll_cb()
82 r = uv_poll_start(&handle, UV_WRITABLE, poll_cb); in TEST_IMPL()
H A Dtest-poll-oob.c68 static void poll_cb(uv_poll_t* handle, int status, int events) { in poll_cb() function
85 poll_cb)); in poll_cb()
149 poll_cb)); in connection_cb()
152 poll_cb)); in connection_cb()
H A Dtest-poll-close-doesnt-corrupt-stack.c45 static void poll_cb(uv_poll_t* h, int status, int events) { in poll_cb() function
99 r = uv_poll_start(&handle, UV_READABLE | UV_WRITABLE, poll_cb); in TEST_IMPL()
H A Dtest-fs-poll.c31 static void poll_cb(uv_fs_poll_t* handle,
98 static void poll_cb(uv_fs_poll_t* handle, in poll_cb() function
160 ASSERT_OK(uv_fs_poll_start(&poll_handle, poll_cb, FIXTURE, 100)); in TEST_IMPL()
/libuv/src/
H A Dfs-poll.c43 uv_fs_poll_cb poll_cb; member
52 static void poll_cb(uv_fs_t* req);
86 ctx->poll_cb = cb; in uv_fs_poll_start()
99 err = uv_fs_stat(loop, &ctx->fs_req, ctx->path, poll_cb); in uv_fs_poll_start()
180 if (uv_fs_stat(ctx->loop, &ctx->fs_req, ctx->path, poll_cb)) in timer_cb()
185 static void poll_cb(uv_fs_t* req) { in poll_cb() function
199 ctx->poll_cb(ctx->parent_handle, in poll_cb()
212 ctx->poll_cb(ctx->parent_handle, 0, &ctx->statbuf, statbuf); in poll_cb()
/libuv/src/win/
H A Dpoll.c162 handle->poll_cb(handle, uv_translate_sys_error(error), 0); in uv__fast_poll_process_poll_req()
190 handle->poll_cb(handle, 0, events); in uv__fast_poll_process_poll_req()
389 handle->poll_cb(handle, uv_translate_sys_error(err), 0); in uv__slow_poll_process_poll_req()
395 handle->poll_cb(handle, 0, events); in uv__slow_poll_process_poll_req()
496 handle->poll_cb = cb; in uv__poll_set()
524 return uv__poll_set(handle, 0, handle->poll_cb); in uv_poll_stop()
/libuv/docs/src/
H A Dfs_poll.rst49 .. c:function:: int uv_fs_poll_start(uv_fs_poll_t* handle, uv_fs_poll_cb poll_cb, const char* path,…
/libuv/include/
H A Duv.h888 uv_poll_cb poll_cb; member
1689 uv_fs_poll_cb poll_cb,

Completed in 22 milliseconds