Home
last modified time | relevance | path

Searched refs:FD_SETSIZE (Results 1 – 25 of 64) sorted by relevance

123

/external/strace/tests/
Dxselect.c80 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()
Dpselect6.c125 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/
Dxselect.c80 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()
Dpselect6.c125 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/
Dxselect.c80 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()
Dpselect6.c125 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/
Dlib518.c35 #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()
Dlib537.c38 !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/
Dudp_socket_wrapper.cc35 #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/
Dselectmodule.c25 #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/
Dselectmodule.c35 #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/
Dsession.c274 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/
DTYPES.py86 FD_SETSIZE = 1024 variable
134 FD_SETSIZE = __FD_SETSIZE variable
/external/webrtc/webrtc/examples/peerconnection/server/
Dmain.cc25 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/
Dsockets.h290 #undef FD_SETSIZE
292 #define FD_SETSIZE MEMP_NUM_NETCONN macro
299 unsigned char fd_bits [(FD_SETSIZE+7)/8];
/external/libmicrohttpd/src/microhttpd/
Ddaemon.c29 #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/
Dclockdiff.c152 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/
DTYPES.py309 FD_SETSIZE = 65536 variable
310 FD_SETSIZE = 1024 variable
/external/python/cpython2/Include/
Dpyport.h838 #ifndef FD_SETSIZE
839 #define FD_SETSIZE 256
852 fd_mask fds_bits[howmany(FD_SETSIZE, NFDBITS)];
/external/python/cpython3/Include/
Dfileobject.h42 #define _PyIsSelectable_fd(FD) (((FD) >= 0) && ((FD) < FD_SETSIZE))
/external/curl/lib/
Dselect.h106 #define VALID_SOCK(s) (((s) >= 0) && ((s) < FD_SETSIZE))
/external/python/cpython2/Lib/plat-beos5/
DIN.py322 FD_SETSIZE = 256 variable
323 FDSETSIZE = FD_SETSIZE
/external/parameter-framework/asio-1.10.6/include/asio/detail/
Dposix_fd_set_adapter.hpp47 if (descriptor < (socket_type)FD_SETSIZE) in set()
/external/swiftshader/src/Common/
DSocket.cpp78 return ::select(FD_SETSIZE, &sockets, 0, 0, &timeout) >= 1; in select()
/external/python/cpython2/Lib/plat-os2emx/
DSOCKET.py4 FD_SETSIZE = 256 variable

123