/external/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()
|
/external/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()
|
/external/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()
|
/external/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()
|
/external/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()
|
/external/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()
|
/external/igt-gpu-tools/lib/ |
D | intel_os.c | 76 pagesize = sysconf(_SC_PAGESIZE); in intel_get_total_ram_mb() 77 npages = sysconf(_SC_PHYS_PAGES); in intel_get_total_ram_mb() 147 pagesize = sysconf(_SC_PAGESIZE); in intel_get_avail_ram_mb() 148 npages = sysconf(_SC_AVPHYS_PAGES); in intel_get_avail_ram_mb() 176 long pagesize = sysconf(_SC_PAGESIZE); in intel_get_total_swap_mb()
|
/external/python/cpython3/Lib/test/ |
D | memory_watchdog.py | 14 page_size = os.sysconf('SC_PAGESIZE') 17 page_size = os.sysconf('SC_PAGE_SIZE')
|
/external/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()
|
/external/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()
|
/external/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()
|
/external/ltp/android/include/ |
D | bionic-compat.h | 25 #define SHMLBA sysconf(_SC_PAGESIZE) 48 return memalign(sysconf(_SC_PAGESIZE), size); in valloc()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setstacksize/ |
D | 4-1.c | 29 #define STACKSIZE PTHREAD_STACK_MIN - sysconf(_SC_PAGE_SIZE) 53 if (posix_memalign(&saddr, sysconf(_SC_PAGE_SIZE), stack_size) != 0) { in main()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | mkl_cpu_allocator_test.cc | 39 (uint64)sysconf(_SC_PHYS_PAGES) * (uint64)sysconf(_SC_PAGESIZE); in TEST()
|
/external/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()
|
/external/linux-kselftest/tools/testing/selftests/vm/ |
D | transhuge-stress.c | 67 ram = sysconf(_SC_PHYS_PAGES); in main() 68 if (ram > SIZE_MAX / sysconf(_SC_PAGESIZE) / 4) in main() 71 ram *= sysconf(_SC_PAGESIZE); in main()
|
/external/deqp/framework/delibs/dethread/unix/ |
D | deThreadUnix.c | 184 const long count = sysconf(_SC_NPROCESSORS_ONLN); in deGetNumAvailableLogicalCores() 204 const long count = sysconf(_SC_NPROCESSORS_ONLN); in deGetNumAvailableLogicalCores() 220 const long count = sysconf(_SC_NPROCESSORS_CONF); in deGetNumTotalLogicalCores()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setstack/ |
D | 6-1.c | 29 #define STACKSIZE PTHREAD_STACK_MIN - sysconf(_SC_PAGE_SIZE) 62 if (posix_memalign(&stack_addr, sysconf(_SC_PAGE_SIZE), in main()
|
/external/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()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/ |
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 | 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()
|
/external/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()
|
/external/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()
|