Lines Matching refs:tabvect
124 static void scantab(char *scan, int tabvect[NTABS], int level);
125 static void repetab(char *scan, int tabvect[NTABS]);
126 static void arbitab(char *scan, int tabvect[NTABS]);
127 static void filetab(char *scan, int tabvect[NTABS], int level);
130 static void settabs(int tabvect[NTABS]);
134 static int stdtab(char option[], int tabvect[]);
141 int tabvect[NTABS]; /* build tab list here */
162 tabvect[0] = 0; /* mark as not yet filled in */
284 scantab(tabspec, tabvect, 0);
285 if (!tabvect[0])
286 repetab("8", tabvect);
287 settabs(tabvect);
311 scantab(char *scan, int tabvect[NTABS], int level)
316 filetab(++scan, tabvect, level);
318 repetab(scan, tabvect);
319 else if (stdtab(scan, tabvect)) {
326 arbitab(scan, tabvect);
333 repetab(char *scan, int tabvect[NTABS])
343 tabvect[i] = tabn += incr;
344 tabvect[i] = 0;
350 arbitab(char *scan, int tabvect[NTABS])
361 tabvect[i++] = last += t;
370 tabvect[i++] = last = t;
387 tabvect[i] = 0;
394 filetab(char *scan, int tabvect[NTABS], int level)
466 scantab(scan, tabvect, 1);
473 scantab("-8", tabvect, 1);
524 settabs(int tabvect[NTABS])
528 int *curtab; /* ptr to tabvect item */
604 previous = 1; curtab = tabvect;
720 * tabvect points to vector to be filled in
721 * exit: return (0) if legal, tabvect filled, ending with zero
725 stdtab(char option[], int tabvect[])
728 tabvect[0] = 0;
734 while (*tabvect++ = *sp++) /* copy, make int */