Lines Matching refs:a
63 private static void stencil(int[] a, int[] b, int n) { in stencil() argument
65 a[i] = b[i - 1] + b[i] + b[i + 1]; in stencil()
94 private static void stencilAddInt(int[] a, int[] b, int n) { in stencilAddInt() argument
97 a[i] = b[i + minus1] + b[i] + b[i + 1]; in stencilAddInt()
131 private static void stencilSubInt(int[] a, int[] b, int n) { in stencilSubInt() argument
134 a[i] = b[i - plus1] + b[i] + b[i + 1]; in stencilSubInt()
241 int[] a = new int[100]; in testStencil1() local
244 a[i] = 0; in testStencil1()
247 stencil(a, b, 100); in testStencil1()
250 expectEquals(e, a[i]); in testStencil1()
256 int[] a = new int[100]; in testStencil2() local
259 a[i] = 0; in testStencil2()
262 stencilSubInt(a, b, 100); in testStencil2()
265 expectEquals(e, a[i]); in testStencil2()
271 int[] a = new int[100]; in testStencil3() local
274 a[i] = 0; in testStencil3()
277 stencilAddInt(a, b, 100); in testStencil3()
280 expectEquals(e, a[i]); in testStencil3()
286 int[] a = new int[100]; in testTypes() local
290 intVectorLongInvariant(a, l); in testTypes()
292 expectEquals(3, a[i]); in testTypes()
294 longCanBeDoneWithInt(b, a); in testTypes()