Lines Matching refs:i

28   int i;  in simple_loops()  local
31 for (i = 0; i < 100; ++i) { in simple_loops()
35 while (i > 0) in simple_loops()
36 i--; in simple_loops()
39 do {} while (i++ < 75); in simple_loops()
51 for (int i = 0; i < 100; ++i) { in conditionals() local
54 if (i % 2) { in conditionals()
57 if (i) {} in conditionals()
60 } else if (i % 3) { in conditionals()
63 if (i) {} in conditionals()
67 if (i) {} in conditionals()
73 if (1 && i) {} in conditionals()
77 if (0 || i) {} in conditionals()
88 int i = 0; in early_exits() local
92 if (i) {} in early_exits()
96 while (i < 100) { in early_exits()
97 i++; in early_exits()
100 if (i > 50) in early_exits()
104 if (i % 2) in early_exits()
110 if (i) {} in early_exits()
116 if (i > 75) in early_exits()
119 i++; in early_exits()
121 } while (i < 100); in early_exits()
125 if (i) {} in early_exits()
135 int i; in jumps() local
139 for (i = 0; i < 2; ++i) { in jumps()
142 if (i) {} in jumps()
148 if (i) {} in jumps()
154 while (i) { in jumps()
159 if (i) {} in jumps()
169 i++; in jumps()
172 if (i < 3) in jumps()
177 while (i < 3) { in jumps()
182 switch (i) { in jumps()
198 for (i = 0; i < 10; ++i) { in jumps()
201 if (i) {} in jumps()
206 if (i) {} in jumps()
229 for (int i = 0, len = sizeof(weights) / sizeof(weights[0]); i < len; ++i) { in switches() local
232 switch (i[weights]) { in switches()
237 if (i) {} in switches()
243 if (i) {} in switches()
249 if (i) {} in switches()
255 if (i) {} in switches()
258 switch (i) { in switches()
263 if (i) {} in switches()
272 if (i == len - 1) in switches()
292 for (int i = 0; i < 32; ++i) { in big_switch() local
295 switch (1 << i) { in big_switch()
300 if (i) {} in big_switch()
306 if (i) {} in big_switch()
312 if (i) {} in big_switch()
321 if (i) {} in big_switch()
327 if (i) {} in big_switch()
336 if (i) {} in big_switch()
342 if (i) {} in big_switch()
360 for (int i = 0; i < 100; ++i) { in boolean_operators() local
363 v = i % 3 || i; in boolean_operators()
367 v = i % 3 && i; in boolean_operators()
373 v = i % 3 || i % 2 || i; in boolean_operators()
379 v = i % 2 && i % 3 && i; in boolean_operators()
390 int i = 100; in boolop_loops() local
396 while (i && i > 50) in boolop_loops()
397 i--; in boolop_loops()
403 while ((i % 2) || (i > 0)) in boolop_loops()
404 i--; in boolop_loops()
410 for (i = 100; i && i > 50; --i); in boolop_loops()
416 for (; (i % 2) || (i > 0); --i); in boolop_loops()
426 int i = 100; in conditional_operator() local
430 int j = i < 50 ? i : 1; in conditional_operator()
434 int k = i ?: 0; in conditional_operator()
446 for (int i = 0; i < 10; ++i) { in do_fallthrough() local
455 if (i < 8) break; in do_fallthrough()
468 for (int i = 0; i < 10; ++i) { in static_func() local