Home
last modified time | relevance | path

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

/external/libchrome/base/process/
Dprocess_metrics_posix.cc29 static const rlim_t kSystemDefaultMaxFds = 8192;
31 static const rlim_t kSystemDefaultMaxFds = 256;
33 static const rlim_t kSystemDefaultMaxFds = 8192;
35 static const rlim_t kSystemDefaultMaxFds = 8192;
37 static const rlim_t kSystemDefaultMaxFds = 256;
39 static const rlim_t kSystemDefaultMaxFds = 1024;
43 rlim_t max_fds; in GetMaxFds()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_posix_libcdep.cc72 static rlim_t getlim(int res) { in getlim()
78 static void setlim(int res, rlim_t lim) { in setlim()
96 rlim_t stack_size = getlim(RLIMIT_STACK); in StackSizeIsUnlimited()
101 setlim(RLIMIT_STACK, (rlim_t)limit); in SetStackSizeLimitInBytes()
106 rlim_t as_size = getlim(RLIMIT_AS); in AddressSpaceIsUnlimited()
/external/toybox/toys/posix/
Dulimit.c94 rlim_t rl = (toys.optflags&FLAG_H) ? rr.rlim_max : rr.rlim_cur; in ulimit_main()
107 rlim_t val; in ulimit_main()
/external/libchrome/sandbox/linux/services/
Dresource_limits.h21 static bool Lower(int resource, rlim_t limit) WARN_UNUSED_RESULT;
Dresource_limits.cc15 bool ResourceLimits::Lower(int resource, rlim_t limit) { in Lower()
/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/blktrace/btt/
Dmisc.c87 static int increase_limit(int resource, rlim_t increase) in increase_limit()
/external/mksh/src/
Dfuncs.c3562 rlim_t val = (rlim_t)0; in set_ulimit()
3566 val = (rlim_t)RLIM_INFINITY; in set_ulimit()
3582 val = (rlim_t)((rlim_t)rval * l->factor); in set_ulimit()
3610 rlim_t val = (rlim_t)0; in print_ulimit()
3621 if (val == (rlim_t)RLIM_INFINITY) in print_ulimit()
DBuild.sh1743 ac_test rlim_t <<-'EOF'
1757 int main(void) { return (((int)(rlim_t)0) + isatty(0)); }
Dsh.h235 typedef unsigned long rlim_t; typedef
/external/libchrome/sandbox/linux/syscall_broker/
Dbroker_process_unittest.cc515 const rlim_t fd_limit = in SANDBOX_TEST_ALLOW_NOISE()
544 for (rlim_t i = 0; i < fd_limit; ++i) { in SANDBOX_TEST_ALLOW_NOISE()
/external/avahi/avahi-daemon/
Dmain.c130 rlim_t rlimit_as, rlimit_core, rlimit_data, rlimit_fsize, rlimit_nofile, rlimit_stack;
134 rlim_t rlimit_nproc;
1460 static void set_one_rlimit(int resource, rlim_t limit, const char *name) { in set_one_rlimit()
/external/valgrind/include/vki/
Dvki-darwin.h661 #define vki_rlim_t rlim_t
/external/blktrace/
Dblktrace.c622 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.