/external/libevent/test/ |
D | test-dumpevents.c | 130 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 …]
|
D | regress.c | 119 if (event_add(arg, NULL) == -1) in simple_read_cb() 207 if (event_add(ev, NULL) == -1) in multiple_write_cb() 229 if (event_add(ev, NULL) == -1) in multiple_read_cb() 259 if (event_add(&both->ev, NULL) == -1) in combined_read_cb() 285 if (event_add(&both->ev, NULL) == -1) in combined_write_cb() 313 if (event_add(&ev, NULL) == -1) in test_simpleread() 329 if (event_add(&ev, NULL) == -1) in test_simplewrite() 358 if (event_add(&one, NULL) == -1) in test_simpleread_multiple() 361 if (event_add(&two, NULL) == -1) in test_simpleread_multiple() 443 event_add(closeev, &tv); in test_simpleclose() [all …]
|
D | regress_et.c | 108 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()
|
D | regress_thread.c | 198 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()
|
D | test-weof.c | 72 event_add(arg, NULL); in write_cb() 108 event_add(&ev, NULL); in main()
|
D | test-eof.c | 74 event_add(arg, &timeout); in read_cb() 111 event_add(&ev, &timeout); in main()
|
D | regress_finalize.c | 133 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()
|
D | test-changelist.c | 146 event_add(*(struct event**)arg,NULL); in write_cb() 199 event_add(ev, NULL); in main()
|
D | test-closed.c | 103 event_add(ev, &timeout); in main()
|
D | test-ratelim.c | 189 event_add(check_event, ms100_common); in echo_listenercb() 367 event_add(periodic_level_check, ms100_common); in test_ratelimiting() 371 event_add(group_drain_event, &cfg_tick); in test_ratelimiting()
|
/external/python/cpython2/Lib/idlelib/ |
D | CallTipWindow.py | 81 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>>", ")")
|
D | MultiCall.py | 351 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)
|
D | AutoCompleteWindow.py | 205 self.widget.event_add(HIDE_VIRTUAL_EVENT_NAME, seq) 209 self.widget.event_add(KEYPRESS_VIRTUAL_EVENT_NAME, seq) 212 self.widget.event_add(KEYRELEASE_VIRTUAL_EVENT_NAME,KEYRELEASE_SEQUENCE)
|
/external/python/cpython3/Lib/idlelib/ |
D | calltip_w.py | 153 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>>", ")")
|
D | autocomplete_w.py | 215 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)
|
D | multicall.py | 363 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/ |
D | time-test.c | 62 event_add(timeout, &tv); in timeout_cb() 99 event_add(&timeout, &tv); in main()
|
D | event-read-fifo.c | 142 event_add(signal_int, NULL); in main() 149 event_add(evfifo, NULL); in main()
|
D | signal-test.c | 64 event_add(signal_int, NULL); in main()
|
D | hello-world.c | 73 if (!signal_event || event_add(signal_event, NULL)<0) { in main()
|
/external/libevent/include/event2/ |
D | event_compat.h | 198 #define timeout_add(ev, tv) event_add((ev), (tv)) 212 #define signal_add(ev, tv) event_add((ev), (tv))
|
D | event.h | 967 #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/libevent/ |
D | bufferevent_ratelim.c | 285 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()
|
D | bufferevent-internal.h | 461 event_add(&(bev)->ev_read, &(bev)->timeout_read); \ 468 event_add(&(bev)->ev_write, &(bev)->timeout_write); \
|
/external/libchrome/base/message_loop/ |
D | message_pump_libevent.cc | 180 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()
|