HomeSort by: relevance | last modified time | path
    Searched defs:tabstops (Results 1 - 2 of 2) sorted by relevancy

  /src/usr.bin/expand/
expand.c 55 size_t tabstops[100]; variable in typeref:typename:size_t[100]
110 } while (((column - 1) % tabstops[0])
111 != (tabstops[0] - 1));
115 if (tabstops[n] > column)
122 while (column < tabstops[n]) {
162 if (nstops > 0 && (size_t)i <= tabstops[nstops-1])
164 if (nstops == sizeof(tabstops) / sizeof(tabstops[0]) - 1)
165 errx(EXIT_FAILURE, "Too many tabstops");
166 tabstops[nstops++] = i
    [all...]
  /src/usr.bin/unexpand/
unexpand.c 62 static size_t *tabstops; variable in typeref:typename:size_t *
102 tabstops = erealloc(tabstops, maxstops);
104 if (nstops && tabstops[nstops - 1] >= (size_t)i)
108 tab, tabstops[nstops - 1]);
109 tabstops[nstops++] = i;
135 const size_t dstop = (nstops == 0) ? DSTOP : tabstops[0];
140 limit = nstops <= 1 ? UINT_MAX : tabstops[nstops - 1] - 1;
151 for (n = 0; n < nstops && tabstops[n] <= dcol; n++)
153 if (n < nstops - 1 && tabstops[n] - 1 < limit)
    [all...]

Completed in 12 milliseconds