Searched refs:CPU_ISSET (Results 1 – 4 of 4) sorted by relevance
/bionic/tests/ |
D | sched_test.cpp | 77 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()
|
D | pty_test.cpp | 130 if (CPU_ISSET(i, &cpus)) { in TEST()
|
D | sys_ptrace_test.cpp | 224 if (!CPU_ISSET(cpu, &available_cpus)) continue; in TEST()
|
/bionic/libc/include/ |
D | sched.h | 83 #define CPU_ISSET(cpu, set) CPU_ISSET_S(cpu, sizeof(cpu_set_t), set) macro
|