Searched refs:nstops (Results 1 - 3 of 3) sorted by relevance

/freebsd-current/usr.bin/expand/
H A Dexpand.c44 static int nstops; variable
100 if (nstops == 0) {
107 if (nstops == 1) {
114 for (n = 0; n < nstops; n++)
117 if (n == nstops) {
159 nstops = 0;
166 if (nstops > 0 && i <= tabstops[nstops-1])
168 if (nstops == sizeof(tabstops) / sizeof(*tabstops))
170 tabstops[nstops
[all...]
/freebsd-current/usr.bin/unexpand/
H A Dunexpand.c47 static int nstops; variable
62 nstops = 1;
109 limit = nstops == 1 ? INT_MAX : tabstops[nstops - 1] - 1;
118 if (nstops == 1) {
123 for (n = 0; n < nstops &&
126 if (n < nstops - 1 && tabstops[n] - 1 < limit) {
135 if (nstops == 1) {
145 for (n = 0; n < nstops && tabstops[n] - 1 < ocol; n++)
147 while (ocol < dcol && n < nstops
[all...]
/freebsd-current/usr.bin/tabs/
H A Dtabs.c80 long cols, i, inc, j, margin, nstops, stops[NSTOPS]; local
88 nstops = -1;
127 for (j = nstops = 0; j < NSTOPS &&
129 stops[nstops++] = formats[i].stops[j];
134 if (nstops != -1)
136 gettabs(arg, stops, &nstops);
166 if (nstops >= 0) {
169 for (i = 1; i < nstops; i++) {
197 gettabs(char *arg, long stops[], long *nstops) argument
202 for (last = *nstops
[all...]

Completed in 337 milliseconds