Searched refs:fdset (Results 1 - 6 of 6) sorted by relevance

/external/libvncserver/examples/
H A D1instance.c51 fd_set fdset; local
54 FD_ZERO(&fdset);
55 FD_SET(str->fd,&fdset);
59 num_fds=select(str->fd+1,&fdset,NULL,NULL,&tv);
/external/openssh/
H A Dsshconnect.c335 fd_set *fdset; local
359 fdset = (fd_set *)xcalloc(howmany(sockfd + 1, NFDBITS),
361 FD_SET(sockfd, fdset);
365 rc = select(sockfd + 1, NULL, fdset, NULL, &tv);
400 free(fdset);
555 fd_set *fdset; local
558 fdset = xcalloc(1, fdsetsz);
577 FD_SET(connection_in, fdset);
578 rc = select(connection_in + 1, fdset, NULL,
579 fdset,
[all...]
H A Dsshd.c1221 fd_set *fdset; local
1231 fdset = NULL;
1248 if (fdset != NULL)
1249 free(fdset);
1250 fdset = (fd_set *)xcalloc(howmany(maxfd + 1, NFDBITS),
1254 FD_SET(listen_socks[i], fdset);
1257 FD_SET(startup_pipes[i], fdset);
1260 ret = select(maxfd+1, fdset, NULL, NULL, NULL);
1281 FD_ISSET(startup_pipes[i], fdset)) {
1293 if (!FD_ISSET(listen_socks[i], fdset))
[all...]
/external/lldb/source/Plugins/Process/FreeBSD/
H A DProcessMonitor.cpp1396 pollfd fdset; local
1400 fdset.fd = monitor->m_server_fd;
1401 fdset.events = POLLIN | POLLPRI;
1402 fdset.revents = 0;
1410 if ((status = poll(&fdset, 1, -1)) < 0)
1425 if (fdset.revents & POLLIN)
1430 if ((status = read(fdset.fd, &op, sizeof(op))) < 0)
1440 write(fdset.fd, &op, sizeof(op));
/external/lldb/source/Plugins/Process/Linux/
H A DProcessMonitor.cpp1917 pollfd fdset; local
1921 fdset.fd = monitor->m_server_fd;
1922 fdset.events = POLLIN | POLLPRI;
1923 fdset.revents = 0;
1931 if ((status = poll(&fdset, 1, -1)) < 0)
1946 if (fdset.revents & POLLIN)
1951 if ((status = read(fdset.fd, &op, sizeof(op))) < 0)
1961 write(fdset.fd, &op, sizeof(op));
/external/mksh/src/
H A Dfuncs.c1941 fd_set fdset; local
1943 FD_ZERO(&fdset);
1944 FD_SET((unsigned int)fd, &fdset);
1953 switch (select(fd + 1, &fdset, NULL, NULL, &tv)) {

Completed in 348 milliseconds