Home
last modified time | relevance | path

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

/external/chromium/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()
Dbench.c92 event_add(&events[i], NULL); in run_once()
/external/chromium/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()
Dsignal-test.c57 event_add(&signal_int, NULL); in main()
/external/chromium/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);
Devent.c605 res = event_add(&eonce->ev, tv); in event_base_once()
700 event_add(struct event *ev, const struct timeval *tv) in event_add() function
Dsignal.c224 if (event_add(&sig->ev_signal, NULL)) in evsignal_add()
Devbuffer.c68 return (event_add(ev, ptv)); in bufferevent_add()
DChangeLog40 o event_add would not return error for some backends; from Dean McNamee
73 o Make event_add not change any state if it fails; reported by Ian Bell.
134 …o Make kqueue have the same behavior as other backends when a signal is caught between event_add()…
Dhttp.c331 event_add(ev, &tv); in evhttp_add_event()
333 event_add(ev, NULL); in evhttp_add_event()
1110 event_add(&evcon->close_ev, NULL); in evhttp_connection_start_detectclose()
2292 res = event_add(ev, NULL); in evhttp_accept_socket()
Devdns.c1241 if (event_add(&port->event, NULL) < 0) { in server_port_flush()
1258 if (event_add(&ns->event, NULL) < 0) { in nameserver_write_waiting()
1496 event_add(&port->event, NULL); /* check return. */ in evdns_add_server_port()
1756 if (event_add(&port->event, NULL) < 0) { in evdns_server_request_respond()
2141 if (event_add(&ns->event, NULL) < 0) { in _evdns_nameserver_add_impl()
/external/chromium/base/
Dmessage_pump_libevent.cc134 if (event_add(wakeup_event_, 0)) in Init()
201 if (event_add(evt.get(), NULL) != 0) { in WatchFileDescriptor()
271 event_add(timer_event.get(), &poll_tv); in Run()
/external/wpa_supplicant_6/wpa_supplicant/src/wps/
Dwps_upnp_i.h188 int event_add(struct subscription *s, const struct wpabuf *data);
Dwps_upnp.c536 if (event_add(s, buf)) { in upnp_wps_device_send_event()
726 if (event_add(s, buf)) { in subscription_first_event()
Dwps_upnp_event.c508 int event_add(struct subscription *s, const struct wpabuf *data) in event_add() function