Searched refs:newcol (Results 1 – 7 of 7) sorted by relevance
/openbsd/usr.bin/vi/ex/ |
H A D | ex_shift.c | 70 size_t blen, len, newcol, newidx, oldcol, oldidx, sw; in shift() local 125 newcol = oldcol; in shift() 127 newcol = oldcol + sw; in shift() 129 newcol = oldcol < sw ? 0 : oldcol - sw; in shift() 130 if (newcol == oldcol) { in shift() 138 ADD_SPACE_RET(sp, bp, blen, newcol + len); in shift() 147 for (; newcol >= O_VAL(sp, O_TABSTOP); ++newidx) { in shift() 149 newcol -= O_VAL(sp, O_TABSTOP); in shift() 152 for (; newcol > 0; --newcol, ++newidx) in shift()
|
/openbsd/usr.bin/colrm/ |
H A D | colrm.c | 55 u_long column, newcol, start, stop; in main() local 122 newcol = (column + TAB) & ~(TAB - 1); in main() 123 if (start == 0 || newcol < start) { in main() 125 column = newcol; in main() 131 while (column < newcol) in main()
|
/openbsd/usr.bin/mg/ |
H A D | tty.c | 422 int newrow = 0, newcol = 0; in ttresize() local 428 newcol = winsize.ws_col; in ttresize() 430 if ((newrow <= 0 || newcol <= 0) && in ttresize() 431 ((newrow = lines) <= 0 || (newcol = columns) <= 0)) { in ttresize() 433 newcol = 80; in ttresize() 435 if (vtresize(1, newrow, newcol) != TRUE) in ttresize()
|
H A D | display.c | 136 vtresize(int force, int newrow, int newcol) in vtresize() argument 143 if (newrow < 1 || newcol < 1) in vtresize() 147 colchanged = (newcol != ncol); in vtresize() 217 TRYREALLOC(video[i].v_text, newcol); in vtresize() 218 TRYREALLOC(blanks.v_text, newcol); in vtresize() 222 ncol = newcol; in vtresize()
|
/openbsd/libexec/tradcpp/ |
H A D | place.c | 199 unsigned newcol; in place_addcolumns() local 201 newcol = p->column + cols; in place_addcolumns() 202 if (newcol < p->column) { in place_addcolumns() 207 p->column = newcol; in place_addcolumns()
|
/openbsd/gnu/usr.bin/gcc/gcc/ |
H A D | ra-colorize.c | 1704 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; 1847 if (cost > cost_neighbors[newcol] [all …]
|
/openbsd/bin/ksh/ |
H A D | vi.c | 65 static int newcol(int, int); 1783 col = newcol((unsigned char) es->cbuf[cur++], col); in outofwin() 1805 tcol = newcol((unsigned char) es->cbuf[tcur++], tcol); in rewindow() 1808 holdcol1 = newcol((unsigned char) es->cbuf[holdcur1++], in rewindow() 1815 newcol(int ch, int col) in newcol() function 2010 ci = newcol((unsigned char)*wb++, ci)) in ed_mov_opt()
|