Home
last modified time | relevance | path

Searched refs:newcol (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/nvi/ex/
H A Dex_shift.c70 size_t blen, len, newcol, newidx, oldcol, oldidx, sw; in shift() local
126 newcol = oldcol; in shift()
128 newcol = oldcol + sw; in shift()
130 newcol = oldcol < sw ? 0 : oldcol - sw; in shift()
131 if (newcol == oldcol) { in shift()
139 ADD_SPACE_RETW(sp, bp, blen, newcol + len); in shift()
148 for (; newcol >= O_VAL(sp, O_TABSTOP); ++newidx) { in shift()
150 newcol -= O_VAL(sp, O_TABSTOP); in shift()
153 for (; newcol > 0; --newcol, ++newidx) in shift()
/freebsd/usr.bin/top/
H A Ddisplay.c1182 int newcol = start + 1; in line_update() local
1233 diff = newcol - lastcol; in line_update()
1245 Move_to(newcol, line); in line_update()
1249 lastcol = newcol + 1; in line_update()
1273 newcol++; in line_update()
1279 diff = screen_width - newcol; in line_update()
/freebsd/usr.bin/diff/
H A Ddiffreg.c1247 int i, j, c, lastc, col, nc, newcol; in fetch() local
1328 newcol = roundup(col + 1, tabsize); in fetch()
1330 if (hw > 0 && newcol >= hw) in fetch()
1334 if (hw > 0 && newcol > hw) in fetch()
1335 newcol = hw; in fetch()
1336 printf("%*s", newcol - col, ""); in fetch()
1338 col = newcol; in fetch()
1720 int col, newcol, tabstop; in print_space() local
1723 newcol = nc + n; in print_space()
1726 while ((tabstop = roundup(col + 1, tabsize)) <= newcol) { in print_space()
[all …]