/external/ltp/testcases/kernel/syscalls/dup/ |
dup03.c | 163 long maxfds; local 165 maxfds = sysconf(_SC_OPEN_MAX); 170 if (maxfds < 1) 171 tst_brkm((maxfds == -1 ? TBROK | TERRNO : TBROK), NULL, 174 fd = malloc(maxfds * sizeof(int)); 186 for (nfds = 1; nfds <= maxfds; nfds++) 198 if (nfds > maxfds) 201 "tried %ld", maxfds);
|
/system/core/libcutils/include/cutils/ |
native_handle.h | 27 #define NATIVE_HANDLE_DECLARE_STORAGE(name, maxFds, maxInts) \ 29 sizeof(native_handle_t) + sizeof(int) * ((maxFds) + (maxInts))] 63 * exceed maxFds and maxInts used to declare the storage.
|
/external/e2fsprogs/tests/progs/ |
random_exercise.c | 23 #define MAXFDS 128 35 struct state state_array[MAXFDS]; 45 for (i = 0; i < MAXFDS; i++) 54 fd = ((int) random()) % MAXFDS;
|
/external/ltp/testcases/kernel/syscalls/pipe/ |
pipe07.c | 23 * descriptors permitted (or (maxfds - 3)/2 pipes) 28 * 3. check to see that the number of pipes opened is (maxfds - 3) / 2 89 tst_resm(TFAIL, "Unable to open maxfds/2 pipes");
|
/external/curl/lib/ |
select.h | 95 int tpf_select_libcurl(int maxfds, fd_set* reads, fd_set* writes,
|
select.c | 574 int tpf_select_libcurl(int maxfds, fd_set *reads, fd_set *writes, 579 rc = tpf_select_bsd(maxfds, reads, writes, excepts, tv);
|
/external/ltp/testcases/kernel/syscalls/epoll2/examples/ |
epoll-test.c | 88 static int maxfds, numfds = 0; variable 498 maxfds = maxsfd; 499 chash_size = maxfds; 500 for (i = 0; i < maxfds; i++) 524 nfds = epoll_wait(kdpfd, events, maxfds, timeout); 551 "use: %s [--msgsize nbytes (%d)] [--port nbr (%d)] [--maxfds nfds (%d)]\n\t[--stksize bytes (%d)]\n", 573 if (strcmp(argv[i], "--maxfds") == 0) {
|
/frameworks/native/libs/binder/tests/ |
binderSafeInterfaceTest.cpp | 697 uint32_t maxFds = static_cast<uint32_t>(limit.rlim_cur); 700 for (uint32_t iter = 0; iter < (2 * maxFds); ++iter) { [all...] |
/external/mdnsresponder/mDNSShared/ |
uds_daemon.c | 4055 struct rlimit maxfds, newfds; local [all...] |
/external/python/cpython3/Doc/library/ |
socket.rst | [all...] |