Home
last modified time | relevance | path

Searched refs:sysconf (Results 1 – 25 of 38) sorted by relevance

12

/bionic/tests/
Dsys_sysinfo_test.cpp25 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()
Dunistd_test.cpp65 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 …]
Dsys_mman_test.cpp100 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()
Dbuffer_tests.cpp362 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()
Dsys_prctl_test.cpp37 size_t page_size = static_cast<size_t>(sysconf(_SC_PAGESIZE)); in TEST()
Dleak_test.cpp138 const int thread_count = (sysconf(_SC_NPROCESSORS_CONF) > 2) ? 100 : 50; in TEST()
Dbionic_allocator_test.cpp62 static size_t kPageSize = sysconf(_SC_PAGE_SIZE);
Dsemaphore_test.cpp46 ASSERT_EQ(SEM_VALUE_MAX, sysconf(_SC_SEM_VALUE_MAX)); in TEST()
Dgrp_pwd_test.cpp371 long size = sysconf(_SC_GETPW_R_SIZE_MAX); in TEST()
802 long size = sysconf(_SC_GETGR_R_SIZE_MAX); in TEST()
Dstring_test.cpp180 …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()
Dmalloc_test.cpp365 size_t pagesize = sysconf(_SC_PAGESIZE); in TEST()
386 size_t pagesize = sysconf(_SC_PAGESIZE); in TEST()
Dpthread_test.cpp66 int sysconf_max = sysconf(_SC_THREAD_KEYS_MAX); in TEST()
2874 const auto kPageSize = sysconf(_SC_PAGE_SIZE); in TEST()
/bionic/tests/libs/
Dheap_tagging_helper.cpp69 size_t page_size = static_cast<size_t>(sysconf(_SC_PAGESIZE)); in main()
/bionic/libc/include/bits/
Dsysconf.h193 long sysconf(int __name);
/bionic/linker/
Dlinker_block_allocator_test.cpp65 static size_t kPageSize = sysconf(_SC_PAGE_SIZE);
/bionic/libc/bionic/
Dsysconf.cpp49 long sysconf(int name) { in sysconf() function
Dndk_cruft.cpp286 return sysconf(_SC_OPEN_MAX); in getdtablesize()
/bionic/benchmarks/linker_relocation/gen/
Dliblinker_reloc_bench_008.S349 CALL(sysconf)
Dliblinker_reloc_bench_024.S341 CALL(sysconf)
Dliblinker_reloc_bench_081.S263 CALL(sysconf)
Dliblinker_reloc_bench_076.S323 CALL(sysconf)
Dliblinker_reloc_bench_003.S1193 CALL(sysconf)
Dliblinker_reloc_bench_095.S67 CALL(sysconf)
/bionic/tests/headers/posix/
Dunistd_h.c385 FUNCTION(sysconf, long (*f)(int)); in unistd_h()
/bionic/libc/tools/
Dposix-2013.txt1040 sysconf

12