Home
last modified time | relevance | path

Searched refs:event_add (Results 1 – 25 of 67) 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()
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-weof.c72 event_add(arg, NULL); in write_cb()
108 event_add(&ev, NULL); in main()
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()
/external/cronet/third_party/libevent/test/
Dregress.c105 if (event_add(arg, NULL) == -1) in simple_read_cb()
157 if (event_add(ev, NULL) == -1) in multiple_write_cb()
179 if (event_add(ev, NULL) == -1) in multiple_read_cb()
240 if (event_add(&both->ev, NULL) == -1) in combined_read_cb()
264 if (event_add(&both->ev, NULL) == -1) in combined_write_cb()
334 event_add(&read_evs[i], NULL); in test_registerfds()
338 event_add(&write_evs[i], NULL); in test_registerfds()
377 if (event_add(&ev, NULL) == -1) in test_simpleread()
393 if (event_add(&ev, NULL) == -1) in test_simplewrite()
416 if (event_add(&ev, NULL) == -1) in test_multiple()
[all …]
Dtest-eof.c49 event_add(arg, NULL); in read_cb()
80 event_add(&ev, NULL); in main()
Dtest-weof.c51 event_add(arg, NULL); in write_cb()
78 event_add(&ev, NULL); 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>>", ")")
/external/cronet/third_party/libevent/sample/
Dtime-test.c45 event_add(timeout, &tv); in timeout_cb()
62 event_add(&timeout, &tv); in main()
Devent-test.c38 event_add(ev, NULL); in fifo_read()
131 event_add(&evfifo, NULL); in main()
/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>>", ")")
/external/cronet/net/third_party/quiche/src/quiche/quic/bindings/
Dquic_libevent.cc52 event_add(event_.get(), &unix_time); in SetImpl()
141 event_add(&both_events_, nullptr); in Registration()
176 event_add(&read_event_, nullptr); in Rearm()
179 event_add(&write_event_, nullptr); in Rearm()
/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()
/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/cronet/third_party/libevent/
Devent.h462 #define evtimer_add(ev, tv) event_add(ev, tv)
490 #define timeout_add(ev, tv) event_add(ev, tv)
513 #define signal_add(ev, tv) event_add(ev, tv)
611 int event_add(struct event *ev, const struct timeval *timeout);
/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()
/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/libwebsockets/lib/event-libs/libevent/
Dlibevent.c189 event_add(w_read->watcher, NULL); in elops_listen_init_event()
240 event_add(ptpr->w_sigint.watcher, NULL); in elops_init_pt_event()
304 event_add(wpr->w_write.watcher, NULL); in elops_io_event()
309 event_add(wpr->w_read.watcher, NULL); in elops_io_event()
/external/cronet/base/message_loop/
Dmessage_pump_libevent.cc256 if (event_add(evt.get(), nullptr)) { in WatchFileDescriptor()
344 event_add(timer_event.get(), &poll_tv); in Run()
417 if (event_add(wakeup_event_.get(), nullptr)) in Init()

123