/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-mips64/syscalls/ |
setrlimit.S | 5 ENTRY(setrlimit) function 25 END(setrlimit) 27 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)
|
/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...] |
/bionic/libc/arch-x86/syscalls/ |
setrlimit.S | 5 ENTRY(setrlimit) function 34 END(setrlimit)
|
/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/dbus/test/ |
test-segfault.c | 22 setrlimit (RLIMIT_CORE, &r);
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
rlimit_mmap_test.cc | 12 assert(0 == setrlimit(RLIMIT_AS, &mmap_resource_limit));
|
/external/libchrome/sandbox/linux/services/ |
resource_limits.h | 16 // This class provides a small wrapper around setrlimit().
|
resource_limits.cc | 22 int rc = setrlimit(resource, &new_rlimit);
|
/external/elfutils/tests/ |
lfs-symbols | 68 setrlimit
|
dwfl-bug-fd-leak.c | 105 if (setrlimit (RLIMIT_NOFILE, &fd_limit) < 0) 106 error (2, errno, "setrlimit");
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/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/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
|
/bionic/tests/ |
sys_resource_test.cpp | 85 TEST_F(SysResourceTest, setrlimit) { 87 ASSERT_EQ(0, setrlimit(RLIMIT_CORE, &l32_));
|
/external/libunwind/tests/ |
test-mem.c | 98 setrlimit (RLIMIT_DATA, &rlim); 99 setrlimit (RLIMIT_AS, &rlim);
|
/frameworks/av/media/libmedia/ |
MediaUtils.h | 23 Limit the amount of memory a process can allocate using setrlimit(RLIMIT_AS).
|
/frameworks/webview/chromium/plat_support/ |
draw_gl_functor.cpp | 113 if (setrlimit(RLIMIT_NOFILE, &limit_struct) != 0) { 114 ALOGE("setrlimit failed: %s", strerror(errno));
|
/bionic/libc/include/sys/ |
resource.h | 46 extern int setrlimit(int, const struct rlimit*);
|