Lines Matching refs:b
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()
242 int[] b = new int[100]; in testStencil1() local
245 b[i] = i; in testStencil1()
247 stencil(a, b, 100); in testStencil1()
251 expectEquals(i, b[i]); in testStencil1()
257 int[] b = new int[100]; in testStencil2() local
260 b[i] = i; in testStencil2()
262 stencilSubInt(a, b, 100); in testStencil2()
266 expectEquals(i, b[i]); in testStencil2()
272 int[] b = new int[100]; in testStencil3() local
275 b[i] = i; in testStencil3()
277 stencilAddInt(a, b, 100); in testStencil3()
281 expectEquals(i, b[i]); in testStencil3()
287 int[] b = new int[100]; in testTypes() local
294 longCanBeDoneWithInt(b, a); in testTypes()
296 expectEquals(4, b[i]); in testTypes()