Lines Matching refs:numFDs
2023 int numFDs = *nfds; in mDNSPosixGetFDSetForSelect() local
2028 if (m->p->unicastSocket4 != -1) mDNSPosixAddToFDSet(&numFDs, readfds, m->p->unicastSocket4); in mDNSPosixGetFDSetForSelect()
2030 if (m->p->unicastSocket6 != -1) mDNSPosixAddToFDSet(&numFDs, readfds, m->p->unicastSocket6); in mDNSPosixGetFDSetForSelect()
2034 … if (info->multicastSocket4 != -1) mDNSPosixAddToFDSet(&numFDs, readfds, info->multicastSocket4); in mDNSPosixGetFDSetForSelect()
2036 … if (info->multicastSocket6 != -1) mDNSPosixAddToFDSet(&numFDs, readfds, info->multicastSocket6); in mDNSPosixGetFDSetForSelect()
2049 if (numFDs <= iSource->fd) in mDNSPosixGetFDSetForSelect()
2050 numFDs = iSource->fd + 1; in mDNSPosixGetFDSetForSelect()
2052 *nfds = numFDs; in mDNSPosixGetFDSetForSelect()
2306 int numFDs = 0, numReady; in mDNSPosixRunEventLoopOnce() local
2319 mDNSPosixGetFDSetForSelect(m, &numFDs, &listenFDs, &writeFDs); in mDNSPosixRunEventLoopOnce()
2320 numReady = select(numFDs, &listenFDs, &writeFDs, (fd_set*) NULL, &timeout); in mDNSPosixRunEventLoopOnce()