Lines Matching defs:stat_defs
648 } stat_defs[] = {
670 for (i = 0; i < ARRAY_SIZE(stat_defs); i++) {
671 struct stat_def *def = &stat_defs[i];
675 for (j = 0; j < ARRAY_SIZE(stat_defs[i].names); j++) {
747 specs->asc[specs->spec_cnt] = has_order ? is_asc : stat_defs[id].asc_by_default;
1280 len = snprintf(NULL, 0, "%s", stat_defs[id].header);
1285 fmt_str = stat_defs[id].left_aligned ? "%s%-*s" : "%s%*s";
1286 printf(fmt_str, i == 0 ? "" : COLUMN_SEP, *max_len, stat_defs[id].header);
1291 printf("%s%s", i == 0 ? "" : ",", stat_defs[id].names[0]);
1574 len = snprintf(NULL, 0, "%s%s", stat_defs[id].header, sfx);
1581 *max_len - (int)strlen(sfx), stat_defs[id].header, sfx);
1587 printf("%s%s%s", i + j == 0 ? "" : ",", stat_defs[id].names[0], sfx);
1804 stat_defs[base_specs.ids[i]].names[0],
1805 stat_defs[comp_specs.ids[i]].names[0]);