/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/ |
D | 16-1.c | 84 ret = ftruncate(fd_s, sysconf(_SC_PAGESIZE)); in main() 90 ret = ftruncate(fd_ns, sysconf(_SC_PAGESIZE)); in main() 98 mmap(NULL, sysconf(_SC_PAGESIZE), PROT_READ | PROT_WRITE, in main() 106 mmap(NULL, sysconf(_SC_PAGESIZE), PROT_READ | PROT_WRITE, in main()
|
D | 8-1.c | 84 } while ((cur_time - st_time) < sysconf(_SC_CLK_TCK)); in main() 93 sysconf(_SC_CLK_TCK)); in main() 111 sysconf(_SC_CLK_TCK)) in main()
|
/external/webrtc/webrtc/base/ |
D | systeminfo.cc | 70 number_of_cores = static_cast<int>(sysconf(_SC_NPROCESSORS_ONLN)); in DetectNumberOfCores() 183 memory = static_cast<int64_t>(sysconf(_SC_PHYS_PAGES)) * in GetMemorySize() 184 static_cast<int64_t>(sysconf(_SC_PAGESIZE)); in GetMemorySize() 187 << "sysconf(_SC_PHYS_PAGES) " << sysconf(_SC_PHYS_PAGES) in GetMemorySize() 188 << "sysconf(_SC_PAGESIZE) " << sysconf(_SC_PAGESIZE); in GetMemorySize()
|
/external/v8/src/base/ |
D | sys-info.cc | 41 long result = sysconf(_SC_NPROCESSORS_ONLN); // NOLINT(runtime/int) in NumberOfProcessors() 89 int64_t result = sysconf(_SC_AIX_REALMEM); in AmountOfPhysicalMemory() 92 long pages = sysconf(_SC_PHYS_PAGES); // NOLINT(runtime/int) in AmountOfPhysicalMemory() 93 long page_size = sysconf(_SC_PAGESIZE); // NOLINT(runtime/int) in AmountOfPhysicalMemory()
|
/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_suspend/ |
D | 5-1.c | 27 if (sysconf(_SC_ASYNCHRONOUS_IO) != 200112L || in main() 28 sysconf(_SC_MONOTONIC_CLOCK) < 200112L) in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_read/ |
D | 8-1.c | 42 if (sysconf(_SC_ASYNCHRONOUS_IO) < 200112L) in main() 45 if (sysconf(_SC_PRIORITIZED_IO) < 200112L) in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/ |
D | 1-2.c | 272 min_stack = sysconf(_SC_THREAD_STACK_MIN); in children_number() 327 pshared = sysconf(_SC_THREAD_PROCESS_SHARED); in main() 328 cs = sysconf(_SC_CLOCK_SELECTION); in main() 329 monotonic = sysconf(_SC_MONOTONIC_CLOCK); in main() 330 mf = sysconf(_SC_MAPPED_FILES); in main() 386 ps = (size_t) sysconf(_SC_PAGESIZE); in main() 419 ret = pthread_attr_setstacksize(&ta, sysconf(_SC_THREAD_STACK_MIN)); in main()
|
D | 2-3.c | 271 pshared = sysconf(_SC_THREAD_PROCESS_SHARED); in main() 272 cs = sysconf(_SC_CLOCK_SELECTION); in main() 273 monotonic = sysconf(_SC_MONOTONIC_CLOCK); in main() 274 mf = sysconf(_SC_MAPPED_FILES); in main() 323 ps = (size_t) sysconf(_SC_PAGESIZE); in main() 353 ret = pthread_attr_setstacksize(&ta, sysconf(_SC_THREAD_STACK_MIN)); in main()
|
/external/ltp/testcases/kernel/syscalls/swapon/ |
D | libswapon.c | 30 if (!tst_fs_has_free(NULL, ".", sysconf(_SC_PAGESIZE) * 10, in make_swapfile() 38 sysconf(_SC_PAGESIZE), 10) != 0) { in make_swapfile()
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_wait/ |
D | stress1.c | 397 pshared = sysconf(_SC_THREAD_PROCESS_SHARED); in main() 398 cs = sysconf(_SC_CLOCK_SELECTION); in main() 399 monotonic = sysconf(_SC_MONOTONIC_CLOCK); in main() 400 mf = sysconf(_SC_MAPPED_FILES); in main() 457 ps = (size_t) sysconf(_SC_PAGESIZE); in main() 627 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 | 412 pshared = sysconf(_SC_THREAD_PROCESS_SHARED); in main() 413 cs = sysconf(_SC_CLOCK_SELECTION); in main() 414 monotonic = sysconf(_SC_MONOTONIC_CLOCK); in main() 415 mf = sysconf(_SC_MAPPED_FILES); in main() 472 ps = (size_t) sysconf(_SC_PAGESIZE); in main() 642 ret = pthread_attr_setstacksize(&ta, sysconf(_SC_THREAD_STACK_MIN)); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_write/ |
D | 6-1.c | 43 if (sysconf(_SC_ASYNCHRONOUS_IO) < 200112L) in main() 46 if (sysconf(_SC_PRIORITIZED_IO) < 200112L) in main()
|
/external/deqp/framework/delibs/dethread/unix/ |
D | deThreadUnix.c | 180 const long count = sysconf(_SC_NPROCESSORS_ONLN); in deGetNumAvailableLogicalCores() 197 const long count = sysconf(_SC_NPROCESSORS_ONLN); in deGetNumAvailableLogicalCores() 213 const long count = sysconf(_SC_NPROCESSORS_CONF); in deGetNumTotalLogicalCores()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/ |
D | 2-2.c | 279 pshared = sysconf(_SC_THREAD_PROCESS_SHARED); in main() 280 cs = sysconf(_SC_CLOCK_SELECTION); in main() 281 monotonic = sysconf(_SC_MONOTONIC_CLOCK); in main() 282 mf = sysconf(_SC_MAPPED_FILES); in main() 339 sz = (size_t) sysconf(_SC_PAGESIZE); in main()
|
/external/ltp/android/include/ |
D | bionic-compat.h | 23 #define SHMLBA sysconf(_SC_PAGESIZE) 35 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/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/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/ |
D | 2-7.c | 272 pshared = sysconf(_SC_THREAD_PROCESS_SHARED); in main() 273 cs = sysconf(_SC_CLOCK_SELECTION); in main() 274 monotonic = sysconf(_SC_MONOTONIC_CLOCK); in main() 275 mf = sysconf(_SC_MAPPED_FILES); in main() 331 sz = (size_t) sysconf(_SC_PAGESIZE); in main()
|
D | 4-2.c | 221 pshared = sysconf(_SC_THREAD_PROCESS_SHARED); in main() 222 cs = sysconf(_SC_CLOCK_SELECTION); in main() 223 monotonic = sysconf(_SC_MONOTONIC_CLOCK); in main() 224 mf = sysconf(_SC_MAPPED_FILES); in main() 282 sz = (size_t) sysconf(_SC_PAGESIZE); in main()
|
D | 2-4.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() 325 sz = (size_t) sysconf(_SC_PAGESIZE); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/testfrmw/ |
D | threads_scenarii.c | 202 pagesize = sysconf(_SC_PAGESIZE); in scenar_init() 203 minstacksize = sysconf(_SC_THREAD_STACK_MIN); in scenar_init() 204 tsa = sysconf(_SC_THREAD_ATTR_STACKADDR); in scenar_init() 205 tss = sysconf(_SC_THREAD_ATTR_STACKSIZE); in scenar_init() 206 tps = sysconf(_SC_THREAD_PRIORITY_SCHEDULING); in scenar_init()
|
/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/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()
|