Searched refs:rlim_cur (Results 1 – 9 of 9) sorted by relevance
/bionic/tests/ |
D | sys_resource_test.cpp | 55 ASSERT_EQ(l32_.rlim_cur, pr_l32_.rlim_cur); in CheckResourceLimits() 56 ASSERT_EQ(l64_.rlim_cur, pr_l64_.rlim_cur); in CheckResourceLimits() 58 if (l64_.rlim_cur == RLIM64_INFINITY) { in CheckResourceLimits() 59 ASSERT_EQ(RLIM_INFINITY, l32_.rlim_cur); in CheckResourceLimits() 61 ASSERT_EQ(l64_.rlim_cur, l32_.rlim_cur); in CheckResourceLimits() 86 l32_.rlim_cur = 123U; in TEST_F() 89 ASSERT_EQ(123U, l32_.rlim_cur); in TEST_F() 93 l64_.rlim_cur = 456U; in TEST_F() 96 ASSERT_EQ(456U, l64_.rlim_cur); in TEST_F() 100 pr_l32_.rlim_cur = pr_l32_.rlim_max; in TEST_F() [all …]
|
D | unistd_test.cpp | 1119 uint64_t original_rlim_cur = rl.rlim_cur; in TEST() 1120 if (rl.rlim_cur == RLIM_INFINITY) { in TEST() 1121 rl.rlim_cur = 8 * 1024 * 1024; // Bionic reports unlimited stacks as 8MiB. in TEST() 1124 rl.rlim_cur = original_rlim_cur; in TEST() 1129 EXPECT_EQ(static_cast<long>(rl.rlim_cur / 4), sysconf(_SC_ARG_MAX)); in TEST() 1132 rl.rlim_cur = 1024; in TEST() 1139 rl.rlim_cur = 128 * sysconf(_SC_PAGE_SIZE); in TEST()
|
D | pthread_test.cpp | 1763 uint64_t original_rlim_cur = rl.rlim_cur; in TEST() 1764 if (rl.rlim_cur == RLIM_INFINITY) { in TEST() 1765 rl.rlim_cur = 8 * 1024 * 1024; // Bionic reports unlimited stacks as 8MiB. in TEST() 1767 EXPECT_EQ(rl.rlim_cur, stack_size); in TEST() 1770 rl.rlim_cur = original_rlim_cur; in TEST() 1777 rl.rlim_cur = rl.rlim_max = 1024; // 1KiB. We know the stack must be at least a page already. in TEST() 1791 rl.rlim_cur = rl.rlim_max = 6666; // Not a whole number of pages. in TEST()
|
/bionic/libc/bionic/ |
D | legacy_32_bit_support.cpp | 109 n64.rlim_cur = (n32->rlim_cur == RLIM_INFINITY) ? RLIM64_INFINITY : n32->rlim_cur; in prlimit() 118 o32->rlim_cur = (o64.rlim_cur == RLIM64_INFINITY) ? RLIM_INFINITY : o64.rlim_cur; in prlimit()
|
D | pthread_attr.cpp | 197 if (stack_limit.rlim_cur == RLIM_INFINITY) { in __pthread_attr_getstack_main_thread() 198 stack_limit.rlim_cur = 8 * 1024 * 1024; in __pthread_attr_getstack_main_thread() 214 *stack_size = stack_limit.rlim_cur; in __pthread_attr_getstack_main_thread()
|
D | sysconf.cpp | 46 return rl.rlim_cur; in __sysconf_rlimit()
|
D | ndk_cruft.cpp | 289 return r.rlim_cur; in getdtablesize()
|
/bionic/libc/kernel/uapi/linux/ |
D | resource.h | 46 __kernel_ulong_t rlim_cur; member 51 __u64 rlim_cur; member
|
/bionic/tests/headers/posix/ |
D | sys_resource_h.c | 48 STRUCT_MEMBER(struct rlimit, rlim_t, rlim_cur); in sys_resource_h()
|