Home
last modified time | relevance | path

Searched refs:event_add (Results 1 – 25 of 51) sorted by relevance

123

/external/libevent/test/
Dtest-dumpevents.c130 event_add(ev[0], NULL); in main()
131 event_add(ev[1], &tv_onesec); in main()
132 event_add(ev[2], tv_onesec_common); in main()
133 event_add(ev[3], tv_two5sec_common); in main()
135 event_add(ev[4], tv_onesec_common); in main()
136 event_add(ev[5], tv_onesec_common); in main()
137 event_add(ev[6], &tv_onesec); in main()
138 event_add(ev[7], tv_two5sec_common); in main()
139 event_add(ev[8], tv_onesec_common); in main()
140 event_add(ev[9], &tv_two5sec); in main()
[all …]
Dregress.c116 if (event_add(arg, NULL) == -1) in simple_read_cb()
204 if (event_add(ev, NULL) == -1) in multiple_write_cb()
226 if (event_add(ev, NULL) == -1) in multiple_read_cb()
256 if (event_add(&both->ev, NULL) == -1) in combined_read_cb()
282 if (event_add(&both->ev, NULL) == -1) in combined_write_cb()
310 if (event_add(&ev, NULL) == -1) in test_simpleread()
326 if (event_add(&ev, NULL) == -1) in test_simplewrite()
355 if (event_add(&one, NULL) == -1) in test_simpleread_multiple()
358 if (event_add(&two, NULL) == -1) in test_simpleread_multiple()
440 event_add(closeev, &tv); in test_simpleclose_rw()
[all …]
Dregress_et.c108 tt_int_op(event_add(ev, NULL), ==, 0); in test_edgetriggered()
159 tt_int_op(0, ==, event_add(ev_et, NULL)); in test_edgetriggered_mix_error()
160 tt_int_op(-1, ==, event_add(ev_lt, NULL)); in test_edgetriggered_mix_error()
166 tt_int_op(0, ==, event_add(ev_lt, NULL)); in test_edgetriggered_mix_error()
167 tt_int_op(-1, ==, event_add(ev_et, NULL)); in test_edgetriggered_mix_error()
232 event_add(read_ev, NULL); in test_edge_triggered_multiple_events()
233 event_add(write_ev, NULL); in test_edge_triggered_multiple_events()
Dregress_thread.c198 event_add(sigchld_event, NULL); in thread_basic()
199 event_add(notification_event, NULL); in thread_basic()
210 event_add(notification_event, NULL); in thread_basic()
234 event_add(&ev, &tv); in thread_basic()
333 tt_int_op(event_add(&wake_one, &tv_signal), ==, 0); in thread_conditions_simple()
334 tt_int_op(event_add(&wake_all, &tv_broadcast), ==, 0); in thread_conditions_simple()
519 event_add(&time_events[2], &tv); in register_events_subthread()
521 event_add(&time_events[3], &tv); in register_events_subthread()
Dtest-weof.c72 event_add(arg, NULL); in write_cb()
108 event_add(&ev, NULL); in main()
Dregress_finalize.c133 event_add(ev, &ten_sec); in test_fin_cb_invoked()
145 event_add(ev, &ten_sec); in test_fin_cb_invoked()
149 event_add(&ev2, &ten_sec); in test_fin_cb_invoked()
318 tt_int_op(event_add(ev, NULL), ==, 0); in test_fin_debug_use_after_free()
328 tt_int_op(event_add(ev, NULL), ==, 0); in test_fin_debug_use_after_free()
Dtest-eof.c74 event_add(arg, &timeout); in read_cb()
111 event_add(&ev, &timeout); in main()
Dtest-changelist.c146 event_add(*(struct event**)arg,NULL); in write_cb()
199 event_add(ev, NULL); in main()
Dtest-ratelim.c205 event_add(check_event, ms100_common); in echo_listenercb()
298 if (!timer || event_add(timer, &tv)) { in timer_bias_calculate()
452 event_add(periodic_level_check, ms100_common); in test_ratelimiting()
456 event_add(group_drain_event, &cfg_tick); in test_ratelimiting()
Dtest-closed.c103 event_add(ev, &timeout); in main()
/external/python/cpython2/Lib/idlelib/
DCallTipWindow.py81 self.widget.event_add(CHECKHIDE_VIRTUAL_EVENT_NAME, seq)
86 self.widget.event_add(HIDE_VIRTUAL_EVENT_NAME, seq)
154 text.event_add("<<calltip-show>>", "(")
155 text.event_add("<<calltip-hide>>", ")")
DMultiCall.py351 def event_add(self, virtual, *sequences): member in MultiCallCreator.MultiCall
361 widget.event_add(self, virtual, seq)
412 text.event_add("<<handler%d>>"%n[0], seq)
/external/python/cpython3/Lib/idlelib/
Dcalltip_w.py153 self.anchor_widget.event_add(CHECKHIDE_EVENT, seq)
158 self.anchor_widget.event_add(HIDE_EVENT, seq)
189 text.event_add("<<calltip-show>>", "(")
190 text.event_add("<<calltip-hide>>", ")")
Dautocomplete_w.py215 acw.event_add(HIDE_VIRTUAL_EVENT_NAME, HIDE_FOCUS_OUT_SEQUENCE)
217 self.widget.event_add(HIDE_VIRTUAL_EVENT_NAME, seq)
222 self.widget.event_add(KEYPRESS_VIRTUAL_EVENT_NAME, seq)
225 self.widget.event_add(KEYRELEASE_VIRTUAL_EVENT_NAME,KEYRELEASE_SEQUENCE)
Dmulticall.py363 def event_add(self, virtual, *sequences): member in MultiCallCreator.MultiCall
374 widget.event_add(self, virtual, seq)
428 text.event_add("<<handler%d>>"%n[0], seq)
/external/libevent/sample/
Dtime-test.c62 event_add(timeout, &tv); in timeout_cb()
99 event_add(&timeout, &tv); in main()
Devent-read-fifo.c142 event_add(signal_int, NULL); in main()
149 event_add(evfifo, NULL); in main()
Dsignal-test.c72 event_add(signal_int, NULL); in main()
/external/libevent/include/event2/
Devent_compat.h198 #define timeout_add(ev, tv) event_add((ev), (tv))
212 #define signal_add(ev, tv) event_add((ev), (tv))
Devent.h967 #define evtimer_add(ev, tv) event_add((ev), (tv))
979 #define evsignal_add(ev, tv) event_add((ev), (tv))
1233 int event_add(struct event *ev, const struct timeval *timeout);
/external/libchrome/base/message_loop/
Dmessage_pump_libevent.cc180 if (event_add(evt.get(), nullptr)) { in WatchFileDescriptor()
246 event_add(timer_event.get(), &poll_tv); in Run()
298 if (event_add(wakeup_event_, nullptr)) in Init()
/external/libevent/
Dbufferevent_ratelim.c285 if (event_add(&bev->rate_limiting->refill_bucket_event, in bufferevent_decrement_read_buckets_()
323 if (event_add(&bev->rate_limiting->refill_bucket_event, in bufferevent_decrement_write_buckets_()
435 event_add(&bev->rate_limiting->refill_bucket_event, in bev_refill_callback_()
628 event_add(&rlim->refill_bucket_event, &cfg->tick_timeout); in bufferevent_set_rate_limit()
659 event_add(&g->master_refill_event, &cfg->tick_timeout); in bufferevent_rate_limit_group_new()
692 event_add(&g->master_refill_event, &cfg->tick_timeout); in bufferevent_rate_limit_group_set_cfg()
982 if (event_add(&bevp->rate_limiting->refill_bucket_event, in bufferevent_decrement_read_limit()
1011 if (event_add(&bevp->rate_limiting->refill_bucket_event, in bufferevent_decrement_write_limit()
Dbufferevent-internal.h461 event_add(&(bev)->ev_read, &(bev)->timeout_read); \
468 event_add(&(bev)->ev_write, &(bev)->timeout_write); \
/external/libwebsockets/lib/event-libs/libevent/
Dlibevent.c199 event_add(vh->lserv_wsi->w_read.event.watcher, NULL); in elops_init_pt_event()
219 event_add(pt->w_sigint.event.watcher, NULL); in elops_init_pt_event()
278 event_add(wsi->w_write.event.watcher, NULL); in elops_io_event()
281 event_add(wsi->w_read.event.watcher, NULL); in elops_io_event()
/external/webrtc/rtc_base/
Dtask_queue_libevent.cc186 event_add(&wakeup_event_, 0); in TaskQueueLibevent()
249 event_add(&timer->ev, &tv); in PostDelayedTask()

123