HomeSort by relevance Sort by last modified time
    Searched refs:setrlimit (Results 1 - 25 of 215) sorted by null

1 2 3 4 5 6 7 8 9

  /bionic/libc/arch-arm64/syscalls/
setrlimit.S 5 ENTRY(setrlimit) function
14 END(setrlimit)
16 ALIAS_SYMBOL(setrlimit64, setrlimit)
  /bionic/libc/arch-x86_64/syscalls/
setrlimit.S 5 ENTRY(setrlimit) function
15 END(setrlimit)
17 ALIAS_SYMBOL(setrlimit64, setrlimit)
  /bionic/libc/arch-arm/syscalls/
setrlimit.S 5 ENTRY(setrlimit) function
16 END(setrlimit)
  /bionic/libc/arch-mips/syscalls/
setrlimit.S 5 ENTRY(setrlimit) function
19 END(setrlimit)
  /bionic/libc/arch-mips64/syscalls/
setrlimit.S 5 ENTRY(setrlimit) function
25 END(setrlimit)
27 ALIAS_SYMBOL(setrlimit64, setrlimit)
  /bionic/libc/arch-x86/syscalls/
setrlimit.S 5 ENTRY(setrlimit) function
34 END(setrlimit)
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_resource.py 14 self.assertRaises(TypeError, resource.setrlimit)
15 self.assertRaises(TypeError, resource.setrlimit, 42, 42, 42)
25 # we need to test that the get/setrlimit functions properly convert
29 resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max))
46 resource.setrlimit(resource.RLIMIT_FSIZE, (1024, max))
70 resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max))
75 resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max))
79 # Be sure that setrlimit is checking for really large values
87 resource.setrlimit(resource.RLIMIT_FSIZE, (too_big, max))
91 resource.setrlimit(resource.RLIMIT_FSIZE, (max, too_big))
    [all...]
  /external/compiler-rt/test/asan/TestCases/Linux/
rlimit_mmap_test.cc 12 assert(0 == setrlimit(RLIMIT_AS, &mmap_resource_limit));
stack-overflow-recovery-mode.cc 24 res = setrlimit(RLIMIT_STACK, &rlim);
  /external/valgrind/none/tests/
rlimit_nofile.c 25 if (setrlimit(RLIMIT_NOFILE, &newrlim) == -1)
28 fprintf(stderr, "setrlimit exceeding hardlimit must set errno=EINVAL\n");
34 fprintf(stderr, "setrlimit exceeding hardlimit must return -1\n");
40 if (setrlimit(RLIMIT_NOFILE, &newrlim) == -1)
43 fprintf(stderr, "setrlimit changing hardlimit must set errno=EPERM\n");
49 fprintf(stderr, "setrlimit changing hardlimit must return -1\n");
56 if (setrlimit(RLIMIT_NOFILE, &newrlim) < 0)
58 perror("setrlimit");
101 if (setrlimit(RLIMIT_NOFILE, NULL) != -1 || errno != EFAULT)
103 fprintf(stderr, "setrlimit non addressable arg2 must set errno=EFAULT\n")
    [all...]
  /external/python/cpython2/Lib/test/
test_resource.py 14 self.assertRaises(TypeError, resource.setrlimit)
15 self.assertRaises(TypeError, resource.setrlimit, 42, 42, 42)
24 # we need to test that the get/setrlimit functions properly convert
28 resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max))
44 resource.setrlimit(resource.RLIMIT_FSIZE, (1024, max))
68 resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max))
73 resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max))
77 # Be sure that setrlimit is checking for really large values
84 resource.setrlimit(resource.RLIMIT_FSIZE, (too_big, max))
88 resource.setrlimit(resource.RLIMIT_FSIZE, (max, too_big)
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_resource.py 14 self.assertRaises(TypeError, resource.setrlimit)
15 self.assertRaises(TypeError, resource.setrlimit, 42, 42, 42)
25 # we need to test that the get/setrlimit functions properly convert
29 resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max))
46 resource.setrlimit(resource.RLIMIT_FSIZE, (1024, max))
70 resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max))
75 resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max))
79 # Be sure that setrlimit is checking for really large values
87 resource.setrlimit(resource.RLIMIT_FSIZE, (too_big, max))
91 resource.setrlimit(resource.RLIMIT_FSIZE, (max, too_big)
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_resource.py 14 self.assertRaises(TypeError, resource.setrlimit)
15 self.assertRaises(TypeError, resource.setrlimit, 42, 42, 42)
25 # we need to test that the get/setrlimit functions properly convert
29 resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max))
46 resource.setrlimit(resource.RLIMIT_FSIZE, (1024, max))
70 resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max))
75 resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max))
79 # Be sure that setrlimit is checking for really large values
87 resource.setrlimit(resource.RLIMIT_FSIZE, (too_big, max))
91 resource.setrlimit(resource.RLIMIT_FSIZE, (max, too_big)
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_resource.py 14 self.assertRaises(TypeError, resource.setrlimit)
15 self.assertRaises(TypeError, resource.setrlimit, 42, 42, 42)
25 # we need to test that the get/setrlimit functions properly convert
29 resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max))
46 resource.setrlimit(resource.RLIMIT_FSIZE, (1024, max))
70 resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max))
75 resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max))
79 # Be sure that setrlimit is checking for really large values
87 resource.setrlimit(resource.RLIMIT_FSIZE, (too_big, max))
91 resource.setrlimit(resource.RLIMIT_FSIZE, (max, too_big)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_resource.py 14 self.assertRaises(TypeError, resource.setrlimit)
15 self.assertRaises(TypeError, resource.setrlimit, 42, 42, 42)
25 # we need to test that the get/setrlimit functions properly convert
29 resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max))
46 resource.setrlimit(resource.RLIMIT_FSIZE, (1024, max))
70 resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max))
75 resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max))
79 # Be sure that setrlimit is checking for really large values
87 resource.setrlimit(resource.RLIMIT_FSIZE, (too_big, max))
91 resource.setrlimit(resource.RLIMIT_FSIZE, (max, too_big)
    [all...]
  /external/strace/
largefile_wrappers.h 55 # define set_rlimit setrlimit
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/sys/
resource.h 70 extern int setrlimit (__rlimit_resource_t __resource,
74 extern int __REDIRECT_NTH (setrlimit, (__rlimit_resource_t __resource,
78 # define setrlimit setrlimit64 macro
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/sys/
resource.h 70 extern int setrlimit (__rlimit_resource_t __resource,
74 extern int __REDIRECT_NTH (setrlimit, (__rlimit_resource_t __resource,
78 # define setrlimit setrlimit64 macro
  /external/python/cpython3/Lib/test/
test_resource.py 17 self.assertRaises(TypeError, resource.setrlimit)
18 self.assertRaises(TypeError, resource.setrlimit, 42, 42, 42)
28 # we need to test that the get/setrlimit functions properly convert
32 resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max))
49 resource.setrlimit(resource.RLIMIT_FSIZE, (1024, max))
73 resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max))
78 resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max))
82 # Be sure that setrlimit is checking for really large values
90 resource.setrlimit(resource.RLIMIT_FSIZE, (too_big, max))
94 resource.setrlimit(resource.RLIMIT_FSIZE, (max, too_big)
    [all...]
  /toolchain/binutils/binutils-2.27/libiberty/
stack-limit.c 60 setrlimit (RLIMIT_STACK, &rlim);
  /external/libunwind/tests/
test-mem.c 98 setrlimit (RLIMIT_DATA, &rlim);
99 setrlimit (RLIMIT_AS, &rlim);
  /external/ltp/testcases/kernel/syscalls/setrlimit/
setrlimit01.c 21 * Testcase to check the basic functionality of the setrlimit system call.
73 if ((setrlimit(RLIMIT_NPROC, &save_rlim)) == -1) {
74 tst_brkm(TBROK, cleanup, "setrlimit failed to reset "
92 TEST(setrlimit(RLIMIT_NOFILE, &rlim));
95 tst_resm(TFAIL, "setrlimit failed to set "
103 tst_resm(TFAIL, "setrlimit failed, expected "
132 * 10 by calling setrlimit(). We can't do this in the
145 if ((setrlimit(RLIMIT_FSIZE, &rlim)) == -1)
172 tst_resm(TFAIL, "setrlimit failed to set "
184 tst_resm(TFAIL, "setrlimit failed, expected
    [all...]
  /external/ltp/testcases/kernel/syscalls/mlockall/
mlockall02.c 188 if (setrlimit(RLIMIT_MEMLOCK, &rl) != 0) {
189 tst_resm(TWARN, "setrlimit failed to set the "
210 if (setrlimit(RLIMIT_MEMLOCK, &rl) != 0) {
211 tst_resm(TWARN, "setrlimit failed to "
243 if (setrlimit(RLIMIT_MEMLOCK, &rl) != 0) {
245 "setrlimit failed to reset the "
  /bionic/libc/include/sys/
resource.h 46 int setrlimit(int __resource, const struct rlimit* __limit);
  /bionic/tests/headers/posix/
sys_resource_h.c 69 FUNCTION(setrlimit, int (*f)(int, const struct rlimit*));

Completed in 1459 milliseconds

1 2 3 4 5 6 7 8 9