/external/valgrind/none/tests/ |
D | rlimit_nofile.c | 17 if (getrlimit(RLIMIT_NOFILE, &oldrlim) < 0) in main() 25 if (setrlimit(RLIMIT_NOFILE, &newrlim) == -1) in main() 40 if (setrlimit(RLIMIT_NOFILE, &newrlim) == -1) in main() 56 if (setrlimit(RLIMIT_NOFILE, &newrlim) < 0) in main() 62 if (getrlimit(RLIMIT_NOFILE, &newrlim) < 0) in main() 101 if (setrlimit(RLIMIT_NOFILE, NULL) != -1 || errno != EFAULT) in main()
|
D | rlimit64_nofile.c | 20 if (getrlimit64(RLIMIT_NOFILE, &oldrlim) < 0) in main() 28 if (setrlimit64(RLIMIT_NOFILE, &newrlim) == -1) in main() 43 if (setrlimit64(RLIMIT_NOFILE, &newrlim) == -1) in main() 59 if (setrlimit64(RLIMIT_NOFILE, &newrlim) < 0) in main() 65 if (getrlimit64(RLIMIT_NOFILE, &newrlim) < 0) in main()
|
D | closeall.c | 11 getrlimit(RLIMIT_NOFILE, &lim); in main()
|
/external/libchrome/base/process/ |
D | process_metrics_posix.cc | 45 if (getrlimit(RLIMIT_NOFILE, &nofile)) { in GetMaxFds() 62 if (getrlimit(RLIMIT_NOFILE, &limits) == 0) { in SetFdLimit() 68 if (setrlimit(RLIMIT_NOFILE, &limits) != 0) { in SetFdLimit()
|
/external/kernel-headers/original/uapi/asm-generic/ |
D | resource.h | 29 #ifndef RLIMIT_NOFILE 30 # define RLIMIT_NOFILE 7 /* max number of open files */ macro
|
/external/strace/xlat/ |
D | resources.h | 38 #if defined(RLIMIT_NOFILE) || (defined(HAVE_DECL_RLIMIT_NOFILE) && HAVE_DECL_RLIMIT_NOFILE) 39 XLAT(RLIMIT_NOFILE),
|
D | resources.in | 10 RLIMIT_NOFILE
|
/external/curl/tests/libtest/ |
D | lib537.c | 124 if (getrlimit(RLIMIT_NOFILE, &rl) != 0) { 164 if (setrlimit(RLIMIT_NOFILE, &rl) != 0) { 175 if (setrlimit(RLIMIT_NOFILE, &rl) != 0) { 184 if (getrlimit(RLIMIT_NOFILE, &rl) != 0) {
|
D | lib518.c | 123 if (getrlimit(RLIMIT_NOFILE, &rl) != 0) { in rlimit() 169 if (setrlimit(RLIMIT_NOFILE, &rl) != 0) { in rlimit() 180 if (setrlimit(RLIMIT_NOFILE, &rl) != 0) { in rlimit() 189 if (getrlimit(RLIMIT_NOFILE, &rl) != 0) { in rlimit()
|
/external/mksh/src/ |
D | rlimits.gen | 49 #ifdef RLIMIT_NOFILE 50 FN("nofiles(descriptors)", RLIMIT_NOFILE, 1, 'n') 143 #ifdef RLIMIT_NOFILE
|
D | rlimits.opt | 53 >n|RLIMIT_NOFILE 54 FN("nofiles(descriptors)", RLIMIT_NOFILE, 1
|
/external/valgrind/none/tests/darwin/ |
D | rlimit.stderr.exp | 1 RLIMIT_NOFILE is 256
|
D | rlimit.c | 13 getrlimit(RLIMIT_NOFILE, &rlp); in main()
|
/external/kernel-headers/original/uapi/asm-mips/asm/ |
D | resource.h | 17 #define RLIMIT_NOFILE 5 /* max number of open files */ macro
|
/external/elfutils/tests/ |
D | dwfl-bug-fd-leak.c | 105 if (setrlimit (RLIMIT_NOFILE, &fd_limit) < 0) in main()
|
/external/toybox/toys/posix/ |
D | ulimit.c | 64 RLIMIT_SIGPENDING, RLIMIT_MEMLOCK, RLIMIT_RSS, RLIMIT_NOFILE, 0, in ulimit_main()
|
/external/blktrace/btt/ |
D | misc.c | 110 return increase_limit(RLIMIT_NOFILE, 16); in handle_open_failure()
|
/external/e2fsprogs/lib/uuid/ |
D | gen_uuid.c | 458 #elif defined(HAVE_GETRLIMIT) && defined(RLIMIT_NOFILE) in close_all_fds() 461 getrlimit(RLIMIT_NOFILE, &rl); in close_all_fds()
|
/external/libevent/ |
D | devpoll.c | 127 if (getrlimit(RLIMIT_NOFILE, &rl) == 0 && in devpoll_init()
|
/external/dbus/dbus/ |
D | dbus-sysdeps-util-unix.c | 402 if (getrlimit (RLIMIT_NOFILE, &lim) < 0) in _dbus_request_file_descriptor_limit() 420 setrlimit (RLIMIT_NOFILE, &target_lim); in _dbus_request_file_descriptor_limit()
|
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/ |
D | platformsettings.py | 111 return resource.getrlimit(resource.RLIMIT_NOFILE) 117 resource.setrlimit(resource.RLIMIT_NOFILE, (new_soft_limit, new_hard_limit))
|
/external/libchrome/sandbox/linux/suid/ |
D | sandbox.c | 114 if (setrlimit(RLIMIT_NOFILE, &nofile)) in SpawnChrootHelper()
|
/external/libchrome/sandbox/linux/syscall_broker/ |
D | broker_process_unittest.cc | 523 SANDBOX_ASSERT(0 == getrlimit(RLIMIT_NOFILE, &rlim)); in SANDBOX_TEST_ALLOW_NOISE() 526 SANDBOX_ASSERT(0 == setrlimit(RLIMIT_NOFILE, &rlim)); in SANDBOX_TEST_ALLOW_NOISE()
|
/external/selinux/policycoreutils/mcstrans/src/ |
D | mcstransd.c | 524 setrlimit(RLIMIT_NOFILE, &rl); in initialize()
|
/external/libdaemon/libdaemon/ |
D | dfork.c | 566 if (getrlimit(RLIMIT_NOFILE, &rl) > 0) in daemon_close_allv()
|