Home
last modified time | relevance | path

Searched refs:FD_SETSIZE (Results 1 - 25 of 50) sorted by relevance

12

/third_party/curl/tests/libtest/
H A Dlib518.c37 #ifndef FD_SETSIZE
38 #error "this test requires FD_SETSIZE"
42 #define NUM_OPEN (FD_SETSIZE + 10)
150 fprintf(stderr, "test518 FD_SETSIZE: %d\n", FD_SETSIZE); in rlimit()
208 * when more than FD_SETSIZE file descriptors are open. in rlimit()
210 * open more than FD_SETSIZE file descriptors then test in rlimit()
376 * greater than FD_SETSIZE. In any case, macro VERIFY_SOCK in rlimit()
384 num_open.rlim_cur = FD_SETSIZE - SAFETY_MARGIN; in rlimit()
386 msnprintf(strbuff, sizeof(strbuff), "select limit is FD_SETSIZE in rlimit()
[all...]
H A Dlib537.c39 !defined(FD_SETSIZE)
40 #error "this test requires FD_SETSIZE"
380 * greater than FD_SETSIZE. In any case, macro VERIFY_SOCK
388 num_open.rlim_cur = FD_SETSIZE - SAFETY_MARGIN;
390 msnprintf(strbuff, sizeof(strbuff), "select limit is FD_SETSIZE %d",
391 FD_SETSIZE);
399 num_open.rlim_cur = FD_SETSIZE - SAFETY_MARGIN;
405 msnprintf(strbuff, sizeof(strbuff), "select limit is FD_SETSIZE %d",
406 FD_SETSIZE);
415 #endif /* using a FD_SETSIZE boun
[all...]
/third_party/musl/include/sys/
H A 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))] & (1UL<<((d)%(8*sizeof(long)))))))
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/
H A Dselect.h39 #undef FD_SETSIZE macro
40 #define FD_SETSIZE 1024 macro
/third_party/rust/crates/nix/src/sys/
H A Dselect.rs13 pub use libc::FD_SETSIZE;
22 usize::try_from(fd).map_or(false, |fd| fd < FD_SETSIZE), in assert_fd_valid()
23 "fd must be in the range 0..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()
[all...]
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A 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/
H A 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/
H A 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/
H A Dselect.h21 /* FD_SETSIZE is defined in "vfs_config.h" */
23 #define FD_SETSIZE 1024 macro
24 #define FD_SET_TOTAL_SIZE FD_SETSIZE
/third_party/python/Modules/
H A Dselectmodule.c34 /* Windows #defines FD_SETSIZE to 64 if FD_SETSIZE isn't already defined.
38 FD_SETSIZE higher before this; e.g., via compiler /D switch.
40 #if defined(MS_WINDOWS) && !defined(FD_SETSIZE)
41 #define FD_SETSIZE 512 macro
109 reap_obj(pylist fd2obj[FD_SETSIZE + 1]) in reap_obj()
112 for (i = 0; i < (unsigned int)FD_SETSIZE + 1 && fd2obj[i].sentinel >= 0; i++) { in reap_obj()
123 seq2set(PyObject *seq, fd_set *set, pylist fd2obj[FD_SETSIZE + 1]) in seq2set()
163 if (index >= (unsigned int)FD_SETSIZE) { in seq2set()
184 set2list(fd_set *set, pylist fd2obj[FD_SETSIZE
[all...]
/third_party/lwip/src/include/lwip/
H A Dsockets.h467 #undef FD_SETSIZE macro
468 /* Make FD_SETSIZE match NUM_SOCKETS in socket.c */
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)
487 #error "external FD_SETSIZE too small for number of sockets"
489 #define LWIP_SELECT_MAXNFDS FD_SETSIZE
/third_party/musl/libc-test/src/api/
H A Dsys_time.c15 C(FD_SETSIZE) in f()
H A Dsys_select.c17 C(FD_SETSIZE) in f()
/third_party/python/Include/
H A Dfileobject.h37 #define _PyIsSelectable_fd(FD) ((unsigned int)(FD) < (unsigned int)FD_SETSIZE)
/third_party/ffmpeg/libavformat/
H A Dos_support.c236 if (numfds >= FD_SETSIZE) { in ff_poll()
251 if (fds[i].fd >= FD_SETSIZE) { in ff_poll()
/third_party/gn/src/gn/
H A Dexec_process.cc201 if (out_read.get() >= FD_SETSIZE || err_read.get() >= FD_SETSIZE)
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/
H A 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
624 * @param fd_setsize value of FD_SETSIZE
661 * before calling this function. FD_SETSIZE is assumed
692 * before calling this function. Passing custom FD_SETSIZE
702 * @param fd_setsize value of 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()
[all...]
/third_party/curl/lib/
H A Dselect.h104 #define FDSET_SOCK(s) ((s) < FD_SETSIZE)
/third_party/skia/third_party/externals/swiftshader/src/Common/
H A DSocket.cpp78 return ::select(FD_SETSIZE, &sockets, 0, 0, &timeout) >= 1; in select()
/third_party/skia/third_party/externals/swiftshader/src/System/
H A DSocket.cpp79 return ::select(FD_SETSIZE, &sockets, 0, 0, &timeout) >= 1; in select()
/third_party/rust/crates/nix/test/sys/
H A Dtest_select.rs76 FD_SETSIZE.try_into().unwrap(),
/third_party/NuttX/fs/vfs/
H A Dfs_select.c108 if (nfds < 0 || nfds >= FD_SETSIZE) in do_select()
/third_party/musl/src/fortify/linux/
H A Dfortify.c66 if (fd >= FD_SETSIZE) { in __fd_chk()
67 __fortify_error("file descriptor %d >= FD_SETSIZE %d", fd, FD_SETSIZE); in __fd_chk()
/third_party/pulseaudio/src/pulsecore/
H A Dpoll-win32.c438 if (maxfd > FD_SETSIZE) in pa_poll()
471 HANDLE h, handle_array[FD_SETSIZE + 2]; in pa_poll()
/third_party/rust/crates/libc/src/unix/newlib/
H A Dmod.rs175 fds_bits: [::c_ulong; FD_SETSIZE / ULONG_SIZE],
275 pub const FD_SETSIZE: usize = 64; consts
277 pub const FD_SETSIZE: usize = 1024; consts

Completed in 14 milliseconds

12