Lines Matching refs:sum
31 int sum = 0; in timeAppendStrings() local
34 sum += result.length(); // Make sure the append is not optimized away. in timeAppendStrings()
36 if (sum != count * (s1.length() + s2.length())) { in timeAppendStrings()
44 int sum = 0; in timeAppendLongStrings() local
47 sum += result.length(); // Make sure the append is not optimized away. in timeAppendLongStrings()
49 if (sum != count * (s1.length() + s2.length())) { in timeAppendLongStrings()
57 int sum = 0; in timeAppendStringAndInt() local
60 sum += result.length(); // Make sure the append is not optimized away. in timeAppendStringAndInt()
62 if (sum != count * (s1.length() + Integer.toString(i1).length())) { in timeAppendStringAndInt()
70 int sum = 0; in timeAppendStringAndDouble() local
73 sum += result.length(); // Make sure the append is not optimized away. in timeAppendStringAndDouble()
75 if (sum != count * (s1.length() + Double.toString(d1).length())) { in timeAppendStringAndDouble()
83 int sum = 0; in timeAppendStringAndHugeDouble() local
86 sum += result.length(); // Make sure the append is not optimized away. in timeAppendStringAndHugeDouble()
88 if (sum != count * (s1.length() + Double.toString(d2).length())) { in timeAppendStringAndHugeDouble()
96 int sum = 0; in timeAppendStringAndFloat() local
99 sum += result.length(); // Make sure the append is not optimized away. in timeAppendStringAndFloat()
101 if (sum != count * (s1.length() + Float.toString(f1).length())) { in timeAppendStringAndFloat()
109 int sum = 0; in timeAppendStringAndHugeFloat() local
112 sum += result.length(); // Make sure the append is not optimized away. in timeAppendStringAndHugeFloat()
114 if (sum != count * (s1.length() + Float.toString(f2).length())) { in timeAppendStringAndHugeFloat()
124 int sum = 0; in timeAppendStringDoubleStringAndFloat() local
127 sum += result.length(); // Make sure the append is not optimized away. in timeAppendStringDoubleStringAndFloat()
129 if (sum != count * (s1.length() + in timeAppendStringDoubleStringAndFloat()