Lines Matching refs:zi
21 int i, ierr, *z, *zi, intval; in test1() local
31 PetscCall(PetscMalloc1(2000, &zi)); in test1()
46 zi[i] = intval; 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()
103 PetscCall(PetscFree(zi)); in test1()
114 int i, ierr, z[20000], zi[20000], intval, tmp; in test2() local
128 zi[i] = i; in test2()
143 tmp = zi[i]; in test2()
144 zi[i] = zi[intval]; in test2()
145 zi[intval] = tmp; in test2()
173 for (i = 0; i < 2000; i++) y[z[i]] = x[zi[i]]; in test2()