Home
last modified time | relevance | path

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

/bionic/tests/
Dsched_test.cpp77 ASSERT_EQ(i == 0 || i == 17, CPU_ISSET(i, &set)); in TEST()
82 ASSERT_FALSE(CPU_ISSET(CPU_SETSIZE, &set)); in TEST()
103 ASSERT_FALSE(CPU_ISSET(i, &set)); in TEST()
114 ASSERT_EQ(i == 0 || i == 1, CPU_ISSET(i, &set)); in TEST()
118 ASSERT_EQ(i == 0, CPU_ISSET(i, &set)); in TEST()
123 ASSERT_FALSE(CPU_ISSET(CPU_SETSIZE, &set)); in TEST()
152 ASSERT_EQ(i == 0, CPU_ISSET(i, &set3)); in TEST()
157 ASSERT_EQ(i == 1, CPU_ISSET(i, &set3)); in TEST()
162 ASSERT_EQ(i == 0 || i == 1, CPU_ISSET(i, &set3)); in TEST()
Dpty_test.cpp130 if (CPU_ISSET(i, &cpus)) { in TEST()
Dsys_ptrace_test.cpp233 if (!CPU_ISSET(cpu, &available_cpus)) continue; in TEST()
/bionic/libc/include/
Dsched.h288 #define CPU_ISSET(cpu, set) CPU_ISSET_S(cpu, sizeof(cpu_set_t), set) macro