Searched refs:rlim_cur (Results 1 – 9 of 9) sorted by relevance
/bionic/tests/ |
D | sys_resource_test.cpp | 56 ASSERT_EQ(l32_.rlim_cur, pr_l32_.rlim_cur); in CheckResourceLimits() 57 ASSERT_EQ(l64_.rlim_cur, pr_l64_.rlim_cur); in CheckResourceLimits() 59 if (l64_.rlim_cur == RLIM64_INFINITY) { in CheckResourceLimits() 60 ASSERT_EQ(RLIM_INFINITY, l32_.rlim_cur); in CheckResourceLimits() 62 ASSERT_EQ(l64_.rlim_cur, l32_.rlim_cur); in CheckResourceLimits() 87 l32_.rlim_cur = 123U; in TEST_F() 90 ASSERT_EQ(123U, l32_.rlim_cur); in TEST_F() 94 l64_.rlim_cur = 456U; in TEST_F() 97 ASSERT_EQ(456U, l64_.rlim_cur); in TEST_F() 101 pr_l32_.rlim_cur = pr_l32_.rlim_max; in TEST_F() [all …]
|
D | unistd_test.cpp | 1137 uint64_t original_rlim_cur = rl.rlim_cur; in TEST() 1138 if (rl.rlim_cur == RLIM_INFINITY) { in TEST() 1139 rl.rlim_cur = 8 * 1024 * 1024; // Bionic reports unlimited stacks as 8MiB. in TEST() 1142 rl.rlim_cur = original_rlim_cur; in TEST() 1147 EXPECT_EQ(static_cast<long>(rl.rlim_cur / 4), sysconf(_SC_ARG_MAX)); in TEST() 1150 rl.rlim_cur = 1024; in TEST() 1157 rl.rlim_cur = 128 * sysconf(_SC_PAGE_SIZE); in TEST()
|
D | pthread_test.cpp | 1802 uint64_t original_rlim_cur = rl.rlim_cur; in TEST() 1803 if (rl.rlim_cur == RLIM_INFINITY) { in TEST() 1804 rl.rlim_cur = 8 * 1024 * 1024; // Bionic reports unlimited stacks as 8MiB. in TEST() 1806 EXPECT_EQ(rl.rlim_cur, stack_size); in TEST() 1809 rl.rlim_cur = original_rlim_cur; in TEST() 1816 rl.rlim_cur = rl.rlim_max = 1024; // 1KiB. We know the stack must be at least a page already. in TEST() 1830 rl.rlim_cur = rl.rlim_max = 6666; // Not a whole number of pages. in TEST()
|
/bionic/libc/bionic/ |
D | legacy_32_bit_support.cpp | 90 n64.rlim_cur = (n32->rlim_cur == RLIM_INFINITY) ? RLIM64_INFINITY : n32->rlim_cur; in prlimit() 99 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()
|