Lines Matching full:col
115 p->tcol->col = 0; in term_flushln()
173 for (ic = p->tcol->col; ic < p->tcol->lastcol; ic++) { in term_flushln()
201 while (p->tcol->col < p->tcol->lastcol && in term_flushln()
202 p->tcol->buf[p->tcol->col] == ' ') in term_flushln()
203 p->tcol->col++; in term_flushln()
231 p->col = p->tcol->col = p->tcol->lastcol = 0; in term_flushln()
272 for (ic = p->tcol->col; ic < p->tcol->lastcol; ic++) { in term_fill()
376 for (ic = p->tcol->col; ic < nbr; ic++) { in term_field()
433 p->tcol->col = nbr; in term_field()
666 uc = -p->col; in term_word()
684 assert(p->col > 0); in term_word()
685 p->col--; in term_word()
687 if (p->col >= (size_t)(-uc)) { in term_word()
688 p->col += uc; in term_word()
690 uc += p->col; in term_word()
691 p->col = 0; in term_word()
774 if (p->col > p->tcol->lastcol) in term_word()
775 p->col = p->tcol->lastcol; in term_word()
819 if (p->col + 1 >= p->tcol->maxcols) in bufferc()
820 adjbuf(p->tcol, p->col + 1); in bufferc()
821 if (p->tcol->lastcol <= p->col || (c != ' ' && c != ASCII_NBRSP)) in bufferc()
822 p->tcol->buf[p->col] = c; in bufferc()
823 if (p->tcol->lastcol < ++p->col) in bufferc()
824 p->tcol->lastcol = p->col; in bufferc()
830 if (p->tcol->lastcol && p->tcol->lastcol <= p->col && in term_tab_ref()
850 if (p->col + 7 >= p->tcol->maxcols) in encode1()
851 adjbuf(p->tcol, p->col + 7); in encode1()
857 if (p->tcol->buf[p->col - 1] == ' ' || in encode1()
858 p->tcol->buf[p->col - 1] == '\t') in encode1()
859 p->col--; in encode1()
861 p->tcol->buf[p->col++] = '\b'; in encode1()
865 p->tcol->buf[p->col++] = '_'; in encode1()
866 p->tcol->buf[p->col++] = '\b'; in encode1()
870 p->tcol->buf[p->col++] = '-'; in encode1()
872 p->tcol->buf[p->col++] = c; in encode1()
873 p->tcol->buf[p->col++] = '\b'; in encode1()
875 if (p->tcol->lastcol <= p->col || (c != ' ' && c != ASCII_NBRSP)) in encode1()
876 p->tcol->buf[p->col] = c; in encode1()
877 if (p->tcol->lastcol < ++p->col) in encode1()
878 p->tcol->lastcol = p->col; in encode1()
896 if (p->col + 2 + (sz * 5) >= p->tcol->maxcols) in encode()
897 adjbuf(p->tcol, p->col + 2 + (sz * 5)); in encode()
904 if (p->tcol->lastcol <= p->col || in encode()
906 p->tcol->buf[p->col] = word[i]; in encode()
907 p->col++; in encode()
921 if (p->tcol->lastcol < p->col) in encode()
922 p->tcol->lastcol = p->col; in encode()