Home
last modified time | relevance | path

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

/external/chromium/third_party/libevent/
Dpoll.c63 int *idxplus1_by_fd; /* Index into event_set by fd; we add 1 so member
109 idx = pop->idxplus1_by_fd[i]-1; in poll_check_ok()
128 assert(pop->idxplus1_by_fd[pfd->fd] == i+1); in poll_check_ok()
268 realloc(pop->idxplus1_by_fd, new_count * sizeof(int)); in poll_add()
273 pop->idxplus1_by_fd = tmp_idxplus1_by_fd; in poll_add()
274 memset(pop->idxplus1_by_fd + pop->fd_count, in poll_add()
279 i = pop->idxplus1_by_fd[ev->ev_fd] - 1; 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()
[all …]
/external/chromium_org/third_party/libevent/
Dpoll.c63 int *idxplus1_by_fd; /* Index into event_set by fd; we add 1 so member
109 idx = pop->idxplus1_by_fd[i]-1; in poll_check_ok()
128 assert(pop->idxplus1_by_fd[pfd->fd] == i+1); in poll_check_ok()
268 realloc(pop->idxplus1_by_fd, new_count * sizeof(int)); in poll_add()
273 pop->idxplus1_by_fd = tmp_idxplus1_by_fd; in poll_add()
274 memset(pop->idxplus1_by_fd + pop->fd_count, in poll_add()
279 i = pop->idxplus1_by_fd[ev->ev_fd] - 1; 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()
[all …]