Searched refs:write_fds (Results 1 – 9 of 9) sorted by relevance
/external/chromium_org/tools/android/forwarder2/ |
D | forwarder.cc | 36 bool AddToWriteSet(fd_set* write_fds) { in AddToWriteSet() argument 38 return socket_to_->AddFdToSet(write_fds); in AddToWriteSet() 55 bool TryWrite(const fd_set& write_fds) { in TryWrite() argument 56 if (!socket_to_->IsFdInSet(write_fds)) in TryWrite() 115 fd_set write_fds; in ThreadHandler() local 125 FD_ZERO(&write_fds); in ThreadHandler() 129 buffer1.AddToWriteSet(&write_fds); in ThreadHandler() 130 buffer2.AddToWriteSet(&write_fds); in ThreadHandler() 132 if (HANDLE_EINTR(select(nfds, &read_fds, &write_fds, NULL, NULL)) <= 0) { in ThreadHandler() 145 run = run || buffer1.TryWrite(write_fds); in ThreadHandler() [all …]
|
D | socket.cc | 409 fd_set write_fds; in WaitForEvent() local 411 FD_ZERO(&write_fds); in WaitForEvent() 415 FD_SET(socket_, &write_fds); in WaitForEvent() 430 select(max_fd + 1, &read_fds, &write_fds, NULL, tv_ptr)) <= 0) { in WaitForEvent()
|
/external/chromium_org/tools/android/forwarder/ |
D | forwarder.cc | 201 fd_set write_fds; in ForwarderThread() local 212 FD_ZERO(&write_fds); in ForwarderThread() 214 FD_SET(socket2, &write_fds); in ForwarderThread() 216 FD_SET(socket1, &write_fds); in ForwarderThread() 218 if (HANDLE_EINTR(select(nfds, &read_fds, &write_fds, NULL, NULL)) <= 0) { in ForwarderThread() 238 if (FD_ISSET(socket1, &write_fds)) { in ForwarderThread() 242 if (FD_ISSET(socket2, &write_fds)) { in ForwarderThread()
|
/external/qemu/proxy/ |
D | proxy_common.h | 80 fd_set* write_fds, 85 fd_set* write_fds,
|
D | proxy_common.c | 420 proxy_manager_select_fill( int *pcount, fd_set* read_fds, fd_set* write_fds, fd_set* err_fds) in proxy_manager_select_fill() argument 430 sel->writes = write_fds; in proxy_manager_select_fill() 443 proxy_manager_poll( fd_set* read_fds, fd_set* write_fds, fd_set* err_fds ) in proxy_manager_poll() argument 450 sel->writes = write_fds; in proxy_manager_poll()
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/ |
D | 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/ |
D | 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)) {
|
/external/chromium_org/sync/tools/testserver/ |
D | 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/ |
D | 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:
|