/freebsd/contrib/ntp/sntp/libevent/sample/ |
H A D | hello-world.c | 36 static void signal_cb(evutil_socket_t, short, void *); 70 signal_event = evsignal_new(base, SIGINT, signal_cb, (void *)base); in main() 132 signal_cb(evutil_socket_t sig, short events, void *user_data) in signal_cb() function
|
H A D | signal-test.c | 32 signal_cb(evutil_socket_t fd, short event, void *arg) in signal_cb() function 67 signal_int = evsignal_new(base, SIGINT, signal_cb, event_self_cbarg()); in main()
|
H A D | event-read-fifo.c | 77 signal_cb(evutil_socket_t fd, short event, void *arg) in signal_cb() function 141 signal_int = evsignal_new(base, SIGINT, signal_cb, base); in main()
|
/freebsd/contrib/libevent/sample/ |
H A D | hello-world.c | 36 static void signal_cb(evutil_socket_t, short, void *); 70 signal_event = evsignal_new(base, SIGINT, signal_cb, (void *)base); in main() 132 signal_cb(evutil_socket_t sig, short events, void *user_data) in signal_cb() function
|
H A D | signal-test.c | 32 signal_cb(evutil_socket_t fd, short event, void *arg) in signal_cb() function 67 signal_int = evsignal_new(base, SIGINT, signal_cb, event_self_cbarg()); in main()
|
H A D | event-read-fifo.c | 77 signal_cb(evutil_socket_t fd, short event, void *arg) in signal_cb() function 141 signal_int = evsignal_new(base, SIGINT, signal_cb, base); in main()
|
/freebsd/contrib/ntp/sntp/libevent/test/ |
H A D | regress.c | 1127 signal_cb(evutil_socket_t fd, short event, void *arg) in signal_cb() function 1141 evsignal_set(&ev, SIGALRM, signal_cb, &ev); in test_simplesignal_impl() 1185 evsignal_set(&ev_one, SIGALRM, signal_cb, &ev_one); in test_multiplesignal() 1188 evsignal_set(&ev_two, SIGALRM, signal_cb, &ev_two); in test_multiplesignal() 1214 evsignal_set(&ev, SIGUSR1, signal_cb, &ev); in test_immediatesignal() 1228 evsignal_set(&ev, SIGUSR1, signal_cb, &ev); in test_signal_dealloc() 1274 evsignal_set(&ev1, SIGUSR1, signal_cb, &ev1); in test_signal_switchbase() 1275 evsignal_set(&ev2, SIGUSR1, signal_cb, &ev2); in test_signal_switchbase() 1323 evsignal_set(&ev, SIGCONT, signal_cb, &ev); in test_signal_assert() 1371 evsignal_set(&ev, SIGUSR1, signal_cb, &ev); in test_signal_restore()
|
/freebsd/contrib/libevent/test/ |
H A D | regress.c | 1127 signal_cb(evutil_socket_t fd, short event, void *arg) in signal_cb() function 1141 evsignal_set(&ev, SIGALRM, signal_cb, &ev); in test_simplesignal_impl() 1185 evsignal_set(&ev_one, SIGALRM, signal_cb, &ev_one); in test_multiplesignal() 1188 evsignal_set(&ev_two, SIGALRM, signal_cb, &ev_two); in test_multiplesignal() 1214 evsignal_set(&ev, SIGUSR1, signal_cb, &ev); in test_immediatesignal() 1228 evsignal_set(&ev, SIGUSR1, signal_cb, &ev); in test_signal_dealloc() 1274 evsignal_set(&ev1, SIGUSR1, signal_cb, &ev1); in test_signal_switchbase() 1275 evsignal_set(&ev2, SIGUSR1, signal_cb, &ev2); in test_signal_switchbase() 1323 evsignal_set(&ev, SIGCONT, signal_cb, &ev); in test_signal_assert() 1371 evsignal_set(&ev, SIGUSR1, signal_cb, &ev); in test_signal_restore()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/msan/ |
H A D | msan_interceptors.cpp | 1124 typedef void (*signal_cb)(int x); in SignalHandler() typedef 1125 signal_cb cb = in SignalHandler() 1126 (signal_cb)atomic_load(&sigactions[signo], memory_order_relaxed); in SignalHandler()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/ |
H A D | dfsan_custom.cpp | 1615 typedef void (*signal_cb)(int x); in SignalHandler() typedef 1616 signal_cb cb = in SignalHandler() 1617 (signal_cb)atomic_load(&sigactions[signo], memory_order_relaxed); in SignalHandler()
|