Lines Matching refs:a
58 static int breakLoop(int[] a) { in breakLoop() argument
60 int u = a.length - 1; in breakLoop()
64 a[i] = 1; in breakLoop()
97 static int breakLoopDown(int[] a) { in breakLoopDown() argument
99 int u = a.length - 1; in breakLoopDown()
103 a[i] = 2; in breakLoopDown()
148 static int breakLoopSafeConst(int[] a) { in breakLoopSafeConst() argument
154 a[i - l] = 3; in breakLoopSafeConst()
180 static int breakLoopUnsafeConst(int[] a) { in breakLoopUnsafeConst() argument
186 a[i - l] = 4; in breakLoopUnsafeConst()
214 static int breakLoopNastyPhi(int[] a) { in breakLoopNastyPhi() argument
216 int u = a.length - 1; in breakLoopNastyPhi()
221 a[i] = 5; in breakLoopNastyPhi()
269 static int breakLoopReduction(int[] a) { in breakLoopReduction() argument
271 int u = a.length - 1; in breakLoopReduction()
276 x += a[i]; in breakLoopReduction()
289 int[] a = new int[100]; in main() local
291 expectEquals(99, breakLoop(a)); in main()
292 for (int i = 0; i < a.length; i++) { in main()
293 expectEquals(1, a[i]); in main()
296 expectEquals(0, breakLoopDown(a)); in main()
297 for (int i = 0; i < a.length; i++) { in main()
298 expectEquals(2, a[i]); in main()
301 expectEquals(Integer.MAX_VALUE - 1, breakLoopSafeConst(a)); in main()
302 for (int i = 0; i < a.length; i++) { in main()
304 expectEquals(e, a[i]); in main()
307 expectEquals(Integer.MAX_VALUE, breakLoopUnsafeConst(a)); in main()
308 for (int i = 0; i < a.length; i++) { in main()
310 expectEquals(e, a[i]); in main()
313 expectEquals(98, breakLoopNastyPhi(a)); in main()
314 for (int i = 0; i < a.length; i++) { in main()
315 expectEquals(5, a[i]); in main()
318 expectEquals(500, breakLoopReduction(a)); in main()