Lines Matching refs:n

4 int fallthrough(int n) {  in fallthrough()  argument
5 switch (n / 10) { in fallthrough()
6 if (n - 1) { in fallthrough()
7 n = 100; in fallthrough()
8 } else if (n - 2) { in fallthrough()
9 n = 101; in fallthrough()
10 } else if (n - 3) { in fallthrough()
11 n = 102; in fallthrough()
18 n += 100 ; in fallthrough()
20 if (n > 0) in fallthrough()
21 n += 200; in fallthrough()
23 if (n < 0) in fallthrough()
26 switch (n) { in fallthrough()
35 n += 300; in fallthrough()
41 switch (n / 15) { in fallthrough()
44 n += 333; in fallthrough()
45 if (n % 10) in fallthrough()
49 n += 335; in fallthrough()
52 switch (n / 20) { in fallthrough()
54 n += 400; in fallthrough()
57 n += 800; in fallthrough()
60 if (n % 2 == 0) { in fallthrough()
67 if (n % 3 == 0) { in fallthrough()
68 n %= 3; in fallthrough()
73 n += 800; in fallthrough()
75 switch (n / 30) { in fallthrough()
78 n += 1600; in fallthrough()
80 switch (n / 40) { in fallthrough()
82 if (n % 2 == 0) { in fallthrough()
88 n += 3200; in fallthrough()
90 switch (n / 50) { in fallthrough()
92 if (n % 2 == 0) { in fallthrough()
99 n += 6400; in fallthrough()
106 n += 128000; in fallthrough()
112 return n; in fallthrough()
120 void fallthrough2(int n) { in fallthrough2() argument
121 switch (n) { in fallthrough2()
132 void fallthrough3(int n) { in fallthrough3() argument
133 switch (n) { in fallthrough3()
153 int fallthrough_macro1(int n) { in fallthrough_macro1() argument
154 …MY_SWITCH(n, 13, n *= 2, 14, break) // expected-warning{{unannotated fall-through between switch … in fallthrough_macro1()
156 switch (n + 1) { in fallthrough_macro1()
157 MY_CASE(33, n += 2); in fallthrough_macro1()
159 MY_CASE(55, n += 3); in fallthrough_macro1()
162 switch (n + 3) { in fallthrough_macro1()
164 …MY_CASE2(444, n += 44, 4444, break); // expected-warning{{unannotated fall-through between switch… in fallthrough_macro1()
165 MY_CASE(555, n += 33); in fallthrough_macro1()
168 …MY_SWITCH2(n + 4, MY_CASE(17, n *= 3), MY_CASE(19, break)) // expected-warning{{unannotated fall-… in fallthrough_macro1()
170 …MY_SWITCH2(n + 5, MY_CASE(21, break), MY_CASE2(23, n *= 7, 25, break)) // expected-warning{{unann… in fallthrough_macro1()
172 return n; in fallthrough_macro1()
180 int fallthrough_position(int n) { in fallthrough_position() argument
181 switch (n) { in fallthrough_position()
183 n += 300; in fallthrough_position()
191 n += 400; in fallthrough_position()
196 long p = static_cast<long>(n) * n; in fallthrough_position()
199 n += static_cast<int>(p >> 32); in fallthrough_position()
202 n += static_cast<int>(p); in fallthrough_position()
205 n += 1; in fallthrough_position()
209 return n; in fallthrough_position()
217 int n = 0; in fallthrough_covered_enums() local
220 n += 17; in fallthrough_covered_enums()
223 n += 19; in fallthrough_covered_enums()
226 n += 21; in fallthrough_covered_enums()
229 return n; in fallthrough_covered_enums()
285 int fallthrough_targets(int n) { in fallthrough_targets() argument
289 switch (n) { in fallthrough_targets()
291 n += 400; in fallthrough_targets()
295 n += 800; in fallthrough_targets()
299 n += 1600; in fallthrough_targets()
301 return n; in fallthrough_targets()