Lines Matching refs:cols
145 if (count > tp->view.cols * 2 - 11) in tty3270_update_prompt()
146 count = tp->view.cols * 2 - 11; in tty3270_update_prompt()
150 if (count < tp->view.cols * 2 - 11) { in tty3270_update_prompt()
153 off = tp->view.cols * tp->view.rows - 9; in tty3270_update_prompt()
172 sizeof(blueprint) + tp->view.cols * 2 - 9); in tty3270_create_prompt()
179 offset = tp->view.cols * (tp->view.rows - 2); in tty3270_create_prompt()
181 offset = tp->view.cols * tp->view.rows - 9; in tty3270_create_prompt()
185 tp->input = alloc_string(&tp->freemem, tp->view.cols * 2 - 9 + 6); in tty3270_create_prompt()
218 offset = tp->view.cols * tp->view.rows - 9; in tty3270_create_status()
232 tp->view.cols * nr); in tty3270_update_string()
236 tp->view.cols * (nr + 1)); in tty3270_update_string()
763 tty3270_alloc_screen(unsigned int rows, unsigned int cols) in tty3270_alloc_screen() argument
774 size = sizeof(struct tty3270_cell) * cols; in tty3270_alloc_screen()
821 tp->view.cols = tp->n_cols; in tty3270_resize_work()
839 ws.ws_col = tp->view.cols; in tty3270_resize_work()
844 tty3270_resize(struct raw3270_view *view, int model, int rows, int cols) in tty3270_resize() argument
850 tp->n_cols = cols; in tty3270_resize()
924 tty->winsize.ws_col = tp->view.cols; in tty3270_install()
946 tp->screen = tty3270_alloc_screen(tp->view.rows, tp->view.cols); in tty3270_install()
958 tty->winsize.ws_col = tp->view.cols; in tty3270_install()
1096 if (line->len < tp->view.cols) in tty3270_convert_line()
1151 if (line->len < tp->view.cols) { in tty3270_convert_line()
1227 if (n > tp->view.cols - tp->cx) in tty3270_insert_characters()
1228 n = tp->view.cols - tp->cx; in tty3270_insert_characters()
1229 k = min_t(int, line->len - tp->cx, tp->view.cols - tp->cx - n); in tty3270_insert_characters()
1233 if (line->len > tp->view.cols) in tty3270_insert_characters()
1234 line->len = tp->view.cols; in tty3270_insert_characters()
1280 tp->cx = min_t(int, tp->cx, tp->view.cols - 1); in tty3270_erase_characters()
1415 tp->cx = min_t(int, tp->view.cols - 1, max_cx); in tty3270_goto_xy()
1618 if (tp->cx >= tp->view.cols) { in tty3270_do_write()
1644 if (tp->cx >= tp->view.cols) { in tty3270_do_write()