Home
last modified time | relevance | path

Searched refs:getrlimit (Results 1 – 25 of 189) sorted by relevance

12345678

/external/python/cpython3/Lib/test/
Dtest_resource.py15 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/
Dtest_resource.py12 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/
Dprocess_metrics_posix.cc60 if (getrlimit(RLIMIT_NOFILE, &nofile)) { in GetMaxFds()
76 if (getrlimit(RLIMIT_NOFILE, &limits) == 0) { in IncreaseFdLimitTo()
/external/linux-kselftest/tools/testing/selftests/vm/
Dmlock-random-test.c146 getrlimit(RLIMIT_MEMLOCK, &cur); in test_mlock_within_limit()
222 getrlimit(RLIMIT_MEMLOCK, &cur); in test_mlock_outof_limit()
Don-fault-limit.c19 if (getrlimit(RLIMIT_MEMLOCK, &lims)) { in test_limit()
/external/compiler-rt/test/sanitizer_common/TestCases/
Dcorelimit.cc10 getrlimit(RLIMIT_CORE, &lim_core); in main()
/external/ltp/testcases/kernel/syscalls/ulimit/
DREADME2 longer provided by glibc. Use getrlimit(2), setrlimit(2)
/external/linux-kselftest/tools/testing/selftests/bpf/
Dbpf_rlimit.h11 getrlimit(RLIMIT_MEMLOCK, &rlim_old); in bpf_rlimit_ctor()
/external/ltp/include/lapi/syscalls/
Ds390x.in262 getrlimit 76
305 getrlimit 191
Ds390.in262 getrlimit 76
305 getrlimit 191
/external/compiler-rt/test/asan/TestCases/Linux/
Dstack-overflow-recovery-mode.cc20 int res = getrlimit(RLIMIT_STACK, &rlim); in LimitStackAndReexec()
Dstack-overflow-sigbus.cc30 int res = getrlimit(RLIMIT_STACK, &rlim); in LimitStackAndReexec()
/external/python/cpython2/Doc/library/
Dresource.rst39 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/
Dsetrlimit.c49 if (getrlimit((int) res, &libc_rlim)) in main()
Dpipe_maxfd.c49 if (getrlimit(RLIMIT_NOFILE, &rlim)) in pipe_maxfd()
/external/strace/tests-m32/
Dsetrlimit.c49 if (getrlimit((int) res, &libc_rlim)) in main()
Dpipe_maxfd.c49 if (getrlimit(RLIMIT_NOFILE, &rlim)) in pipe_maxfd()
/external/strace/tests/
Dsetrlimit.c49 if (getrlimit((int) res, &libc_rlim)) in main()
Dpipe_maxfd.c49 if (getrlimit(RLIMIT_NOFILE, &rlim)) in pipe_maxfd()
/external/ltp/android/include/
Dbionic-compat.h59 int err = getrlimit(RLIMIT_NOFILE, &lim); in getdtablesize()
/external/python/cpython3/Doc/library/
Dresource.rst42 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/
Dgetrlimit02.c121 TEST(getrlimit(testcases[i].res_type, in main()
Dgetrlimit01.c81 TEST(getrlimit(testcases[i].res, &rlim)); in main()
/external/ltp/testcases/kernel/syscalls/getdtablesize/
Dgetdtablesize01.c63 getrlimit(RLIMIT_NOFILE, &rlp); in main()
/external/libchrome/base/memory/
Dprotected_memory_posix.cc56 getrlimit(RLIMIT_NPROC, reinterpret_cast<struct rlimit*>(page_start)); in AssertMemoryIsReadOnly()

12345678