# 2.11BSD#431 - /usr/src/usr.bin/tbl/t0.c

##### Variables

    F1                X
    F2                X
    allflg            X
    boxflg            X
    cll               X
    csize             X
    cspace            X
    cstore            X
    ctop              X
    ctrflg            X
    dboxflg           X
    delim1            X
    delim2            X
    evenflg           X
    evenup            X
    exlim             X
    expflg            X
    exstore           X
    font              X
    fullbot           X
    ifile             X
    iline             X
    instead           X
    last              X
    lefline           X
    left1flg          X
    leftover          X
    linestop          X
    linsize           X
    linstart          X
    lused             X
    nclin             X
    ncol              X
    nlin              X
    nslin             X
    pr1403            X
    rightl            X
    rused             X
    sep               X
    style             X
    stynum            X
    tab               X
    table             X
    texct             X
    texname           X
    texstr            X
    textflg           X
    used              X
    vsize             X

       1: #ifndef lint
       2: static char sccsid[] = "@(#)t0.c	4.2 8/11/83";
       3: #endif
       4:
       5:  /* t0.c: storage allocation */
       6: #
       7: # include "t..c"
       8: int expflg = 0;
       9: int ctrflg = 0;
      10: int boxflg = 0;
      11: int dboxflg = 0;
      12: int tab = '\t';
      13: int linsize;
      14: int pr1403;
      15: int delim1, delim2;
      16: int evenup[MAXCOL], evenflg;
      17: int F1 = 0;
      18: int F2 = 0;
      19: int allflg = 0;
      20: int leftover = 0;
      21: int textflg = 0;
      22: int left1flg = 0;
      23: int rightl = 0;
      24: char *cstore, *cspace;
      25: char *last;
      26: struct colstr *table[MAXLIN];
      27: int style[MAXHEAD][MAXCOL];
      28: int ctop[MAXHEAD][MAXCOL];
      29: char font[MAXHEAD][MAXCOL][2];
      30: char csize[MAXHEAD][MAXCOL][4];
      31: char vsize[MAXHEAD][MAXCOL][4];
      32: int lefline[MAXHEAD][MAXCOL];
      33: char cll[MAXCOL][CLLEN];
      34: /*char *rpt[MAXHEAD][MAXCOL];*/
      35: /*char rpttx[MAXRPT];*/
      36: int stynum[MAXLIN+1];
      37: int nslin, nclin;
      38: int sep[MAXCOL];
      39: int fullbot[MAXLIN];
      40: char *instead[MAXLIN];
      41: int used[MAXCOL], lused[MAXCOL], rused[MAXCOL];
      42: int linestop[MAXLIN];
      43: int nlin, ncol;
      44: int iline = 1;
      45: char *ifile = "Input";
      46: int texname = 'a';
      47: int texct = 0;
      48: char texstr[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWYXZ0123456789";
      49: int linstart;
      50: char *exstore, *exlim;
      51: FILE *tabin  /*= stdin */;
      52: FILE *tabout  /* = stdout */;

#### Defined variables

F1 defined in line 17; used 13 times

- in /usr/src/usr.bin/tbl/t6.c line 59(2), 191, 197
- in /usr/src/usr.bin/tbl/t7.c line 17
- in /usr/src/usr.bin/tbl/t8.c line 143-145(2), 193, 202
- in /usr/src/usr.bin/tbl/tc.c line 14, 41-42(2), 57

F2 defined in line 18; used 7 times

- in /usr/src/usr.bin/tbl/t7.c line 17
- in /usr/src/usr.bin/tbl/t8.c line 143, 195, 201
- in /usr/src/usr.bin/tbl/tc.c line 14, 53-57(2)

allflg defined in line 19; used 12 times

- in /usr/src/usr.bin/tbl/t3.c line 14-15(2)
- in /usr/src/usr.bin/tbl/t6.c line 153, 163, 180
- in /usr/src/usr.bin/tbl/t7.c line 11, 104, 126
- in /usr/src/usr.bin/tbl/t8.c line 20, 83
- in /usr/src/usr.bin/tbl/tu.c line 147, 188

boxflg defined in line 10; used 13 times

- in /usr/src/usr.bin/tbl/t3.c line 12-19(4)
- in /usr/src/usr.bin/tbl/t6.c line 153, 163, 180
- in /usr/src/usr.bin/tbl/t7.c line 11, 104, 126
- in /usr/src/usr.bin/tbl/t8.c line 20
- in /usr/src/usr.bin/tbl/tu.c line 147, 189

cll defined in line 33; used 8 times

- in /usr/src/usr.bin/tbl/t4.c line 15, 187, 199, 211
- in /usr/src/usr.bin/tbl/t6.c line 88-90(2)
- in /usr/src/usr.bin/tbl/tg.c line 37-38(2)

csize defined in line 30; used 5 times

- in /usr/src/usr.bin/tbl/t4.c line 18, 144
- in /usr/src/usr.bin/tbl/t5.c line 65
- in /usr/src/usr.bin/tbl/t6.c line 11
- in /usr/src/usr.bin/tbl/t8.c line 119

cspace defined in line 24; used 4 times

- in /usr/src/usr.bin/tbl/t5.c line 10, 94-95(2)
- in /usr/src/usr.bin/tbl/t9.c line 18

cstore defined in line 24; used 26 times

- in /usr/src/usr.bin/tbl/t5.c line 10-20(5), 27-34(5), 48-49(2), 58-70(6), 92-97(5)
- in /usr/src/usr.bin/tbl/t9.c line 18-20(3)

ctop defined in line 28; used 6 times

- in /usr/src/usr.bin/tbl/t4.c line 21, 114-118(2)
- in /usr/src/usr.bin/tbl/t8.c line 180, 209, 293

ctrflg defined in line 9; used 4 times

- in /usr/src/usr.bin/tbl/t3.c line 10-11(2)
- in /usr/src/usr.bin/tbl/t7.c line 12, 27

dboxflg defined in line 11; used 18 times

- in /usr/src/usr.bin/tbl/t3.c line 16-21(4)
- in /usr/src/usr.bin/tbl/t6.c line 153, 163, 180
- in /usr/src/usr.bin/tbl/t7.c line 11, 104, 110, 126-130(2)
- in /usr/src/usr.bin/tbl/t8.c line 20-21(2)
- in /usr/src/usr.bin/tbl/ti.c line 13, 35
- in /usr/src/usr.bin/tbl/tu.c line 147, 187

delim1 defined in line 15; used 5 times

- in /usr/src/usr.bin/tbl/t3.c line 26-27(2), 72-74(2)
- in /usr/src/usr.bin/tbl/tm.c line 60

delim2 defined in line 15; used 2 times

- in /usr/src/usr.bin/tbl/t3.c line 75
- in /usr/src/usr.bin/tbl/tm.c line 63

evenflg defined in line 16; used 2 times

- in /usr/src/usr.bin/tbl/t4.c line 219
- in /usr/src/usr.bin/tbl/t6.c line 120

evenup defined in line 16; used 4 times

- in /usr/src/usr.bin/tbl/t4.c line 14, 218
- in /usr/src/usr.bin/tbl/t6.c line 125, 131

exlim defined in line 50; used 2 times

- in /usr/src/usr.bin/tbl/tm.c line 40-43(2)

expflg defined in line 8; used 4 times

- in /usr/src/usr.bin/tbl/t3.c line 8-9(2)
- in /usr/src/usr.bin/tbl/t6.c line 103, 146

exstore defined in line 50; used 8 times

- in /usr/src/usr.bin/tbl/tb.c line 85-89(2)
- in /usr/src/usr.bin/tbl/tm.c line 40-46(6)

font defined in line 29; used 8 times

- in /usr/src/usr.bin/tbl/t4.c line 20, 108, 122
- in /usr/src/usr.bin/tbl/t5.c line 64
- in /usr/src/usr.bin/tbl/t6.c line 10
- in /usr/src/usr.bin/tbl/t8.c line 75, 118, 287

fullbot defined in line 39; used 29 times

- in /usr/src/usr.bin/tbl/t5.c line 30, 41-45(2), 51-52(2), 163
- in /usr/src/usr.bin/tbl/t6.c line 26
- in /usr/src/usr.bin/tbl/t7.c line 77, 105
- in /usr/src/usr.bin/tbl/t8.c line 22, 47-49(2), 59
- in /usr/src/usr.bin/tbl/t9.c line 14, 35-40(3)
- in /usr/src/usr.bin/tbl/tb.c line 15
- in /usr/src/usr.bin/tbl/tc.c line 18
- in /usr/src/usr.bin/tbl/ti.c line 35
- in /usr/src/usr.bin/tbl/tt.c line 11, 55, 77-78(2)
- in /usr/src/usr.bin/tbl/tu.c line 170, 197, 203
- in /usr/src/usr.bin/tbl/tv.c line 23, 52

ifile defined in line 45; used 5 times

- in /usr/src/usr.bin/tbl/t1.c line 92-96(2)
- in /usr/src/usr.bin/tbl/t6.c line 183
- in /usr/src/usr.bin/tbl/t8.c line 160
- in /usr/src/usr.bin/tbl/te.c line 10

iline defined in line 44; used 9 times

- in /usr/src/usr.bin/tbl/t1.c line 93
- in /usr/src/usr.bin/tbl/t6.c line 183
- in /usr/src/usr.bin/tbl/t8.c line 160
- in /usr/src/usr.bin/tbl/te.c line 10, 25, 50, 69
- in /usr/src/usr.bin/tbl/tf.c line 45-49(2)

instead defined in line 40; used 23 times

- in /usr/src/usr.bin/tbl/t5.c line 33-37(2), 44, 160
- in /usr/src/usr.bin/tbl/t6.c line 26
- in /usr/src/usr.bin/tbl/t7.c line 80
- in /usr/src/usr.bin/tbl/t8.c line 22, 42-44(2), 59
- in /usr/src/usr.bin/tbl/t9.c line 14, 34
- in /usr/src/usr.bin/tbl/tb.c line 15
- in /usr/src/usr.bin/tbl/tc.c line 17
- in /usr/src/usr.bin/tbl/ti.c line 58
- in /usr/src/usr.bin/tbl/tt.c line 9
- in /usr/src/usr.bin/tbl/tu.c line 167(2), 197, 203
- in /usr/src/usr.bin/tbl/tv.c line 14, 23, 51

last defined in line 25; used 3 times

- in /usr/src/usr.bin/tbl/t5.c line 97
- in /usr/src/usr.bin/tbl/t9.c line 20
- in /usr/src/usr.bin/tbl/tf.c line 35

lefline defined in line 32; used 4 times

- in /usr/src/usr.bin/tbl/t4.c line 20, 53, 231
- in /usr/src/usr.bin/tbl/tu.c line 185

left1flg defined in line 22; used 3 times

- in /usr/src/usr.bin/tbl/t4.c line 27, 232
- in /usr/src/usr.bin/tbl/t6.c line 163

leftover defined in line 20; used 4 times

- in /usr/src/usr.bin/tbl/t5.c line 17, 27
- in /usr/src/usr.bin/tbl/t7.c line 22
- in /usr/src/usr.bin/tbl/t9.c line 17

linestop defined in line 42; used 15 times

- in /usr/src/usr.bin/tbl/t7.c line 91-92(2), 102-103(2), 119-120(2)
- in /usr/src/usr.bin/tbl/t8.c line 39-40(2)
- in /usr/src/usr.bin/tbl/tf.c line 31
- in /usr/src/usr.bin/tbl/tu.c line 139-148(4)
- in /usr/src/usr.bin/tbl/tv.c line 94, 104

linsize defined in line 13; used 7 times

- in /usr/src/usr.bin/tbl/t3.c line 24-25(2), 70
- in /usr/src/usr.bin/tbl/tu.c line 110, 125
- in /usr/src/usr.bin/tbl/tv.c line 91, 110

linstart defined in line 49; used 4 times

- in /usr/src/usr.bin/tbl/te.c line 39
- in /usr/src/usr.bin/tbl/tf.c line 45-50(3)

lused defined in line 41; used 6 times

- in /usr/src/usr.bin/tbl/t7.c line 46-51(2)
- in /usr/src/usr.bin/tbl/t8.c line 114, 127
- in /usr/src/usr.bin/tbl/tb.c line 12, 24

nclin defined in line 37; used 19 times

- in /usr/src/usr.bin/tbl/t4.c line 25, 53-59(4), 84-98(6), 108, 114-122(3), 144, 167, 231
- in /usr/src/usr.bin/tbl/t5.c line 55

ncol defined in line 43; used 64 times

- in /usr/src/usr.bin/tbl/t4.c line 25-30(2), 52-53(4), 59, 67-72(4)
- in /usr/src/usr.bin/tbl/t5.c line 47, 56, 87, 105, 119, 131
- in /usr/src/usr.bin/tbl/t6.c line 16, 123, 129, 144-149(2), 156, 164, 178-181(5)
- in /usr/src/usr.bin/tbl/t7.c line 34, 110-115(2), 130
- in /usr/src/usr.bin/tbl/t8.c line 23, 57, 71, 97, 105, 207, 222, 234, 261, 306
- in /usr/src/usr.bin/tbl/t9.c line 42, 63
- in /usr/src/usr.bin/tbl/tb.c line 10
- in /usr/src/usr.bin/tbl/tc.c line 19
- in /usr/src/usr.bin/tbl/tg.c line 40
- in /usr/src/usr.bin/tbl/ti.c line 11, 19, 37
- in /usr/src/usr.bin/tbl/tt.c line 23, 30, 39, 56
- in /usr/src/usr.bin/tbl/tu.c line 16-18(2), 27-36(4), 56, 119, 141

nlin defined in line 43; used 61 times

- in /usr/src/usr.bin/tbl/t5.c line 12-14(3), 25-65(20), 71-90(10), 133, 142, 159
- in /usr/src/usr.bin/tbl/t6.c line 24, 93
- in /usr/src/usr.bin/tbl/t7.c line 20, 75, 105-110(2), 117-122(2), 130
- in /usr/src/usr.bin/tbl/t8.c line 29, 99, 308
- in /usr/src/usr.bin/tbl/t9.c line 14
- in /usr/src/usr.bin/tbl/tb.c line 13
- in /usr/src/usr.bin/tbl/tc.c line 15
- in /usr/src/usr.bin/tbl/ti.c line 16, 23, 35, 43
- in /usr/src/usr.bin/tbl/tu.c line 140, 160, 177(2), 194
- in /usr/src/usr.bin/tbl/tv.c line 21

nslin defined in line 37; used 7 times

- in /usr/src/usr.bin/tbl/t5.c line 12-14(2), 23, 43, 54-55(3)

pr1403 defined in line 14; used 8 times

- in /usr/src/usr.bin/tbl/t1.c line 84
- in /usr/src/usr.bin/tbl/t7.c line 107
- in /usr/src/usr.bin/tbl/t8.c line 87, 229
- in /usr/src/usr.bin/tbl/tu.c line 24, 39, 52, 117

rightl defined in line 23; used 4 times

- in /usr/src/usr.bin/tbl/t4.c line 27, 53
- in /usr/src/usr.bin/tbl/t6.c line 177
- in /usr/src/usr.bin/tbl/t8.c line 105

rused defined in line 41; used 4 times

- in /usr/src/usr.bin/tbl/t7.c line 51
- in /usr/src/usr.bin/tbl/t8.c line 166
- in /usr/src/usr.bin/tbl/tb.c line 12, 20

sccsid defined in line 2; never used
sep defined in line 38; used 10 times

- in /usr/src/usr.bin/tbl/t4.c line 13, 68-69(2), 228(2)
- in /usr/src/usr.bin/tbl/t6.c line 103, 145, 156, 175, 181

style defined in line 27; used 7 times

- in /usr/src/usr.bin/tbl/t4.c line 22, 84-95(5)
- in /usr/src/usr.bin/tbl/tt.c line 14

stynum defined in line 36; used 16 times

- in /usr/src/usr.bin/tbl/t5.c line 14, 54, 64-65(2)
- in /usr/src/usr.bin/tbl/t6.c line 10-11(2)
- in /usr/src/usr.bin/tbl/t8.c line 75, 118-119(2), 180, 209, 287, 293
- in /usr/src/usr.bin/tbl/tg.c line 27
- in /usr/src/usr.bin/tbl/tt.c line 13
- in /usr/src/usr.bin/tbl/tu.c line 184

tab defined in line 12; used 11 times

- in /usr/src/usr.bin/tbl/t3.c line 22-23(2), 37, 65
- in /usr/src/usr.bin/tbl/t4.c line 44, 134, 147, 170
- in /usr/src/usr.bin/tbl/t5.c line 68
- in /usr/src/usr.bin/tbl/t9.c line 46
- in /usr/src/usr.bin/tbl/tg.c line 47

table defined in line 26; used 77 times

- in /usr/src/usr.bin/tbl/t5.c line 47(2), 58-62(3), 74-90(8), 140-149(6), 162-164(2)
- in /usr/src/usr.bin/tbl/t6.c line 28-36(3), 45-50(2), 57, 67, 96-99(2)
- in /usr/src/usr.bin/tbl/t7.c line 7, 37, 45
- in /usr/src/usr.bin/tbl/t8.c line 7, 25-30(2), 60-62(2), 73-78(2), 107, 114-117(2), 125, 131, 147, 159, 182, 205-207(2), 235(2), 263, 290
- in /usr/src/usr.bin/tbl/t9.c line 10-13(3), 44-45(2), 52-64(7)
- in /usr/src/usr.bin/tbl/tb.c line 20-27(6)
- in /usr/src/usr.bin/tbl/tc.c line 24-28(2)
- in /usr/src/usr.bin/tbl/tt.c line 81
- in /usr/src/usr.bin/tbl/tu.c line 13
- in /usr/src/usr.bin/tbl/tv.c line 131

texct defined in line 47; used 3 times

- in /usr/src/usr.bin/tbl/t3.c line 36
- in /usr/src/usr.bin/tbl/tf.c line 33
- in /usr/src/usr.bin/tbl/tg.c line 65

texname defined in line 46; used 7 times

- in /usr/src/usr.bin/tbl/t3.c line 36
- in /usr/src/usr.bin/tbl/tg.c line 14, 23, 55-56(2), 64-65(2)

texstr defined in line 48; used 3 times

- in /usr/src/usr.bin/tbl/t3.c line 36
- in /usr/src/usr.bin/tbl/tf.c line 34
- in /usr/src/usr.bin/tbl/tg.c line 65

textflg defined in line 21; used 5 times

- in /usr/src/usr.bin/tbl/t5.c line 11, 99
- in /usr/src/usr.bin/tbl/t6.c line 116
- in /usr/src/usr.bin/tbl/tg.c line 15-18(2)

used defined in line 41; used 5 times

- in /usr/src/usr.bin/tbl/t7.c line 51
- in /usr/src/usr.bin/tbl/t8.c line 166
- in /usr/src/usr.bin/tbl/tb.c line 12, 22-27(2)

vsize defined in line 31; used 3 times

- in /usr/src/usr.bin/tbl/t4.c line 19, 167
- in /usr/src/usr.bin/tbl/tg.c line 27

Last modified: 1987-02-17 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 1284 |