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()
69 private static void stencilAddInt(int[] a, int[] b, int n) { in stencilAddInt() argument
76 m.invoke(null, a, b, n); in stencilAddInt()
82 private static void stencilSubInt(int[] a, int[] b, int n) { in stencilSubInt() argument
89 m.invoke(null, a, b, n); in stencilSubInt()
195 int[] b = new int[100]; in testStencil1() local
198 b[i] = i; in testStencil1()
200 stencil(a, b, 100); in testStencil1()
204 expectEquals(i, b[i]); in testStencil1()
210 int[] b = new int[100]; in testStencil2() local
213 b[i] = i; in testStencil2()
215 stencilSubInt(a, b, 100); in testStencil2()
219 expectEquals(i, b[i]); in testStencil2()
225 int[] b = new int[100]; in testStencil3() local
228 b[i] = i; in testStencil3()
230 stencilAddInt(a, b, 100); in testStencil3()
234 expectEquals(i, b[i]); in testStencil3()
240 int[] b = new int[100]; in testTypes() local
247 longCanBeDoneWithInt(b, a); in testTypes()
249 expectEquals(4, b[i]); in testTypes()