HomeSort by relevance Sort by last modified time
    Searched defs:rlim (Results 1 - 17 of 17) sorted by null

  /external/libunwind/tests/
test-mem.c 89 struct rlimit rlim; local
96 rlim.rlim_cur = 0;
97 rlim.rlim_max = RLIM_INFINITY;
98 setrlimit (RLIMIT_DATA, &rlim);
99 setrlimit (RLIMIT_AS, &rlim);
Gperf-simple.c 235 struct rlimit rlim; local
237 rlim.rlim_cur = RLIM_INFINITY;
238 rlim.rlim_max = RLIM_INFINITY;
239 setrlimit (RLIMIT_STACK, &rlim);
Gperf-trace.c 221 struct rlimit rlim; local
223 rlim.rlim_cur = RLIM_INFINITY;
224 rlim.rlim_max = RLIM_INFINITY;
225 setrlimit (RLIMIT_STACK, &rlim);
  /external/chromium_org/third_party/tcmalloc/chromium/src/tests/
testutil.cc 67 struct rlimit rlim; local
68 if (getrlimit(USE_RESOURCE, &rlim) == 0) {
69 if (rlim.rlim_cur == RLIM_INFINITY || rlim.rlim_cur > kMaxMem) {
70 rlim.rlim_cur = kMaxMem;
71 setrlimit(USE_RESOURCE, &rlim); // ignore result
  /external/chromium_org/third_party/tcmalloc/vendor/src/tests/
testutil.cc 67 struct rlimit rlim; local
68 if (getrlimit(USE_RESOURCE, &rlim) == 0) {
69 if (rlim.rlim_cur == RLIM_INFINITY || rlim.rlim_cur > kMaxMem) {
70 rlim.rlim_cur = kMaxMem;
71 setrlimit(USE_RESOURCE, &rlim); // ignore result
  /external/blktrace/btt/
misc.c 89 struct rlimit rlim; local
92 if (!getrlimit(resource, &rlim)) {
93 rlim.rlim_cur += increase;
94 if (rlim.rlim_cur >= rlim.rlim_max)
95 rlim.rlim_max = rlim.rlim_cur + increase;
97 if (!setrlimit(resource, &rlim))
  /external/chromium_org/base/process/
process_linux.cc 115 struct rlimit rlim; local
116 if ((getrlimit(RLIMIT_NICE, &rlim) == 0) &&
117 (20 - kForegroundPriority) <= static_cast<int>(rlim.rlim_cur)) {
process_util_unittest.cc 451 struct rlimit rlim; local
452 if (getrlimit(RLIMIT_NOFILE, &rlim) != 0) {
459 if (rlim.rlim_cur > max_int) {
463 return rlim.rlim_cur;
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_posix_libcdep.cc 55 struct rlimit rlim; local
56 CHECK_EQ(0, getrlimit(RLIMIT_STACK, &rlim));
57 return ((uptr)rlim.rlim_cur == (uptr)-1);
61 struct rlimit rlim; local
62 rlim.rlim_cur = limit;
63 rlim.rlim_max = limit;
64 if (setrlimit(RLIMIT_STACK, &rlim)) {
  /external/compiler-rt/test/asan/TestCases/
stack-overflow.cc 89 struct rlimit rlim; local
90 int res = getrlimit(RLIMIT_STACK, &rlim);
92 if (rlim.rlim_cur == RLIM_INFINITY) {
93 rlim.rlim_cur = 128 * 1024;
94 res = setrlimit(RLIMIT_STACK, &rlim);
  /external/chromium_org/sandbox/linux/services/
broker_process_unittest.cc 445 struct rlimit rlim; local
446 SANDBOX_ASSERT(0 == getrlimit(RLIMIT_NOFILE, &rlim));
447 SANDBOX_ASSERT(fd_limit <= rlim.rlim_cur);
448 rlim.rlim_cur = fd_limit;
449 SANDBOX_ASSERT(0 == setrlimit(RLIMIT_NOFILE, &rlim));
  /external/compiler-rt/lib/tsan/rtl/
tsan_platform_linux.cc 307 rlimit rlim; local
308 CHECK_EQ(0, getrlimit(res, &rlim));
309 return rlim.rlim_cur;
314 volatile rlimit rlim; local
315 rlim.rlim_cur = lim;
316 rlim.rlim_max = lim;
317 setrlimit(res, (rlimit*)&rlim);
  /external/e2fsprogs/lib/ext2fs/
unix_io.c 609 struct rlimit rlim; local
611 rlim.rlim_cur = rlim.rlim_max = (unsigned long) RLIM_INFINITY;
612 setrlimit(RLIMIT_FSIZE, &rlim);
613 getrlimit(RLIMIT_FSIZE, &rlim);
614 if (((unsigned long) rlim.rlim_cur) <
615 ((unsigned long) rlim.rlim_max)) {
616 rlim.rlim_cur = rlim.rlim_max;
617 setrlimit(RLIMIT_FSIZE, &rlim);
    [all...]
  /external/oprofile/daemon/
oprofiled.c 501 struct rlimit rlim = { 2048, 2048 }; local
508 err = setrlimit(RLIMIT_NOFILE, &rlim);
  /external/compiler-rt/test/dfsan/
custom.c 433 struct rlimit rlim; local
434 dfsan_set_label(i_label, &rlim, sizeof(rlim));
435 assert(getrlimit(RLIMIT_CPU, &rlim) == 0);
436 ASSERT_READ_ZERO_LABEL(&rlim, sizeof(rlim));
  /external/mdnsresponder/mDNSShared/
dnsextd.c 3029 struct rlimit rlim; local
    [all...]
  /external/blktrace/
blktrace.c 624 struct rlimit rlim; local
627 if (!getrlimit(resource, &rlim)) {
628 rlim.rlim_cur += increase;
629 if (rlim.rlim_cur >= rlim.rlim_max)
630 rlim.rlim_max = rlim.rlim_cur + increase;
632 if (!setrlimit(resource, &rlim))
    [all...]

Completed in 655 milliseconds