Lines Matching refs:iptr
219 PetscInt *companion, *elms, *unique, *iptr; in gsi_check_args() local
261 iptr = elms; in gsi_check_args()
264 while (*iptr != INT_MAX) { in gsi_check_args()
265 if (*iptr++ > *unique++) { in gsi_check_args()
322 iptr = local_reduce[num_local++] = (PetscInt *)malloc(t2 * sizeof(PetscInt)); in gsi_check_args()
325 *iptr++ = i; in gsi_check_args()
328 while (++k < j) *(iptr++) = companion[k]; in gsi_check_args()
329 *iptr = -1; in gsi_check_args()
663 PetscInt *iptr, t1, i_start, nel, *elms; in set_pairwise() local
730 msg_nodes[i] = iptr = (PetscInt *)malloc(sizeof(PetscInt) * (ct + 1)); in set_pairwise()
735 if (PCTFS_ct_bits((char *)tmp_proc_mask, p_mask_size * sizeof(PetscInt))) *iptr++ = j; in set_pairwise()
737 *iptr = -1; in set_pairwise()
1134 PetscInt *iptr, *msg_list, *msg_size, **msg_nodes; in PCTFS_gs_gop_vec_pairwise_plus() local
1145 iptr = pw = gs->pw_elm_list; in PCTFS_gs_gop_vec_pairwise_plus()
1165 while (*iptr >= 0) { in PCTFS_gs_gop_vec_pairwise_plus()
1166 PetscCall(PCTFS_rvec_copy(dptr3, in_vals + *iptr * step, step)); in PCTFS_gs_gop_vec_pairwise_plus()
1168 iptr++; in PCTFS_gs_gop_vec_pairwise_plus()
1172 while ((iptr = *msg_nodes++)) { in PCTFS_gs_gop_vec_pairwise_plus()
1174 while (*iptr >= 0) { in PCTFS_gs_gop_vec_pairwise_plus()
1175 PetscCall(PCTFS_rvec_copy(dptr2, dptr1 + *iptr * step, step)); in PCTFS_gs_gop_vec_pairwise_plus()
1177 iptr++; in PCTFS_gs_gop_vec_pairwise_plus()
1190 while ((iptr = *nodes++)) { in PCTFS_gs_gop_vec_pairwise_plus()
1197 while (*iptr >= 0) { in PCTFS_gs_gop_vec_pairwise_plus()
1199 PetscCallBLAS("BLASaxpy", BLASaxpy_(&dstep, &d1, in2, &i1, dptr1 + *iptr * step, &i1)); in PCTFS_gs_gop_vec_pairwise_plus()
1201 iptr++; in PCTFS_gs_gop_vec_pairwise_plus()
1317 PetscInt *iptr, *msg_list, *msg_size, **msg_nodes; in PCTFS_gs_gop_pairwise_plus_hc() local
1333 iptr = pw = gs->pw_elm_list; in PCTFS_gs_gop_pairwise_plus_hc()
1357 while (*iptr >= 0) *dptr3++ = *(in_vals + *iptr++); in PCTFS_gs_gop_pairwise_plus_hc()
1362 while ((iptr = *msg_nodes++)) { in PCTFS_gs_gop_pairwise_plus_hc()
1365 while (*iptr >= 0) *dptr2++ = *(dptr1 + *iptr++); in PCTFS_gs_gop_pairwise_plus_hc()
1384 while ((iptr = *nodes++)) { in PCTFS_gs_gop_pairwise_plus_hc()
1390 while (*iptr >= 0) *(dptr1 + *iptr++) += *in2++; in PCTFS_gs_gop_pairwise_plus_hc()