Lines Matching refs:cb

129 static void (*NATIVE_BITS_CB(void (*cb)(int, short, void*)))(int, short, void*)
131 if(cb == comm_point_udp_callback)
133 else if(cb == comm_point_udp_ancil_callback)
135 else if(cb == comm_point_tcp_accept_callback)
137 else if(cb == comm_point_tcp_handle_callback)
139 else if(cb == comm_timer_callback)
141 else if(cb == comm_signal_callback)
143 else if(cb == comm_point_local_handle_callback)
145 else if(cb == comm_point_raw_handle_callback)
147 else if(cb == comm_point_http_handle_callback)
149 else if(cb == tube_handle_signal)
151 else if(cb == comm_base_handle_slow_accept)
154 else if(cb == comm_point_doq_callback)
157 else if(cb == fast_reload_service_cb)
160 else if(cb == dtio_output_cb)
162 else if(cb == dtio_cmd_cb)
164 else if(cb == dtio_reconnect_timeout_cb)
166 else if(cb == dtio_stop_timer_cb)
168 else if(cb == dtio_stop_ev_cb)
170 else if(cb == dtio_tap_callback)
172 else if(cb == dtio_mainfdcallback)
176 else if(cb == doq_client_event_cb)
178 else if(cb == doq_client_timer_cb)
182 else if(cb == worker_win_stop_cb)
350 void (*cb)(int, short, void*), void* arg)
358 event_set(ev, fd, NATIVE_BITS(bits), NATIVE_BITS_CB(cb), arg);
364 if (event_assign(ev, AS_EVENT_BASE(base), fd, bits, cb, arg) != 0) {
374 void (*cb)(int, short, void*), void* arg)
382 signal_set(ev, fd, NATIVE_BITS_CB(cb), arg);
388 if (evsignal_assign(ev, AS_EVENT_BASE(base), fd, cb, arg) != 0) {
398 void (*cb)(int, short, void*), void* arg)
406 if (winsock_register_wsaevent(AS_EVENT_BASE(base), ev, wsaevent, cb,
414 (void)cb;
459 void (*cb)(int, short, void*), void* arg, struct timeval* tv)
461 event_set(AS_EVENT(ev), -1, EV_TIMEOUT, NATIVE_BITS_CB(cb), arg);
507 void ub_comm_base_now(struct comm_base* cb)
511 (void)cb; /* nothing to do */
516 comm_base_timept(cb, &tt, &tv);