Home
last modified time | relevance | path

Searched refs:event_base_once (Results 1 – 10 of 10) sorted by relevance

/external/libevent/test/
Dregress_http.c391 event_base_once(exit_base, -1, EV_TIMEOUT, in http_timeout_cb()
432 event_base_once(state->base, -1, EV_TIMEOUT, in http_chunked_trickle_cb()
460 event_base_once(arg, -1, EV_TIMEOUT, http_chunked_trickle_cb, state, &when); in http_chunked_cb()
615 event_base_once(arg, -1, EV_TIMEOUT, http_delay_reply, req, &tv); in http_delay_cb()
719 event_base_once(data->base, -1, EV_TIMEOUT, http_badreq_successcb, bev, &tv); in http_bad_request_test()
753 event_base_once(data->base, -1, EV_TIMEOUT, http_badreq_successcb, bev, &tv); in http_bad_request_test()
776 event_base_once(arg, -1, EV_TIMEOUT, http_delay_reply, req, &tv); in http_large_delay_cb()
1539 event_base_once(data->base, -1, EV_TIMEOUT, http_do_cancel, req, &tv); in http_cancel_test()
2313 event_base_once(base, -1, EV_TIMEOUT, close_detect_launch, evcon, &tv); in close_detect_cb()
3826 event_base_once(data->base, -1, EV_TIMEOUT, http_make_web_server, &hs, &tv); in http_connection_retry_test_basic()
[all …]
Dregress_thread.c473 event_base_once(base, -1, EV_TIMEOUT, timer_callback, NULL, in thread_deferred_cb_skew()
475 event_base_once(base, -1, EV_TIMEOUT, start_threads_callback, in thread_deferred_cb_skew()
Dregress.c734 event_base_once(base, -1, EV_TIMEOUT, activate_cb, &ev, &tv2); in test_persistent_active_timeout()
2805 r = event_base_once(data->base, data->pair[0], EV_READ, in test_event_once()
2808 r = event_base_once(data->base, -1, EV_TIMEOUT, in test_event_once()
2811 r = event_base_once(data->base, -1, 0, NULL, NULL, NULL); in test_event_once()
2813 r = event_base_once(data->base, -1, EV_TIMEOUT, in test_event_once()
2818 r = event_base_once(data->base, -1, EV_TIMEOUT, in test_event_once()
2845 event_base_once(data->base, -1, EV_TIMEOUT, in test_event_once_never()
Dregress_ssl.c601 event_base_once(data->base, -1, EV_TIMEOUT, in acceptcb()
Dregress_bufferevent.c1130 event_base_once(base, -1, EV_TIMEOUT, trigger_failure_cb, NULL, &timeout); in trigger_readcb()
Dregress_dns.c1690 event_base_once(data->base, -1, EV_TIMEOUT, cancel_gai_cb, in test_getaddrinfo_async()
/external/libevent/include/event2/
Devent.h1209 int event_base_once(struct event_base *, evutil_socket_t, short, event_callback_fn, void *, const s…
/external/libevent/
Dwhatsnew-2.1.txt126 The event_base_once() function used to leak some memory if the event
130 passed as the callback argument to event_base_once is still something
526 It's a common pattern in older code to use event_base_once() with a
Devent.c1846 return (event_base_once(event_base, -1, EV_TIMEOUT, event_loopexit_cb, in event_base_loopexit()
2046 return event_base_once(current_base, fd, events, callback, arg, tv); in event_once()
2051 event_base_once(struct event_base *base, evutil_socket_t fd, short events, in event_base_once() function
DChangeLog37 o event_base_once: fix potential null pointer threat (2e9ceb16 chenguolong)
1334 If a callback added by event_base_once() is never invoked, Libevent no
1338 o Add a unit test in which an event is created with event_base_once()
1901 o Bypass event_add when using event_base_once() for a 0-sec timeout (35c5c95)