/external/chromium/third_party/libevent/ |
poll.c | 60 struct pollfd *event_set; member in struct:pollop 63 int *idxplus1_by_fd; /* Index into event_set by fd; we add 1 so 112 assert(pop->event_set[idx].fd == i); 113 if (pop->event_set[idx].events & POLLIN) { 119 if (pop->event_set[idx].events & POLLOUT) { 127 struct pollfd *pfd = &pop->event_set[i]; 147 res = poll(pop->event_set, nfds, msec); 172 what = pop->event_set[i].revents; 229 tmp_event_set = realloc(pop->event_set, 235 pop->event_set = tmp_event_set [all...] |
evbuffer.c | 253 event_set(&bufev->ev_read, fd, EV_READ, bufferevent_readcb, bufev); 254 event_set(&bufev->ev_write, fd, EV_WRITE, bufferevent_writecb, bufev); 285 event_set(&bufev->ev_read, fd, EV_READ, bufferevent_readcb, bufev); 286 event_set(&bufev->ev_write, fd, EV_WRITE, bufferevent_writecb, bufev);
|
event.h | 64 structure and call event_set() to initialize the members of the structure. 332 to event_set as the argument to callback. 472 #define evtimer_set(ev, cb, arg) event_set(ev, -1, 0, cb, arg) 500 #define timeout_set(ev, cb, arg) event_set(ev, -1, 0, cb, arg) 515 event_set(ev, x, EV_SIGNAL|EV_PERSIST, cb, arg) 523 The function event_set() prepares the event structure ev to be used in 546 void event_set(struct event *, int, short, void (*)(int, short, void *), void *); 551 The function event_once() is similar to event_set(). However, it schedules 563 @see event_set() 573 The function event_base_once() is similar to event_set(). However, i [all...] |
signal.c | 129 event_set(&base->sig.ev_signal, base->sig.ev_signal_pair[1],
|
http.c | 351 event_set(&evcon->ev, evcon->fd, EV_WRITE, evhttp_write, evcon); 897 event_set(&evcon->ev, evcon->fd, EV_READ, evhttp_read, evcon); 1107 event_set(&evcon->close_ev, evcon->fd, EV_READ, [all...] |
event.c | 596 event_set(&eonce->ev, fd, events, event_once_cb, eonce); 615 event_set(struct event *ev, int fd, short events, function
|
evdns.c | [all...] |
/external/chromium/third_party/libevent/sample/ |
signal-test.c | 54 event_set(&signal_int, SIGINT, EV_SIGNAL|EV_PERSIST, signal_cb,
|
event-test.c | 125 event_set(&evfifo, (int)socket, EV_READ, fifo_read, &evfifo); 127 event_set(&evfifo, socket, EV_READ, fifo_read, &evfifo);
|
/external/chromium/third_party/libevent/test/ |
test-eof.c | 78 event_set(&ev, pair[1], EV_READ, read_cb, &ev);
|
test-weof.c | 76 event_set(&ev, pair[1], EV_WRITE, write_cb, &ev);
|
regress.c | 331 event_set(&read_evs[i], pair[0], 335 event_set(&write_evs[i], pair[1], 376 event_set(&ev, pair[1], EV_READ, simple_read_cb, &ev); 392 event_set(&ev, pair[0], EV_WRITE, simple_write_cb, &ev); 415 event_set(&ev, pair[0], EV_WRITE, multiple_write_cb, &ev); 418 event_set(&ev2, pair[1], EV_READ, multiple_read_cb, &ev2); 444 event_set(&ev, pair[0], EV_WRITE|EV_PERSIST, multiple_write_cb, &ev); 447 event_set(&ev2, pair[1], EV_READ|EV_PERSIST, multiple_read_cb, &ev2); 472 event_set(&r1.ev, pair[0], EV_READ, combined_read_cb, &r1); 473 event_set(&w1.ev, pair[0], EV_WRITE, combined_write_cb, &w1) [all...] |
bench.c | 91 event_set(&events[i], cp[0], EV_READ | EV_PERSIST, read_cb, (void *) i);
|
/external/chromium/base/ |
message_pump_libevent.cc | 175 event_set(evt.get(), fd, event_mask, OnLibeventNotification, controller); 250 event_set(timer_event.get(), -1, 0, timer_callback, event_base_); 315 event_set(wakeup_event_, wakeup_pipe_out_, EV_READ | EV_PERSIST,
|