Home
last modified time | relevance | path

Searched refs:nstops (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/expand/
H A Dunexpand.c53 static int nstops = 0; /* total number of tabstops */ variable
135 if (nstops == 0) { /* default tab = 8 */ in tabify()
138 } else if (nstops == 1) { /* tab width */ in tabify()
142 while (cstop < nstops && in tabify()
146 if (cstop >= nstops) { in tabify()
188 if (nstops == 0) { in tabify()
190 } else if (nstops == 1) { in tabify()
193 if (cstop < nstops && in tabify()
242 if (nstops > 0 && i <= tabstops[nstops-1]) { in getstops()
248 if (nstops == MAX_TABS) { in getstops()
[all …]
H A Dexpand.c52 static int nstops = 0; variable
147 if (nstops == 0) {
154 if (nstops == 1) {
163 for (n = 0; n < nstops; n++)
166 if (n == nstops) {
253 if (nstops > 0 && i <= tabstops[nstops-1]) { in getstops()
259 tabstops[nstops++] = i; in getstops()