Lines Matching defs:FD_SETSIZE
67 # if (defined(SVR4) || defined(CRAY) || defined(AIXV3)) && !defined(FD_SETSIZE)
79 # define FD_SETSIZE 256
101 #ifndef FD_SETSIZE
102 #define FD_SETSIZE XFD_SETSIZE
119 fd_mask fds_bits[howmany(FD_SETSIZE, NFDBITS)];
155 * The howmany(FD_SETSIZE, NFDBITS) computes the number of elements in the
160 ((howmany(FD_SETSIZE, NFDBITS) > 0 && (__XFDS_BITS(p, 0))) || \
161 (howmany(FD_SETSIZE, NFDBITS) > 1 && (__XFDS_BITS(p, 1))) || \
162 (howmany(FD_SETSIZE, NFDBITS) > 2 && (__XFDS_BITS(p, 2))) || \
163 (howmany(FD_SETSIZE, NFDBITS) > 3 && (__XFDS_BITS(p, 3))) || \
164 (howmany(FD_SETSIZE, NFDBITS) > 4 && (__XFDS_BITS(p, 4))) || \
165 (howmany(FD_SETSIZE, NFDBITS) > 5 && (__XFDS_BITS(p, 5))) || \
166 (howmany(FD_SETSIZE, NFDBITS) > 6 && (__XFDS_BITS(p, 6))) || \
167 (howmany(FD_SETSIZE, NFDBITS) > 7 && (__XFDS_BITS(p, 7))))
171 for (__i__ = 0; __i__ < howmany(FD_SETSIZE, NFDBITS); __i__++) \
176 for (__i__ = 0; __i__ < howmany(FD_SETSIZE, NFDBITS); __i__++) \
181 for (__i__ = 0; __i__ < howmany(FD_SETSIZE, NFDBITS); __i__++) \
186 for (__i__ = 0; __i__ < howmany(FD_SETSIZE, NFDBITS); __i__++) \
197 #ifndef FD_SETSIZE
198 #define FD_SETSIZE XFD_SETSIZE
247 if (XFD_SETCOUNT(set) < FD_SETSIZE && !FD_ISSET(fd,set)) \
251 #define getdtablesize() FD_SETSIZE