Lines Matching refs:sysconf
63 uintptr_t mask = sysconf(_SC_PAGE_SIZE) - 1; in page_align()
80 new_break = page_align(reinterpret_cast<uintptr_t>(initial_break) + sysconf(_SC_PAGE_SIZE)); in TEST()
940 long ret = sysconf(option); in VerifySysconf()
945 TEST(UNISTD_TEST, sysconf) { in TEST() argument
976 EXPECT_EQ(sysconf(_SC_IOV_MAX), sysconf(_SC_UIO_MAXIOV)); in TEST()
980 [](long v){return v == sysconf(_SC_PAGESIZE) && errno == 0 && v == getpagesize();}); in TEST()
1108 ASSERT_EQ(online_cpus, sysconf(_SC_NPROCESSORS_ONLN)); in TEST()
1129 EXPECT_EQ(static_cast<long>(rl.rlim_cur / 4), sysconf(_SC_ARG_MAX)); in TEST()
1136 EXPECT_EQ(static_cast<long>(32 * sysconf(_SC_PAGE_SIZE)), sysconf(_SC_ARG_MAX)); in TEST()
1139 rl.rlim_cur = 128 * sysconf(_SC_PAGE_SIZE); in TEST()
1143 EXPECT_EQ(static_cast<long>((128 * sysconf(_SC_PAGE_SIZE)) / 4), sysconf(_SC_ARG_MAX)); in TEST()