Home
last modified time | relevance | path

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

/external/chromium/third_party/libevent/
Devent.c553 struct event_once *eonce = arg; in event_once_cb() local
555 (*eonce->cb)(fd, events, eonce->arg); in event_once_cb()
556 free(eonce); in event_once_cb()
572 struct event_once *eonce; in event_base_once() local
580 if ((eonce = calloc(1, sizeof(struct event_once))) == NULL) in event_base_once()
583 eonce->cb = callback; in event_base_once()
584 eonce->arg = arg; in event_base_once()
592 evtimer_set(&eonce->ev, event_once_cb, eonce); in event_base_once()
596 event_set(&eonce->ev, fd, events, event_once_cb, eonce); in event_base_once()
599 free(eonce); in event_base_once()
[all …]