Searched refs:newcol (Results 1 - 7 of 7) sorted by relevance

/openbsd-current/usr.bin/vi/ex/
H A Dex_shift.c70 size_t blen, len, newcol, newidx, oldcol, oldidx, sw; local
125 newcol = oldcol;
127 newcol = oldcol + sw;
129 newcol = oldcol < sw ? 0 : oldcol - sw;
130 if (newcol == oldcol) {
138 ADD_SPACE_RET(sp, bp, blen, newcol + len);
147 for (; newcol >= O_VAL(sp, O_TABSTOP); ++newidx) {
149 newcol -= O_VAL(sp, O_TABSTOP);
152 for (; newcol > 0; --newcol,
[all...]
/openbsd-current/usr.bin/colrm/
H A Dcolrm.c55 u_long column, newcol, start, stop; local
122 newcol = (column + TAB) & ~(TAB - 1);
123 if (start == 0 || newcol < start) {
125 column = newcol;
131 while (column < newcol)
/openbsd-current/usr.bin/mg/
H A Dtty.c416 * We use `newrow' and `newcol' so vtresize() know the difference between the
422 int newrow = 0, newcol = 0; local
428 newcol = winsize.ws_col;
430 if ((newrow <= 0 || newcol <= 0) &&
431 ((newrow = lines) <= 0 || (newcol = columns) <= 0)) {
433 newcol = 80;
435 if (vtresize(1, newrow, newcol) != TRUE)
H A Ddisplay.c136 vtresize(int force, int newrow, int newcol) argument
143 if (newrow < 1 || newcol < 1)
147 colchanged = (newcol != ncol);
217 TRYREALLOC(video[i].v_text, newcol);
218 TRYREALLOC(blanks.v_text, newcol);
222 ncol = newcol;
/openbsd-current/libexec/tradcpp/
H A Dplace.c199 unsigned newcol; local
201 newcol = p->column + cols;
202 if (newcol < p->column) {
207 p->column = newcol;
/openbsd-current/gnu/usr.bin/gcc/gcc/
H A Dra-colorize.c1704 int newcol, c; local
1791 newcol = -1;
1796 && (newcol == -1
1797 || cost_neighbors[c] < cost_neighbors[newcol]))
1798 newcol = c;
1799 if (newcol >= 0 && cost_neighbors[newcol] < web->spill_cost)
1801 int nregs = HARD_REGNO_NREGS (newcol, GET_MODE (web->orig_x));
1806 newcol);
1809 web->color = newcol;
[all...]
/openbsd-current/bin/ksh/
H A Dvi.c65 static int newcol(int, int);
1783 col = newcol((unsigned char) es->cbuf[cur++], col);
1805 tcol = newcol((unsigned char) es->cbuf[tcur++], tcol);
1808 holdcol1 = newcol((unsigned char) es->cbuf[holdcur1++],
1815 newcol(int ch, int col) function
2010 ci = newcol((unsigned char)*wb++, ci))

Completed in 164 milliseconds