Home
last modified time | relevance | path

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

12

/third_party/mbedtls/tests/suites/
Dtest_suite_net.function78 * descriptor greater or equal to FD_SETSIZE. This code is specific to
80 * FD_SETSIZE is a concern. */
91 * number is less than FD_SETSIZE. If so, raise the limit if
95 * net_sockets module will be less than FD_SETSIZE, so the test
97 * A file descriptor could still be higher than FD_SETSIZE if it was
103 if( rlim_nofile.rlim_cur < FD_SETSIZE + 1 )
106 rlim_nofile.rlim_cur = FD_SETSIZE + 1;
112 TEST_ASSERT( open_file_on_fd( &ctx, FD_SETSIZE ) == 0 );
117 * file descriptors greater or equal to FD_SETSIZE. So we expect to hit
Dtest_suite_net.data7 net_poll beyond FD_SETSIZE
/third_party/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);
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/
Dselect.h39 #undef FD_SETSIZE
40 #define FD_SETSIZE 1024 macro
/third_party/musl/ndk_musl_include/sys/
Dselect.h18 #define FD_SETSIZE 1024 macro
23 unsigned long fds_bits[FD_SETSIZE / 8 / sizeof(long)];
/third_party/musl/porting/uniproton/kernel/include/sys/
Dselect.h18 #define FD_SETSIZE 1024 macro
23 unsigned long fds_bits[FD_SETSIZE / 8 / sizeof(long)];
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dselect.h18 #define FD_SETSIZE 1024 macro
23 unsigned long fds_bits[FD_SETSIZE / 8 / sizeof(long)];
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dselect.h18 #define FD_SETSIZE 1024 macro
23 unsigned long fds_bits[FD_SETSIZE / 8 / sizeof(long)];
/third_party/musl/include/sys/
Dselect.h18 #define FD_SETSIZE 1024 macro
23 unsigned long fds_bits[FD_SETSIZE / 8 / sizeof(long)];
/third_party/musl/porting/liteos_a/kernel/include/sys/
Dselect.h23 #define FD_SETSIZE 1024
24 #define FD_SET_TOTAL_SIZE FD_SETSIZE
/third_party/python/Modules/
Dselectmodule.c35 #if defined(MS_WINDOWS) && !defined(FD_SETSIZE)
36 #define FD_SETSIZE 512 macro
99 reap_obj(pylist fd2obj[FD_SETSIZE + 1]) in reap_obj()
102 for (i = 0; i < (unsigned int)FD_SETSIZE + 1 && fd2obj[i].sentinel >= 0; i++) { in reap_obj()
113 seq2set(PyObject *seq, fd_set *set, pylist fd2obj[FD_SETSIZE + 1]) in seq2set()
153 if (index >= (unsigned int)FD_SETSIZE) { in seq2set()
174 set2list(fd_set *set, pylist fd2obj[FD_SETSIZE + 1]) in set2list()
208 #if FD_SETSIZE > 1024
259 pylist rfd2obj[FD_SETSIZE + 1]; in select_select_impl()
260 pylist wfd2obj[FD_SETSIZE + 1]; in select_select_impl()
[all …]
/third_party/lwip/src/include/lwip/
Dsockets.h467 #undef FD_SETSIZE
469 #define FD_SETSIZE MEMP_NUM_NETCONN macro
470 #define LWIP_SELECT_MAXNFDS (FD_SETSIZE + LWIP_SOCKET_OFFSET)
483 unsigned char fd_bits [(FD_SETSIZE+7)/8];
486 #elif FD_SETSIZE < (LWIP_SOCKET_OFFSET + MEMP_NUM_NETCONN)
489 #define LWIP_SELECT_MAXNFDS FD_SETSIZE
/third_party/skia/third_party/externals/microhttpd/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
844 add_to_fd_set (con->socket_fd, &rs, &max, FD_SETSIZE)) in MHD_handle_connection()
849 add_to_fd_set (con->socket_fd, &ws, &max, FD_SETSIZE)) in MHD_handle_connection()
853 add_to_fd_set (con->socket_fd, &rs, &max, FD_SETSIZE)) ) in MHD_handle_connection()
859 add_to_fd_set (con->socket_fd, &rs, &max, FD_SETSIZE)) ) in MHD_handle_connection()
873 add_to_fd_set (spipe, &rs, &max, FD_SETSIZE)) in MHD_handle_connection()
1275 if ( (client_socket >= FD_SETSIZE) && in internal_add_connection()
[all …]
/third_party/python/Include/
Dfileobject.h37 #define _PyIsSelectable_fd(FD) ((unsigned int)(FD) < (unsigned int)FD_SETSIZE)
/third_party/musl/libc-test/src/api/
Dsys_time.c15 C(FD_SETSIZE) in f()
Dsys_select.c17 C(FD_SETSIZE) in f()
/third_party/boost/libs/asio/doc/overview/
Dimplementation.qbk20 descriptors in the process cannot be permitted to exceed `FD_SETSIZE`.
83 descriptors in the process cannot be permitted to exceed `FD_SETSIZE`.
147 descriptors in the process cannot be permitted to exceed `FD_SETSIZE`.
169 descriptors in the process cannot be permitted to exceed `FD_SETSIZE`.
191 descriptors in the process cannot be permitted to exceed `FD_SETSIZE`.
/third_party/gn/src/gn/
Dexec_process.cc200 if (out_read.get() >= FD_SETSIZE || err_read.get() >= FD_SETSIZE)
/third_party/ffmpeg/libavformat/
Dos_support.c236 if (numfds >= FD_SETSIZE) { in ff_poll()
251 if (fds[i].fd >= FD_SETSIZE) { in ff_poll()
/third_party/curl/lib/
Dselect.h112 #define VALID_SOCK(s) (((s) >= 0) && ((s) < FD_SETSIZE))
/third_party/skia/third_party/externals/swiftshader/src/Common/
DSocket.cpp78 return ::select(FD_SETSIZE, &sockets, 0, 0, &timeout) >= 1; in select()
/third_party/skia/third_party/externals/swiftshader/src/System/
DSocket.cpp79 return ::select(FD_SETSIZE, &sockets, 0, 0, &timeout) >= 1; in select()
/third_party/boost/boost/asio/detail/
Dposix_fd_set_adapter.hpp54 if (descriptor < (socket_type)FD_SETSIZE) in set()
/third_party/boost/libs/asio/include/boost/asio/detail/
Dposix_fd_set_adapter.hpp54 if (descriptor < (socket_type)FD_SETSIZE) in set()

12