/external/curl/tests/libtest/ |
D | lib518.c | 37 #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()
|
D | lib537.c | 40 !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/ |
D | udp_socket_wrapper.cc | 35 #ifndef FD_SETSIZE 36 #define FD_SETSIZE 1024 macro 107 if (sl->GetFd() != INVALID_SOCKET && sl->GetFd() < FD_SETSIZE) in CreateSocket()
|
D | udp_socket_manager_posix.cc | 299 if(sl->GetFd() == INVALID_SOCKET || !(sl->GetFd() < FD_SETSIZE)) in AddSocket()
|
/external/strace/tests/ |
D | xselect.c | 108 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()
|
D | pselect6.c | 125 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/ |
D | session.c | 274 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/ |
D | main.cc | 25 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/ |
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 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/ |
D | clockdiff.c | 152 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()
|
D | traceroute6.c | 281 #define FD_SETSIZE NFDBITS macro
|
/external/curl/lib/ |
D | select.h | 104 #define VALID_SOCK(s) (((s) >= 0) && ((s) < FD_SETSIZE))
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
D | posix_fd_set_adapter.hpp | 47 if (descriptor < (socket_type)FD_SETSIZE) in set()
|
/external/curl/tests/data/ |
D | test518 | 47 HTTP GET with more than FD_SETSIZE descriptors open
|
/external/libdaemon/examples/ |
D | testd.c | 146 if (select(FD_SETSIZE, &fds2, 0, 0, 0) < 0) { in main()
|
/external/libdaemon/libdaemon/ |
D | dexec.c | 144 if (select(FD_SETSIZE, &qfds, NULL, NULL, NULL) < 0) { in daemon_execv()
|
D | dfork.c | 417 if ((s = select(FD_SETSIZE, &fds, 0, 0, &tv)) != 1) { in daemon_retval_wait()
|
/external/ppp/pppd/ |
D | tty.c | 1041 if (ifd >= FD_SETSIZE || ofd >= FD_SETSIZE || pty_master >= FD_SETSIZE)
|
/external/libchrome/base/files/ |
D | file_path_watcher_linux.cc | 201 CHECK_GT(FD_SETSIZE, inotify_fd); in InotifyReaderCallback() 203 CHECK_GT(FD_SETSIZE, shutdown_fd); in InotifyReaderCallback()
|
/external/libchrome/base/ |
D | sync_socket_posix.cc | 150 if (handle_ >= FD_SETSIZE) in ReceiveWithTimeout()
|
/external/dnsmasq/src/ |
D | dnsmasq.c | 527 #ifdef FD_SETSIZE in main() 528 if (FD_SETSIZE < (unsigned)max_fd) in main() 529 max_fd = FD_SETSIZE; in main()
|
/external/libxml2/ |
D | nanohttp.c | 487 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/ |
D | microhttpd.h | 1637 MHD_get_fdset2((daemon),(read_fd_set),(write_fd_set),(except_fd_set),(max_fd),FD_SETSIZE)
|
/external/libmicrohttpd/ |
D | ChangeLog | 65 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/ |
D | file_stream.cc | 291 if (file_descriptor < 0 || file_descriptor >= FD_SETSIZE) { in FromFileDescriptor()
|