Home
last modified time | relevance | path

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

/external/libvncserver/examples/
D1instance.c51 fd_set fdset; in get_next_message() local
54 FD_ZERO(&fdset); in get_next_message()
55 FD_SET(str->fd,&fdset); in get_next_message()
59 num_fds=select(str->fd+1,&fdset,NULL,NULL,&tv); in get_next_message()
/external/openssh/
Dsshconnect.c335 fd_set *fdset; in timeout_connect() local
359 fdset = (fd_set *)xcalloc(howmany(sockfd + 1, NFDBITS), in timeout_connect()
361 FD_SET(sockfd, fdset); in timeout_connect()
365 rc = select(sockfd + 1, NULL, fdset, NULL, &tv); in timeout_connect()
400 free(fdset); in timeout_connect()
555 fd_set *fdset; in ssh_exchange_identification() local
558 fdset = xcalloc(1, fdsetsz); in ssh_exchange_identification()
577 FD_SET(connection_in, fdset); in ssh_exchange_identification()
578 rc = select(connection_in + 1, fdset, NULL, in ssh_exchange_identification()
579 fdset, &t_remaining); in ssh_exchange_identification()
[all …]
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))
/external/lldb/source/Plugins/Process/FreeBSD/
DProcessMonitor.cpp1396 pollfd fdset; in ServeOperation() local
1400 fdset.fd = monitor->m_server_fd; in ServeOperation()
1401 fdset.events = POLLIN | POLLPRI; in ServeOperation()
1402 fdset.revents = 0; in ServeOperation()
1410 if ((status = poll(&fdset, 1, -1)) < 0) in ServeOperation()
1425 if (fdset.revents & POLLIN) in ServeOperation()
1430 if ((status = read(fdset.fd, &op, sizeof(op))) < 0) in ServeOperation()
1440 write(fdset.fd, &op, sizeof(op)); in ServeOperation()
/external/lldb/source/Plugins/Process/Linux/
DProcessMonitor.cpp1917 pollfd fdset; in ServeOperation() local
1921 fdset.fd = monitor->m_server_fd; in ServeOperation()
1922 fdset.events = POLLIN | POLLPRI; in ServeOperation()
1923 fdset.revents = 0; in ServeOperation()
1931 if ((status = poll(&fdset, 1, -1)) < 0) in ServeOperation()
1946 if (fdset.revents & POLLIN) in ServeOperation()
1951 if ((status = read(fdset.fd, &op, sizeof(op))) < 0) in ServeOperation()
1961 write(fdset.fd, &op, sizeof(op)); in ServeOperation()
/external/mksh/src/
Dfuncs.c1941 fd_set fdset; in c_read() local
1943 FD_ZERO(&fdset); in c_read()
1944 FD_SET((unsigned int)fd, &fdset); in c_read()
1953 switch (select(fd + 1, &fdset, NULL, NULL, &tv)) { in c_read()