Lines Matching refs:p2
137 char *p2; in fdkCallocMatrix2D() local
142 if ((p2 = (char *)fdkCallocMatrix1D(dim1 * dim2, size)) == NULL) { in fdkCallocMatrix2D()
148 p1[i] = p2; in fdkCallocMatrix2D()
149 p2 += dim2 * size; in fdkCallocMatrix2D()
158 char *p2; in fdkCallocMatrix2D_aligned() local
163 if ((p2 = (char *)fdkCallocMatrix1D_aligned(dim1 * dim2, size)) == NULL) { in fdkCallocMatrix2D_aligned()
169 p1[i] = p2; in fdkCallocMatrix2D_aligned()
170 p2 += dim2 * size; in fdkCallocMatrix2D_aligned()
192 char *p2; in fdkCallocMatrix2D_int() local
198 if ((p2 = (char *)fdkCallocMatrix1D_int(dim1 * dim2, size, s)) == NULL) { in fdkCallocMatrix2D_int()
204 p1[i] = p2; in fdkCallocMatrix2D_int()
205 p2 += dim2 * size; in fdkCallocMatrix2D_int()
215 char *p2; in fdkCallocMatrix2D_int_aligned() local
221 if ((p2 = (char *)fdkCallocMatrix1D_int_aligned(dim1 * dim2, size, s)) == in fdkCallocMatrix2D_int_aligned()
228 p1[i] = p2; in fdkCallocMatrix2D_int_aligned()
229 p2 += dim2 * size; in fdkCallocMatrix2D_int_aligned()
239 void **p2; in fdkCallocMatrix3D() local
246 if ((p2 = (void **)fdkCallocMatrix1D(dim1 * dim2, sizeof(void *))) == NULL) { in fdkCallocMatrix3D()
251 p1[0] = p2; in fdkCallocMatrix3D()
254 fdkFreeMatrix1D(p2); in fdkCallocMatrix3D()
256 p2 = NULL; in fdkCallocMatrix3D()
260 p1[i] = p2; in fdkCallocMatrix3D()
262 p2[j] = p3; in fdkCallocMatrix3D()
265 p2 += dim2; in fdkCallocMatrix3D()
282 void **p2; in fdkCallocMatrix3D_int() local
290 if ((p2 = (void **)fdkCallocMatrix1D_int(dim1 * dim2, sizeof(void *), s)) == in fdkCallocMatrix3D_int()
296 p1[0] = p2; in fdkCallocMatrix3D_int()
300 fdkFreeMatrix1D(p2); in fdkCallocMatrix3D_int()
302 p2 = NULL; in fdkCallocMatrix3D_int()
306 p1[i] = p2; in fdkCallocMatrix3D_int()
308 p2[j] = p3; in fdkCallocMatrix3D_int()
311 p2 += dim2; in fdkCallocMatrix3D_int()