Lines Matching refs:buf

166       char        buf[PETSC_MAX_PATH_LEN];  in TSMonitor_Cfl()  local
170 PetscCall(PetscGetVersion(buf, sizeof(buf))); in TSMonitor_Cfl()
171 PetscCall(PetscViewerASCIIPrintf(ctx->viewer, "# petsc_version: %s\n", buf)); in TSMonitor_Cfl()
174 PetscCall(PetscGetArchType(buf, sizeof(buf))); in TSMonitor_Cfl()
175 PetscCall(PetscViewerASCIIPrintf(ctx->viewer, "# petsc_arch: %s\n", buf)); in TSMonitor_Cfl()
176 …PetscCheck(strftime(buf, sizeof(buf), "%FT%T%z", localtime(&t)), comm, PETSC_ERR_SYS, "strftime() … in TSMonitor_Cfl()
177 PetscCall(PetscViewerASCIIPrintf(ctx->viewer, "# date: %s\n", buf)); in TSMonitor_Cfl()
178 …PetscCheck(strftime(buf, sizeof(buf), "%Z", localtime(&t)), comm, PETSC_ERR_SYS, "strftime() call … in TSMonitor_Cfl()
179 PetscCall(PetscViewerASCIIPrintf(ctx->viewer, "# date_timezone: %s\n", buf)); in TSMonitor_Cfl()
180 PetscCall(PetscGetUserName(buf, sizeof(buf))); in TSMonitor_Cfl()
181 PetscCall(PetscViewerASCIIPrintf(ctx->viewer, "# username: %s\n", buf)); in TSMonitor_Cfl()
182 PetscCall(PetscGetHostName(buf, sizeof(buf))); in TSMonitor_Cfl()
183 PetscCall(PetscViewerASCIIPrintf(ctx->viewer, "# hostname: %s\n", buf)); in TSMonitor_Cfl()
184 PetscCall(PetscGetWorkingDirectory(buf, sizeof(buf))); in TSMonitor_Cfl()
185 PetscCall(PetscViewerASCIIPrintf(ctx->viewer, "# working_directory: %s\n", buf)); in TSMonitor_Cfl()
188 PetscCall(PetscGetFullPath(buf_const, buf, sizeof(buf))); in TSMonitor_Cfl()
189 PetscCall(PetscViewerASCIIPrintf(ctx->viewer, "# original_file_path: %s\n", buf)); in TSMonitor_Cfl()