Lines Matching refs:tp_col
141 tp.tp_col = scp->xsize;
147 tp.tp_col = scp->cursor_pos % scp->xsize;
407 sc_move_cursor(scp, p->tp_col, p->tp_row);
571 cursor = tp->tp_row * scp->xsize + tp->tp_col;
601 if (r->tr_begin.tp_col == 0 && r->tr_end.tp_col == scp->xsize) {
608 width = r->tr_end.tp_col - r->tr_begin.tp_col;
612 scp->xsize + r->tr_begin.tp_col,
619 r->tr_begin.tp_row * scp->xsize + r->tr_begin.tp_col);
621 (r->tr_end.tp_row - 1) * scp->xsize + (r->tr_end.tp_col - 1));
639 r->tr_begin.tp_col == 0 && r->tr_end.tp_col == scp->xsize &&
645 if (r->tr_begin.tp_col == 0 && r->tr_end.tp_col == scp->xsize) {
652 width = r->tr_end.tp_col - r->tr_begin.tp_col;
657 r->tr_begin.tp_col;
659 r->tr_end.tp_col;
660 dst = p->tp_row * scp->xsize + p->tp_col;
671 r->tr_begin.tp_col;
673 r->tr_begin.tp_col;
675 r->tr_begin.tp_row - 1) * scp->xsize + p->tp_col;
688 p->tp_row * scp->xsize + p->tp_col);
692 (p->tp_col + r->tr_end.tp_col - r->tr_begin.tp_col - 1));