Lines Matching refs:Table
131 struct Table { struct
156 Table *table_new_raw(size_t n_columns) { in table_new_raw() argument
157 _cleanup_(table_unrefp) Table *t = NULL; in table_new_raw()
161 t = new(Table, 1); in table_new_raw()
165 *t = (struct Table) { in table_new_raw()
175 Table *table_new_internal(const char *first_header, ...) { in table_new_internal()
176 _cleanup_(table_unrefp) Table *t = NULL; in table_new_internal()
234 Table *table_unref(Table *t) { in table_unref()
416 Table *t, in table_add_cell_full()
481 int table_add_cell_stringf(Table *t, TableCell **ret_cell, const char *format, ...) { in table_add_cell_stringf()
495 int table_fill_empty(Table *t, size_t until_column) { in table_fill_empty()
516 int table_dup_cell(Table *t, TableCell *cell) { in table_dup_cell()
534 static int table_dedup_cell(Table *t, TableCell *cell) { in table_dedup_cell()
584 static TableData *table_get_data(Table *t, TableCell *cell) { in table_get_data()
602 int table_set_minimum_width(Table *t, TableCell *cell, size_t minimum_width) { in table_set_minimum_width()
619 int table_set_maximum_width(Table *t, TableCell *cell, size_t maximum_width) { in table_set_maximum_width()
633 int table_set_weight(Table *t, TableCell *cell, unsigned weight) { in table_set_weight()
650 int table_set_align_percent(Table *t, TableCell *cell, unsigned percent) { in table_set_align_percent()
669 int table_set_ellipsize_percent(Table *t, TableCell *cell, unsigned percent) { in table_set_ellipsize_percent()
688 int table_set_color(Table *t, TableCell *cell, const char *color) { in table_set_color()
702 int table_set_rgap_color(Table *t, TableCell *cell, const char *color) { in table_set_rgap_color()
716 int table_set_url(Table *t, TableCell *cell, const char *url) { in table_set_url()
736 int table_set_uppercase(Table *t, TableCell *cell, bool b) { in table_set_uppercase()
757 int table_update(Table *t, TableCell *cell, TableDataType type, const void *data) { in table_update()
799 int table_add_many_internal(Table *t, TableDataType first_type, ...) { in table_add_many_internal()
1073 void table_set_header(Table *t, bool b) { in table_set_header()
1079 void table_set_width(Table *t, size_t width) { in table_set_width()
1085 void table_set_cell_height_max(Table *t, size_t height) { in table_set_cell_height_max()
1092 int table_set_empty_string(Table *t, const char *empty) { in table_set_empty_string()
1098 static int table_set_display_all(Table *t) { in table_set_display_all()
1118 int table_set_display_internal(Table *t, size_t first_column, ...) { in table_set_display_internal()
1147 int table_set_sort_internal(Table *t, size_t first_column, ...) { in table_set_sort_internal()
1175 int table_hide_column_from_display_internal(Table *t, ...) { in table_hide_column_from_display_internal()
1327 static int table_data_compare(const size_t *a, const size_t *b, Table *t) { in table_data_compare()
1390 static const char *table_data_format(Table *t, TableData *d, bool avoid_uppercasing, size_t column_… in table_data_format()
1839 Table *table, in table_data_requested_width_height()
1982 int table_print(Table *t, FILE *f) { in table_print()
2382 int table_format(Table *t, char **ret) { in table_format()
2403 size_t table_get_rows(Table *t) { in table_get_rows()
2411 size_t table_get_columns(Table *t) { in table_get_columns()
2419 int table_set_reverse(Table *t, size_t column, bool b) { in table_set_reverse()
2436 TableCell *table_get_cell(Table *t, size_t row, size_t column) { in table_get_cell()
2451 const void *table_get(Table *t, TableCell *cell) { in table_get()
2463 const void* table_get_at(Table *t, size_t row, size_t column) { in table_get_at()
2617 static const char *table_get_json_field_name(Table *t, size_t column) { in table_get_json_field_name()
2623 int table_to_json(Table *t, JsonVariant **ret) { in table_to_json()
2749 int table_print_json(Table *t, FILE *f, JsonFormatFlags flags) { in table_print_json()
2771 Table *t, in table_print_with_pager()
2797 int table_set_json_field_name(Table *t, size_t column, const char *name) { in table_set_json_field_name()