Home
last modified time | relevance | path

Searched refs:write_set (Results 1 – 10 of 10) sorted by relevance

/external/iperf3/src/
Diperf_server_api.c98 FD_ZERO(&test->write_set); in iperf_server_listen()
183 FD_CLR(sp->socket, &test->write_set); in iperf_handle_message_server()
213 FD_CLR(sp->socket, &test->write_set); in iperf_handle_message_server()
395 fd_set read_set, write_set; in iperf_run_server() local
434 memcpy(&write_set, &test->write_set, sizeof(fd_set)); in iperf_run_server()
438 result = select(test->max_fd + 1, &read_set, &write_set, NULL, timeout); in iperf_run_server()
545 FD_SET(s, &test->write_set); in iperf_run_server()
626 if (iperf_send(test, &write_set) < 0) { in iperf_run_server()
632 if (iperf_send(test, &write_set) < 0) { in iperf_run_server()
Diperf_client_api.c102 FD_SET(s, &test->write_set); in iperf_create_streams()
332 FD_ZERO(&test->write_set); in iperf_connect()
452 fd_set read_set, write_set; in iperf_run_client() local
485 memcpy(&write_set, &test->write_set, sizeof(fd_set)); in iperf_run_client()
488 result = select(test->max_fd + 1, &read_set, &write_set, NULL, timeout); in iperf_run_client()
519 if (iperf_send(test, &write_set) < 0) in iperf_run_client()
525 if (iperf_send(test, &write_set) < 0) in iperf_run_client()
Diperf.h306 fd_set write_set; /* set of write sockets */ member
Diperf_api.c1354 FD_SET(sp->socket, &sp->test->write_set); in iperf_check_throttle()
1357 FD_CLR(sp->socket, &sp->test->write_set); in iperf_check_throttle()
2490 FD_ZERO(&test->write_set); in iperf_reset_test()
/external/u-boot/tools/patman/
Dcros_subprocess.py145 write_set = []
154 write_set.append(self.stdin)
166 while read_set or write_set:
168 rlist, wlist, _ = select.select(read_set, write_set, [], 0.2)
186 write_set.remove(self.stdin)
/external/strace/
Dfilter_qualify.c37 struct number_set *write_set; variable
282 if (!write_set) in qualify_write()
283 write_set = alloc_number_set_array(1); in qualify_write()
284 qualify_tokens(str, write_set, string_to_uint, "descriptor"); in qualify_write()
Dnumber_set.h63 extern struct number_set *write_set;
Dsyscall.c404 if (is_number_in_set(fd, write_set)) { in dumpio()
DChangeLog12222 (read_set, write_set, signal_set): Change prototypes from objects
12224 * filter_qualify.c (read_set, write_set, signal_set): Change definitions
12229 (qualify_write): Initialize write_set before first use.
12237 * syscall.c (dumpio): Update usage of read_set and write_set.
12267 (read_set, write_set, signal_set, is_number_in_set): Move to number_set.h.
22646 (read_set, write_set): New variable prototypes.
/external/python/cpython2/Lib/
Dsubprocess.py1211 write_set = []
1216 write_set.append(self.stdin)
1225 while read_set or write_set:
1227 rlist, wlist, xlist = select.select(read_set, write_set, [])
1240 write_set.remove(self.stdin)
1247 write_set.remove(self.stdin)