Home | History | Annotate | Download | only in util

Lines Matching full:counterwidth

135 	int *counterwidth;
137 counterwidth = malloc(values->counters * sizeof(*counterwidth));
138 if (!counterwidth)
139 die("failed to allocate counterwidth array");
143 counterwidth[j] = strlen(values->countername[j]);
155 if (width > counterwidth[j])
156 counterwidth[j] = width;
162 fprintf(fp, " %*s", counterwidth[j], values->countername[j]);
170 counterwidth[j], values->value[i][j]);
173 free(counterwidth);