Searched refs:CPU_ISSET (Results 1 – 2 of 2) sorted by relevance
/bionic/tests/ |
D | sched_test.cpp | 69 ASSERT_EQ(i == 0 || i == 17, CPU_ISSET(i, &set)); in TEST() 74 ASSERT_FALSE(CPU_ISSET(CPU_SETSIZE, &set)); in TEST() 95 ASSERT_FALSE(CPU_ISSET(i, &set)); in TEST() 106 ASSERT_EQ(i == 0 || i == 1, CPU_ISSET(i, &set)); in TEST() 110 ASSERT_EQ(i == 0, CPU_ISSET(i, &set)); in TEST() 115 ASSERT_FALSE(CPU_ISSET(CPU_SETSIZE, &set)); in TEST() 144 ASSERT_EQ(i == 0, CPU_ISSET(i, &set3)); in TEST() 149 ASSERT_EQ(i == 1, CPU_ISSET(i, &set3)); in TEST() 154 ASSERT_EQ(i == 0 || i == 1, CPU_ISSET(i, &set3)); in TEST()
|
/bionic/libc/include/ |
D | sched.h | 82 #define CPU_ISSET(cpu, set) CPU_ISSET_S(cpu, sizeof(cpu_set_t), set) macro
|