Lines Matching refs:signum
47 static void signum_test_cb(uv_signal_t* handle, int signum) { in signum_test_cb() argument
89 int signum; member
96 int signum; member
101 static void signal_cb(uv_signal_t* handle, int signum) { in signal_cb() argument
103 ASSERT_EQ(signum, ctx->signum); in signal_cb()
114 static void signal_cb_one_shot(uv_signal_t* handle, int signum) { in signal_cb_one_shot() argument
116 ASSERT_EQ(signum, ctx->signum); in signal_cb_one_shot()
126 raise(ctx->signum); in timer_cb()
134 int signum, in start_watcher() argument
138 ctx->signum = signum; in start_watcher()
143 ASSERT_OK(uv_signal_start_oneshot(&ctx->handle, signal_cb_one_shot, signum)); in start_watcher()
145 ASSERT_OK(uv_signal_start(&ctx->handle, signal_cb, signum)); in start_watcher()
148 static void start_timer(uv_loop_t* loop, int signum, struct timer_ctx* ctx) { in start_timer() argument
150 ctx->signum = signum; in start_timer()