Home
last modified time | relevance | path

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

/external/curl/docs/examples/
Dhiperfifo.c81 struct event_base *evbase; member
188 event_base_loopbreak(g->evbase); in check_multi_info()
256 event_assign(&f->ev, g->evbase, f->sockfd, kind, event_cb, g); in setsock()
377 event_base_loopbreak(g->evbase); in fifo_cb()
415 event_assign(&g->fifo_event, g->evbase, sockfd, EV_READ|EV_PERSIST, in init_fifo()
435 g.evbase = event_base_new(); in main()
438 evtimer_assign(&g.timer_event, g.evbase, timer_cb, &g); in main()
449 event_base_dispatch(g.evbase); in main()
455 event_base_free(g.evbase); in main()
/external/libevent/
Ddevpoll.c170 struct devpollop *devpollop = base->evbase; in devpoll_dispatch()
230 struct devpollop *devpollop = base->evbase; in devpoll_add()
256 struct devpollop *devpollop = base->evbase; in devpoll_del()
297 struct devpollop *devpollop = base->evbase; in devpoll_dealloc()
Dkqueue.c269 struct kqop *kqop = base->evbase; in kq_dispatch()
447 struct kqop *kqop = base->evbase; in kq_dealloc()
456 struct kqop *kqop = base->evbase; in kq_sig_add()
489 struct kqop *kqop = base->evbase; in kq_sig_del()
524 struct kqop *kqop = base->evbase; in event_kq_add_notify_event_()
555 struct kqop *kqop = base->evbase; in event_kq_notify_base_()
Dselect.c143 struct selectop *sop = base->evbase; in select_dispatch()
254 struct selectop *sop = base->evbase; in select_add()
301 struct selectop *sop = base->evbase; in select_del()
343 select_free_selectop(base->evbase); in select_dealloc()
Devport.c259 struct evport_data *epdp = base->evbase; in evport_dispatch()
381 struct evport_data *evpd = base->evbase; in evport_add()
398 struct evport_data *evpd = base->evbase; in evport_del()
437 struct evport_data *evpd = base->evbase; in evport_dealloc()
Dpoll.c140 struct pollop *pop = base->evbase; in poll_dispatch()
232 struct pollop *pop = base->evbase; in poll_add()
295 struct pollop *pop = base->evbase; in poll_del()
346 struct pollop *pop = base->evbase; in poll_dealloc()
Depoll.c359 struct epollop *epollop = base->evbase; in epoll_apply_changes()
392 return epoll_apply_one_change(base, base->evbase, &ch); in epoll_nochangelist_add()
413 return epoll_apply_one_change(base, base->evbase, &ch); in epoll_nochangelist_del()
419 struct epollop *epollop = base->evbase; in epoll_dispatch()
529 struct epollop *epollop = base->evbase; in epoll_dealloc()
Dwin32select.c223 struct win32op *win32op = base->evbase; in win32_add()
248 struct win32op *win32op = base->evbase; in win32_del()
282 struct win32op *win32op = base->evbase; in win32_dispatch()
370 struct win32op *win32op = base->evbase; in win32_dealloc()
Devent-internal.h213 void *evbase; member
Devent.c656 base->evbase = NULL; in event_base_new_with_config()
676 for (i = 0; eventops[i] && !base->evbase; i++) { in event_base_new_with_config()
694 base->evbase = base->evsel->init(base); in event_base_new_with_config()
697 if (base->evbase == NULL) { in event_base_new_with_config()
1051 base->evbase = evsel->init(base); in event_reinit()
1052 if (base->evbase == NULL) { in event_reinit()