/toolchain/binutils/binutils-2.25/libiberty/ |
stack-limit.c | 53 && rlim.rlim_cur != RLIM_INFINITY 54 && rlim.rlim_cur < pref 55 && (rlim.rlim_max == RLIM_INFINITY || rlim.rlim_cur < rlim.rlim_max)) 57 rlim.rlim_cur = pref; 58 if (rlim.rlim_max != RLIM_INFINITY && rlim.rlim_cur > rlim.rlim_max) 59 rlim.rlim_cur = rlim.rlim_max;
|
/external/valgrind/none/tests/ |
rlimit64_nofile.c | 26 newrlim.rlim_cur = oldrlim.rlim_max+1; 41 newrlim.rlim_cur = oldrlim.rlim_max; 56 newrlim.rlim_cur = oldrlim.rlim_cur / 2; 71 if (newrlim.rlim_cur != oldrlim.rlim_cur / 2) 73 fprintf(stderr, "rlim_cur is %llu (should be %llu)\n", 74 (unsigned long long)newrlim.rlim_cur, 75 (unsigned long long)oldrlim.rlim_cur / 2); 85 newrlim.rlim_cur -= 3; /* allow for stdin, stdout and stderr * [all...] |
rlimit_nofile.c | 23 newrlim.rlim_cur = oldrlim.rlim_max+1; 38 newrlim.rlim_cur = oldrlim.rlim_max; 53 newrlim.rlim_cur = oldrlim.rlim_cur / 2; 68 if (newrlim.rlim_cur != oldrlim.rlim_cur / 2) 70 fprintf(stderr, "rlim_cur is %llu (should be %llu)\n", 71 (unsigned long long)newrlim.rlim_cur, 72 (unsigned long long)oldrlim.rlim_cur / 2); 82 newrlim.rlim_cur -= 3; /* allow for stdin, stdout and stderr * [all...] |
closeall.c | 13 for ( fd = 3; fd < lim.rlim_cur; fd++ )
|
/bionic/tests/ |
sys_resource_test.cpp | 55 ASSERT_EQ(l32_.rlim_cur, pr_l32_.rlim_cur); 56 ASSERT_EQ(l64_.rlim_cur, pr_l64_.rlim_cur); 58 if (l64_.rlim_cur == RLIM64_INFINITY) { 59 ASSERT_EQ(RLIM_INFINITY, l32_.rlim_cur); 61 ASSERT_EQ(l64_.rlim_cur, l32_.rlim_cur); 86 l32_.rlim_cur = 123U; 89 ASSERT_EQ(123U, l32_.rlim_cur); [all...] |
/external/curl/tests/libtest/ |
lib518.c | 68 for(num_open.rlim_cur = 0; 69 num_open.rlim_cur < num_open.rlim_max; 70 num_open.rlim_cur++) 71 if(fd[num_open.rlim_cur] > 0) 72 close(fd[num_open.rlim_cur]); 133 if(rl.rlim_cur == RLIM_INFINITY) 137 snprintf(strbuff, sizeof(strbuff), fmt, rl.rlim_cur); 163 if(rl.rlim_cur != rl.rlim_max) { 166 if((rl.rlim_cur > 0) && 167 (rl.rlim_cur < OPEN_MAX)) [all...] |
lib537.c | 69 for(num_open.rlim_cur = 0; 70 num_open.rlim_cur < num_open.rlim_max; 71 num_open.rlim_cur++) 72 if(fd[num_open.rlim_cur] > 0) 73 close(fd[num_open.rlim_cur]); 134 if(rl.rlim_cur == RLIM_INFINITY) 138 snprintf(strbuff, sizeof(strbuff), fmt, rl.rlim_cur); 158 if(rl.rlim_cur != rl.rlim_max) { 161 if((rl.rlim_cur > 0) && 162 (rl.rlim_cur < OPEN_MAX)) [all...] |
/external/valgrind/none/tests/darwin/ |
rlimit.c | 14 fprintf(stderr, "RLIMIT_NOFILE is %lld\n", (long long)rlp.rlim_cur);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
resource.h | 43 unsigned long rlim_cur; member in struct:rlimit 50 __u64 rlim_cur; member in struct:rlimit64
|
/external/dbus/test/ |
test-segfault.c | 21 r.rlim_cur = 0;
|
/frameworks/av/media/libmedia/ |
MediaUtils.cpp | 64 ALOGV("original limits: %lld/%lld", (long long)limit.rlim_cur, (long long)limit.rlim_max); 65 limit.rlim_cur = maxMem; 67 limit.rlim_cur = -1; 70 ALOGV("new limits: %lld/%lld", (long long)limit.rlim_cur, (long long)limit.rlim_max);
|
/bionic/libc/kernel/uapi/linux/ |
resource.h | 52 __kernel_ulong_t rlim_cur; member in struct:rlimit 59 __u64 rlim_cur; member in struct:rlimit64
|
/development/ndk/platforms/android-21/include/linux/ |
resource.h | 52 __kernel_ulong_t rlim_cur; member in struct:rlimit 59 __u64 rlim_cur; member in struct:rlimit64
|
/external/kernel-headers/original/uapi/linux/ |
resource.h | 43 __kernel_ulong_t rlim_cur; member in struct:rlimit 50 __u64 rlim_cur; member in struct:rlimit64
|
/prebuilts/ndk/current/platforms/android-21/arch-arm/usr/include/linux/ |
resource.h | 52 __kernel_ulong_t rlim_cur; member in struct:rlimit 59 __u64 rlim_cur; member in struct:rlimit64
|
/prebuilts/ndk/current/platforms/android-21/arch-arm64/usr/include/linux/ |
resource.h | 52 __kernel_ulong_t rlim_cur; member in struct:rlimit 59 __u64 rlim_cur; member in struct:rlimit64
|
/prebuilts/ndk/current/platforms/android-21/arch-mips/usr/include/linux/ |
resource.h | 52 __kernel_ulong_t rlim_cur; member in struct:rlimit 59 __u64 rlim_cur; member in struct:rlimit64
|
/prebuilts/ndk/current/platforms/android-21/arch-mips64/usr/include/linux/ |
resource.h | 52 __kernel_ulong_t rlim_cur; member in struct:rlimit 59 __u64 rlim_cur; member in struct:rlimit64
|
/prebuilts/ndk/current/platforms/android-21/arch-x86/usr/include/linux/ |
resource.h | 52 __kernel_ulong_t rlim_cur; member in struct:rlimit 59 __u64 rlim_cur; member in struct:rlimit64
|
/prebuilts/ndk/current/platforms/android-21/arch-x86_64/usr/include/linux/ |
resource.h | 52 __kernel_ulong_t rlim_cur; member in struct:rlimit 59 __u64 rlim_cur; member in struct:rlimit64
|
/prebuilts/ndk/current/platforms/android-23/arch-arm/usr/include/linux/ |
resource.h | 52 __kernel_ulong_t rlim_cur; member in struct:rlimit 59 __u64 rlim_cur; member in struct:rlimit64
|
/prebuilts/ndk/current/platforms/android-23/arch-arm64/usr/include/linux/ |
resource.h | 52 __kernel_ulong_t rlim_cur; member in struct:rlimit 59 __u64 rlim_cur; member in struct:rlimit64
|
/prebuilts/ndk/current/platforms/android-23/arch-mips/usr/include/linux/ |
resource.h | 52 __kernel_ulong_t rlim_cur; member in struct:rlimit 59 __u64 rlim_cur; member in struct:rlimit64
|
/prebuilts/ndk/current/platforms/android-23/arch-mips64/usr/include/linux/ |
resource.h | 52 __kernel_ulong_t rlim_cur; member in struct:rlimit 59 __u64 rlim_cur; member in struct:rlimit64
|
/prebuilts/ndk/current/platforms/android-23/arch-x86/usr/include/linux/ |
resource.h | 52 __kernel_ulong_t rlim_cur; member in struct:rlimit 59 __u64 rlim_cur; member in struct:rlimit64
|