Home
last modified time | relevance | path

Searched refs:VerifySysconf (Results 1 – 1 of 1) sorted by relevance

/bionic/tests/
Dunistd_test.cpp804 #define VERIFY_SYSCONF_UNSUPPORTED(name) VerifySysconf(name, #name, [](long v){return v == -1;})
808 VerifySysconf(name, #name, [](long v){return (v > 0 || v == -1);})
811 VerifySysconf(name, #name, [](long v){return v == _POSIX_VERSION;})
813 static void VerifySysconf(int option, const char *option_name, bool (*verify)(long)) { in VerifySysconf() function
846 VerifySysconf(_SC_XOPEN_VERSION, "_SC_XOPEN_VERSION", [](long v){return v == _XOPEN_VERSION;}); in TEST()
851 VerifySysconf(_SC_PAGE_SIZE, "_SC_PAGE_SIZE", in TEST()
856 VerifySysconf(_SC_AIO_PRIO_DELTA_MAX, "_SC_AIO_PRIO_DELTA_MAX", [](long v){return v >= 0;}); in TEST()