Home
last modified time | relevance | path

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

/systemd-251/src/basic/
Dterminal-util.c852 int terminal_set_size_fd(int fd, const char *ident, unsigned rows, unsigned cols) { in terminal_set_size_fd() argument
855 if (rows == UINT_MAX && cols == UINT_MAX) in terminal_set_size_fd()
868 if (cols == UINT_MAX) in terminal_set_size_fd()
869 cols = ws.ws_col; in terminal_set_size_fd()
870 else if (cols > USHRT_MAX) in terminal_set_size_fd()
871 cols = USHRT_MAX; in terminal_set_size_fd()
873 if (rows == ws.ws_row && cols == ws.ws_col) in terminal_set_size_fd()
877 ws.ws_col = cols; in terminal_set_size_fd()
Dterminal-util.h126 int terminal_set_size_fd(int fd, const char *ident, unsigned rows, unsigned cols);
/systemd-251/src/resolve/
Dresolvectl.c1389 size_t cols = columns(), position = pos2 - pos1 + 2; in status_print_strv_ifindex() local
1395 if (position <= indent || size_add(size_add(position, 1), our_len) < cols) { in status_print_strv_ifindex()
/systemd-251/src/network/
Dnetworkctl.c2444 unsigned cols = columns(); in lldp_capabilities_legend() local
2467 newline = w + strlen(table[i]) + (w == 0 ? 0 : 2) > cols; in lldp_capabilities_legend()
/systemd-251/test/
Dtest-functions1785 stty cols xx rows yy