/third_party/musl/libc-test/src/functionalext/supplement/conf/conf_gtest/ |
D | conf_sysconf_test.cpp | 22 int result = sysconf(_SC_TRACE_USER_EVENT_MAX); 34 int pthreadKeyMax = sysconf(_SC_THREAD_KEYS_MAX); 46 int result = sysconf(_SC_CLK_TCK); 58 int result = sysconf(_SC_TZNAME_MAX); 70 int result = sysconf(_SC_PRIORITY_SCHEDULING); 82 int result = sysconf(_SC_SIGQUEUE_MAX); 94 int result = sysconf(_SC_PAGE_SIZE); 107 int result = sysconf(_SC_SEM_NSEMS_MAX); 120 int result = sysconf(_SC_COLL_WEIGHTS_MAX); 133 int result = sysconf(_SC_NPROCESSORS_CONF);
|
/third_party/musl/src/conf/ |
D | legacy.c | 6 return sysconf(_SC_NPROCESSORS_CONF); in get_nprocs_conf() 11 return sysconf(_SC_NPROCESSORS_ONLN); in get_nprocs() 16 return sysconf(_SC_PHYS_PAGES); in get_phys_pages() 21 return sysconf(_SC_AVPHYS_PAGES); in get_avphys_pages()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/ |
D | 16-1.c | 82 ret = ftruncate(fd_s, sysconf(_SC_PAGESIZE)); in main() 88 ret = ftruncate(fd_ns, sysconf(_SC_PAGESIZE)); in main() 96 mmap(NULL, sysconf(_SC_PAGESIZE), PROT_READ | PROT_WRITE, in main() 104 mmap(NULL, sysconf(_SC_PAGESIZE), PROT_READ | PROT_WRITE, in main()
|
D | 8-1.c | 81 } while ((cur_time - st_time) < sysconf(_SC_CLK_TCK)); in main() 90 sysconf(_SC_CLK_TCK)); in main() 108 sysconf(_SC_CLK_TCK)) in main()
|
/third_party/node/deps/v8/src/base/ |
D | sys-info.cc | 49 long result = sysconf(_SC_NPROCESSORS_ONLN); // NOLINT(runtime/int) in NumberOfProcessors() 99 int64_t result = sysconf(_SC_AIX_REALMEM); in AmountOfPhysicalMemory() 102 long pages = sysconf(_SC_PHYS_PAGES); // NOLINT(runtime/int) in AmountOfPhysicalMemory() 103 long page_size = sysconf(_SC_PAGESIZE); // NOLINT(runtime/int) in AmountOfPhysicalMemory()
|
/third_party/musl/libc-test/src/functionalext/supplement/sched/ |
D | __sched_cpucount.c | 35 num_cpus = sysconf(_SC_NPROCESSORS_CONF); in __sched_cpucount_0100() 61 num_cpus = sysconf(_SC_NPROCESSORS_CONF); in __sched_cpucount_0200() 87 num_cpus = sysconf(_SC_NPROCESSORS_CONF); in __sched_cpucount_0300()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/getpid/ |
D | 1-1.c | 101 mf = sysconf(_SC_MAPPED_FILES); in main() 133 ret = ftruncate(fd, sysconf(_SC_PAGESIZE)); in main() 140 mmap(NULL, sysconf(_SC_PAGESIZE), PROT_READ | PROT_WRITE, in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/ |
D | 5-1.c | 26 if (sysconf(_SC_ASYNCHRONOUS_IO) != 200112L || in main() 27 sysconf(_SC_MONOTONIC_CLOCK) < 200112L) in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/ |
D | 1-2.c | 268 min_stack = sysconf(_SC_THREAD_STACK_MIN); in children_number() 323 pshared = sysconf(_SC_THREAD_PROCESS_SHARED); in main() 324 cs = sysconf(_SC_CLOCK_SELECTION); in main() 325 monotonic = sysconf(_SC_MONOTONIC_CLOCK); in main() 326 mf = sysconf(_SC_MAPPED_FILES); in main() 382 ps = (size_t) sysconf(_SC_PAGESIZE); in main() 415 ret = pthread_attr_setstacksize(&ta, sysconf(_SC_THREAD_STACK_MIN)); in main()
|
D | 2-3.c | 265 pshared = sysconf(_SC_THREAD_PROCESS_SHARED); in main() 266 cs = sysconf(_SC_CLOCK_SELECTION); in main() 267 monotonic = sysconf(_SC_MONOTONIC_CLOCK); in main() 268 mf = sysconf(_SC_MAPPED_FILES); in main() 317 ps = (size_t) sysconf(_SC_PAGESIZE); in main() 347 ret = pthread_attr_setstacksize(&ta, sysconf(_SC_THREAD_STACK_MIN)); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_wait/ |
D | stress1.c | 389 pshared = sysconf(_SC_THREAD_PROCESS_SHARED); in main() 390 cs = sysconf(_SC_CLOCK_SELECTION); in main() 391 monotonic = sysconf(_SC_MONOTONIC_CLOCK); in main() 392 mf = sysconf(_SC_MAPPED_FILES); in main() 449 ps = (size_t) sysconf(_SC_PAGESIZE); in main() 619 ret = pthread_attr_setstacksize(&ta, sysconf(_SC_THREAD_STACK_MIN)); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/ |
D | stress1.c | 395 pshared = sysconf(_SC_THREAD_PROCESS_SHARED); in main() 396 cs = sysconf(_SC_CLOCK_SELECTION); in main() 397 monotonic = sysconf(_SC_MONOTONIC_CLOCK); in main() 398 mf = sysconf(_SC_MAPPED_FILES); in main() 455 ps = (size_t) sysconf(_SC_PAGESIZE); in main() 625 ret = pthread_attr_setstacksize(&ta, sysconf(_SC_THREAD_STACK_MIN)); in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/conf/ |
D | sysconf.c | 27 long result = sysconf(_SC_CHILD_MAX); in sysconf_0100() 40 long result = sysconf(_SC_OPEN_MAX); in sysconf_0200()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_read/ |
D | 8-1.c | 41 if (sysconf(_SC_ASYNCHRONOUS_IO) < 200112L) in main() 44 if (sysconf(_SC_PRIORITIZED_IO) < 200112L) in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_write/ |
D | 6-1.c | 42 if (sysconf(_SC_ASYNCHRONOUS_IO) < 200112L) in main() 45 if (sysconf(_SC_PRIORITIZED_IO) < 200112L) in main()
|
/third_party/musl/libc-test/src/gwp_asan/ |
D | buffer_overflow.c | 47 char *ptr = (char *)malloc(sysconf(_SC_PAGE_SIZE)); in main() 51 char c = *(ptr + sysconf(_SC_PAGE_SIZE) + 1); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/ |
D | 2-2.c | 274 pshared = sysconf(_SC_THREAD_PROCESS_SHARED); in main() 275 cs = sysconf(_SC_CLOCK_SELECTION); in main() 276 monotonic = sysconf(_SC_MONOTONIC_CLOCK); in main() 277 mf = sysconf(_SC_MAPPED_FILES); in main() 334 sz = (size_t) sysconf(_SC_PAGESIZE); in main()
|
/third_party/ltp/testcases/lib/ |
D | tst_getconf.c | 40 printf("%ld\n", sysconf(_SC_NPROCESSORS_ONLN)); in main() 43 printf("%ld\n", sysconf(_SC_PAGE_SIZE)); in main()
|
/third_party/python/Lib/test/ |
D | memory_watchdog.py | 14 page_size = os.sysconf('SC_PAGESIZE') 17 page_size = os.sysconf('SC_PAGE_SIZE')
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/ |
D | 2-7.c | 267 pshared = sysconf(_SC_THREAD_PROCESS_SHARED); in main() 268 cs = sysconf(_SC_CLOCK_SELECTION); in main() 269 monotonic = sysconf(_SC_MONOTONIC_CLOCK); in main() 270 mf = sysconf(_SC_MAPPED_FILES); in main() 326 sz = (size_t) sysconf(_SC_PAGESIZE); in main()
|
D | 2-4.c | 258 pshared = sysconf(_SC_THREAD_PROCESS_SHARED); in main() 259 cs = sysconf(_SC_CLOCK_SELECTION); in main() 260 monotonic = sysconf(_SC_MONOTONIC_CLOCK); in main() 261 mf = sysconf(_SC_MAPPED_FILES); in main() 318 sz = (size_t) sysconf(_SC_PAGESIZE); in main()
|
D | 4-2.c | 212 pshared = sysconf(_SC_THREAD_PROCESS_SHARED); in main() 213 cs = sysconf(_SC_CLOCK_SELECTION); in main() 214 monotonic = sysconf(_SC_MONOTONIC_CLOCK); in main() 215 mf = sysconf(_SC_MAPPED_FILES); in main() 273 sz = (size_t) sysconf(_SC_PAGESIZE); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_exit/ |
D | threads_scenarii.c | 149 pagesize = sysconf(_SC_PAGESIZE); in scenar_init() 150 minstacksize = sysconf(_SC_THREAD_STACK_MIN); in scenar_init() 151 tsa = sysconf(_SC_THREAD_ATTR_STACKADDR); in scenar_init() 152 tss = sysconf(_SC_THREAD_ATTR_STACKSIZE); in scenar_init() 153 tps = sysconf(_SC_THREAD_PRIORITY_SCHEDULING); in scenar_init()
|
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_self/ |
D | threads_scenarii.c | 216 pagesize = sysconf(_SC_PAGESIZE); in scenar_init() 217 minstacksize = sysconf(_SC_THREAD_STACK_MIN); in scenar_init() 218 tsa = sysconf(_SC_THREAD_ATTR_STACKADDR); in scenar_init() 219 tss = sysconf(_SC_THREAD_ATTR_STACKSIZE); in scenar_init() 220 tps = sysconf(_SC_THREAD_PRIORITY_SCHEDULING); in scenar_init()
|
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_create/ |
D | threads_scenarii.c | 149 pagesize = sysconf(_SC_PAGESIZE); in scenar_init() 150 minstacksize = sysconf(_SC_THREAD_STACK_MIN); in scenar_init() 151 tsa = sysconf(_SC_THREAD_ATTR_STACKADDR); in scenar_init() 152 tss = sysconf(_SC_THREAD_ATTR_STACKSIZE); in scenar_init() 153 tps = sysconf(_SC_THREAD_PRIORITY_SCHEDULING); in scenar_init()
|