Home
last modified time | relevance | path

Searched refs:sort_map (Results 1 – 1 of 1) sorted by relevance

/systemd-251/src/shared/
Dformat-table.c145 size_t *sort_map; /* The columns to order rows by, in order of preference. */ member
243 free(t->sort_map); in table_unref()
1159 if (!GREEDY_REALLOC(t->sort_map, MAX(t->n_columns, t->n_sort_map+1))) { in table_set_sort_internal()
1164 t->sort_map[t->n_sort_map++] = column; in table_set_sort_internal()
1331 assert(t->sort_map); in table_data_compare()
1345 d = t->data[*a + t->sort_map[i]]; in table_data_compare()
1346 dd = t->data[*b + t->sort_map[i]]; in table_data_compare()
1350 return t->reverse_map && t->reverse_map[t->sort_map[i]] ? -r : r; in table_data_compare()
2001 if (t->sort_map) { in table_print()
2637 if (t->sort_map) { in table_to_json()