# 2.11BSD#431 - /usr/src/ucb/pascal/pxp/0.h

##### Variables

    Recovery          X
    all               X
    bracket           X
    cbn               X
    cnts              X
    core              X
    eflg              X
    errpfx            X
    errtrace          X
    filename          X
    firstname         X
    fout              X
    full              X
    fulltrace         X
    gocnt             X
    hadsome           X
    justify           X
    lastbn            X
    lastname          X
    line              X
    nodecl            X
    noinclude         X
    nojunk            X
    onefile           X
    opts              X
    optstk            X
    pfcnt             X
    pfcnts            X
    pflist            X
    pflstc            X
    pmain             X
    printed           X
    profile           X
    ptvec             X
    stdoutn           X
    stripcomm         X
    table             X
    testtrace         X
    tvec              X
    typetest          X
    underline         X
    unit              X
    yyunique          X

##### Macros

    AOK               X
    CHAR              X
    DECL              X
    DIED              X
    DSPLYSZ           X
    ERRS              X
    HASHINC           X
    HEX               X
    IHASH             X
    ITREE             X
    MAXDEPTH          X
    MAXHASH           X
    MAXTREE           X
    NIL               X
    NOCON             X
    NOSTART           X
    OCT               X
    PRFN              X
    SAWCON            X
    STAT              X
    STATIC            X
    STRINC            X
    TRINC             X
    opt               X
    quit              X
    recovered         X
    setpfx            X
    standard          X
    warning           X

##### struct's

    pxcnt             X

       1: /* #define DEBUG */
       2: #define CHAR
       3: #define STATIC
       4: /*
       5:  * pxp - Pascal execution profiler
       6:  *
       7:  * Bill Joy
       8:  * University of California, Berkeley (UCB)
       9:  * Version 1.1 February 1978
      10:  */
      11:
      12: #include <sys/types.h>
      13: #include <sys/stat.h>
      14:
      15: /*
      16:  * Option flags
      17:  *
      18:  * The following options are recognized on the command line by pxp.
      19:  * Only the u, w, and z options here have effect in comments in the
      20:  * program; the others are command line only, and unrelated
      21:  * to the options with the same designations in comments.
      22:  *
      23:  *	a	Print all routines in a profile; normally, routines
      24:  *		which have never been executed have their bodies suppressed.
      25:  *
      26:  *	c	Extract profile data from the file core, or the file
      27:  *		named after the last argument rather than the file 'pmon.out'.
      28:  *		Must be used with z to have an effect.
      29:  *
      30:  *	d	Suppress declarations
      31:  *
      32:  *	f	Fully parenthesize expressions.
      33:  *
      34:  *	j	Left justify all procedures and functions rather than
      35:  *		indenting them.
      36:  *
      37:  *	n	Eject a new page in the listing as each 'include' file
      38:  *		is incorporated into the profile.
      39:  *
      40:  *	o	Put output prettyprint in first argument file
      41:  *
      42:  *	p	Pretty print a main program without processing
      43:  *		the include statements.
      44:  *
      45:  *	t	Print a table summarizing procedure and function call counts.
      46:  *
      47:  *	u	Card image mode; only the first 72 chars on a line count.
      48:  *
      49:  *	w	Suppress certain warning diagnostics.
      50:  *
      51:  *	z	Generate an execution profile of the program.
      52:  *		May also be followed by a list of procedure and function
      53:  *		names mixed, if desired, with include file names.
      54:  *		Only these procedures and functions, and the contents
      55:  *		of the specified include files will then be profiled.
      56:  *
      57:  *  [23456789]	Use the specified number of spaces for the basic
      58:  *		indenting unit in the program.
      59:  *
      60:  *	_	Underline keywords in the output.
      61:  */
      62:
      63: char    all, core, nodecl, full, justify, pmain, stripcomm, table, underline;
      64: char    profile, onefile;
      65: char    *firstname, *stdoutn;
      66: #ifdef DEBUG
      67: char    fulltrace, errtrace, testtrace, yyunique, typetest;
      68: #endif
      69: int unit;
      70:
      71: /*
      72:  * The flag nojunk means that header lines
      73:  * of procedures and functions are to be suppressed
      74:  * when the z option is off.
      75:  * It is the default when command line z option
      76:  * control is specified.
      77:  *
      78:  * The flag noinclude indicates that include statements are not
      79:  * to be processed since we are pretty-printing the contents
      80:  * of a single file.
      81:  *
      82:  * The flag bracket indicates that the source code should be
      83:  * bracketed with lines of the form
      84:  *	program x(output);
      85:  * and
      86:  *	begin end.
      87:  * so that an include will pretty print without syntax errors.
      88:  */
      89: char    nojunk, noinclude, bracket;
      90:
      91: /*
      92:  * IMPORTANT NOTE
      93:  *
      94:  * Many of the following globals are shared by pi and pxp.
      95:  * For more discussion of these see the available documentation
      96:  * on the structure of pi.
      97:  */
      98:
      99: /*
     100:  * Each option has a stack of 17 option values, with opts giving
     101:  * the current, top value, and optstk the value beneath it.
     102:  * One refers to option `l' as, e.g., opt('l') in the text for clarity.
     103:  */
     104: char    opts[26];
     105: int optstk[26];
     106:
     107: #define opt(c) opts[c-'a']
     108:
     109: /*
     110:  * NOTES ON THE DYNAMIC NATURE OF THE DATA STRUCTURES
     111:  *
     112:  * Pxp uses expandable tables for its string table
     113:  * hash table, and parse tree space.  The following
     114:  * definitions specify the size of the increments
     115:  * for these items in fundamental units so that
     116:  * each uses approximately 1024 bytes.
     117:  */
     118:
     119: #define STRINC  1024        /* string space increment */
     120: #define TRINC   512     /* tree space increment */
     121: #define HASHINC 509     /* hash table size in words, each increment */
     122:
     123: /*
     124:  * The initial sizes of the structures.
     125:  * These should be large enough to profile
     126:  * an "average" sized program so as to minimize
     127:  * storage requests.
     128:  * On a small system or and 11/34 or 11/40
     129:  * these numbers can be trimmed to make the
     130:  * profiler smaller.
     131:  */
     132: #define ITREE   2000
     133: #define IHASH   509
     134:
     135: /*
     136:  * The following limits on hash and tree tables currently
     137:  * allow approximately 1200 symbols and 20k words of tree
     138:  * space.  The fundamental limit of 64k total data space
     139:  * should be exceeded well before these are full.
     140:  */
     141: #define MAXHASH 4
     142: #define MAXTREE 30
     143: #define MAXDEPTH 150
     144:
     145: /*
     146:  * ERROR RELATED DEFINITIONS
     147:  */
     148:
     149: /*
     150:  * Exit statuses to pexit
     151:  *
     152:  * AOK
     153:  * ERRS		Compilation errors inhibit obj productin
     154:  * NOSTART	Errors before we ever got started
     155:  * DIED		We ran out of memory or some such
     156:  */
     157: #define AOK 0
     158: #define ERRS    1
     159: #define NOSTART 2
     160: #define DIED    3
     161:
     162: char    Recovery;
     163: /*
     164:  * The flag eflg is set whenever we have a hard error.
     165:  * The character in errpfx will precede the next error message.
     166:  */
     167: int eflg;
     168: char    errpfx;
     169:
     170: #define setpfx(x)   errpfx = x
     171:
     172: #define standard()  setpfx('s')
     173: #define warning()   setpfx('w')
     174: #define recovered() setpfx('e')
     175: #define quit()      setpfx('Q')
     176:
     177: /*
     178:  * SEMANTIC DEFINITIONS
     179:  */
     180:
     181: #define NIL 0
     182:
     183: /*
     184:  * NOCON and SAWCON are flags in the tree telling whether
     185:  * a constant set is part of an expression.
     186:  */
     187: #define NOCON   0
     188: #define SAWCON  1
     189:
     190: /*
     191:  * The variable cbn gives the current block number.
     192:  * The variable lastbn gives the block number before
     193:  * it last changed and is used to know that we were
     194:  * in a nested procedure so that we can print
     195:  *	begin { solve }
     196:  * when solve has nested procedures or functions in it.
     197:  */
     198: int cbn, lastbn;
     199:
     200: /*
     201:  * The variable line is the current semantic
     202:  * line and is set in stat.c from the numbers
     203:  * embedded in statement type tree nodes.
     204:  */
     205: int line;
     206:
     207: /*
     208:  * The size of the display
     209:  * which defines the maximum nesting
     210:  * of procedures and functions allowed.
     211:  */
     212: #define DSPLYSZ 20
     213:
     214: /*
     215:  * Routines which need types
     216:  * other than "integer" to be
     217:  * assumed by the compiler.
     218:  */
     219: int *tree();
     220: int *hash();
     221: char    *alloc();
     222: long    cntof();
     223: long    nowcnt();
     224:
     225: /*
     226:  * Funny structures to use
     227:  * pointers in wild and wooly ways
     228:  */
     229: struct {
     230:     char    pchar;
     231: };
     232: struct {
     233:     int pint;
     234:     int pint2;
     235: };
     236: struct {
     237:     long    plong;
     238: };
     239: struct {
     240:     double  pdouble;
     241: };
     242:
     243: #define OCT 1
     244: #define HEX 2
     245:
     246: /*
     247:  * MAIN PROGRAM GLOBALS, MISCELLANY
     248:  */
     249:
     250: /*
     251:  * Variables forming a data base referencing
     252:  * the command line arguments with the "z" option.
     253:  */
     254: char    **pflist;
     255: int pflstc;
     256: int pfcnt;
     257:
     258: char    *filename;      /* current source file name */
     259: char    *lastname;      /* last file name printed */
     260: time_t  tvec;           /* mod time of the source file */
     261: time_t  ptvec;          /* time profiled */
     262: char    printed;        /* current file has been printed */
     263: char    hadsome;        /* had some output */
     264:
     265: /*
     266:  * PROFILING AND FORMATTING DEFINITIONS
     267:  */
     268:
     269: /*
     270:  * The basic counter information recording structure.
     271:  * This is global only because people outside
     272:  * the cluster in pmon.c need to know its size.
     273:  */
     274: struct pxcnt {
     275:     long    ntimes;     /* the count this structure is all about */
     276:     int counter;    /* a unique counter number for us */
     277:     int gos;        /* global goto count when we hatched */
     278:     int printed;    /* are we considered to have been printed? */
     279: } pfcnts[DSPLYSZ];
     280:
     281: /*
     282:  * The pieces we divide the output line indents into:
     283:  *	line#  PRFN  label:   STAT  999.---|  DECL   text
     284:  */
     285: #define STAT    0
     286: #define DECL    1
     287: #define PRFN    2
     288:
     289: /*
     290:  * Gocnt records the total number of goto's and
     291:  * cnts records the current counter for generating
     292:  * COUNT operators.
     293:  */
     294: int gocnt;
     295: int cnts;
     296:
     297: int fout[259];
     298: int flush(), putchar();

#### Defined variables

Recovery defined in line 162; used 4 times

- in /usr/src/ucb/pascal/pxp/yyid.c line 64
- in /usr/src/ucb/pascal/pxp/yyput.c line 55
- in /usr/src/ucb/pascal/pxp/yyrecover.c line 200, 494

all defined in line 63; used 2 times

- in /usr/src/ucb/pascal/pxp/main.c line 88
- in /usr/src/ucb/pascal/pxp/pp.c line 26

bracket defined in line 89; used 5 times

- in /usr/src/ucb/pascal/pxp/fdec.c line 34, 187
- in /usr/src/ucb/pascal/pxp/main.c line 170
- in /usr/src/ucb/pascal/pxp/yyget.c line 128
- in /usr/src/ucb/pascal/pxp/yymain.c line 35

cbn defined in line 198; used 26 times

- in /usr/src/ucb/pascal/pxp/fdec.c line 27-28(2), 36, 128-131(3), 165-168(3), 185-193(5), 199, 209-214(3), 220
- in /usr/src/ucb/pascal/pxp/nl.c line 423, 491, 510, 581, 666, 674
- in /usr/src/ucb/pascal/pxp/pmon.c line 195

cnts defined in line 295; used 6 times

- in /usr/src/ucb/pascal/pxp/pmon.c line 205, 287-293(4), 344

core defined in line 63; used 4 times

- in /usr/src/ucb/pascal/pxp/main.c line 91, 150, 160
- in /usr/src/ucb/pascal/pxp/pmon.c line 53

eflg defined in line 167; used 6 times

- in /usr/src/ucb/pascal/pxp/error.c line 98-101(2)
- in /usr/src/ucb/pascal/pxp/yyerror.c line 70-73(2)
- in /usr/src/ucb/pascal/pxp/yymain.c line 79, 88

errpfx defined in line 168; used 11 times

- in line 170
- in /usr/src/ucb/pascal/pxp/error.c line 68, 85, 91-96(3), 103
- in /usr/src/ucb/pascal/pxp/yyerror.c line 44, 57, 68, 75

errtrace defined in line 67; used 3 times

- in /usr/src/ucb/pascal/pxp/main.c line 78
- in /usr/src/ucb/pascal/pxp/yyrecover.c line 132, 205

filename defined in line 258; used 28 times

- in /usr/src/ucb/pascal/pxp/error.c line 83
- in /usr/src/ucb/pascal/pxp/main.c line 165-176(6), 194-197(2), 220, 258
- in /usr/src/ucb/pascal/pxp/subr.c line 54
- in /usr/src/ucb/pascal/pxp/yyget.c line 69, 237-238(3), 244-248(3), 297, 305(2)
- in /usr/src/ucb/pascal/pxp/yylex.c line 76, 331
- in /usr/src/ucb/pascal/pxp/yymain.c line 38
- in /usr/src/ucb/pascal/pxp/yyput.c line 56, 66, 252

firstname defined in line 65; used 4 times

- in /usr/src/ucb/pascal/pxp/main.c line 165
- in /usr/src/ucb/pascal/pxp/yymain.c line 98-99(2), 105

fout defined in line 297; used 17 times

- in /usr/src/ucb/pascal/pxp/error.c line 72-73(2), 112
- in /usr/src/ucb/pascal/pxp/main.c line 184-191(4)
- in /usr/src/ucb/pascal/pxp/pp.c line 334, 361
- in /usr/src/ucb/pascal/pxp/yyerror.c line 48-49(2), 84
- in /usr/src/ucb/pascal/pxp/yymain.c line 94, 102-104(4)

full defined in line 63; used 5 times

- in /usr/src/ucb/pascal/pxp/main.c line 100
- in /usr/src/ucb/pascal/pxp/rval.c line 66, 80, 92, 101

fulltrace defined in line 67; used 5 times

- in /usr/src/ucb/pascal/pxp/main.c line 76
- in /usr/src/ucb/pascal/pxp/yyrecover.c line 269, 545, 599, 622

gocnt defined in line 294; used 5 times

- in /usr/src/ucb/pascal/pxp/lab.c line 53
- in /usr/src/ucb/pascal/pxp/pmon.c line 253, 277-279(2), 291

hadsome defined in line 263; used 6 times

- in /usr/src/ucb/pascal/pxp/pp.c line 59, 75, 175
- in /usr/src/ucb/pascal/pxp/yyput.c line 189, 203, 280

justify defined in line 63; used 6 times

- in /usr/src/ucb/pascal/pxp/fdec.c line 36, 131, 165, 214
- in /usr/src/ucb/pascal/pxp/main.c line 103
- in /usr/src/ucb/pascal/pxp/pmon.c line 216

lastbn defined in line 198; used 5 times

- in /usr/src/ucb/pascal/pxp/fdec.c line 28, 168, 189-193(2), 199

lastname defined in line 259; used 5 times

- in /usr/src/ucb/pascal/pxp/main.c line 197
- in /usr/src/ucb/pascal/pxp/yyput.c line 250, 257, 271-273(2)

line defined in line 205; used 35 times

- in /usr/src/ucb/pascal/pxp/const.c line 21
- in /usr/src/ucb/pascal/pxp/error.c line 40, 80-81(3), 87, 94
- in /usr/src/ucb/pascal/pxp/pmon.c line 193
- in /usr/src/ucb/pascal/pxp/pp.c line 243-245(4)
- in /usr/src/ucb/pascal/pxp/type.c line 20
- in /usr/src/ucb/pascal/pxp/var.c line 20
- in /usr/src/ucb/pascal/pxp/yycomm.c line 89
- in /usr/src/ucb/pascal/pxp/yyerror.c line 98
- in /usr/src/ucb/pascal/pxp/yyget.c line 144, 192, 200, 206, 222, 232
- in /usr/src/ucb/pascal/pxp/yyid.c line 76-78(2), 91, 100-109(4)
- in /usr/src/ucb/pascal/pxp/yyput.c line 179-181(2), 201-211(4)

nodecl defined in line 63; used 6 times

- in /usr/src/ucb/pascal/pxp/const.c line 22, 58
- in /usr/src/ucb/pascal/pxp/lab.c line 19
- in /usr/src/ucb/pascal/pxp/main.c line 94
- in /usr/src/ucb/pascal/pxp/type.c line 21
- in /usr/src/ucb/pascal/pxp/var.c line 21

noinclude defined in line 89; used 8 times

- in /usr/src/ucb/pascal/pxp/fdec.c line 34, 187
- in /usr/src/ucb/pascal/pxp/main.c line 97, 155, 162, 169
- in /usr/src/ucb/pascal/pxp/yycomm.c line 304
- in /usr/src/ucb/pascal/pxp/yyget.c line 227

nojunk defined in line 89; used 2 times

- in /usr/src/ucb/pascal/pxp/fdec.c line 30
- in /usr/src/ucb/pascal/pxp/main.c line 134

onefile defined in line 64; used 3 times

- in /usr/src/ucb/pascal/pxp/main.c line 110, 177
- in /usr/src/ucb/pascal/pxp/yymain.c line 73

opts defined in line 104; used 8 times

- in line 107
- in /usr/src/ucb/pascal/pxp/fdec.c line 24-25(2), 217
- in /usr/src/ucb/pascal/pxp/subr.c line 42, 167-168(2), 179

optstk defined in line 105; used 8 times

- in /usr/src/ucb/pascal/pxp/fdec.c line 23-24(2), 217-218(2)
- in /usr/src/ucb/pascal/pxp/subr.c line 166-167(2), 179-180(2)

pfcnt defined in line 256; used 4 times

- in /usr/src/ucb/pascal/pxp/fdec.c line 41
- in /usr/src/ucb/pascal/pxp/pmon.c line 33, 194, 215

pfcnts defined in line 279; used 2 times

- in /usr/src/ucb/pascal/pxp/fdec.c line 128, 185

pflist defined in line 254; used 2 times

- in /usr/src/ucb/pascal/pxp/main.c line 124
- in /usr/src/ucb/pascal/pxp/subr.c line 89

pflstc defined in line 255; used 4 times

- in /usr/src/ucb/pascal/pxp/main.c line 125-131(3)
- in /usr/src/ucb/pascal/pxp/subr.c line 90

pmain defined in line 63; never used
printed defined in line 262; used 18 times

- in line 278
- in /usr/src/ucb/pascal/pxp/pmon.c line 254, 266, 278(2), 292, 299, 333-334(2)
- in /usr/src/ucb/pascal/pxp/yyget.c line 256-257(2), 314-315(2), 321
- in /usr/src/ucb/pascal/pxp/yyput.c line 252-253(2), 271-274(2)

profile defined in line 64; used 21 times

- in /usr/src/ucb/pascal/pxp/main.c line 123, 150-154(3), 167, 192, 219
- in /usr/src/ucb/pascal/pxp/pmon.c line 203, 209, 240, 249, 261, 273, 285
- in /usr/src/ucb/pascal/pxp/pp.c line 19, 32, 188, 226, 242, 372
- in /usr/src/ucb/pascal/pxp/yycomm.c line 353

ptvec defined in line 261; used 2 times

- in /usr/src/ucb/pascal/pxp/main.c line 221
- in /usr/src/ucb/pascal/pxp/pmon.c line 163

stdoutn defined in line 65; used 7 times

- in /usr/src/ucb/pascal/pxp/main.c line 180-188(4), 239-240(2)
- in /usr/src/ucb/pascal/pxp/pp.c line 389

stripcomm defined in line 63; used 2 times

- in /usr/src/ucb/pascal/pxp/main.c line 113
- in /usr/src/ucb/pascal/pxp/yycomm.c line 311

table defined in line 63; used 15 times

- in /usr/src/ucb/pascal/pxp/main.c line 116, 150-154(2), 167, 219
- in /usr/src/ucb/pascal/pxp/pmon.c line 187, 203-207(2), 240, 249, 261, 273, 285
- in /usr/src/ucb/pascal/pxp/pp.c line 20, 33

testtrace defined in line 67; used 2 times

- in /usr/src/ucb/pascal/pxp/main.c line 74
- in /usr/src/ucb/pascal/pxp/yyrecover.c line 133

tvec defined in line 260; used 4 times

- in /usr/src/ucb/pascal/pxp/main.c line 220
- in /usr/src/ucb/pascal/pxp/pmon.c line 156, 163
- in /usr/src/ucb/pascal/pxp/subr.c line 55

typetest defined in line 67; used 2 times

- in /usr/src/ucb/pascal/pxp/main.c line 71
- in /usr/src/ucb/pascal/pxp/yyid.c line 220

underline defined in line 63; used 2 times

- in /usr/src/ucb/pascal/pxp/main.c line 137
- in /usr/src/ucb/pascal/pxp/pp.c line 60

unit defined in line 69; used 6 times

- in /usr/src/ucb/pascal/pxp/main.c line 141
- in /usr/src/ucb/pascal/pxp/pmon.c line 217
- in /usr/src/ucb/pascal/pxp/pp.c line 214, 278, 284, 372

yyunique defined in line 67; used 2 times

- in /usr/src/ucb/pascal/pxp/main.c line 84
- in /usr/src/ucb/pascal/pxp/yyrecover.c line 444

#### Defined struct's

pxcnt defined in line 274; used 18 times

- in /usr/src/ucb/pascal/pxp/case.c line 19(2)
- in /usr/src/ucb/pascal/pxp/pmon.c line 26(2), 237(2), 258(2), 270(2)
- in /usr/src/ucb/pascal/pxp/stat.c line 157(2), 177(2), 232(2), 247(2)

#### Defined macros

AOK defined in line 157; used 1 times

- in /usr/src/ucb/pascal/pxp/yymain.c line 88

CHAR defined in line 2; used 5 times

- in /usr/src/ucb/pascal/pxp/subr.c line 162, 175
- in /usr/src/ucb/pascal/pxp/yycomm.c line 194
- in /usr/src/ucb/pascal/pxp/yyget.c line 105
- in /usr/src/ucb/pascal/pxp/yyput.c line 218

DECL defined in line 286; used 28 times

- in /usr/src/ucb/pascal/pxp/case.c line 32, 73
- in /usr/src/ucb/pascal/pxp/const.c line 29, 62
- in /usr/src/ucb/pascal/pxp/fdec.c line 147-152(2), 201-205(2)
- in /usr/src/ucb/pascal/pxp/lab.c line 26, 43
- in /usr/src/ucb/pascal/pxp/pp.c line 189, 206
- in /usr/src/ucb/pascal/pxp/rec.c line 18, 27, 35-40(2), 107, 128
- in /usr/src/ucb/pascal/pxp/stat.c line 94, 142, 254, 260
- in /usr/src/ucb/pascal/pxp/type.c line 28, 59, 144, 157
- in /usr/src/ucb/pascal/pxp/var.c line 28, 68

DIED defined in line 160; used 19 times

- in /usr/src/ucb/pascal/pxp/error.c line 48
- in /usr/src/ucb/pascal/pxp/hash.c line 149, 187
- in /usr/src/ucb/pascal/pxp/main.c line 244, 252
- in /usr/src/ucb/pascal/pxp/nl.c line 604-609(2)
- in /usr/src/ucb/pascal/pxp/pp.c line 390
- in /usr/src/ucb/pascal/pxp/string.c line 43
- in /usr/src/ucb/pascal/pxp/tree.c line 120, 126
- in /usr/src/ucb/pascal/pxp/yyget.c line 146, 202, 208, 234, 242-246(2)
- in /usr/src/ucb/pascal/pxp/yyparse.c line 70
- in /usr/src/ucb/pascal/pxp/yyput.c line 154

DSPLYSZ defined in line 212; used 1 times

- in line 279

ERRS defined in line 158; used 10 times

- in /usr/src/ucb/pascal/pxp/pmon.c line 347
- in /usr/src/ucb/pascal/pxp/yycomm.c line 217
- in /usr/src/ucb/pascal/pxp/yyerror.c line 80
- in /usr/src/ucb/pascal/pxp/yylex.c line 264
- in /usr/src/ucb/pascal/pxp/yymain.c line 81, 88, 100, 106
- in /usr/src/ucb/pascal/pxp/yyrecover.c line 503, 510

HASHINC defined in line 121; used 8 times

- in /usr/src/ucb/pascal/pxp/hash.c line 91-95(2), 133, 146, 152, 166, 183-184(2)

HEX defined in line 244; used 2 times

- in /usr/src/ucb/pascal/pxp/call.c line 31
- in /usr/src/ucb/pascal/pxp/pas.y line 760

IHASH defined in line 133; never used
ITREE defined in line 132; used 2 times

- in /usr/src/ucb/pascal/pxp/tree.c line 48, 63

MAXDEPTH defined in line 143; used 3 times

- in /usr/src/ucb/pascal/pxp/yyparse.c line 40-41(2), 68

MAXHASH defined in line 141; used 2 times

- in /usr/src/ucb/pascal/pxp/hash.c line 25, 144

MAXTREE defined in line 142; used 2 times

- in /usr/src/ucb/pascal/pxp/tree.c line 23, 124

NIL defined in line 181; used 201 times

- in /usr/src/ucb/pascal/pxp/call.c line 21-41(8)
- in /usr/src/ucb/pascal/pxp/case.c line 24-29(3), 36-43(3), 60, 75
- in /usr/src/ucb/pascal/pxp/const.c line 77
- in /usr/src/ucb/pascal/pxp/cset.c line 22-34(6)
- in /usr/src/ucb/pascal/pxp/fdec.c line 61-64(2), 83-87(2), 98, 105, 112-117(2), 230
- in /usr/src/ucb/pascal/pxp/hash.c line 128, 135, 145, 154
- in /usr/src/ucb/pascal/pxp/lab.c line 29-35(3)
- in /usr/src/ucb/pascal/pxp/lval.c line 21-23(2), 53-62(5)
- in /usr/src/ucb/pascal/pxp/nl.c line 334-335(2), 422-425(2), 434, 663-664(2), 674
- in /usr/src/ucb/pascal/pxp/pas.y line 131, 140(3), 194-197(4), 303, 328, 429, 443, 451-454(2), 471, 477, 490, 500(2), 526, 540-543(2), 552-558(4), 601, 607, 615, 633, 686, 711, 725-728(2), 744, 750
- in /usr/src/ucb/pascal/pxp/pmon.c line 132
- in /usr/src/ucb/pascal/pxp/pp.c line 76, 87, 106, 270, 296, 317
- in /usr/src/ucb/pascal/pxp/rec.c line 15-17(2), 32-36(2), 53-64(4), 76-80(3), 89, 95, 103-105(2), 111-117(3), 130
- in /usr/src/ucb/pascal/pxp/rval.c line 27, 118
- in /usr/src/ucb/pascal/pxp/stat.c line 21-30(3), 45, 132-136(2), 151, 166, 181, 188, 197, 208, 223-225(2), 236, 259, 298, 313
- in /usr/src/ucb/pascal/pxp/tree.c line 150, 159-160(2)
- in /usr/src/ucb/pascal/pxp/type.c line 70, 111, 142, 148, 187-192(2)
- in /usr/src/ucb/pascal/pxp/var.c line 43-47(2)
- in /usr/src/ucb/pascal/pxp/yycomm.c line 132-136(3), 161, 179(2), 198(2), 273, 281, 428, 449
- in /usr/src/ucb/pascal/pxp/yycosts.c line 170(2)
- in /usr/src/ucb/pascal/pxp/yyid.c line 42, 49-51(2), 58-59(2), 66, 84-88(2), 106, 132, 155, 179(2), 226
- in /usr/src/ucb/pascal/pxp/yyprint.c line 76, 89
- in /usr/src/ucb/pascal/pxp/yyput.c line 57, 87, 93
- in /usr/src/ucb/pascal/pxp/yyrecover.c line 362, 373-375(2), 381, 412, 458, 558, 696, 728-729(2), 772, 790
- in /usr/src/ucb/pascal/pxp/yyseman.c line 41
- in /usr/src/ucb/pascal/pxp/yytree.c line 58-59(2), 72-74(2), 91-94(3), 109

NOCON defined in line 187; used 7 times

- in /usr/src/ucb/pascal/pxp/pas.y line 654, 660-666(3), 674, 680
- in /usr/src/ucb/pascal/pxp/yytree.c line 111

NOSTART defined in line 159; used 6 times

- in /usr/src/ucb/pascal/pxp/main.c line 82, 176
- in /usr/src/ucb/pascal/pxp/pmon.c line 72, 88, 118
- in /usr/src/ucb/pascal/pxp/yymain.c line 39

OCT defined in line 243; used 3 times

- in /usr/src/ucb/pascal/pxp/call.c line 31-33(2)
- in /usr/src/ucb/pascal/pxp/pas.y line 757

PRFN defined in line 287; used 8 times

- in /usr/src/ucb/pascal/pxp/fdec.c line 37, 132, 166, 215
- in /usr/src/ucb/pascal/pxp/pp.c line 189-192(2), 252, 372

SAWCON defined in line 188; used 6 times

- in /usr/src/ucb/pascal/pxp/pas.y line 639, 648-651(2), 657, 683-686(2)

STAT defined in line 285; used 15 times

- in /usr/src/ucb/pascal/pxp/case.c line 59-64(2), 72
- in /usr/src/ucb/pascal/pxp/pp.c line 189-192(2)
- in /usr/src/ucb/pascal/pxp/stat.c line 168, 189-193(3), 211-218(3), 239, 250, 261

STATIC defined in line 3; used 21 times

- in /usr/src/ucb/pascal/pxp/const.c line 12
- in /usr/src/ucb/pascal/pxp/pmon.c line 26, 32, 42-47(6), 82, 95, 105, 306, 338
- in /usr/src/ucb/pascal/pxp/string.c line 20-22(3)
- in /usr/src/ucb/pascal/pxp/type.c line 12
- in /usr/src/ucb/pascal/pxp/var.c line 12
- in /usr/src/ucb/pascal/pxp/yyprint.c line 20
- in /usr/src/ucb/pascal/pxp/yyrecover.c line 170

STRINC defined in line 119; used 3 times

- in /usr/src/ucb/pascal/pxp/string.c line 20, 39-40(2)

TRINC defined in line 120; used 1 times

- in /usr/src/ucb/pascal/pxp/tree.c line 116

opt defined in line 107; used 13 times

- in /usr/src/ucb/pascal/pxp/error.c line 68
- in /usr/src/ucb/pascal/pxp/main.c line 192-195(3)
- in /usr/src/ucb/pascal/pxp/nl.c line 420
- in /usr/src/ucb/pascal/pxp/pp.c line 26
- in /usr/src/ucb/pascal/pxp/yyerror.c line 44
- in /usr/src/ucb/pascal/pxp/yyget.c line 112, 165
- in /usr/src/ucb/pascal/pxp/yylex.c line 95, 125
- in /usr/src/ucb/pascal/pxp/yypanic.c line 141
- in /usr/src/ucb/pascal/pxp/yyput.c line 252

quit defined in line 175; never used
recovered defined in line 174; used 5 times

- in /usr/src/ucb/pascal/pxp/pas.y line 504
- in /usr/src/ucb/pascal/pxp/yylex.c line 146, 185, 219
- in /usr/src/ucb/pascal/pxp/yyrecover.c line 363

setpfx defined in line 170; used 10 times

- in line 172-175(4)
- in /usr/src/ucb/pascal/pxp/error.c line 122
- in /usr/src/ucb/pascal/pxp/yyerror.c line 99
- in /usr/src/ucb/pascal/pxp/yypanic.c line 142
- in /usr/src/ucb/pascal/pxp/yyrecover.c line 206, 370, 440

standard defined in line 172; used 1 times

- in /usr/src/ucb/pascal/pxp/yylex.c line 126

warning defined in line 173; used 2 times

- in /usr/src/ucb/pascal/pxp/yylex.c line 239, 267

#### Usage of this include

0.h used 39 times

- in /usr/src/ucb/pascal/pxp/TRdata.c line 3
- in /usr/src/ucb/pascal/pxp/call.c line 9
- in /usr/src/ucb/pascal/pxp/case.c line 9
- in /usr/src/ucb/pascal/pxp/const.c line 9
- in /usr/src/ucb/pascal/pxp/cset.c line 9
- in /usr/src/ucb/pascal/pxp/error.c line 15
- in /usr/src/ucb/pascal/pxp/fdec.c line 9
- in /usr/src/ucb/pascal/pxp/func.c line 9
- in /usr/src/ucb/pascal/pxp/hash.c line 15
- in /usr/src/ucb/pascal/pxp/lab.c line 9
- in /usr/src/ucb/pascal/pxp/lval.c line 9
- in /usr/src/ucb/pascal/pxp/main.c line 12
- in /usr/src/ucb/pascal/pxp/nl.c line 9
- in /usr/src/ucb/pascal/pxp/pas.y line 107
- in /usr/src/ucb/pascal/pxp/pmon.c line 9
- in /usr/src/ucb/pascal/pxp/pp.c line 9
- in /usr/src/ucb/pascal/pxp/proc.c line 9
- in /usr/src/ucb/pascal/pxp/rec.c line 9
- in /usr/src/ucb/pascal/pxp/rval.c line 9
- in /usr/src/ucb/pascal/pxp/stat.c line 9
- in /usr/src/ucb/pascal/pxp/string.c line 9
- in /usr/src/ucb/pascal/pxp/subr.c line 16
- in /usr/src/ucb/pascal/pxp/tree.c line 15
- in /usr/src/ucb/pascal/pxp/type.c line 9
- in /usr/src/ucb/pascal/pxp/var.c line 9
- in /usr/src/ucb/pascal/pxp/yycomm.c line 9
- in /usr/src/ucb/pascal/pxp/yycosts.c line 15
- in /usr/src/ucb/pascal/pxp/yyerror.c line 15
- in /usr/src/ucb/pascal/pxp/yyget.c line 15
- in /usr/src/ucb/pascal/pxp/yyid.c line 15
- in /usr/src/ucb/pascal/pxp/yylex.c line 15
- in /usr/src/ucb/pascal/pxp/yymain.c line 18
- in /usr/src/ucb/pascal/pxp/yypanic.c line 15
- in /usr/src/ucb/pascal/pxp/yyparse.c line 15
- in /usr/src/ucb/pascal/pxp/yyprint.c line 15
- in /usr/src/ucb/pascal/pxp/yyput.c line 15
- in /usr/src/ucb/pascal/pxp/yyrecover.c line 15
- in /usr/src/ucb/pascal/pxp/yyseman.c line 15
- in /usr/src/ucb/pascal/pxp/yytree.c line 9

Last modified: 1987-07-25 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 1261 |