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()
64 int i = 0; in TEST() local
66 ASSERT_EQ(-1, clone(child_fn, nullptr, CLONE_VM, &i)); in TEST()
76 for (int i = 0; i < CPU_SETSIZE; i++) { in TEST() local
77 ASSERT_EQ(i == 0 || i == 17, CPU_ISSET(i, &set)); in TEST()
102 for (int i = 0; i < CPU_SETSIZE; i++) { in TEST() local
103 ASSERT_FALSE(CPU_ISSET(i, &set)); in TEST()
113 for (int i = 0; i < CPU_SETSIZE; i++) { in TEST() local
114 ASSERT_EQ(i == 0 || i == 1, CPU_ISSET(i, &set)); in TEST()
117 for (int i = 0; i < CPU_SETSIZE; i++) { in TEST() local
118 ASSERT_EQ(i == 0, CPU_ISSET(i, &set)); in TEST()
151 for (int i = 0; i < CPU_SETSIZE; i++) { in TEST() local
152 ASSERT_EQ(i == 0, CPU_ISSET(i, &set3)); in TEST()
156 for (int i = 0; i < CPU_SETSIZE; i++) { in TEST() local
157 ASSERT_EQ(i == 1, CPU_ISSET(i, &set3)); in TEST()
161 for (int i = 0; i < CPU_SETSIZE; i++) { in TEST() local
162 ASSERT_EQ(i == 0 || i == 1, CPU_ISSET(i, &set3)); in TEST()
197 for (int i = 0; i < set_size; i++) { in TEST() local
198 ASSERT_FALSE(CPU_ISSET_S(i, size, set)); in TEST()
199 CPU_SET_S(i, size, set); in TEST()
200 ASSERT_TRUE(CPU_ISSET_S(i, size, set)); in TEST()
201 ASSERT_EQ(i + 1, CPU_COUNT_S(size, set)); in TEST()
204 for (int i = 0; i < set_size; i++) { in TEST() local
205 CPU_CLR_S(i, size, set); in TEST()
206 ASSERT_FALSE(CPU_ISSET_S(i, size, set)); in TEST()
207 ASSERT_EQ(set_size - i - 1, CPU_COUNT_S(size, set)); in TEST()
233 for (int i = 0; i < set_size3; i++) { in TEST() local
234 ASSERT_EQ(i == 0, CPU_ISSET_S(i, size3, set3)); in TEST()
238 for (int i = 0; i < set_size3; i++) { in TEST() local
239 ASSERT_EQ(i == 0 || i == 1, CPU_ISSET_S(i, size3, set3)); in TEST()
243 for (int i = 0; i < set_size3; i++) { in TEST() local
244 ASSERT_EQ(i == 1, CPU_ISSET_S(i, size3, set3)); in TEST()