# 2.11BSD#431 - /usr/src/new/PORT/perl.1.0.16/handy.h

##### Macros

    Ctl               X
    FALSE             X
    Null              X
    Nullch            X
    Nullfp            X
    TRUE              X
    bool              X
    strEQ             X
    strGE             X
    strGT             X
    strLE             X
    strLT             X
    strNE             X
    strnEQ            X
    strnNE            X

       1: /* $Header: handy.h,v 1.0 87/12/18 13:05:14 root Exp $
       2:  *
       3:  * $Log:	handy.h,v $
       4:  * Revision 1.0  87/12/18  13:05:14  root
       5:  * Initial revision
       6:  *
       7:  */
       8:
       9: #define Null(type) ((type)0)
      10: #define Nullch Null(char*)
      11: #define Nullfp Null(FILE*)
      12:
      13: #define bool char
      14: #define TRUE (1)
      15: #define FALSE (0)
      16:
      17: #define Ctl(ch) (ch & 037)
      18:
      19: #define strNE(s1,s2) (strcmp(s1,s2))
      20: #define strEQ(s1,s2) (!strcmp(s1,s2))
      21: #define strLT(s1,s2) (strcmp(s1,s2) < 0)
      22: #define strLE(s1,s2) (strcmp(s1,s2) <= 0)
      23: #define strGT(s1,s2) (strcmp(s1,s2) > 0)
      24: #define strGE(s1,s2) (strcmp(s1,s2) >= 0)
      25: #define strnNE(s1,s2,l) (strncmp(s1,s2,l))
      26: #define strnEQ(s1,s2,l) (!strncmp(s1,s2,l))

#### Defined macros

Ctl defined in line 17; never used
FALSE defined in line 15; used 43 times

- in /usr/src/new/PORT/perl.1.0.16/arg.c line 52, 60-64(2), 74, 97, 107, 130, 169, 238-242(2), 381-390(3), 433, 444-448(2), 482, 488, 526-530(2), 684, 744, 765, 811, 828, 846, 1247, 1407, 1418
- in /usr/src/new/PORT/perl.1.0.16/array.c line 35, 60, 66
- in /usr/src/new/PORT/perl.1.0.16/cmd.c line 185, 258
- in /usr/src/new/PORT/perl.1.0.16/form.c line 251
- in /usr/src/new/PORT/perl.1.0.16/hash.c line 57, 90, 106, 129
- in /usr/src/new/PORT/perl.1.0.16/search.c line 78, 720, 738
- in /usr/src/new/PORT/perl.1.0.16/util.c line 241

Null defined in line 9; used 33 times

- in line 10-11(2)
- in /usr/src/new/PORT/perl.1.0.16/arg.c line 55, 129, 166, 217, 228, 541, 595, 629, 1010, 1043, 1285, 1312, 1693, 1700, 1789, 1945-1959(4), 2086
- in /usr/src/new/PORT/perl.1.0.16/cmd.c line 264, 285, 294-298(2), 327
- in /usr/src/new/PORT/perl.1.0.16/form.c line 60, 104, 153, 210
- in /usr/src/new/PORT/perl.1.0.16/hash.c line 198
- in /usr/src/new/PORT/perl.1.0.16/util.c line 238

Nullch defined in line 10; used 49 times

- in /usr/src/new/PORT/perl.1.0.16/arg.c line 806, 842, 1377
- in /usr/src/new/PORT/perl.1.0.16/cmd.c line 55, 72, 84, 105, 121-124(2), 139, 154
- in /usr/src/new/PORT/perl.1.0.16/form.c line 64, 107, 156
- in /usr/src/new/PORT/perl.1.0.16/perl.y line 138, 200
- in /usr/src/new/PORT/perl.1.0.16/search.c line 108-110(2), 123-127(2), 198, 231, 488-492(3), 499-503(3), 533, 543, 714-719(2)
- in /usr/src/new/PORT/perl.1.0.16/stab.c line 85, 95, 255, 267
- in /usr/src/new/PORT/perl.1.0.16/str.c line 46, 213, 334, 388, 395, 406
- in /usr/src/new/PORT/perl.1.0.16/util.c line 42, 68, 99, 124, 165, 172, 252

Nullfp defined in line 11; used 4 times

- in /usr/src/new/PORT/perl.1.0.16/arg.c line 331, 436, 456, 1392

TRUE defined in line 14; used 70 times

- in /usr/src/new/PORT/perl.1.0.16/arg.c line 60, 68-71(2), 99-104(2), 130, 153, 238, 394, 434, 453, 472-476(2), 492-497(3), 700-703(2), 746, 772, 1327, 1631, 1644, 1688
- in /usr/src/new/PORT/perl.1.0.16/array.c line 64
- in /usr/src/new/PORT/perl.1.0.16/cmd.c line 191, 252, 305
- in /usr/src/new/PORT/perl.1.0.16/hash.c line 74, 127
- in /usr/src/new/PORT/perl.1.0.16/perl.y line 223-229(3), 388-393(2), 412, 418, 424-450(9), 457, 464-469(2), 478-482(2), 498-502(2), 512, 519-525(3), 535, 549, 569, 586-590(2)
- in /usr/src/new/PORT/perl.1.0.16/search.c line 736
- in /usr/src/new/PORT/perl.1.0.16/stab.c line 178, 189, 289, 304, 312
- in /usr/src/new/PORT/perl.1.0.16/util.c line 213, 222

bool defined in line 13; used 27 times

- in /usr/src/new/PORT/perl.1.0.16/arg.c line 36, 313, 439-444(3), 464, 517, 672, 738, 749, 756, 786, 814, 1247
- in /usr/src/new/PORT/perl.1.0.16/array.c line 26, 32, 54, 95
- in /usr/src/new/PORT/perl.1.0.16/cmd.c line 37
- in /usr/src/new/PORT/perl.1.0.16/hash.c line 44, 94
- in /usr/src/new/PORT/perl.1.0.16/search.c line 78, 479, 567, 723, 741
- in /usr/src/new/PORT/perl.1.0.16/util.c line 222

strEQ defined in line 20; used 8 times

- in /usr/src/new/PORT/perl.1.0.16/arg.c line 344, 354, 372, 1831
- in /usr/src/new/PORT/perl.1.0.16/cmd.c line 54
- in /usr/src/new/PORT/perl.1.0.16/stab.c line 260-262(2), 277

strGE defined in line 24; used 1 times

- in /usr/src/new/PORT/perl.1.0.16/arg.c line 1827

strGT defined in line 23; used 1 times

- in /usr/src/new/PORT/perl.1.0.16/arg.c line 1819

strLE defined in line 22; used 1 times

- in /usr/src/new/PORT/perl.1.0.16/arg.c line 1823

strLT defined in line 21; used 1 times

- in /usr/src/new/PORT/perl.1.0.16/arg.c line 1815

strNE defined in line 19; used 8 times

- in /usr/src/new/PORT/perl.1.0.16/arg.c line 1835, 1911
- in /usr/src/new/PORT/perl.1.0.16/form.c line 78, 121, 170
- in /usr/src/new/PORT/perl.1.0.16/hash.c line 37, 70, 119

strnEQ defined in line 26; used 3 times

- in /usr/src/new/PORT/perl.1.0.16/cmd.c line 214
- in /usr/src/new/PORT/perl.1.0.16/dump.c line 233
- in /usr/src/new/PORT/perl.1.0.16/util.c line 267

strnNE defined in line 25; used 2 times

- in /usr/src/new/PORT/perl.1.0.16/arg.c line 96, 150

#### Usage of this include

handy.h used 12 times

- in /usr/src/new/PORT/perl.1.0.16/arg.c line 28
- in /usr/src/new/PORT/perl.1.0.16/array.c line 11
- in /usr/src/new/PORT/perl.1.0.16/cmd.c line 12
- in /usr/src/new/PORT/perl.1.0.16/dump.c line 9
- in /usr/src/new/PORT/perl.1.0.16/form.c line 9
- in /usr/src/new/PORT/perl.1.0.16/hash.c line 11
- in /usr/src/new/PORT/perl.1.0.16/malloc.c line 31
- in /usr/src/new/PORT/perl.1.0.16/perl.y line 13
- in /usr/src/new/PORT/perl.1.0.16/search.c line 18
- in /usr/src/new/PORT/perl.1.0.16/stab.c line 17
- in /usr/src/new/PORT/perl.1.0.16/str.c line 12
- in /usr/src/new/PORT/perl.1.0.16/util.c line 14

Last modified: 2002-12-19 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 1203 |