Searched refs:wfd (Results 1 – 2 of 2) sorted by relevance
/system/core/toolbox/upstream-netbsd/bin/cat/ |
D | cat.c | 298 int wfd; in raw_cat() local 300 wfd = fileno(stdout); in raw_cat() 301 if (wfd < 0) in raw_cat() 307 if (fstat(wfd, &sbuf) == 0 && sbuf.st_blksize > 0 && in raw_cat() 323 if ((nw = write(wfd, buf + off, (size_t)nr)) < 0) in raw_cat()
|
/system/core/adb/ |
D | fdevent.c | 361 fd_set rfd, wfd, efd; in fdevent_process() local 364 memcpy(&wfd, &write_fds, sizeof(fd_set)); in fdevent_process() 369 n = select(select_n, &rfd, &wfd, &efd, NULL); in fdevent_process() 380 FD_ZERO(&wfd); in fdevent_process() 398 if(FD_ISSET(i, &wfd)) { events |= FDE_WRITE; n--; } in fdevent_process()
|