Home
last modified time | relevance | path

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

12

/external/curl/tests/libtest/
Dlib518.c37 #ifndef FD_SETSIZE
42 #define NUM_OPEN (FD_SETSIZE + 10)
149 fprintf(stderr, "test518 FD_SETSIZE: %d\n", FD_SETSIZE); in rlimit()
396 num_open.rlim_cur = FD_SETSIZE - SAFETY_MARGIN; in rlimit()
398 sprintf(strbuff, "select limit is FD_SETSIZE %d", FD_SETSIZE); in rlimit()
406 num_open.rlim_cur = FD_SETSIZE - SAFETY_MARGIN; in rlimit()
412 sprintf(strbuff, "select limit is FD_SETSIZE %d", FD_SETSIZE); in rlimit()
Dlib537.c40 !defined(FD_SETSIZE)
399 num_open.rlim_cur = FD_SETSIZE - SAFETY_MARGIN;
401 sprintf(strbuff, "select limit is FD_SETSIZE %d", FD_SETSIZE);
409 num_open.rlim_cur = FD_SETSIZE - SAFETY_MARGIN;
415 sprintf(strbuff, "select limit is FD_SETSIZE %d", 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()
Dudp_socket_manager_posix.cc299 if(sl->GetFd() == INVALID_SOCKET || !(sl->GetFd() < FD_SETSIZE)) in AddSocket()
/external/strace/tests/
Dxselect.c108 if (syscall(TEST_SYSCALL_NR, FD_SETSIZE + 1, set, set + 1, NULL, &tm.tv)) in main()
111 TEST_SYSCALL_STR, FD_SETSIZE + 1, fds[0]); in main()
Dpselect6.c125 if (pselect(FD_SETSIZE + 1, set[0], set[1], NULL, &tm.ts, &mask) != 0) in main()
128 "= 0 (Timeout)\n", FD_SETSIZE + 1, fds[0], NSIG / 8); in main()
/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/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/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()
Dtraceroute6.c281 #define FD_SETSIZE NFDBITS macro
/external/curl/lib/
Dselect.h104 #define VALID_SOCK(s) (((s) >= 0) && ((s) < 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/curl/tests/data/
Dtest51847 HTTP GET with more than FD_SETSIZE descriptors open
/external/libdaemon/examples/
Dtestd.c146 if (select(FD_SETSIZE, &fds2, 0, 0, 0) < 0) { in main()
/external/libdaemon/libdaemon/
Ddexec.c144 if (select(FD_SETSIZE, &qfds, NULL, NULL, NULL) < 0) { in daemon_execv()
Ddfork.c417 if ((s = select(FD_SETSIZE, &fds, 0, 0, &tv)) != 1) { in daemon_retval_wait()
/external/ppp/pppd/
Dtty.c1041 if (ifd >= FD_SETSIZE || ofd >= FD_SETSIZE || pty_master >= FD_SETSIZE)
/external/libchrome/base/files/
Dfile_path_watcher_linux.cc201 CHECK_GT(FD_SETSIZE, inotify_fd); in InotifyReaderCallback()
203 CHECK_GT(FD_SETSIZE, shutdown_fd); in InotifyReaderCallback()
/external/libchrome/base/
Dsync_socket_posix.cc150 if (handle_ >= FD_SETSIZE) in ReceiveWithTimeout()
/external/dnsmasq/src/
Ddnsmasq.c527 #ifdef FD_SETSIZE in main()
528 if (FD_SETSIZE < (unsigned)max_fd) in main()
529 max_fd = FD_SETSIZE; in main()
/external/libxml2/
Dnanohttp.c487 if (ctxt->fd > FD_SETSIZE) in xmlNanoHTTPSend()
611 if (ctxt->fd > FD_SETSIZE) in xmlNanoHTTPRecv()
951 if (s > FD_SETSIZE) in xmlNanoHTTPConnectAttempt()
/external/libmicrohttpd/src/include/
Dmicrohttpd.h1637 MHD_get_fdset2((daemon),(read_fd_set),(write_fd_set),(except_fd_set),(max_fd),FD_SETSIZE)
/external/libmicrohttpd/
DChangeLog65 Do not enforce FD_SETSIZE-limit on worker control
224 Used larger FD_SETSIZE internally on W32.
225 Extended API to work with non-default FD_SETSIZE. -EG
231 Added more FD_SETSIZE checks.
232 Implemented FD_SETSIZE checks for W32. -EG
1241 for more than FD_SETSIZE parallel connections). -JM
1265 Added check for sockets being '< FD_SETSIZE' (just to be safe). -CG
/external/libbrillo/brillo/streams/
Dfile_stream.cc291 if (file_descriptor < 0 || file_descriptor >= FD_SETSIZE) { in FromFileDescriptor()

12