HomeSort by relevance Sort by last modified time
    Searched full:sysconf (Results 1 - 25 of 1334) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /bionic/libc/include/sys/
sysconf.h 2 * This file used to contain the declarations of sysconf and its associated constants.
3 * No standard mentions a <sys/sysconf.h>, but there are enough users in vendor (and potential ones
6 #include <bits/sysconf.h>
  /external/strace/tests/
get_page_size.c 10 page_size = sysconf(_SC_PAGESIZE);
  /external/strace/tests-m32/
get_page_size.c 10 page_size = sysconf(_SC_PAGESIZE);
  /external/strace/tests-mx32/
get_page_size.c 10 page_size = sysconf(_SC_PAGESIZE);
  /external/ltp/testcases/kernel/syscalls/ulimit/
README 3 and sysconf(3) instead. For the shell command ulimit, see
  /external/libmojo/base/android/
sys_utils_unittest.cc 15 // Check that the RAM size reported by sysconf() matches the one
18 static_cast<size_t>(sysconf(_SC_PHYS_PAGES) * PAGE_SIZE);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/
5-1.c 27 if (sysconf(_SC_ASYNCHRONOUS_IO) != 200112L ||
28 sysconf(_SC_MONOTONIC_CLOCK) < 200112L)
  /system/extras/tests/pagingtest/
pagingtest.h 7 #define mincore_vec_len(size) (((size) + sysconf(_SC_PAGE_SIZE) - 1) / sysconf(_SC_PAGE_SIZE))
  /bionic/tests/
sys_sysinfo_test.cpp 25 ASSERT_EQ(sysconf(_SC_NPROCESSORS_ONLN), nprocs);
29 ASSERT_EQ(sysconf(_SC_NPROCESSORS_CONF), nprocs_conf);
35 ASSERT_EQ(sysconf(_SC_PHYS_PAGES), phys_pages);
38 ASSERT_GE(phys_pages, sysconf(_SC_AVPHYS_PAGES));
  /external/ltp/testcases/kernel/syscalls/sysconf/
sysconf01.c 21 * http://www.opengroup.org/onlinepubs/009695399/functions/sysconf.html
24 * sysconf01 : test for sysconf( get configurable system variables) sys call.
48 /* make sure we reset this as sysconf() will not */
50 retval = sysconf(name);
54 * The manpage for sysconf(2) specifically states that:
65 tst_resm(TCONF, "Not supported sysconf resource: %s",
157 retval = sysconf(INVAL_FLAG);
161 "sysconf succeeded for invalid flag (%i), "
166 "sysconf correctly failed, but expected "
169 tst_resm(TPASS, "The invalid sysconf key was trapped
    [all...]
  /external/python/cpython3/Lib/test/
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/mmap/
20-1.sh 10 # the page size as returned by sysconf( ), or is considered invalid by the
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/munmap/
10-1.sh 10 # as returned by sysconf( ).
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/
9-1.c 14 * - Using sysconf(), check to see if there is a limit on number of queued
15 * signals that are pending. If there isn't a limit (i.e. sysconf returned
19 * (of SIGTOTEST) equal to the limit that sysconf() returned.
77 syslimit = sysconf(_SC_SIGQUEUE_MAX);
  /external/v8/src/base/
sys-info.cc 41 long result = sysconf(_SC_NPROCESSORS_ONLN); // NOLINT(runtime/int)
89 int64_t result = sysconf(_SC_AIX_REALMEM);
92 long pages = sysconf(_SC_PHYS_PAGES); // NOLINT(runtime/int)
93 long page_size = sysconf(_SC_PAGESIZE); // NOLINT(runtime/int)
  /bionic/libc/bionic/
getpagesize.cpp 31 // Portable code should use sysconf(_SC_PAGE_SIZE) directly instead.
33 // We dont use sysconf(3) here because that drags in stdio, which makes static binaries fat.
  /external/libbrillo/brillo/
userdb_utils.cc 20 ssize_t buf_len = sysconf(_SC_GETPW_R_SIZE_MAX);
39 ssize_t buf_len = sysconf(_SC_GETGR_R_SIZE_MAX);
  /external/ltp/android/include/
bionic-compat.h 24 #define SHMLBA sysconf(_SC_PAGESIZE)
36 return memalign(sysconf(_SC_PAGESIZE), size);
  /external/ltp/testcases/kernel/syscalls/swapon/
libswapon.c 30 if (!tst_fs_has_free(NULL, ".", sysconf(_SC_PAGESIZE) * 10,
38 sysconf(_SC_PAGESIZE), 10) != 0) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_read/
8-1.c 42 if (sysconf(_SC_ASYNCHRONOUS_IO) < 200112L)
45 if (sysconf(_SC_PRIORITIZED_IO) < 200112L)
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_write/
6-1.c 43 if (sysconf(_SC_ASYNCHRONOUS_IO) < 200112L)
46 if (sysconf(_SC_PRIORITIZED_IO) < 200112L)
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mlock/
8-1.c 32 page_size = sysconf(_SC_PAGESIZE);
34 perror("An error occurs when calling sysconf()");
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/munlock/
10-1.c 32 page_size = sysconf(_SC_PAGESIZE);
34 perror("An error occurs when calling sysconf()");
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setstacksize/
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) {
  /external/valgrind/none/tests/linux/
clonev.c 19 long page_size = sysconf(_SC_PAGE_SIZE);
23 long stack_size = sysconf(_SC_THREAD_STACK_MIN) + page_size;

Completed in 1434 milliseconds

1 2 3 4 5 6 7 8 91011>>