Lines Matching refs:z
21 int i, ierr, *z, *zi, intval; in test1() local
30 PetscCall(PetscMalloc1(2000, &z)); in test1()
40 z[i] = intval; in test1()
61 x[i] = y[z[i]]; in test1()
62 x[1 + i] = y[z[1 + i]]; in test1()
63 x[2 + i] = y[z[2 + i]]; in test1()
64 x[3 + i] = y[z[3 + i]]; in test1()
72 for (i = 0; i < 2000; i++) x[i] = y[z[i]]; in test1()
80 x[i] = y[z[i]]; in test1()
81 x[1 + i] = y[z[1 + i]]; in test1()
89 for (i = 0; i < 2000; i++) x[z[i]] = y[i]; in test1()
96 for (i = 0; i < 2000; i++) x[z[i]] = y[zi[i]]; in test1()
101 PetscCall(PetscArraycpy(z, zi, 10)); in test1()
102 PetscCall(PetscFree(z)); in test1()
114 int i, ierr, z[20000], zi[20000], intval, tmp; in test2() local
127 z[i] = i; in test2()
135 tmp = z[i]; in test2()
136 z[i] = z[intval]; in test2()
137 z[intval] = tmp; in test2()
159 for (i = 0; i < 2000; i++) y[i] = x[z[i]]; in test2()
166 for (i = 0; i < 2000; i++) x[z[i]] = y[i]; in test2()
173 for (i = 0; i < 2000; i++) y[z[i]] = x[zi[i]]; in test2()
184 PetscScalar *x, *y, *z, *a, *b; in BlastCache() local
188 z = y + n; in BlastCache()
189 a = z + n; in BlastCache()
195 z[i] = (PetscScalar)i; in BlastCache()
200 for (i = 0; i < n; i++) a[i] = 3.0 * x[i] + 2.0 * y[i] + 3.3 * z[i] - 25. * b[i]; in BlastCache()
202 for (i = 0; i < n; i++) z[i] = 3.0 * x[i] + 2.0 * y[i] + 3.3 * a[i] - 25. * b[i]; in BlastCache()