Searched refs:getrlimit (Results 1 – 25 of 189) sorted by relevance
12345678
/external/python/cpython3/Lib/test/ |
D | test_resource.py | 15 self.assertRaises(TypeError, resource.getrlimit) 16 self.assertRaises(TypeError, resource.getrlimit, 42, 42) 22 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE) 36 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE) 85 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE) 116 limits = resource.getrlimit(resource.RLIMIT_CPU) 152 limit = resource.getrlimit(resource.RLIMIT_AS) 167 limits = resource.getrlimit(resource.RLIMIT_AS)
|
/external/python/cpython2/Lib/test/ |
D | test_resource.py | 12 self.assertRaises(TypeError, resource.getrlimit) 13 self.assertRaises(TypeError, resource.getrlimit, 42, 42) 19 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE) 32 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE) 80 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE) 106 limits = resource.getrlimit(resource.RLIMIT_CPU)
|
/external/libchrome/base/process/ |
D | process_metrics_posix.cc | 60 if (getrlimit(RLIMIT_NOFILE, &nofile)) { in GetMaxFds() 76 if (getrlimit(RLIMIT_NOFILE, &limits) == 0) { in IncreaseFdLimitTo()
|
/external/linux-kselftest/tools/testing/selftests/vm/ |
D | mlock-random-test.c | 146 getrlimit(RLIMIT_MEMLOCK, &cur); in test_mlock_within_limit() 222 getrlimit(RLIMIT_MEMLOCK, &cur); in test_mlock_outof_limit()
|
D | on-fault-limit.c | 19 if (getrlimit(RLIMIT_MEMLOCK, &lims)) { in test_limit()
|
/external/compiler-rt/test/sanitizer_common/TestCases/ |
D | corelimit.cc | 10 getrlimit(RLIMIT_CORE, &lim_core); in main()
|
/external/ltp/testcases/kernel/syscalls/ulimit/ |
D | README | 2 longer provided by glibc. Use getrlimit(2), setrlimit(2)
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | bpf_rlimit.h | 11 getrlimit(RLIMIT_MEMLOCK, &rlim_old); in bpf_rlimit_ctor()
|
/external/ltp/include/lapi/syscalls/ |
D | s390x.in | 262 getrlimit 76 305 getrlimit 191
|
D | s390.in | 262 getrlimit 76 305 getrlimit 191
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
D | stack-overflow-recovery-mode.cc | 20 int res = getrlimit(RLIMIT_STACK, &rlim); in LimitStackAndReexec()
|
D | stack-overflow-sigbus.cc | 30 int res = getrlimit(RLIMIT_STACK, &rlim); in LimitStackAndReexec()
|
/external/python/cpython2/Doc/library/ |
D | resource.rst | 39 described in the :manpage:`getrlimit(2)` man page. The resources listed below 50 .. function:: getrlimit(resource) 77 :func:`setrlimit` and :func:`getrlimit` functions described below. The values of 80 The Unix man page for :manpage:`getrlimit(2)` lists the available resources.
|
/external/strace/tests-mx32/ |
D | setrlimit.c | 49 if (getrlimit((int) res, &libc_rlim)) in main()
|
D | pipe_maxfd.c | 49 if (getrlimit(RLIMIT_NOFILE, &rlim)) in pipe_maxfd()
|
/external/strace/tests-m32/ |
D | setrlimit.c | 49 if (getrlimit((int) res, &libc_rlim)) in main()
|
D | pipe_maxfd.c | 49 if (getrlimit(RLIMIT_NOFILE, &rlim)) in pipe_maxfd()
|
/external/strace/tests/ |
D | setrlimit.c | 49 if (getrlimit((int) res, &libc_rlim)) in main()
|
D | pipe_maxfd.c | 49 if (getrlimit(RLIMIT_NOFILE, &rlim)) in pipe_maxfd()
|
/external/ltp/android/include/ |
D | bionic-compat.h | 59 int err = getrlimit(RLIMIT_NOFILE, &lim); in getdtablesize()
|
/external/python/cpython3/Doc/library/ |
D | resource.rst | 42 described in the :manpage:`getrlimit(2)` man page. The resources listed below 53 .. function:: getrlimit(resource) 81 Combines :func:`setrlimit` and :func:`getrlimit` in one function and 101 :func:`setrlimit` and :func:`getrlimit` functions described below. The values of 104 The Unix man page for :manpage:`getrlimit(2)` lists the available resources.
|
/external/ltp/testcases/kernel/syscalls/getrlimit/ |
D | getrlimit02.c | 121 TEST(getrlimit(testcases[i].res_type, in main()
|
D | getrlimit01.c | 81 TEST(getrlimit(testcases[i].res, &rlim)); in main()
|
/external/ltp/testcases/kernel/syscalls/getdtablesize/ |
D | getdtablesize01.c | 63 getrlimit(RLIMIT_NOFILE, &rlp); in main()
|
/external/libchrome/base/memory/ |
D | protected_memory_posix.cc | 56 getrlimit(RLIMIT_NPROC, reinterpret_cast<struct rlimit*>(page_start)); in AssertMemoryIsReadOnly()
|
12345678