Home
last modified time | relevance | path

Searched refs:poll_handles (Results 1 – 3 of 3) sorted by relevance

/third_party/node/deps/uvwasi/src/
Dpoll_oneoff.c30 uv_poll_stop(&state->poll_handles[i]); in timeout_cb()
49 state->poll_handles = NULL; in uvwasi__poll_oneoff_state_init()
68 state->poll_handles = uvwasi__calloc(uvwasi, in uvwasi__poll_oneoff_state_init()
70 sizeof(*state->poll_handles)); in uvwasi__poll_oneoff_state_init()
71 if (state->poll_handles == NULL) { in uvwasi__poll_oneoff_state_init()
86 uvwasi__free(state->uvwasi, state->poll_handles); in uvwasi__poll_oneoff_state_init()
115 uv_close((uv_handle_t*) &state->poll_handles[i], NULL); in uvwasi__poll_oneoff_state_cleanup()
124 uvwasi__free(state->uvwasi, state->poll_handles); in uvwasi__poll_oneoff_state_cleanup()
126 state->poll_handles = NULL; in uvwasi__poll_oneoff_state_cleanup()
214 poll_handle = &state->poll_handles[state->handle_cnt]; in uvwasi__poll_oneoff_state_add_fdevent()
Dpoll_oneoff.h23 uv_poll_t* poll_handles; member
/third_party/libuv/test/
Dtest-poll-close.c46 uv_poll_t poll_handles[NUM_SOCKETS]; in TEST_IMPL() local
59 uv_poll_init_socket(uv_default_loop(), &poll_handles[i], sockets[i]); in TEST_IMPL()
60 uv_poll_start(&poll_handles[i], UV_READABLE | UV_WRITABLE, NULL); in TEST_IMPL()
64 uv_close((uv_handle_t*) &poll_handles[i], close_cb); in TEST_IMPL()