Searched refs:ev_fd (Results 1 – 10 of 10) sorted by relevance
/external/chromium/third_party/libevent/ |
D | select.c | 127 assert(sop->event_r_by_fd[i]->ev_fd == i); in check_selectop() 134 assert(sop->event_w_by_fd[i]->ev_fd == i); in check_selectop() 278 if (sop->event_fds < ev->ev_fd) { in select_add() 285 (howmany(ev->ev_fd + 1, NFDBITS) * sizeof(fd_mask))) in select_add() 295 sop->event_fds = ev->ev_fd; in select_add() 299 FD_SET(ev->ev_fd, sop->event_readset_in); in select_add() 300 sop->event_r_by_fd[ev->ev_fd] = ev; in select_add() 303 FD_SET(ev->ev_fd, sop->event_writeset_in); in select_add() 304 sop->event_w_by_fd[ev->ev_fd] = ev; in select_add() 324 if (sop->event_fds < ev->ev_fd) { in select_del() [all …]
|
D | evport.c | 202 assert(ev->ev_fd == i); in check_evportop() 205 assert(ev->ev_fd == i); in check_evportop() 325 int fd = FDI_HAS_READ(fdi) ? fdi->fdi_revt->ev_fd : in evport_dispatch() 326 fdi->fdi_wevt->ev_fd; in evport_dispatch() 419 while (ev->ev_fd >= factor * evpd->ed_nevents) in evport_add() 428 fdi = &evpd->ed_fds[ev->ev_fd]; in evport_add() 434 return reassociate(evpd, fdi, ev->ev_fd); in evport_add() 458 if (evpd->ed_nevents < ev->ev_fd) { in evport_del() 463 if (evpd->ed_pending[i] == ev->ev_fd) { in evport_del() 469 fdi = &evpd->ed_fds[ev->ev_fd]; in evport_del() [all …]
|
D | poll.c | 117 assert(ev->ev_fd == i); in poll_check_ok() 123 assert(ev->ev_fd == i); in poll_check_ok() 258 if (ev->ev_fd >= pop->fd_count) { in poll_add() 265 while (new_count <= ev->ev_fd) in poll_add() 279 i = pop->idxplus1_by_fd[ev->ev_fd] - 1; in poll_add() 286 pfd->fd = ev->ev_fd; in poll_add() 288 pop->idxplus1_by_fd[ev->ev_fd] = i + 1; in poll_add() 323 i = pop->idxplus1_by_fd[ev->ev_fd] - 1; in poll_del() 343 pop->idxplus1_by_fd[ev->ev_fd] = 0; in poll_del()
|
D | event.h | 221 int ev_fd; member 240 #define EVENT_SIGNAL(ev) (int)(ev)->ev_fd 241 #define EVENT_FD(ev) (int)(ev)->ev_fd 655 #define event_initialized(ev) ((ev)->ev_flags & EVLIST_INIT && (ev)->ev_fd != (int)INVALID_HANDLE_…
|
D | kqueue.c | 339 kev.ident = ev->ev_fd; in kq_add() 358 kev.ident = ev->ev_fd; in kq_add() 412 kev.ident = ev->ev_fd; in kq_del() 424 kev.ident = ev->ev_fd; in kq_del()
|
D | epoll.c | 274 fd = ev->ev_fd; in epoll_add() 299 if (epoll_ctl(epollop->epfd, op, ev->ev_fd, &epev) == -1) in epoll_add() 323 fd = ev->ev_fd; in epoll_del()
|
D | event.c | 385 (*ev->ev_callback)((int)ev->ev_fd, ev->ev_res, ev->ev_arg); in event_process_active() 623 ev->ev_fd = fd; in event_set() 932 ev, ev->ev_fd, queue); in event_queue_remove() 964 ev, ev->ev_fd, queue); in event_queue_insert()
|
D | devpoll.c | 299 fd = ev->ev_fd; in devpoll_add() 354 fd = ev->ev_fd; in devpoll_del()
|
D | http.c | 2362 fd = bound->bind_ev.ev_fd; in evhttp_free()
|
/external/chromium/third_party/libevent/test/ |
D | regress.c | 349 close(read_evs[j].ev_fd); in test_registerfds() 350 close(write_evs[j].ev_fd); in test_registerfds() 352 CloseHandle((HANDLE)read_evs[j].ev_fd); in test_registerfds() 353 CloseHandle((HANDLE)write_evs[j].ev_fd); in test_registerfds()
|