Lines Matching refs:format

572 static PetscErrorCode PetscVFPrintfFortran(int unit, const char format[], va_list Argp)  in PetscVFPrintfFortran()  argument
579 PetscCall(PetscVSNPrintf(str, sizeof(str), format, NULL, Argp)); in PetscVFPrintfFortran()
599 static PetscErrorCode PetscVFPrintfFortran(int unit, const char format[], va_list Argp) in PetscVFPrintfFortran() argument
657 PetscViewerFormat format; in PetscViewerASCIIGetStdout() local
662 …etEnum(NULL, NULL, "-petsc_viewer_stdout_format", PetscViewerFormats, (PetscEnum *)&format, &set)); in PetscViewerASCIIGetStdout()
663 if (set) PetscCall(PetscViewerPushFormat(*viewer, format)); in PetscViewerASCIIGetStdout()
697 PetscErrorCode PetscViewerASCIIPrintf(PetscViewer viewer, const char format[], ...) in PetscViewerASCIIPrintf() argument
708 PetscAssertPointer(format, 2); in PetscViewerASCIIPrintf()
721 va_start(Argp, format); in PetscViewerASCIIPrintf()
722 …PetscCall(PetscVSNPrintf(string + 2 * intab, QUEUESTRINGSIZE - 2 * intab, format, &fullLength, Arg… in PetscViewerASCIIPrintf()
735 va_start(Argp, format); in PetscViewerASCIIPrintf()
736 if (!ascii->fileunit) PetscCall((*PetscVFPrintf)(fd, format, Argp)); in PetscViewerASCIIPrintf()
737 else PetscCall(PetscVFPrintfFortran(ascii->fileunit, format, Argp)); in PetscViewerASCIIPrintf()
906 (*outviewer)->format = viewer->format; in PetscViewerGetSubViewer_ASCII()
1104 PetscErrorCode PetscViewerASCIISynchronizedPrintf(PetscViewer viewer, const char format[], ...) in PetscViewerASCIISynchronizedPrintf() argument
1114 PetscAssertPointer(format, 2); in PetscViewerASCIISynchronizedPrintf()
1129 va_start(Argp, format); in PetscViewerASCIISynchronizedPrintf()
1130 … PetscCall(PetscVSNPrintf(string + 2 * tab, QUEUESTRINGSIZE - 2 * tab, format, &fullLength, Argp)); in PetscViewerASCIISynchronizedPrintf()
1144 va_start(Argp, format); in PetscViewerASCIISynchronizedPrintf()
1145 if (!vascii->fileunit) PetscCall((*PetscVFPrintf)(fp, format, Argp)); in PetscViewerASCIISynchronizedPrintf()
1146 else PetscCall(PetscVFPrintfFortran(vascii->fileunit, format, Argp)); in PetscViewerASCIISynchronizedPrintf()
1150 va_start(Argp, format); in PetscViewerASCIISynchronizedPrintf()
1151 PetscCall((*PetscVFPrintf)(petsc_history, format, Argp)); in PetscViewerASCIISynchronizedPrintf()
1176 va_start(Argp, format); in PetscViewerASCIISynchronizedPrintf()
1177 PetscCall(PetscVSNPrintf(string, next->size - 2 * vascii->tab, format, &fullLength, Argp)); in PetscViewerASCIISynchronizedPrintf()
1186 va_start(Argp, format); in PetscViewerASCIISynchronizedPrintf()
1187 PetscCall(PetscVSNPrintf(string, next->size - 2 * vascii->tab, format, NULL, Argp)); in PetscViewerASCIISynchronizedPrintf()