Home
last modified time | relevance | path

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

/freebsd/contrib/ntp/sntp/libevent/
H A Dpoll.c68 int idxplus1; member
264 i = idx->idxplus1 - 1; in poll_add()
273 idx->idxplus1 = i + 1; in poll_add()
305 i = idx->idxplus1 - 1; in poll_del()
323 idx->idxplus1 = 0; in poll_del()
335 EVUTIL_ASSERT(idx->idxplus1 == pop->nfds + 1); in poll_del()
336 idx->idxplus1 = i + 1; in poll_del()
H A Devmap.c703 int idxplus1; /* this is the index +1, so that memset(0) will make it member
743 if (f->idxplus1) {
744 struct event_change *c = &changelist->changes[f->idxplus1 - 1];
764 EVUTIL_ASSERT(f->idxplus1 == i + 1);
790 EVUTIL_ASSERT(fdinfo->idxplus1 == i + 1);
791 fdinfo->idxplus1 = 0;
842 if (fdinfo->idxplus1 == 0) {
853 fdinfo->idxplus1 = idx + 1;
859 change = &changelist->changes[fdinfo->idxplus1 - 1];
/freebsd/contrib/libevent/
H A Dpoll.c68 int idxplus1; member
264 i = idx->idxplus1 - 1; in poll_add()
273 idx->idxplus1 = i + 1; in poll_add()
305 i = idx->idxplus1 - 1; in poll_del()
323 idx->idxplus1 = 0; in poll_del()
335 EVUTIL_ASSERT(idx->idxplus1 == pop->nfds + 1); in poll_del()
336 idx->idxplus1 = i + 1; in poll_del()
H A Devmap.c703 int idxplus1; /* this is the index +1, so that memset(0) will make it member
743 if (f->idxplus1) {
744 struct event_change *c = &changelist->changes[f->idxplus1 - 1];
764 EVUTIL_ASSERT(f->idxplus1 == i + 1);
790 EVUTIL_ASSERT(fdinfo->idxplus1 == i + 1);
791 fdinfo->idxplus1 = 0;
842 if (fdinfo->idxplus1 == 0) {
853 fdinfo->idxplus1 = idx + 1;
859 change = &changelist->changes[fdinfo->idxplus1 - 1];