Lines Matching refs:result

35     int result = 0;  in linear()  local
37 result += x[i]; in linear()
39 return result; in linear()
49 int result = 0; in linearDown() local
51 result += x[i]; in linearDown()
53 return result; in linearDown()
63 int result = 0; in linearObscure() local
66 result += x[k - 5]; in linearObscure()
68 return result; in linearObscure()
78 int result = 0; in linearVeryObscure() local
81 result += x[k - 5]; in linearVeryObscure()
83 return result; in linearVeryObscure()
93 int result = 0; in hiddenStride() local
97 result += a[j]; in hiddenStride()
100 return result; in hiddenStride()
111 int result = 0; in linearWhile() local
113 result += x[i++]; in linearWhile()
115 return result; in linearWhile()
125 int result = 0; in linearThreeWayPhi() local
131 result += x[i++]; in linearThreeWayPhi()
133 return result; in linearThreeWayPhi()
143 int result = 0; in linearFourWayPhi() local
150 result += 7; in linearFourWayPhi()
153 result += x[i++]; in linearFourWayPhi()
155 return result; in linearFourWayPhi()
167 int result = 0; in wrapAroundThenLinear() local
169 result += x[w]; in wrapAroundThenLinear()
172 return result; in wrapAroundThenLinear()
184 int result = 0; in wrapAroundThenLinearThreeWayPhi() local
190 result += x[w]; in wrapAroundThenLinearThreeWayPhi()
193 return result; in wrapAroundThenLinearThreeWayPhi()
234 int result = 0; in linearByTwo() local
237 result += x[ii]; in linearByTwo()
238 result += x[ii + 1]; in linearByTwo()
240 return result; in linearByTwo()
250 int result = 0; in linearByTwoSkip1() local
252 result += x[2 * i]; in linearByTwoSkip1()
254 return result; in linearByTwoSkip1()
266 int result = 0; in linearByTwoSkip2() local
269 result += x[i]; in linearByTwoSkip2()
271 return result; in linearByTwoSkip2()
282 int result = 0; in linearWithCompoundStride() local
285 result += x[i]; in linearWithCompoundStride()
288 return result; in linearWithCompoundStride()
299 int result = 0; in linearWithLargePositiveStride() local
304 result += x[k++]; in linearWithLargePositiveStride()
306 return result; in linearWithLargePositiveStride()
319 int result = 0; in linearWithVeryLargePositiveStride() local
324 result += x[k++]; in linearWithVeryLargePositiveStride()
326 return result; in linearWithVeryLargePositiveStride()
337 int result = 0; in linearWithLargeNegativeStride() local
342 result += x[k++]; in linearWithLargeNegativeStride()
344 return result; in linearWithLargeNegativeStride()
357 int result = 0; in linearWithVeryLargeNegativeStride() local
362 result += x[k++]; in linearWithVeryLargeNegativeStride()
364 return result; in linearWithVeryLargeNegativeStride()
375 int result = 0; in linearForNEUp() local
377 result += x[i]; in linearForNEUp()
379 return result; in linearForNEUp()
390 int result = 0; in linearForNEDown() local
392 result += x[i]; in linearForNEDown()
394 return result; in linearForNEDown()
404 int result = 0; in linearForNEArrayLengthUp() local
406 result += x[i]; in linearForNEArrayLengthUp()
408 return result; in linearForNEArrayLengthUp()
418 int result = 0; in linearForNEArrayLengthDown() local
420 result += x[i]; in linearForNEArrayLengthDown()
422 return result; in linearForNEArrayLengthDown()
433 int result = 0; in linearDoWhileUp() local
436 result += x[i++]; in linearDoWhileUp()
438 return result; in linearDoWhileUp()
449 int result = 0; in linearDoWhileDown() local
452 result += x[i--]; in linearDoWhileDown()
454 return result; in linearDoWhileDown()
465 int result = 0; in linearLong() local
469 result += x[(int)i]; in linearLong()
471 return result; in linearLong()
481 int result = 0; in linearLongAlt() local
485 result += x[(int)i]; in linearLongAlt()
487 return result; in linearLongAlt()
498 int result = 0; in linearShort() local
501 result += x[i]; in linearShort()
503 return result; in linearShort()
514 int result = 0; in linearChar() local
517 result += x[i]; in linearChar()
519 return result; in linearChar()
530 int result = 0; in linearByte() local
533 result += x[i]; in linearByte()
535 return result; in linearByte()
545 int result = 0; in invariantFromPreLoop() local
554 result += x[i]; in invariantFromPreLoop()
556 return result; in invariantFromPreLoop()
817 private static void expectEquals(int expected, int result) { in expectEquals() argument
818 if (expected != result) { in expectEquals()
819 throw new Error("Expected: " + expected + ", found: " + result); in expectEquals()