/external/libppp/src/ |
server.c | 98 int ssize = sizeof ss, wfd; local 103 wfd = accept(s->fd, sa, &ssize); 104 if (wfd < 0) 107 close(wfd); 108 wfd = -1; 111 wfd = -1; 113 if (wfd >= 0) 125 close(wfd); 126 wfd = -1; 140 close(wfd); [all...] |
/system/core/toolbox/ |
cat.c | 159 int wfd; local 161 wfd = fileno(stdout); 163 if (fstat(wfd, &sbuf) == 0) { 175 if ((nw = write(wfd, buf + off, (size_t)nr)) < 0)
|
/frameworks/base/core/java/android/os/ |
FileObserver.java | 92 int wfd = startWatching(m_fd, path, mask); local 94 Integer i = new Integer(wfd); 95 if (wfd >= 0) { 108 public void onEvent(int wfd, int mask, String path) { 113 WeakReference weak = m_observers.get(wfd); 114 if (weak != null) { // can happen with lots of events from a dead wfd 117 m_observers.remove(wfd); 135 private native void stopWatching(int fd, int wfd);
|
/bootable/recovery/minadbd/ |
fdevent.c | 370 fd_set rfd, wfd, efd; local 373 memcpy(&wfd, &write_fds, sizeof(fd_set)); 378 n = select(select_n, &rfd, &wfd, &efd, NULL); 389 FD_ZERO(&wfd); 407 if(FD_ISSET(i, &wfd)) { events |= FDE_WRITE; n--; }
|
/external/qemu/ |
posix-aio-compat.c | 57 int rfd, wfd; member in struct:PosixAioState 510 ret = write(posix_aio_state->wfd, &byte, sizeof(byte)); 645 s->wfd = fds[1]; 648 fcntl(s->wfd, F_SETFL, O_NONBLOCK);
|
/external/wpa_supplicant_8/src/common/ |
ieee802_11_common.h | 40 const u8 *wfd; member in struct:ieee802_11_elems
|
/frameworks/native/cmds/dumpstate/ |
utils.c | 434 int wfd = inotify_add_watch(ifd, traces_path, IN_CLOSE_WRITE); local 435 if (wfd < 0) {
|
/system/core/adb/ |
fdevent.c | 370 fd_set rfd, wfd, efd; local 373 memcpy(&wfd, &write_fds, sizeof(fd_set)); 378 n = select(select_n, &rfd, &wfd, &efd, NULL); 389 FD_ZERO(&wfd); 407 if(FD_ISSET(i, &wfd)) { events |= FDE_WRITE; n--; }
|
/external/netcat/ |
netcat.c | 764 int n, wfd = fileno(stdin); local 775 pfd[1].fd = wfd; 806 if ((n = read(wfd, buf, plen)) < 0)
|
/external/openssh/ |
channels.h | 98 int wfd; /* write fd */ member in struct:Channel 103 int wfd_isatty; /* wfd is a tty */
|
/external/qemu/telephony/ |
sysdeps_posix.c | 423 fd_set rfd, wfd, efd; local 428 memcpy(&wfd, &_s_fdsets[1], sizeof(fd_set)); 446 n = select( _s_maxfd+1, &rfd, &wfd, &efd, timeout); 463 if(FD_ISSET(i, &wfd)) events |= SYS_EVENT_WRITE;
|
/packages/apps/Settings/src/com/android/settings/wfd/ |
WifiDisplaySettings.java | 17 package com.android.settings.wfd;
|
/external/libxml2/ |
nanohttp.c | 452 fd_set wfd; local 486 FD_ZERO(&wfd); 491 FD_SET(ctxt->fd, &wfd); 495 (void) select(ctxt->fd + 1, NULL, &wfd, NULL, &tv); 847 fd_set wfd; local 947 FD_ZERO(&wfd); 948 FD_SET(s, &wfd); 954 switch (select(s + 1, NULL, &wfd, &xfd, &tv)) 956 switch (select(s + 1, NULL, &wfd, NULL, &tv)) 982 if (FD_ISSET(s, &wfd) [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
ctrl_iface.c | 2771 struct wpabuf *wfd; local [all...] |