Searched refs:howmany (Results 1 - 8 of 8) sorted by relevance

/xsrc/external/mit/xorgproto/dist/include/X11/
H A DXpoll.h.in87 #ifndef howmany
88 #define howmany(x,y) (((x)+((y)-1))/(y)) macro
93 fd_mask fds_bits[howmany(FD_SETSIZE, NFDBITS)];
121 * The howmany(FD_SETSIZE, NFDBITS) computes the number of elements in the
126 ((howmany(FD_SETSIZE, NFDBITS) > 0 && (__XFDS_BITS(p, 0))) || \
127 (howmany(FD_SETSIZE, NFDBITS) > 1 && (__XFDS_BITS(p, 1))) || \
128 (howmany(FD_SETSIZE, NFDBITS) > 2 && (__XFDS_BITS(p, 2))) || \
129 (howmany(FD_SETSIZE, NFDBITS) > 3 && (__XFDS_BITS(p, 3))) || \
130 (howmany(FD_SETSIZE, NFDBITS) > 4 && (__XFDS_BITS(p, 4))) || \
131 (howmany(FD_SETSIZ
[all...]
/xsrc/external/mit/libXTrap/dist/src/
H A DXEWrappers.c56 #ifndef howmany
57 #define howmany(x, y) (((x)+((y)-1))/(y)) macro
58 #endif /* howmany */
60 fd_mask fds_bits[howmany(256, NFDBITS)];
/xsrc/external/mit/xfs/dist/os/
H A Dwaitfor.c194 for (i = 0; i < howmany(XFD_SETSIZE, NFDBITS); i++) {
H A Dconnection.c451 for (i = 0; i < howmany(XFD_SETSIZE, NFDBITS); i++) {
H A Dio.c512 for (base = 0; base < howmany(XFD_SETSIZE, NFDBITS); base++) {
/xsrc/external/mit/xorg-server.old/dist/os/
H A DWaitFor.c335 for (i=0; i<howmany(XFD_SETSIZE, NFDBITS); i++)
H A Dconnection.c816 for (i = 0; i < howmany(XFD_SETSIZE, NFDBITS); i++)
987 for (i=0; i<howmany(XFD_SETSIZE, NFDBITS); i++)
H A Dio.c662 for (base = 0; base < howmany(XFD_SETSIZE, NFDBITS); base++)

Completed in 9 milliseconds