Searched refs:sysconf (Results 1 – 25 of 38) sorted by relevance
12
/bionic/tests/ |
D | sys_sysinfo_test.cpp | 25 ASSERT_EQ(sysconf(_SC_NPROCESSORS_ONLN), nprocs); in TEST() 29 ASSERT_EQ(sysconf(_SC_NPROCESSORS_CONF), nprocs_conf); in TEST() 35 ASSERT_EQ(sysconf(_SC_PHYS_PAGES), phys_pages); in TEST() 38 ASSERT_GE(phys_pages, sysconf(_SC_AVPHYS_PAGES)); in TEST()
|
D | unistd_test.cpp | 65 uintptr_t mask = sysconf(_SC_PAGE_SIZE) - 1; in page_align() 82 new_break = page_align(reinterpret_cast<uintptr_t>(initial_break) + sysconf(_SC_PAGE_SIZE)); in TEST() 954 long ret = sysconf(option); in VerifySysconf() 959 TEST(UNISTD_TEST, sysconf) { in TEST() argument 990 EXPECT_EQ(sysconf(_SC_IOV_MAX), sysconf(_SC_UIO_MAXIOV)); in TEST() 994 [](long v){return v == sysconf(_SC_PAGESIZE) && errno == 0 && v == getpagesize();}); in TEST() 1111 ASSERT_LE(sysconf(_SC_NPROCESSORS_ONLN), sysconf(_SC_NPROCESSORS_CONF)); in TEST() 1126 ASSERT_EQ(online_cpus, sysconf(_SC_NPROCESSORS_ONLN)); in TEST() 1147 EXPECT_EQ(static_cast<long>(rl.rlim_cur / 4), sysconf(_SC_ARG_MAX)); in TEST() 1154 EXPECT_EQ(static_cast<long>(32 * sysconf(_SC_PAGE_SIZE)), sysconf(_SC_ARG_MAX)); in TEST() [all …]
|
D | sys_mman_test.cpp | 100 size_t pagesize = sysconf(_SC_PAGESIZE); in TEST() 136 size_t pagesize = sysconf(_SC_PAGESIZE); in TEST() 179 size_t pagesize = sysconf(_SC_PAGESIZE); in TEST() 200 size_t pagesize = sysconf(_SC_PAGESIZE); in TEST()
|
D | buffer_tests.cpp | 362 size_t pagesize = static_cast<size_t>(sysconf(_SC_PAGE_SIZE)); in RunSingleBufferOverreadTest() 383 size_t pagesize = static_cast<size_t>(sysconf(_SC_PAGE_SIZE)); in RunSrcDstBufferOverreadTest() 413 size_t pagesize = static_cast<size_t>(sysconf(_SC_PAGE_SIZE)); in RunCmpBufferOverreadTest()
|
D | sys_prctl_test.cpp | 37 size_t page_size = static_cast<size_t>(sysconf(_SC_PAGESIZE)); in TEST()
|
D | leak_test.cpp | 138 const int thread_count = (sysconf(_SC_NPROCESSORS_CONF) > 2) ? 100 : 50; in TEST()
|
D | bionic_allocator_test.cpp | 62 static size_t kPageSize = sysconf(_SC_PAGE_SIZE);
|
D | semaphore_test.cpp | 46 ASSERT_EQ(SEM_VALUE_MAX, sysconf(_SC_SEM_VALUE_MAX)); in TEST()
|
D | grp_pwd_test.cpp | 371 long size = sysconf(_SC_GETPW_R_SIZE_MAX); in TEST() 802 long size = sysconf(_SC_GETGR_R_SIZE_MAX); in TEST()
|
D | string_test.cpp | 180 …glob_ptr = reinterpret_cast<Character*>(memalign(sysconf(_SC_PAGESIZE), 2 * sizeof(Character) * MA… in StringTestState() 181 …glob_ptr1 = reinterpret_cast<Character*>(memalign(sysconf(_SC_PAGESIZE), 2 * sizeof(Character) * M… in StringTestState() 182 …glob_ptr2 = reinterpret_cast<Character*>(memalign(sysconf(_SC_PAGESIZE), 2 * sizeof(Character) * M… in StringTestState()
|
D | malloc_test.cpp | 365 size_t pagesize = sysconf(_SC_PAGESIZE); in TEST() 386 size_t pagesize = sysconf(_SC_PAGESIZE); in TEST()
|
D | pthread_test.cpp | 66 int sysconf_max = sysconf(_SC_THREAD_KEYS_MAX); in TEST() 2874 const auto kPageSize = sysconf(_SC_PAGE_SIZE); in TEST()
|
/bionic/tests/libs/ |
D | heap_tagging_helper.cpp | 69 size_t page_size = static_cast<size_t>(sysconf(_SC_PAGESIZE)); in main()
|
/bionic/libc/include/bits/ |
D | sysconf.h | 193 long sysconf(int __name);
|
/bionic/linker/ |
D | linker_block_allocator_test.cpp | 65 static size_t kPageSize = sysconf(_SC_PAGE_SIZE);
|
/bionic/libc/bionic/ |
D | sysconf.cpp | 49 long sysconf(int name) { in sysconf() function
|
D | ndk_cruft.cpp | 286 return sysconf(_SC_OPEN_MAX); in getdtablesize()
|
/bionic/benchmarks/linker_relocation/gen/ |
D | liblinker_reloc_bench_008.S | 349 CALL(sysconf)
|
D | liblinker_reloc_bench_024.S | 341 CALL(sysconf)
|
D | liblinker_reloc_bench_081.S | 263 CALL(sysconf)
|
D | liblinker_reloc_bench_076.S | 323 CALL(sysconf)
|
D | liblinker_reloc_bench_003.S | 1193 CALL(sysconf)
|
D | liblinker_reloc_bench_095.S | 67 CALL(sysconf)
|
/bionic/tests/headers/posix/ |
D | unistd_h.c | 385 FUNCTION(sysconf, long (*f)(int)); in unistd_h()
|
/bionic/libc/tools/ |
D | posix-2013.txt | 1040 sysconf
|
12