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

1 2 3 4 5 6 7 8 91011>>

  /bionic/libc/arch-mips/syscalls/
setrlimit.S 4 .globl setrlimit
6 .ent setrlimit
8 setrlimit: label
22 .end setrlimit
  /bionic/libc/arch-arm/syscalls/
setrlimit.S 6 ENTRY(setrlimit) function
15 END(setrlimit)
  /external/valgrind/main/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");
  /bionic/libc/arch-x86/syscalls/
setrlimit.S 6 ENTRY(setrlimit) function
24 END(setrlimit)
  /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/openssh/
sandbox-darwin.c 74 if (setrlimit(RLIMIT_FSIZE, &rl_zero) == -1)
75 fatal("%s: setrlimit(RLIMIT_FSIZE, { 0, 0 }): %s",
77 if (setrlimit(RLIMIT_NOFILE, &rl_zero) == -1)
78 fatal("%s: setrlimit(RLIMIT_NOFILE, { 0, 0 }): %s",
80 if (setrlimit(RLIMIT_NPROC, &rl_zero) == -1)
81 fatal("%s: setrlimit(RLIMIT_NPROC, { 0, 0 }): %s",
sandbox-rlimit.c 67 if (setrlimit(RLIMIT_FSIZE, &rl_zero) == -1)
68 fatal("%s: setrlimit(RLIMIT_FSIZE, { 0, 0 }): %s",
70 if (setrlimit(RLIMIT_NOFILE, &rl_zero) == -1)
71 fatal("%s: setrlimit(RLIMIT_NOFILE, { 0, 0 }): %s",
74 if (setrlimit(RLIMIT_NPROC, &rl_zero) == -1)
75 fatal("%s: setrlimit(RLIMIT_NPROC, { 0, 0 }): %s",
  /development/ndk/sources/android/libportable/arch-mips/
resource.c 48 extern int REAL(setrlimit)(int resource, const struct rlimit *rlp);
49 int WRAP(setrlimit)(int resource, const struct rlimit *rlp) function
51 return REAL(setrlimit)(mips_change_resource(resource), rlp);
  /external/compiler-rt/lib/asan/lit_tests/TestCases/Linux/
rlimit_mmap_test.cc 12 assert(0 == setrlimit(RLIMIT_AS, &mmap_resource_limit));
  /ndk/sources/host-tools/sed-4.2.1/testsuite/
bug-regex15.c 31 if (setrlimit (RLIMIT_DATA, &data_limit) < 0)
32 perror ("setrlimit: RLIMIT_DATA");
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_posix_libcdep.cc 48 setrlimit(RLIMIT_CORE, &nocore);
61 if (setrlimit(RLIMIT_STACK, &rlim)) {
62 Report("ERROR: %s setrlimit() failed %d\n", SanitizerToolName, errno);
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/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/i686-linux-glibc2.7-4.6/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.7-4.6/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
  /external/elfutils/tests/
dwfl-bug-fd-leak.c 100 if (setrlimit (RLIMIT_NOFILE, &fd_limit) < 0)
101 error (2, errno, "setrlimit");
  /bionic/libc/include/sys/
resource.h 50 extern int setrlimit(int resource, const struct rlimit *rlp);
  /development/ndk/platforms/android-3/include/sys/
resource.h 50 extern int setrlimit(int resource, const struct rlimit *rlp);
  /prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/sys/
resource.h 50 extern int setrlimit(int resource, const struct rlimit *rlp);
  /prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/sys/
resource.h 50 extern int setrlimit(int resource, const struct rlimit *rlp);
  /prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/sys/
resource.h 50 extern int setrlimit(int resource, const struct rlimit *rlp);
  /prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/sys/
resource.h 50 extern int setrlimit(int resource, const struct rlimit *rlp);
  /prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/sys/
resource.h 50 extern int setrlimit(int resource, const struct rlimit *rlp);
  /prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/sys/
resource.h 50 extern int setrlimit(int resource, const struct rlimit *rlp);
  /prebuilts/ndk/5/platforms/android-3/arch-arm/usr/include/sys/
resource.h 50 extern int setrlimit(int resource, const struct rlimit *rlp);

Completed in 360 milliseconds

1 2 3 4 5 6 7 8 91011>>