Home
last modified time | relevance | path

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

/external/curl/docs/examples/
Dhiperfifo.c87 struct event_base *evbase; member
194 event_base_loopbreak(g->evbase); in check_multi_info()
259 event_assign(&f->ev, g->evbase, f->sockfd, kind, event_cb, g); in setsock()
378 event_base_loopbreak(g->evbase); in fifo_cb()
416 event_assign(&g->fifo_event, g->evbase, sockfd, EV_READ|EV_PERSIST, in init_fifo()
434 g.evbase = event_base_new(); in main()
437 evtimer_assign(&g.timer_event, g.evbase, timer_cb, &g); in main()
448 event_base_dispatch(g.evbase); in main()
454 event_base_free(g.evbase); in main()
/external/libevent/
Dkqueue.c256 struct kqop *kqop = base->evbase; in kq_dispatch()
434 struct kqop *kqop = base->evbase; in kq_dealloc()
443 struct kqop *kqop = base->evbase; in kq_sig_add()
476 struct kqop *kqop = base->evbase; in kq_sig_del()
511 struct kqop *kqop = base->evbase; in event_kq_add_notify_event_()
542 struct kqop *kqop = base->evbase; in event_kq_notify_base_()
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()
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()
Dpoll.c129 struct pollop *pop = base->evbase; in poll_dispatch()
219 struct pollop *pop = base->evbase; in poll_add()
280 struct pollop *pop = base->evbase; in poll_del()
329 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()
410 return epoll_apply_one_change(base, base->evbase, &ch); in epoll_nochangelist_del()
416 struct epollop *epollop = base->evbase; in epoll_dispatch()
524 struct epollop *epollop = base->evbase; in epoll_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()
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()
369 struct win32op *win32op = base->evbase; in win32_dealloc()
Devent-internal.h213 void *evbase; member
Devent.c614 base->evbase = NULL; in event_base_new_with_config()
634 for (i = 0; eventops[i] && !base->evbase; i++) { in event_base_new_with_config()
652 base->evbase = base->evsel->init(base); in event_base_new_with_config()
655 if (base->evbase == NULL) { in event_base_new_with_config()
1008 base->evbase = evsel->init(base); in event_reinit()
1009 if (base->evbase == NULL) { in event_reinit()