Home
last modified time | relevance | path

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

/system/extras/tests/bionic/libc/common/
Dtest_cpu_set.c196 cpu_set_t set0; in main() local
198 test_1(&set0); in main()
199 test_1_s(sizeof(set0), &set0); in main()
211 TEST_INT_EQ((ret = sched_getaffinity(getpid(), sizeof(cpu_set_t), &set0)), 0); in main()
213 CPU_ZERO(&set0); in main()
214 CPU_SET(cpu, &set0); in main()
216 TEST_INT_EQ((ret = sched_setaffinity(getpid(), sizeof(cpu_set_t), &set0)), 0); in main()