Lines Matching refs:loc2_fmt
169 char *loc0_vtype = NULL, *loc1_fname = NULL, *loc2_fmt = NULL, *loc3_fmode = NULL; in PetscOptionsCreateViewers_Single() local
192 PetscCall(PetscStrchr(loc1_fname + (is_daos == PETSC_TRUE ? 5 : 0), ':', &loc2_fmt)); in PetscOptionsCreateViewers_Single()
194 if (loc2_fmt) { in PetscOptionsCreateViewers_Single()
195 *loc2_fmt++ = 0; in PetscOptionsCreateViewers_Single()
196 PetscCall(PetscStrchr(loc2_fmt, ':', &loc3_fmode)); in PetscOptionsCreateViewers_Single()
262 if (loc2_fmt && !*loc1_fname && (cnt == 0)) { /* ASCII format without file name */ in PetscOptionsCreateViewers_Single()
276 if (loc2_fmt) { in PetscOptionsCreateViewers_Single()
281 …PetscCall(PetscViewerDrawSetInfo(*viewer, NULL, loc2_fmt, PETSC_DECIDE, PETSC_DECIDE, PETSC_DECIDE… in PetscOptionsCreateViewers_Single()
282 *loc2_fmt = 0; in PetscOptionsCreateViewers_Single()
293 if (loc2_fmt && *loc2_fmt) { in PetscOptionsCreateViewers_Single()
297 PetscCall(PetscEnumFind(PetscViewerFormats, loc2_fmt, (PetscEnum *)&tfmt, &flag)); in PetscOptionsCreateViewers_Single()
299 PetscCheck(flag, comm, PETSC_ERR_SUP, "Unknown viewer format %s", loc2_fmt); in PetscOptionsCreateViewers_Single()