Lines Matching refs:i
33 int i = 0; in TEST() local
34 pid_t tid = clone(child_fn, &child_stack[1024], CLONE_VM, &i); in TEST()
39 ASSERT_EQ(42, i); in TEST()
68 for (int i = 0; i < CPU_SETSIZE; i++) { in TEST() local
69 ASSERT_EQ(i == 0 || i == 17, CPU_ISSET(i, &set)); in TEST()
94 for (int i = 0; i < CPU_SETSIZE; i++) { in TEST() local
95 ASSERT_FALSE(CPU_ISSET(i, &set)); in TEST()
105 for (int i = 0; i < CPU_SETSIZE; i++) { in TEST() local
106 ASSERT_EQ(i == 0 || i == 1, CPU_ISSET(i, &set)); in TEST()
109 for (int i = 0; i < CPU_SETSIZE; i++) { in TEST() local
110 ASSERT_EQ(i == 0, CPU_ISSET(i, &set)); in TEST()
143 for (int i = 0; i < CPU_SETSIZE; i++) { in TEST() local
144 ASSERT_EQ(i == 0, CPU_ISSET(i, &set3)); in TEST()
148 for (int i = 0; i < CPU_SETSIZE; i++) { in TEST() local
149 ASSERT_EQ(i == 1, CPU_ISSET(i, &set3)); in TEST()
153 for (int i = 0; i < CPU_SETSIZE; i++) { in TEST() local
154 ASSERT_EQ(i == 0 || i == 1, CPU_ISSET(i, &set3)); in TEST()
189 for (int i = 0; i < set_size; i++) { in TEST() local
190 ASSERT_FALSE(CPU_ISSET_S(i, size, set)); in TEST()
191 CPU_SET_S(i, size, set); in TEST()
192 ASSERT_TRUE(CPU_ISSET_S(i, size, set)); in TEST()
193 ASSERT_EQ(i + 1, CPU_COUNT_S(size, set)); in TEST()
196 for (int i = 0; i < set_size; i++) { in TEST() local
197 CPU_CLR_S(i, size, set); in TEST()
198 ASSERT_FALSE(CPU_ISSET_S(i, size, set)); in TEST()
199 ASSERT_EQ(set_size - i - 1, CPU_COUNT_S(size, set)); in TEST()
225 for (int i = 0; i < set_size3; i++) { in TEST() local
226 ASSERT_EQ(i == 0, CPU_ISSET_S(i, size3, set3)); in TEST()
230 for (int i = 0; i < set_size3; i++) { in TEST() local
231 ASSERT_EQ(i == 0 || i == 1, CPU_ISSET_S(i, size3, set3)); in TEST()
235 for (int i = 0; i < set_size3; i++) { in TEST() local
236 ASSERT_EQ(i == 1, CPU_ISSET_S(i, size3, set3)); in TEST()