/third_party/mbedtls/tests/suites/ |
D | test_suite_net.function | 78 * 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
|
D | test_suite_net.data | 7 net_poll beyond FD_SETSIZE
|
/third_party/rust/crates/nix/src/sys/ |
D | select.rs | 13 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/ |
D | lib518.c | 37 #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()
|
D | lib537.c | 39 !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/ |
D | select.h | 18 #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/ |
D | select.h | 39 #undef FD_SETSIZE 40 #define FD_SETSIZE 1024 macro
|
/third_party/python/Modules/ |
D | selectmodule.c | 35 #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/ |
D | select.h | 18 #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/ |
D | select.h | 18 #define FD_SETSIZE 1024 macro 23 unsigned long fds_bits[FD_SETSIZE / 8 / sizeof(long)];
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
D | select.h | 18 #define FD_SETSIZE 1024 macro 23 unsigned long fds_bits[FD_SETSIZE / 8 / sizeof(long)];
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
D | select.h | 23 #define FD_SETSIZE 1024 24 #define FD_SET_TOTAL_SIZE FD_SETSIZE
|
/third_party/lwip/src/include/lwip/ |
D | sockets.h | 467 #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/ |
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 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/ |
D | exec_process.cc | 200 if (out_read.get() >= FD_SETSIZE || err_read.get() >= FD_SETSIZE)
|
/third_party/ffmpeg/libavformat/ |
D | os_support.c | 236 if (numfds >= FD_SETSIZE) { in ff_poll() 251 if (fds[i].fd >= FD_SETSIZE) { in ff_poll()
|
/third_party/python/Include/ |
D | fileobject.h | 37 #define _PyIsSelectable_fd(FD) ((unsigned int)(FD) < (unsigned int)FD_SETSIZE)
|
/third_party/musl/libc-test/src/api/ |
D | sys_time.c | 15 C(FD_SETSIZE) in f()
|
D | sys_select.c | 17 C(FD_SETSIZE) in f()
|
/third_party/curl/lib/ |
D | select.h | 104 #define FDSET_SOCK(s) ((s) < FD_SETSIZE)
|
/third_party/skia/third_party/externals/swiftshader/src/System/ |
D | Socket.cpp | 79 return ::select(FD_SETSIZE, &sockets, 0, 0, &timeout) >= 1; in select()
|
/third_party/skia/third_party/externals/swiftshader/src/Common/ |
D | Socket.cpp | 78 return ::select(FD_SETSIZE, &sockets, 0, 0, &timeout) >= 1; in select()
|
/third_party/curl/tests/data/ |
D | test518 | 47 HTTP GET with more than FD_SETSIZE descriptors open
|
/third_party/rust/crates/nix/test/sys/ |
D | test_select.rs | 76 FD_SETSIZE.try_into().unwrap(),
|
/third_party/rust/crates/libc/src/unix/newlib/ |
D | mod.rs | 175 fds_bits: [::c_ulong; FD_SETSIZE / ULONG_SIZE], 275 pub const FD_SETSIZE: usize = 64; constant 277 pub const FD_SETSIZE: usize = 1024; constant
|