Lines Matching refs:counterwidth
134 int *counterwidth;
136 counterwidth = malloc(values->counters * sizeof(*counterwidth));
137 if (!counterwidth)
138 die("failed to allocate counterwidth array");
142 counterwidth[j] = strlen(values->countername[j]);
154 if (width > counterwidth[j])
155 counterwidth[j] = width;
161 fprintf(fp, " %*s", counterwidth[j], values->countername[j]);
169 counterwidth[j], values->value[i][j]);
172 free(counterwidth);