Home
last modified time | relevance | path

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

123

/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) {
105 rlim_nofile.rlim_cur = FD_SETSIZE + 1;
111 TEST_ASSERT(open_file_on_fd(&ctx, FD_SETSIZE) == 0);
116 * file descriptors greater or equal to FD_SETSIZE. So we expect to hit
Dtest_suite_net.data7 net_poll beyond FD_SETSIZE
/third_party/rust/crates/nix/src/sys/
Dselect.rs13 pub use libc::FD_SETSIZE;
22 usize::try_from(fd).map_or(false, |fd| fd < FD_SETSIZE), in assert_fd_valid()
102 range: 0..highest.map(|h| h as usize + 1).unwrap_or(FD_SETSIZE), in fds()
313 for i in 0..FD_SETSIZE { in fdset_insert()
326 for i in 0..FD_SETSIZE { in fdset_remove()
333 for i in 0..FD_SETSIZE { in fdset_remove()
342 fd_set.insert((FD_SETSIZE / 2) as RawFd); in fdset_clear()
343 fd_set.insert((FD_SETSIZE - 1) as RawFd); in fdset_clear()
347 for i in 0..FD_SETSIZE { in fdset_clear()
/third_party/curl/tests/libtest/
Dlib518.c37 #ifndef FD_SETSIZE
42 #define NUM_OPEN (FD_SETSIZE + 10)
150 fprintf(stderr, "test518 FD_SETSIZE: %d\n", FD_SETSIZE); in rlimit()
384 num_open.rlim_cur = FD_SETSIZE - SAFETY_MARGIN; in rlimit()
387 FD_SETSIZE); in rlimit()
395 num_open.rlim_cur = FD_SETSIZE - SAFETY_MARGIN; in rlimit()
402 FD_SETSIZE); in rlimit()
Dlib537.c39 !defined(FD_SETSIZE)
388 num_open.rlim_cur = FD_SETSIZE - SAFETY_MARGIN;
391 FD_SETSIZE);
399 num_open.rlim_cur = FD_SETSIZE - SAFETY_MARGIN;
406 FD_SETSIZE);
/third_party/musl/include/sys/
Dselect.h18 #define FD_SETSIZE 1024 macro
23 unsigned long fds_bits[FD_SETSIZE / 8 / sizeof(long)];
36 #define FD_ISSET(d, s) (0 <= (d) && (d) < FD_SETSIZE && (!!((s)->fds_bits[(d)/(8*sizeof(long))] & …
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/
Dselect.h39 #undef FD_SETSIZE
40 #define FD_SETSIZE 1024 macro
/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/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/porting/liteos_a/kernel/include/sys/
Dselect.h23 #define FD_SETSIZE 1024
24 #define FD_SET_TOTAL_SIZE FD_SETSIZE
/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/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/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/curl/lib/
Dselect.h104 #define FDSET_SOCK(s) ((s) < FD_SETSIZE)
/third_party/skia/third_party/externals/swiftshader/src/System/
DSocket.cpp79 return ::select(FD_SETSIZE, &sockets, 0, 0, &timeout) >= 1; in select()
/third_party/skia/third_party/externals/swiftshader/src/Common/
DSocket.cpp78 return ::select(FD_SETSIZE, &sockets, 0, 0, &timeout) >= 1; in select()
/third_party/curl/tests/data/
Dtest51847 HTTP GET with more than FD_SETSIZE descriptors open
/third_party/rust/crates/nix/test/sys/
Dtest_select.rs76 FD_SETSIZE.try_into().unwrap(),
/third_party/rust/crates/libc/src/unix/newlib/
Dmod.rs175 fds_bits: [::c_ulong; FD_SETSIZE / ULONG_SIZE],
275 pub const FD_SETSIZE: usize = 64; constant
277 pub const FD_SETSIZE: usize = 1024; constant

123