Home
last modified time | relevance | path

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

1234567

/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)
156 limit = resource.getrlimit(resource.RLIMIT_AS)
171 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.cc47 if (getrlimit(RLIMIT_NOFILE, &nofile)) { in GetMaxFds()
64 if (getrlimit(RLIMIT_NOFILE, &limits) == 0) { in SetFdLimit()
/external/valgrind/none/tests/
Drlimit_nofile.c17 if (getrlimit(RLIMIT_NOFILE, &oldrlim) < 0) in main()
62 if (getrlimit(RLIMIT_NOFILE, &newrlim) < 0) in main()
Dcloseall.c11 getrlimit(RLIMIT_NOFILE, &lim); in main()
/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/valgrind/none/tests/darwin/
Drlimit.c13 getrlimit(RLIMIT_NOFILE, &rlp); in main()
/external/compiler-rt/test/sanitizer_common/TestCases/
Dcorelimit.cc10 getrlimit(RLIMIT_CORE, &lim_core); in main()
/external/ltp/include/lapi/syscalls/
Ds390.in263 getrlimit 76
306 getrlimit 191
Ds390x.in263 getrlimit 76
306 getrlimit 191
/external/ltp/testcases/kernel/syscalls/ulimit/
DREADME2 longer provided by glibc. Use getrlimit(2), setrlimit(2)
/external/compiler-rt/test/asan/TestCases/Linux/
Dstack-overflow-recovery-mode.cc20 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/ltp/android/include/
Dbionic-compat.h47 int err = getrlimit(RLIMIT_NOFILE, &lim); in getdtablesize()
/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-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/
Dsetrlimit.c49 if (getrlimit((int) res, &libc_rlim)) in main()
Dpipe_maxfd.c49 if (getrlimit(RLIMIT_NOFILE, &rlim)) in pipe_maxfd()
/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()

1234567