• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/s390/char/

Lines Matching refs:cx

72 	unsigned int cx, cy;		/* Current output position. */
968 if (line->len <= tp->cx) {
969 while (line->len < tp->cx) {
978 cell = line->cells + tp->cx;
1097 tp->cx = 0;
1143 while (line->len < tp->cx) {
1149 if (n > tp->view.cols - tp->cx)
1150 n = tp->view.cols - tp->cx;
1151 k = min_t(int, line->len - tp->cx, tp->view.cols - tp->cx - n);
1153 line->cells[tp->cx + n + k] = line->cells[tp->cx + k];
1158 line->cells[tp->cx + n].character = tp->view.ascebc[' '];
1159 line->cells[tp->cx + n].highlight = tp->highlight;
1160 line->cells[tp->cx + n].f_color = tp->f_color;
1174 if (line->len <= tp->cx)
1176 if (line->len - tp->cx <= n) {
1177 line->len = tp->cx;
1180 for (i = tp->cx; i + n < line->len; i++)
1195 while (line->len > tp->cx && n-- > 0) {
1196 cell = line->cells + tp->cx++;
1201 tp->cx += n;
1202 tp->cx = min_t(int, tp->cx, tp->view.cols - 1);
1220 line->len = tp->cx;
1222 for (i = 0; i < tp->cx; i++) {
1228 if (line->len <= tp->cx)
1229 line->len = tp->cx + 1;
1332 tty3270_goto_xy(struct tty3270 *tp, int cx, int cy)
1334 tp->cx = min_t(int, tp->view.cols - 1, max_t(int, 0, cx));
1373 tp->saved_cx = tp->cx;
1385 tp->cx = tp->saved_cx = 0;
1419 sprintf(buf, "\033[%d;%dR", tp->cy + 1, tp->cx + 1);
1436 tty3270_goto_xy(tp, tp->cx, tty3270_getpar(tp, 0) - 1);
1440 tty3270_goto_xy(tp, tp->cx, tp->cy - tty3270_getpar(tp, 0));
1445 tty3270_goto_xy(tp, tp->cx, tp->cy + tty3270_getpar(tp, 0));
1449 tty3270_goto_xy(tp, tp->cx + tty3270_getpar(tp, 0), tp->cy);
1452 tty3270_goto_xy(tp, tp->cx - tty3270_getpar(tp, 0), tp->cy);
1474 tp->saved_cx = tp->cx;
1509 if (tp->cx > 0) {
1510 tp->cx--;
1515 for (i = tp->cx % 8; i < 8; i++) {
1516 if (tp->cx >= tp->view.cols) {
1522 tp->cx++;
1531 tp->cx = tp->cy = 0;
1534 tp->cx = 0;
1542 if (tp->cx >= tp->view.cols) {
1547 tp->cx++;