Home
last modified time | relevance | path

Searched refs:rlim_t (Results 1 – 25 of 26) sorted by relevance

12

/external/libchrome/base/process/
Dprocess_metrics_posix.cc40 static const rlim_t kSystemDefaultMaxFds = 8192;
42 static const rlim_t kSystemDefaultMaxFds = 256;
44 static const rlim_t kSystemDefaultMaxFds = 8192;
46 static const rlim_t kSystemDefaultMaxFds = 8192;
48 static const rlim_t kSystemDefaultMaxFds = 1024;
50 static const rlim_t kSystemDefaultMaxFds = 256;
52 static const rlim_t kSystemDefaultMaxFds = 1024;
54 static const rlim_t kSystemDefaultMaxFds = 8192;
58 rlim_t max_fds; in GetMaxFds()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_posix_libcdep.cc73 static rlim_t getlim(int res) { in getlim()
79 static void setlim(int res, rlim_t lim) { in setlim()
97 rlim_t stack_size = getlim(RLIMIT_STACK); in StackSizeIsUnlimited()
106 setlim(RLIMIT_STACK, (rlim_t)limit); in SetStackSizeLimitInBytes()
111 rlim_t as_size = getlim(RLIMIT_AS); in AddressSpaceIsUnlimited()
/external/python/cpython2/Modules/
Dresource.c174 if (rl.rlim_cur == (rlim_t)-1 && PyErr_Occurred()) in resource_setrlimit()
177 if (rl.rlim_max == (rlim_t)-1 && PyErr_Occurred()) in resource_setrlimit()
183 if (rl.rlim_cur == (rlim_t)-1 && PyErr_Occurred()) in resource_setrlimit()
187 if (rl.rlim_max == (rlim_t)-1 && PyErr_Occurred()) in resource_setrlimit()
/external/python/cpython3/Modules/
Dresource.c146 if (rl_out->rlim_cur == (rlim_t)-1 && PyErr_Occurred()) in py2rlimit()
149 if (rl_out->rlim_max == (rlim_t)-1 && PyErr_Occurred()) in py2rlimit()
154 if (rl_out->rlim_cur == (rlim_t)-1 && PyErr_Occurred()) in py2rlimit()
157 if (rl_out->rlim_max == (rlim_t)-1 && PyErr_Occurred()) in py2rlimit()
/external/toybox/toys/posix/
Dulimit.c96 rlim_t rl = FLAG(H) ? rr.rlim_max : rr.rlim_cur; in ulimit_main()
109 rlim_t val; in ulimit_main()
/external/ltp/testcases/kernel/syscalls/mincore/
Dmincore01.c49 static rlim_t STACK_LIMIT = 10485760;
146 tc->len = as_lim.rlim_cur - (rlim_t)global_pointer + pagesize; in setup4()
/external/minijail/
Dlibminijail.h147 int minijail_rlimit(struct minijail *j, int type, rlim_t cur, rlim_t max);
Dminijail0_cli.c161 rlim_t cur_rlim; in add_rlimit()
162 rlim_t max_rlim; in add_rlimit()
Dlibminijail.c96 rlim_t cur;
97 rlim_t max;
711 int API minijail_rlimit(struct minijail *j, int type, rlim_t cur, rlim_t max) in minijail_rlimit()
/external/google-breakpad/src/common/linux/tests/
Dcrash_generator.cc79 const rlim_t kCoreSizeLimit = 1024 * 1024;
162 bool CrashGenerator::SetCoreFileSizeLimit(rlim_t limit) const { in SetCoreFileSizeLimit()
Dcrash_generator.h90 bool SetCoreFileSizeLimit(rlim_t limit) const;
/external/honggfuzz/
Dcmdline.h31 rlim_t cmdlineParseRLimit(int res, const char* optarg, unsigned long mul);
Dcmdline.c162 rlim_t cmdlineParseRLimit(int res, const char* optarg, unsigned long mul) { in cmdlineParseRLimit()
176 rlim_t val = strtoul(optarg, NULL, 0) * mul; in cmdlineParseRLimit()
/external/compiler-rt/test/esan/TestCases/
Dlarge-stack-linux.c12 static void testChildStackLimit(rlim_t StackLimit, char *ToRun) { in testChildStackLimit()
/external/ltp/testcases/kernel/syscalls/getdtablesize/
Dgetdtablesize01.c64 max_val_opfiles = (rlim_t) rlp.rlim_cur; in main()
/external/blktrace/btt/
Dmisc.c86 static int increase_limit(int resource, rlim_t increase) in increase_limit()
/external/linux-kselftest/tools/testing/selftests/vm/
Dmlock-random-test.c25 int set_cap_limits(rlim_t max) in set_cap_limits()
/external/mksh/src/
Dfuncs.c3342 rlim_t val = (rlim_t)0; in set_ulimit()
3346 val = (rlim_t)RLIM_INFINITY; in set_ulimit()
3362 val = (rlim_t)((rlim_t)rval * l->factor); in set_ulimit()
3390 rlim_t val = (rlim_t)0; in print_ulimit()
3401 if (val == (rlim_t)RLIM_INFINITY) in print_ulimit()
DBuild.sh1884 ac_test rlim_t <<-'EOF'
1898 int main(void) { return (((int)(rlim_t)0) + isatty(0)); }
Dsh.h242 typedef unsigned long rlim_t; typedef
/external/curl/tests/libtest/
Dlib537.c104 rlim_t nitems, i;
/external/python/cpython2/Lib/lib2to3/tests/data/
Dinfinite_recursion.py2252 rlim_t = __int64_t variable
2279 ('rlim_cur', rlim_t),
2280 ('rlim_max', rlim_t),
/external/python/cpython3/Lib/lib2to3/tests/data/
Dinfinite_recursion.py2252 rlim_t = __int64_t variable
2279 ('rlim_cur', rlim_t),
2280 ('rlim_max', rlim_t),
/external/blktrace/
Dblktrace.c643 static int increase_limit(int resource, rlim_t increase) in increase_limit()
/external/strace/
DChangeLog-CVS4485 * aclocal.m4: routines to check for long long off_t and rlim_t.
4486 * configure.in: check for long long off_t and rlim_t.

12