Searched refs:fd_count (Results 1 - 4 of 4) sorted by relevance

/freebsd-10.3-release/contrib/ntp/sntp/libevent/
H A Dwin32select.c60 u_int fd_count; member in struct:win_fd_set
108 EVUTIL_ASSERT(new_num_fds >= op->readset_in->fd_count &&
109 new_num_fds >= op->writeset_in->fd_count);
133 if (set->fd_count == op->num_fds_in_fd_sets) {
139 set->fd_array[set->fd_count] = s;
141 ent->read_pos_plus1 = set->fd_count+1;
143 ent->write_pos_plus1 = set->fd_count+1;
144 return (set->fd_count++);
162 if (--set->fd_count != (unsigned)i) {
165 s2 = set->fd_array[i] = set->fd_array[set->fd_count];
285 int fd_count; local
[all...]
H A Dpoll.c109 for (i = 0; i < pop->fd_count; ++i) {
/freebsd-10.3-release/contrib/ntp/lib/isc/win32/include/isc/
H A Dnet.h159 for (__i = 0; __i < ((fd_set FAR *)(set))->fd_count; __i++) { \
161 while (__i < ((fd_set FAR *)(set))->fd_count-1) { \
166 ((fd_set FAR *)(set))->fd_count--; \
175 for (__i = 0; __i < ((fd_set FAR *)(set))->fd_count; __i++) { \
180 if (__i == ((fd_set FAR *)(set))->fd_count) { \
181 if (((fd_set FAR *)(set))->fd_count < FD_SETSIZE) { \
183 ((fd_set FAR *)(set))->fd_count++; \
/freebsd-10.3-release/contrib/pf/libevent/
H A Dpoll.c62 int fd_count; /* Size of idxplus1_by_fd */ member in struct:pollop
123 for (i = 0; i < pop->fd_count; ++i) {
268 if (ev->ev_fd >= pop->fd_count) {
271 if (pop->fd_count < 32)
274 new_count = pop->fd_count * 2;
284 memset(pop->idxplus1_by_fd + pop->fd_count,
285 0, sizeof(int)*(new_count - pop->fd_count));
286 pop->fd_count = new_count;

Completed in 164 milliseconds