Home
last modified time | relevance | path

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

/third_party/libuv/test/
Dtest-pipe-connect-prepare.c40 static uv_prepare_t prepare_handle; variable
53 uv_close((uv_handle_t*)&prepare_handle, close_cb); in connect_cb()
59 ASSERT(handle == &prepare_handle); in prepare_cb()
70 r = uv_prepare_init(uv_default_loop(), &prepare_handle); in TEST_IMPL()
72 r = uv_prepare_start(&prepare_handle, prepare_cb); in TEST_IMPL()
Dtest-timer-from-check.c25 static uv_prepare_t prepare_handle; variable
35 ASSERT(0 == uv_prepare_stop(&prepare_handle)); in prepare_cb()
56 ASSERT(0 == uv_prepare_start(&prepare_handle, prepare_cb)); in check_cb()
65 ASSERT(0 == uv_prepare_init(uv_default_loop(), &prepare_handle)); in TEST_IMPL()
74 uv_close((uv_handle_t*) &prepare_handle, NULL); in TEST_IMPL()
Dtest-loop-stop.c25 static uv_prepare_t prepare_handle; variable
33 ASSERT(handle == &prepare_handle); in prepare_cb()
52 uv_prepare_init(uv_default_loop(), &prepare_handle); in TEST_IMPL()
53 uv_prepare_start(&prepare_handle, prepare_cb); in TEST_IMPL()