/external/strace/tests/ |
D | xselect.c | 80 for (int i = 3; i < FD_SETSIZE; ++i) { in main() 345 for (unsigned int i = FD_SETSIZE; i <= big_size * 8; ++i) { in main() 350 tv->tv_usec = 10 + (i - FD_SETSIZE); in main() 355 TEST_SYSCALL_STR, i, fds[0], 10 + (i - FD_SETSIZE)); in main() 360 tv->tv_usec = 10 + (i - FD_SETSIZE); in main() 365 10 + (i - FD_SETSIZE), PATH_TRACING_FD, in main() 414 rc = xselect(FD_SETSIZE + 1, a_rs, a_ws, a_es, a_tv); in main() 418 TEST_SYSCALL_STR, FD_SETSIZE + 1, rs, ws, es, errstr); in main() 424 TEST_SYSCALL_STR, FD_SETSIZE + 1, rs, ws, es); in main()
|
D | pselect6.c | 125 assert(pselect(FD_SETSIZE + 1, set[0], set[1], NULL, &tm.ts, &mask) == 0); in main() 128 FD_SETSIZE + 1, fds[0], NSIG_BYTES); in main()
|
/external/strace/tests-mx32/ |
D | xselect.c | 80 for (int i = 3; i < FD_SETSIZE; ++i) { in main() 345 for (unsigned int i = FD_SETSIZE; i <= big_size * 8; ++i) { in main() 350 tv->tv_usec = 10 + (i - FD_SETSIZE); in main() 355 TEST_SYSCALL_STR, i, fds[0], 10 + (i - FD_SETSIZE)); in main() 360 tv->tv_usec = 10 + (i - FD_SETSIZE); in main() 365 10 + (i - FD_SETSIZE), PATH_TRACING_FD, in main() 414 rc = xselect(FD_SETSIZE + 1, a_rs, a_ws, a_es, a_tv); in main() 418 TEST_SYSCALL_STR, FD_SETSIZE + 1, rs, ws, es, errstr); in main() 424 TEST_SYSCALL_STR, FD_SETSIZE + 1, rs, ws, es); in main()
|
D | pselect6.c | 125 assert(pselect(FD_SETSIZE + 1, set[0], set[1], NULL, &tm.ts, &mask) == 0); in main() 128 FD_SETSIZE + 1, fds[0], NSIG_BYTES); in main()
|
/external/strace/tests-m32/ |
D | xselect.c | 80 for (int i = 3; i < FD_SETSIZE; ++i) { in main() 345 for (unsigned int i = FD_SETSIZE; i <= big_size * 8; ++i) { in main() 350 tv->tv_usec = 10 + (i - FD_SETSIZE); in main() 355 TEST_SYSCALL_STR, i, fds[0], 10 + (i - FD_SETSIZE)); in main() 360 tv->tv_usec = 10 + (i - FD_SETSIZE); in main() 365 10 + (i - FD_SETSIZE), PATH_TRACING_FD, in main() 414 rc = xselect(FD_SETSIZE + 1, a_rs, a_ws, a_es, a_tv); in main() 418 TEST_SYSCALL_STR, FD_SETSIZE + 1, rs, ws, es, errstr); in main() 424 TEST_SYSCALL_STR, FD_SETSIZE + 1, rs, ws, es); in main()
|
D | pselect6.c | 125 assert(pselect(FD_SETSIZE + 1, set[0], set[1], NULL, &tm.ts, &mask) == 0); in main() 128 FD_SETSIZE + 1, fds[0], NSIG_BYTES); in main()
|
/external/curl/tests/libtest/ |
D | lib518.c | 35 #ifndef FD_SETSIZE 40 #define NUM_OPEN (FD_SETSIZE + 10) 148 fprintf(stderr, "test518 FD_SETSIZE: %d\n", FD_SETSIZE); in rlimit() 396 num_open.rlim_cur = FD_SETSIZE - SAFETY_MARGIN; in rlimit() 399 FD_SETSIZE); in rlimit() 407 num_open.rlim_cur = FD_SETSIZE - SAFETY_MARGIN; in rlimit() 414 FD_SETSIZE); in rlimit()
|
D | lib537.c | 38 !defined(FD_SETSIZE) 400 num_open.rlim_cur = FD_SETSIZE - SAFETY_MARGIN; 403 FD_SETSIZE); 411 num_open.rlim_cur = FD_SETSIZE - SAFETY_MARGIN; 418 FD_SETSIZE);
|
/external/webrtc/webrtc/test/channel_transport/ |
D | udp_socket_wrapper.cc | 35 #ifndef FD_SETSIZE 36 #define FD_SETSIZE 1024 macro 107 if (sl->GetFd() != INVALID_SOCKET && sl->GetFd() < FD_SETSIZE) in CreateSocket()
|
/external/python/cpython2/Modules/ |
D | selectmodule.c | 25 #if defined(MS_WINDOWS) && !defined(FD_SETSIZE) 26 #define FD_SETSIZE 512 macro 70 reap_obj(pylist fd2obj[FD_SETSIZE + 1]) in reap_obj() 73 for (i = 0; i < FD_SETSIZE + 1 && fd2obj[i].sentinel >= 0; i++) { in reap_obj() 84 seq2set(PyObject *seq, fd_set *set, pylist fd2obj[FD_SETSIZE + 1]) in seq2set() 124 if (index >= FD_SETSIZE) { in seq2set() 145 set2list(fd_set *set, pylist fd2obj[FD_SETSIZE + 1]) in set2list() 179 #if FD_SETSIZE > 1024 195 pylist rfd2obj[FD_SETSIZE + 1]; in select_select() 196 pylist wfd2obj[FD_SETSIZE + 1]; in select_select() [all …]
|
/external/python/cpython3/Modules/ |
D | selectmodule.c | 35 #if defined(MS_WINDOWS) && !defined(FD_SETSIZE) 36 #define FD_SETSIZE 512 macro 69 reap_obj(pylist fd2obj[FD_SETSIZE + 1]) in reap_obj() 72 for (i = 0; i < FD_SETSIZE + 1 && fd2obj[i].sentinel >= 0; i++) { in reap_obj() 83 seq2set(PyObject *seq, fd_set *set, pylist fd2obj[FD_SETSIZE + 1]) in seq2set() 123 if (index >= FD_SETSIZE) { in seq2set() 144 set2list(fd_set *set, pylist fd2obj[FD_SETSIZE + 1]) in set2list() 178 #if FD_SETSIZE > 1024 194 pylist rfd2obj[FD_SETSIZE + 1]; in select_select() 195 pylist wfd2obj[FD_SETSIZE + 1]; in select_select() [all …]
|
/external/ipsec-tools/src/racoon/ |
D | session.c | 274 if (lcconf->sock_admin >= FD_SETSIZE) { in initfds() 287 if (lcconf->sock_pfkey >= FD_SETSIZE) { in initfds() 295 if (lcconf->rtsock >= FD_SETSIZE) { in initfds() 306 if (p->sock >= FD_SETSIZE) { in initfds()
|
/external/python/cpython2/Lib/plat-atheos/ |
D | TYPES.py | 86 FD_SETSIZE = 1024 variable 134 FD_SETSIZE = __FD_SETSIZE variable
|
/external/webrtc/webrtc/examples/peerconnection/server/ |
D | main.cc | 25 static const size_t kMaxConnections = (FD_SETSIZE - 2); 91 if (select(FD_SETSIZE, &socket_set, NULL, NULL, &timeout) == SOCKET_ERROR) { in main()
|
/external/syslinux/core/lwip/src/include/lwip/ |
D | sockets.h | 290 #undef FD_SETSIZE 292 #define FD_SETSIZE MEMP_NUM_NETCONN macro 299 unsigned char fd_bits [(FD_SETSIZE+7)/8];
|
/external/libmicrohttpd/src/microhttpd/ |
D | daemon.c | 29 #define FD_SETSIZE 1024 macro 32 #define MHD_DEFAULT_FD_SETSIZE FD_SETSIZE 77 #define MHD_MAX_CONNECTIONS_DEFAULT FD_SETSIZE - 4 79 #define MHD_MAX_CONNECTIONS_DEFAULT FD_SETSIZE 955 add_to_fd_set (con->socket_fd, &rs, &max, FD_SETSIZE)) in MHD_handle_connection() 960 add_to_fd_set (con->socket_fd, &ws, &max, FD_SETSIZE)) in MHD_handle_connection() 964 add_to_fd_set (con->socket_fd, &rs, &max, FD_SETSIZE)) ) in MHD_handle_connection() 970 add_to_fd_set (con->socket_fd, &rs, &max, FD_SETSIZE)) ) in MHD_handle_connection() 984 add_to_fd_set (spipe, &rs, &max, FD_SETSIZE)) in MHD_handle_connection() 1386 if ( (client_socket >= FD_SETSIZE) && in internal_add_connection() [all …]
|
/external/iputils/ |
D | clockdiff.c | 152 if (select(FD_SETSIZE, &ready, (fd_set *)0, (fd_set *)0, &tout)) { in measure() 215 if ((count = select(FD_SETSIZE, &ready, (fd_set *)0, in measure() 328 if (select(FD_SETSIZE, &ready, (fd_set *)0, (fd_set *)0, &tout)) { in measure_opt() 395 if ((count = select(FD_SETSIZE, &ready, (fd_set *)0, in measure_opt()
|
/external/python/cpython2/Lib/plat-sunos5/ |
D | TYPES.py | 309 FD_SETSIZE = 65536 variable 310 FD_SETSIZE = 1024 variable
|
/external/python/cpython2/Include/ |
D | pyport.h | 838 #ifndef FD_SETSIZE 839 #define FD_SETSIZE 256 852 fd_mask fds_bits[howmany(FD_SETSIZE, NFDBITS)];
|
/external/python/cpython3/Include/ |
D | fileobject.h | 42 #define _PyIsSelectable_fd(FD) (((FD) >= 0) && ((FD) < FD_SETSIZE))
|
/external/curl/lib/ |
D | select.h | 106 #define VALID_SOCK(s) (((s) >= 0) && ((s) < FD_SETSIZE))
|
/external/python/cpython2/Lib/plat-beos5/ |
D | IN.py | 322 FD_SETSIZE = 256 variable 323 FDSETSIZE = FD_SETSIZE
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
D | posix_fd_set_adapter.hpp | 47 if (descriptor < (socket_type)FD_SETSIZE) in set()
|
/external/swiftshader/src/Common/ |
D | Socket.cpp | 78 return ::select(FD_SETSIZE, &sockets, 0, 0, &timeout) >= 1; in select()
|
/external/python/cpython2/Lib/plat-os2emx/ |
D | SOCKET.py | 4 FD_SETSIZE = 256 variable
|