HomeSort by relevance Sort by last modified time
    Searched refs:readfd (Results 1 - 10 of 10) sorted by null

  /system/extras/tests/sdcard/
sysutil.h 134 bool writePidAndWaitForReply(int writefd, int readfd);
138 bool waitForChildrenAndSignal(int mProcessNb, int readfd, int writefd);
sysutil.cpp 438 bool writePidAndWaitForReply(int writefd, int readfd)
440 if (writefd > readfd)
486 s = read(readfd, &dummy, size);
515 bool waitForChildrenAndSignal(int mProcessNb, int readfd, int writefd)
517 if (readfd > writefd)
541 s = read(readfd, end, size);
  /external/dropbear/
random.c 56 int readfd; local
65 readfd = open(DROPBEAR_RANDOM_DEV, O_RDONLY);
66 if (readfd < 0) {
77 readfd = socket(PF_UNIX, SOCK_STREAM, 0);
78 if (readfd < 0) {
82 if (connect(readfd, (struct sockaddr*)&egdsock,
91 if (write(readfd, egdcmd, 2) < 0)
108 FD_SET(readfd, &read_fds);
109 ret = select(readfd + 1, &read_fds, NULL, NULL, &timeout);
116 readlen = read(readfd, &buf[readpos], buflen - readpos)
    [all...]
channel.h 69 int readfd; /* read from insecure size, written to wire */ member in struct:Channel
70 int errfd; /* used like writefd or readfd, depending if it's client or server.
106 void setchannelfds(fd_set *readfd, fd_set *writefd);
107 void channelio(fd_set *readfd, fd_set *writefd);
common-session.c 122 fd_set readfd, writefd; local
132 FD_ZERO(&readfd);
135 FD_SET(ses.sock, &readfd);
143 FD_SET(ses.signal_pipe[0], &readfd);
147 setchannelfds(&readfd, &writefd);
149 val = select(ses.maxfd+1, &readfd, &writefd, NULL, &timeout);
165 FD_ZERO(&readfd);
171 if (FD_ISSET(ses.signal_pipe[0], &readfd)) {
185 if (FD_ISSET(ses.sock, &readfd)) {
199 channelio(&readfd, &writefd)
    [all...]
common-channel.c 147 newchan->readfd = FD_UNINIT;
206 if (channel->readfd >= 0 && FD_ISSET(channel->readfd, readfds)) {
207 TRACE(("send normal readfd"))
264 TRACE(("check_close: writefd %d, readfd %d, errfd %d, sent_close %d, recv_close %d",
265 channel->writefd, channel->readfd,
295 if (channel->readfd >= 0 && channel->transwindow > 0) {
296 TRACE(("send data readfd"))
308 && channel->readfd == FD_CLOSED
315 && channel->readfd == FD_CLOSE
    [all...]
cli-chansession.c 347 channel->readfd = STDIN_FILENO;
svr-chansession.c 713 channel->readfd = outfds[FDIN];
716 ses.maxfd = MAX(ses.maxfd, channel->readfd);
719 setnonblocking(channel->readfd);
834 channel->readfd = chansess->master;
  /external/bluetooth/glib/tests/
gio-test.c 389 int readfd, writefd; local
401 sscanf (argv[2], "%d:%d%n", &readfd, &writefd, &n);
407 srand (tv.tv_sec ^ (tv.tv_usec / 1000) ^ readfd ^ (writefd << 4));
  /libcore/luni/src/main/java/org/apache/harmony/luni/platform/
OSNetworkSystem.java 93 static native boolean selectImpl(FileDescriptor[] readfd,

Completed in 183 milliseconds