Searched refs:countused (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/sys/fileio/ |
| H A D | mprint.c | 408 PetscErrorCode PetscSNPrintfCount(char str[], size_t len, const char format[], size_t *countused, .… in PetscSNPrintfCount() argument 413 va_start(Argp, countused); in PetscSNPrintfCount() 414 PetscCall(PetscVSNPrintf(str, len, format, countused, Argp)); in PetscSNPrintfCount()
|
| /petsc/src/ts/tutorials/ |
| H A D | ex18.c | 956 size_t countused, len; in MonitorFunctionals() local 968 …nt(p, sizeof buffer - (p - buffer), "%12s [%12.6g,%12.6g] int %12.6g", &countused, func->name, (do… in MonitorFunctionals() 969 countused += p - buffer; in MonitorFunctionals() 971 if (countused > ftablealloc - ftableused - 1) { in MonitorFunctionals() 974 ftablealloc = 2 * ftablealloc + countused; in MonitorFunctionals() 980 PetscCall(PetscArraycpy(ftable + ftableused, buffer, countused)); in MonitorFunctionals() 981 ftableused += countused; in MonitorFunctionals()
|
| H A D | ex11.c | 1022 size_t countused; in MonitorVTK() local 1036 …nt(p, sizeof buffer - (p - buffer), "%12s [%10.7g,%10.7g] int %10.7g", &countused, flink->name, (d… in MonitorVTK() 1037 countused--; in MonitorVTK() 1038 countused += p - buffer; in MonitorVTK() 1039 if (countused > ftablealloc - ftableused - 1) { /* reallocate */ in MonitorVTK() 1041 ftablealloc = 2 * ftablealloc + countused; in MonitorVTK() 1047 PetscCall(PetscArraycpy(ftable + ftableused, buffer, countused)); in MonitorVTK() 1048 ftableused += countused; in MonitorVTK()
|