# 2.11BSD#431 - /usr/src/usr.bin/eqn/glob.c

##### Variables

    ct                X
    dbg               X
    deltaps           X
    ebase             X
    eht               X
    eqline            X
    eqnht             X
    eqnreg            X
    ft                X
    gfont             X
    gsize             X
    ifile             X
    lastchar          X
    lefteq            X
    lfont             X
    linect            X
    lp                X
    markline          X
    ps                X
    rfont             X
    righteq           X
    svargc            X
    svargv            X
    used              X

       1: #ifndef lint
       2: static char sccsid[] = "@(#)glob.c	4.2 8/11/83";
       3: #endif
       4:
       5: #include "e.h"
       6:
       7: int dbg;    /* debugging print if non-zero */
       8: int lp[80]; /* stack for things like piles and matrices */
       9: int ct; /* pointer to lp */
      10: int used[100];  /* available registers */
      11: int ps; /* default init point size */
      12: int deltaps = 3;    /* default change in ps */
      13: int gsize   = 10;   /* default initial point size */
      14: int gfont   = ITAL; /* italic */
      15: int ft; /* default font */
      16: FILE    *curfile;   /* current input file */
      17: int ifile;
      18: int linect; /* line number in file */
      19: int eqline; /* line where eqn started */
      20: int svargc;
      21: char    **svargv;
      22: int eht[100];
      23: int ebase[100];
      24: int lfont[100];
      25: int rfont[100];
      26: int eqnreg; /* register where final string appears */
      27: int eqnht;  /* inal height of equation */
      28: int lefteq  = '\0'; /* left in-line delimiter */
      29: int righteq = '\0'; /* right in-line delimiter */
      30: int lastchar;   /* last character read by lex */
      31: int markline    = 0;    /* 1 if this EQ/EN contains mark or lineup */

#### Defined variables

ct defined in line 9; used 25 times

- in /usr/src/usr.bin/eqn/e.y line 37, 49-52(4), 67-70(8), 127-134(6)
- in /usr/src/usr.bin/eqn/io.c line 188
- in /usr/src/usr.bin/eqn/matrix.c line 10-17(3), 27, 65

dbg defined in line 7; used 34 times

- in /usr/src/usr.bin/eqn/e.y line 109-114(2)
- in /usr/src/usr.bin/eqn/eqnbox.c line 16
- in /usr/src/usr.bin/eqn/font.c line 20-22(2), 30, 45
- in /usr/src/usr.bin/eqn/fromto.c line 48
- in /usr/src/usr.bin/eqn/funny.c line 33
- in /usr/src/usr.bin/eqn/integral.c line 21
- in /usr/src/usr.bin/eqn/io.c line 107, 169
- in /usr/src/usr.bin/eqn/lex.c line 106-115(3), 200
- in /usr/src/usr.bin/eqn/mark.c line 11, 20
- in /usr/src/usr.bin/eqn/matrix.c line 11, 29, 39, 57
- in /usr/src/usr.bin/eqn/move.c line 24
- in /usr/src/usr.bin/eqn/over.c line 20
- in /usr/src/usr.bin/eqn/paren.c line 111
- in /usr/src/usr.bin/eqn/pile.c line 32
- in /usr/src/usr.bin/eqn/shift.c line 70, 90, 101
- in /usr/src/usr.bin/eqn/size.c line 16, 24
- in /usr/src/usr.bin/eqn/sqrt.c line 16, 32
- in /usr/src/usr.bin/eqn/text.c line 53

deltaps defined in line 12; used 11 times

- in /usr/src/usr.bin/eqn/io.c line 165
- in /usr/src/usr.bin/eqn/shift.c line 22-23(2), 75, 88, 102-106(3), 163
- in /usr/src/usr.bin/eqn/size.c line 47-49(2)

ebase defined in line 23; used 69 times

- in /usr/src/usr.bin/eqn/eqnbox.c line 12-15(5)
- in /usr/src/usr.bin/eqn/font.c line 31
- in /usr/src/usr.bin/eqn/fromto.c line 12, 32-34(2), 44-49(4)
- in /usr/src/usr.bin/eqn/funny.c line 27-34(3)
- in /usr/src/usr.bin/eqn/integral.c line 22, 35-39(2)
- in /usr/src/usr.bin/eqn/io.c line 107-114(3), 121-123(2)
- in /usr/src/usr.bin/eqn/matrix.c line 35-36(2), 42, 55-58(3)
- in /usr/src/usr.bin/eqn/move.c line 25
- in /usr/src/usr.bin/eqn/over.c line 30-41(8)
- in /usr/src/usr.bin/eqn/paren.c line 9, 26-32(3), 112
- in /usr/src/usr.bin/eqn/pile.c line 26(2), 36, 45-49(2), 69
- in /usr/src/usr.bin/eqn/shift.c line 17-19(2), 36, 51, 71, 108-114(4), 135
- in /usr/src/usr.bin/eqn/size.c line 25
- in /usr/src/usr.bin/eqn/sqrt.c line 17, 24-33(5)
- in /usr/src/usr.bin/eqn/text.c line 22, 54

eht defined in line 22; used 74 times

- in /usr/src/usr.bin/eqn/eqnbox.c line 13-14(3)
- in /usr/src/usr.bin/eqn/font.c line 31
- in /usr/src/usr.bin/eqn/fromto.c line 11(2), 21-34(7), 49
- in /usr/src/usr.bin/eqn/funny.c line 26-34(3)
- in /usr/src/usr.bin/eqn/integral.c line 22, 34-38(2)
- in /usr/src/usr.bin/eqn/io.c line 107-114(4)
- in /usr/src/usr.bin/eqn/matrix.c line 35, 43, 54-58(3)
- in /usr/src/usr.bin/eqn/move.c line 25
- in /usr/src/usr.bin/eqn/over.c line 14-19(5), 30-42(4)
- in /usr/src/usr.bin/eqn/paren.c line 9, 25-29(3), 112
- in /usr/src/usr.bin/eqn/pile.c line 21-25(3), 36, 48, 69
- in /usr/src/usr.bin/eqn/shift.c line 16-18(2), 37, 61, 67-71(2), 104-114(5), 131-133(2)
- in /usr/src/usr.bin/eqn/size.c line 25
- in /usr/src/usr.bin/eqn/sqrt.c line 11-17(3), 29-33(4)
- in /usr/src/usr.bin/eqn/text.c line 24-26(2), 54

eqline defined in line 19; used 3 times

- in /usr/src/usr.bin/eqn/io.c line 32, 200, 206

eqnht defined in line 27; used 3 times

- in /usr/src/usr.bin/eqn/io.c line 45(2), 108

eqnreg defined in line 26; used 12 times

- in /usr/src/usr.bin/eqn/e.y line 25
- in /usr/src/usr.bin/eqn/font.c line 52
- in /usr/src/usr.bin/eqn/io.c line 40-46(4), 91-93(3), 128
- in /usr/src/usr.bin/eqn/lex.c line 221
- in /usr/src/usr.bin/eqn/size.c line 43

ft defined in line 15; used 19 times

- in /usr/src/usr.bin/eqn/font.c line 9-22(8), 29-35(5), 66
- in /usr/src/usr.bin/eqn/io.c line 190-192(2)
- in /usr/src/usr.bin/eqn/text.c line 137, 147, 157

gfont defined in line 14; used 11 times

- in /usr/src/usr.bin/eqn/font.c line 53-66(7)
- in /usr/src/usr.bin/eqn/io.c line 105, 119, 166, 190

gsize defined in line 13; used 12 times

- in /usr/src/usr.bin/eqn/io.c line 105, 119, 164, 189
- in /usr/src/usr.bin/eqn/size.c line 38-49(8)

ifile defined in line 17; used 7 times

- in /usr/src/usr.bin/eqn/io.c line 175, 200, 206
- in /usr/src/usr.bin/eqn/lex.c line 25, 39-45(3)

lastchar defined in line 30; used 6 times

- in /usr/src/usr.bin/eqn/io.c line 51-55(2)
- in /usr/src/usr.bin/eqn/lex.c line 20-24(4)

lefteq defined in line 28; used 8 times

- in /usr/src/usr.bin/eqn/io.c line 58, 68, 74, 96, 163
- in /usr/src/usr.bin/eqn/lex.c line 224-227(3)

lfont defined in line 24; used 18 times

- in /usr/src/usr.bin/eqn/eqnbox.c line 18
- in /usr/src/usr.bin/eqn/font.c line 29-31(2)
- in /usr/src/usr.bin/eqn/fromto.c line 10
- in /usr/src/usr.bin/eqn/funny.c line 35
- in /usr/src/usr.bin/eqn/integral.c line 23, 41
- in /usr/src/usr.bin/eqn/matrix.c line 56
- in /usr/src/usr.bin/eqn/over.c line 43
- in /usr/src/usr.bin/eqn/paren.c line 12
- in /usr/src/usr.bin/eqn/pile.c line 73
- in /usr/src/usr.bin/eqn/shift.c line 39, 137, 144
- in /usr/src/usr.bin/eqn/sqrt.c line 26
- in /usr/src/usr.bin/eqn/text.c line 28, 50-54(2)

linect defined in line 18; used 6 times

- in /usr/src/usr.bin/eqn/io.c line 32, 176, 200, 206
- in /usr/src/usr.bin/eqn/lex.c line 22, 29

lp defined in line 8; used 38 times

- in /usr/src/usr.bin/eqn/e.y line 127-128(2)
- in /usr/src/usr.bin/eqn/matrix.c line 10-17(4), 25-29(3), 35-36(3), 42-43(2), 49(3)
- in /usr/src/usr.bin/eqn/pile.c line 21-26(3), 35-65(17), 72

markline defined in line 31; used 4 times

- in /usr/src/usr.bin/eqn/io.c line 37, 44
- in /usr/src/usr.bin/eqn/mark.c line 8, 15

ps defined in line 11; used 63 times

- in /usr/src/usr.bin/eqn/e.y line 108-114(6), 136
- in /usr/src/usr.bin/eqn/eqnbox.c line 23
- in /usr/src/usr.bin/eqn/font.c line 42-43(2)
- in /usr/src/usr.bin/eqn/fromto.c line 14-16(3), 32, 44
- in /usr/src/usr.bin/eqn/funny.c line 25-27(5)
- in /usr/src/usr.bin/eqn/integral.c line 33-35(4)
- in /usr/src/usr.bin/eqn/io.c line 112, 121, 189-191(2)
- in /usr/src/usr.bin/eqn/move.c line 13
- in /usr/src/usr.bin/eqn/over.c line 13, 22-27(3)
- in /usr/src/usr.bin/eqn/paren.c line 13(2), 25-27(2)
- in /usr/src/usr.bin/eqn/pile.c line 11, 28, 38-41(2)
- in /usr/src/usr.bin/eqn/shift.c line 21-22(2), 75, 88-90(2), 102-106(4), 163
- in /usr/src/usr.bin/eqn/size.c line 11-16(4), 25-30(3), 45
- in /usr/src/usr.bin/eqn/sqrt.c line 21-24(2)
- in /usr/src/usr.bin/eqn/text.c line 24(2)

rfont defined in line 25; used 30 times

- in /usr/src/usr.bin/eqn/eqnbox.c line 18, 27(2)
- in /usr/src/usr.bin/eqn/font.c line 29-31(2)
- in /usr/src/usr.bin/eqn/fromto.c line 10
- in /usr/src/usr.bin/eqn/funny.c line 35
- in /usr/src/usr.bin/eqn/integral.c line 41
- in /usr/src/usr.bin/eqn/io.c line 119
- in /usr/src/usr.bin/eqn/matrix.c line 56
- in /usr/src/usr.bin/eqn/over.c line 43
- in /usr/src/usr.bin/eqn/paren.c line 12
- in /usr/src/usr.bin/eqn/pile.c line 73
- in /usr/src/usr.bin/eqn/shift.c line 39-41(2), 62-64(2), 76-79(4), 137-144(3), 165-166(2)
- in /usr/src/usr.bin/eqn/sqrt.c line 18
- in /usr/src/usr.bin/eqn/text.c line 28, 51-54(2)

righteq defined in line 29; used 7 times

- in /usr/src/usr.bin/eqn/io.c line 163
- in /usr/src/usr.bin/eqn/lex.c line 101, 146, 155, 225-227(3)

sccsid defined in line 2; never used
svargc defined in line 20; used 5 times

- in /usr/src/usr.bin/eqn/io.c line 158-160(2), 171, 177
- in /usr/src/usr.bin/eqn/lex.c line 25

svargv defined in line 21; used 15 times

- in /usr/src/usr.bin/eqn/io.c line 159-166(8), 172, 179, 200, 206
- in /usr/src/usr.bin/eqn/lex.c line 39-45(3)

used defined in line 10; used 3 times

- in /usr/src/usr.bin/eqn/io.c line 34, 138, 144

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