Lines Matching defs:K
32 Kind K;
35 NoUnguardedFieldsTest(Kind K) : K(K) {
36 switch (K) {
47 assert(K == Kind::A);
52 assert(K == Kind::V);
71 Kind K;
74 NoUngardedFieldsNoReturnFuncCalledTest(Kind K) : K(K) {
75 switch (K) {
112 Kind K;
115 NoUnguardedFieldsWithUndefMethodTest(Kind K) : K(K) {
116 switch (K) {
127 assert(K == Kind::A);
132 assert(K == Kind::V);
157 Kind K;
160 UnguardedFieldThroughMethodTest(Kind K) : K(K) {
161 switch (K) {
172 assert(K == Kind::A);
195 Kind K;
198 UnguardedPublicFieldsTest(Kind K) : K(K) {
199 switch (K) {
210 assert(K == Kind::A);
215 assert(K == Kind::V);
237 Kind K;
240 UnguardedFalseNegativeTest1(Kind K) : K(K) {
241 switch (K) {
253 assert(K == Kind::A);
259 assert(K == Kind::V);
277 Kind K;
280 UnguardedFalseNegativeTest2(Kind K) : K(K) {
281 switch (K) {
324 Kind K;
327 IfGuardedFieldsTest(Kind K) : K(K) {
328 switch (K) {
339 if (K != Kind::A)
345 if (K != Kind::V)
365 Kind K;
368 SwitchGuardedFieldsTest(Kind K) : K(K) {
369 switch (K) {
380 switch (K) {
389 switch (K) {
412 Kind K;
415 ConditionalOperatorGuardedFieldsTest(Kind K) : K(K) {
416 switch (K) {
427 return K == Kind::A ? Area : -1;
431 return K == Kind::V ? Volume : -1;