Searched refs:tabstops (Results 1 - 4 of 4) sorted by relevance

/freebsd-13-stable/usr.bin/unexpand/
H A Dunexpand.c62 static int tabstops[100]; variable
77 tabstops[0] = 8;
123 limit = nstops == 1 ? INT_MAX : tabstops[nstops - 1] - 1;
133 dcol = (1 + dcol / tabstops[0]) *
134 tabstops[0];
138 tabstops[n] - 1 < dcol; n++)
140 if (n < nstops - 1 && tabstops[n] - 1 < limit) {
141 dcol = tabstops[n];
150 while (((ocol + tabstops[0]) / tabstops[
[all...]
/freebsd-13-stable/usr.bin/expand/
H A Dexpand.c59 static int tabstops[100]; variable
125 } while (((column - 1) % tabstops[0]) != (tabstops[0] - 1));
129 if (tabstops[n] > column)
136 while (column < tabstops[n]) {
180 if (nstops > 0 && i <= tabstops[nstops-1])
182 if (nstops == sizeof(tabstops) / sizeof(*tabstops))
184 tabstops[nstops++] = i;
/freebsd-13-stable/contrib/less/
H A Doptfunc.c699 extern int tabstops[];
710 /* Start at 1 because tabstops[0] is always zero. */
717 if (n > tabstops[i-1])
718 tabstops[i++] = n;
726 tabdefault = tabstops[ntabstops-1] - tabstops[ntabstops-2];
736 sprintf(msg+strlen(msg), "%d", tabstops[i]);
H A Dline.c46 public int tabstops[TABSTOP_MAX] = { 0 }; /* Custom tabstops */ variable
47 public int ntabstops = 1; /* Number of tabstops */
48 public int tabdefault = 8; /* Default repeated tabstops */
783 if (ntabstops < 2 || to_tab >= tabstops[ntabstops-1])
785 ((to_tab - tabstops[ntabstops-1]) % tabdefault);
790 if (to_tab >= tabstops[i])
792 to_tab = tabstops[i+1] - to_tab;

Completed in 100 milliseconds