/external/chromium_org/tools/android/forwarder2/ |
forwarder.cc | 36 bool AddToWriteSet(fd_set* write_fds) { 38 return socket_to_->AddFdToSet(write_fds); 55 bool TryWrite(const fd_set& write_fds) { 56 if (!socket_to_->IsFdInSet(write_fds)) 115 fd_set write_fds; local 125 FD_ZERO(&write_fds); 129 buffer1.AddToWriteSet(&write_fds); 130 buffer2.AddToWriteSet(&write_fds); 132 if (HANDLE_EINTR(select(nfds, &read_fds, &write_fds, NULL, NULL)) <= 0) { 145 run = run || buffer1.TryWrite(write_fds); [all...] |
socket.cc | 409 fd_set write_fds; local 411 FD_ZERO(&write_fds); 415 FD_SET(socket_, &write_fds); 430 select(max_fd + 1, &read_fds, &write_fds, NULL, tv_ptr)) <= 0) {
|
/external/qemu/proxy/ |
proxy_common.h | 80 fd_set* write_fds, 85 fd_set* write_fds,
|
proxy_common.c | 420 proxy_manager_select_fill( int *pcount, fd_set* read_fds, fd_set* write_fds, fd_set* err_fds) 430 sel->writes = write_fds; 443 proxy_manager_poll( fd_set* read_fds, fd_set* write_fds, fd_set* err_fds ) 450 sel->writes = write_fds;
|
/external/chromium_org/tools/android/forwarder/ |
forwarder.cc | 201 fd_set write_fds; local 212 FD_ZERO(&write_fds); 214 FD_SET(socket2, &write_fds); 216 FD_SET(socket1, &write_fds); 218 if (HANDLE_EINTR(select(nfds, &read_fds, &write_fds, NULL, NULL)) <= 0) { 238 if (FD_ISSET(socket1, &write_fds)) { 242 if (FD_ISSET(socket2, &write_fds)) {
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/ |
subprocess.cc | 366 fd_set write_fds; 368 FD_ZERO(&write_fds); 373 FD_SET(child_stdin_, &write_fds); 376 if (select(max_fd + 1, &read_fds, &write_fds, NULL, NULL) < 0) { 385 if (child_stdin_ != -1 && FD_ISSET(child_stdin_, &write_fds)) {
|
/external/protobuf/src/google/protobuf/compiler/ |
subprocess.cc | 361 fd_set write_fds; 363 FD_ZERO(&write_fds); 368 FD_SET(child_stdin_, &write_fds); 371 if (select(max_fd + 1, &read_fds, &write_fds, NULL, NULL) < 0) { 380 if (child_stdin_ != -1 && FD_ISSET(child_stdin_, &write_fds)) {
|
/bootable/recovery/minadbd/ |
fdevent.c | 248 static fd_set write_fds; variable 256 FD_ZERO(&write_fds); 272 FD_CLR(fde->fd, &write_fds); 289 FD_SET(fde->fd, &write_fds); 291 FD_CLR(fde->fd, &write_fds); 373 memcpy(&wfd, &write_fds, sizeof(fd_set));
|
/system/core/adb/ |
fdevent.c | 248 static fd_set write_fds; variable 256 FD_ZERO(&write_fds); 272 FD_CLR(fde->fd, &write_fds); 289 FD_SET(fde->fd, &write_fds); 291 FD_CLR(fde->fd, &write_fds); 373 memcpy(&wfd, &write_fds, sizeof(fd_set));
|
/external/chromium_org/sync/tools/testserver/ |
sync_testserver.py | 97 write_fds = [] 106 write_fds.append(fd) 111 read_fds, write_fds, exceptional_fds = ( 112 select.select(read_fds, write_fds, exceptional_fds)) 126 for fd in write_fds:
|
/external/chromium/net/tools/testserver/ |
testserver.py | 173 write_fds = [] 182 write_fds.append(fd) 187 read_fds, write_fds, exceptional_fds = ( 188 select.select(read_fds, write_fds, exceptional_fds)) 202 for fd in write_fds: [all...] |