• Home
  • Raw
  • Download

Lines Matching refs:c

5         int a, b, c, d;  in testIntAddSub()  local
9 c = a + b; in testIntAddSub()
12 if (c <= d) { in testIntAddSub()
13 c = d + 1; in testIntAddSub()
15 return c; in testIntAddSub()
24 int c = b * 4; in testIntMult() local
26 if (c > 10) { in testIntMult()
27 c = c - 10; in testIntMult()
29 return c * 2; in testIntMult()
35 int c = b * 4; in testIntDiv() local
37 if (c > 10) { in testIntDiv()
38 c = c - 10; in testIntDiv()
40 return c * (60 / a); in testIntDiv()
46 int c = a % 0; in testIntMod() local
47 return b + c; in testIntMod()
53 int c = (b == 0) ? 0 : (a / b); in testIntPhi() local
54 return c; in testIntPhi()
59 float a, b, c, d; in testFloatAddSub() local
63 c = a + b; in testFloatAddSub()
66 if (c <= d) { in testFloatAddSub()
67 c = d + 1; in testFloatAddSub()
69 return c; in testFloatAddSub()
78 float c = b * 4; in testFloatMult() local
80 if (c > 10) { in testFloatMult()
81 c = c - 10; in testFloatMult()
83 return c * 2; in testFloatMult()
89 float c = b * 4; in testFloatDiv() local
91 if (c > 10) { in testFloatDiv()
92 c = c - 10; in testFloatDiv()
94 return c * (60 / a); in testFloatDiv()
100 float c = a % 0; in testFloatMod() local
101 return b + c; in testFloatMod()
107 float c = (b == 0) ? 0 : (a / b); in testFloatPhi() local
108 return c; in testFloatPhi()
113 double a, b, c, d; in testDoubleAddSub() local
117 c = a + b; in testDoubleAddSub()
120 if (c <= d) { in testDoubleAddSub()
121 c = d + 1; in testDoubleAddSub()
123 return c; in testDoubleAddSub()
132 double c = b * 4; in testDoubleMult() local
134 if (c > 10) { in testDoubleMult()
135 c = c - 10; in testDoubleMult()
137 return c * 2; in testDoubleMult()
143 double c = b * 4; in testDoubleDiv() local
145 if (c > 10) { in testDoubleDiv()
146 c = c - 10; in testDoubleDiv()
148 return c * (60 / a); in testDoubleDiv()
154 double c = a % 0; in testDoubleMod() local
155 return b + c; in testDoubleMod()
161 double c = (b == 0) ? 0 : (a / b); in testDoublePhi() local
162 return c; in testDoublePhi()