Home
last modified time | relevance | path

Searched refs:uv_is_active (Results 1 - 25 of 25) sorted by relevance

/third_party/libuv/test/
H A Dtest-active.c50 /* uv_is_active() and uv_is_closing() should always return either 0 or 1. */ in TEST_IMPL()
51 ASSERT_OK(uv_is_active((uv_handle_t*) &timer)); in TEST_IMPL()
57 ASSERT_EQ(1, uv_is_active((uv_handle_t*) &timer)); in TEST_IMPL()
63 ASSERT_OK(uv_is_active((uv_handle_t*) &timer)); in TEST_IMPL()
69 ASSERT_EQ(1, uv_is_active((uv_handle_t*) &timer)); in TEST_IMPL()
74 ASSERT_OK(uv_is_active((uv_handle_t*) &timer)); in TEST_IMPL()
H A Dtest-timer.c45 ASSERT_OK(uv_is_active(handle)); in once_close_cb()
55 ASSERT_OK(uv_is_active((uv_handle_t*) handle)); in once_cb()
69 ASSERT_OK(uv_is_active(handle)); in twice_close_cb()
78 ASSERT_OK(uv_is_active((uv_handle_t*) handle)); in twice_cb()
100 ASSERT_EQ(1, uv_is_active((uv_handle_t*) handle)); in repeat_cb()
190 ASSERT_OK(uv_is_active((uv_handle_t*) &handle)); in TEST_IMPL()
H A Dtest-poll.c277 if (!uv_is_active((uv_handle_t*) &context->timer_handle)) {
376 if (!uv_is_active((uv_handle_t*) &context->timer_handle)) {
434 /* Assert that uv_is_active works correctly for poll handles. */
436 ASSERT_EQ(1, uv_is_active((uv_handle_t*) handle));
438 ASSERT_OK(uv_is_active((uv_handle_t*) handle));
448 ASSERT_OK(uv_is_active((uv_handle_t*) timer));
H A Dtest-poll-multiple-handles.c96 ASSERT(uv_is_active((uv_handle_t*) &second_poll_handle)); in TEST_IMPL()
H A Dtest-close-fd.c76 ASSERT_OK(uv_is_active((const uv_handle_t *) &pipe_handle)); in TEST_IMPL()
H A Dtest-timer-again.c80 ASSERT_OK(uv_is_active((uv_handle_t*) handle)); in repeat_2_cb()
H A Dtest-fs-poll.c107 ASSERT_EQ(1, uv_is_active((uv_handle_t*) handle)); in poll_cb()
H A Dtest-fs-event.c1194 ASSERT_OK(uv_is_active((uv_handle_t*) &fs_event)); in TEST_IMPL()
1197 ASSERT_OK(uv_is_active((uv_handle_t*) &fs_event)); in TEST_IMPL()
H A Dtest-spawn.c195 ASSERT_OK(uv_is_active((uv_handle_t*) &process)); in TEST_IMPL()
215 ASSERT_OK(uv_is_active((uv_handle_t*) &process)); in TEST_IMPL()
1365 ASSERT_OK(uv_is_active((uv_handle_t*) &process)); in TEST_IMPL()
1454 ASSERT_OK(uv_is_active((uv_handle_t*) &process)); in TEST_IMPL()
/third_party/libuv/src/
H A Dfs-poll.c75 if (uv_is_active((uv_handle_t*)handle)) in uv_fs_poll_start()
119 if (!uv_is_active((uv_handle_t*)handle)) in uv_fs_poll_stop()
129 if (uv_is_active((uv_handle_t*)&ctx->timer_handle)) in uv_fs_poll_stop()
142 if (!uv_is_active((uv_handle_t*)handle)) { in uv_fs_poll_getpath()
194 if (!uv_is_active((uv_handle_t*)handle) || uv__is_closing(handle)) in poll_cb()
220 if (!uv_is_active((uv_handle_t*)handle) || uv__is_closing(handle)) { in poll_cb()
/third_party/node/deps/uv/src/
H A Dfs-poll.c75 if (uv_is_active((uv_handle_t*)handle)) in uv_fs_poll_start()
119 if (!uv_is_active((uv_handle_t*)handle)) in uv_fs_poll_stop()
129 if (uv_is_active((uv_handle_t*)&ctx->timer_handle)) in uv_fs_poll_stop()
142 if (!uv_is_active((uv_handle_t*)handle)) { in uv_fs_poll_getpath()
194 if (!uv_is_active((uv_handle_t*)handle) || uv__is_closing(handle)) in poll_cb()
220 if (!uv_is_active((uv_handle_t*)handle) || uv__is_closing(handle)) { in poll_cb()
/third_party/node/test/cctest/
H A Dtest_inspector_socket.cc408 GTEST_ASSERT_EQ(0, uv_is_active( in TEST_F()
487 GTEST_ASSERT_EQ(uv_is_active(reinterpret_cast<uv_handle_t*>(&client_socket)), in TEST_F()
520 GTEST_ASSERT_EQ(uv_is_active(reinterpret_cast<uv_handle_t*>(&client_socket)), in TEST_F()
539 GTEST_ASSERT_EQ(uv_is_active( in TEST_F()
789 GTEST_ASSERT_EQ(0, uv_is_active( in TEST_F()
817 GTEST_ASSERT_EQ(0, uv_is_active( in TEST_F()
/third_party/libuv/src/win/
H A Dhandle.c61 int uv_is_active(const uv_handle_t* handle) { in uv_is_active() function
/third_party/node/src/
H A Dnode_stat_watcher.cc110 CHECK(!uv_is_active(wrap->GetHandle())); in Start()
H A Dhandle_wrap.cc105 !uv_is_active(GetHandle()); in IsNotIndicativeOfMemoryLeakAtExit()
H A Dnode_report_utils.cc165 writer->json_keyvalue("is_active", static_cast<bool>(uv_is_active(h))); in WalkHandle()
H A Ddebug_utils.cc345 uv_is_active(handle) ? " (active)" : ""); in PrintLibuvHandleInformation()
H A Dcares_wrap.cc750 } else if (uv_is_active(reinterpret_cast<uv_handle_t*>(timer_handle_))) { in StartTimer()
/third_party/node/deps/uv/src/win/
H A Dhandle.c61 int uv_is_active(const uv_handle_t* handle) { in uv_is_active() function
/third_party/libwebsockets/lib/event-libs/libuv/
H A Dlibuv.c353 return uv_is_active(h); in lws_libuv_check_watcher_active()
/third_party/node/deps/uv/src/unix/
H A Dcore.c456 int uv_is_active(const uv_handle_t* handle) { in uv_is_active() function
/third_party/libuv/src/unix/
H A Dcore.c512 int uv_is_active(const uv_handle_t* handle) { in uv_is_active() function
/third_party/libuv/include/
H A Duv.h509 UV_EXTERN int uv_is_active(const uv_handle_t* handle);
/third_party/libuv/include/uv_ndk/
H A Duv.h463 UV_EXTERN int uv_is_active(const uv_handle_t* handle);
/third_party/node/deps/uv/include/
H A Duv.h465 UV_EXTERN int uv_is_active(const uv_handle_t* handle);

Completed in 27 milliseconds