# 2.11BSD#431 - /usr/src/new/PORT/perl.1.0.10/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.10/arg.c line 46, 54-58(2), 68, 91, 101, 124, 163, 223-227(2), 362-371(3), 414, 425-429(2), 463, 469, 507-511(2), 665, 725, 746, 792, 809, 827, 1228, 1388, 1399
- in /usr/src/new/PORT/perl.1.0.10/array.c line 35, 60, 66
- in /usr/src/new/PORT/perl.1.0.10/cmd.c line 185, 258
- in /usr/src/new/PORT/perl.1.0.10/form.c line 251
- in /usr/src/new/PORT/perl.1.0.10/hash.c line 57, 90, 106, 129
- in /usr/src/new/PORT/perl.1.0.10/search.c line 78, 720, 738
- in /usr/src/new/PORT/perl.1.0.10/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.10/arg.c line 49, 123, 160, 211, 222, 522, 576, 610, 991, 1024, 1266, 1293, 1674, 1681, 1770, 1926-1940(4), 2062
- in /usr/src/new/PORT/perl.1.0.10/cmd.c line 264, 285, 294-298(2), 327
- in /usr/src/new/PORT/perl.1.0.10/form.c line 60, 104, 153, 210
- in /usr/src/new/PORT/perl.1.0.10/hash.c line 198
- in /usr/src/new/PORT/perl.1.0.10/util.c line 238

Nullch defined in line 10; used 49 times

- in /usr/src/new/PORT/perl.1.0.10/arg.c line 787, 823, 1358
- in /usr/src/new/PORT/perl.1.0.10/cmd.c line 55, 72, 84, 105, 121-124(2), 139, 154
- in /usr/src/new/PORT/perl.1.0.10/form.c line 64, 107, 156
- in /usr/src/new/PORT/perl.1.0.10/perl.y line 139, 201
- in /usr/src/new/PORT/perl.1.0.10/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.10/stab.c line 82, 92, 246, 258
- in /usr/src/new/PORT/perl.1.0.10/str.c line 46, 213, 334, 388, 395, 406
- in /usr/src/new/PORT/perl.1.0.10/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.10/arg.c line 312, 417, 437, 1373

TRUE defined in line 14; used 70 times

- in /usr/src/new/PORT/perl.1.0.10/arg.c line 54, 62-65(2), 93-98(2), 124, 147, 223, 375, 415, 434, 453-457(2), 473-478(3), 681-684(2), 727, 753, 1308, 1612, 1625, 1669
- in /usr/src/new/PORT/perl.1.0.10/array.c line 64
- in /usr/src/new/PORT/perl.1.0.10/cmd.c line 191, 252, 305
- in /usr/src/new/PORT/perl.1.0.10/hash.c line 74, 127
- in /usr/src/new/PORT/perl.1.0.10/perl.y line 224-230(3), 389-394(2), 413, 419, 425-451(9), 458, 465-470(2), 479-483(2), 499-503(2), 513, 520-526(3), 536, 550, 570, 587-591(2)
- in /usr/src/new/PORT/perl.1.0.10/search.c line 736
- in /usr/src/new/PORT/perl.1.0.10/stab.c line 175-180(2), 280, 295, 303
- in /usr/src/new/PORT/perl.1.0.10/util.c line 213, 222

bool defined in line 13; used 27 times

- in /usr/src/new/PORT/perl.1.0.10/arg.c line 30, 294, 420-425(3), 445, 498, 653, 719, 730, 737, 767, 795, 1228
- in /usr/src/new/PORT/perl.1.0.10/array.c line 26, 32, 54, 95
- in /usr/src/new/PORT/perl.1.0.10/cmd.c line 37
- in /usr/src/new/PORT/perl.1.0.10/hash.c line 44, 94
- in /usr/src/new/PORT/perl.1.0.10/search.c line 78, 479, 567, 723, 741
- in /usr/src/new/PORT/perl.1.0.10/util.c line 222

strEQ defined in line 20; used 8 times

- in /usr/src/new/PORT/perl.1.0.10/arg.c line 325, 335, 353, 1812
- in /usr/src/new/PORT/perl.1.0.10/cmd.c line 54
- in /usr/src/new/PORT/perl.1.0.10/stab.c line 251-253(2), 268

strGE defined in line 24; used 1 times

- in /usr/src/new/PORT/perl.1.0.10/arg.c line 1808

strGT defined in line 23; used 1 times

- in /usr/src/new/PORT/perl.1.0.10/arg.c line 1800

strLE defined in line 22; used 1 times

- in /usr/src/new/PORT/perl.1.0.10/arg.c line 1804

strLT defined in line 21; used 1 times

- in /usr/src/new/PORT/perl.1.0.10/arg.c line 1796

strNE defined in line 19; used 8 times

- in /usr/src/new/PORT/perl.1.0.10/arg.c line 1816, 1892
- in /usr/src/new/PORT/perl.1.0.10/form.c line 78, 121, 170
- in /usr/src/new/PORT/perl.1.0.10/hash.c line 37, 70, 119

strnEQ defined in line 26; used 3 times

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

strnNE defined in line 25; used 2 times

- in /usr/src/new/PORT/perl.1.0.10/arg.c line 90, 144

#### Usage of this include

handy.h used 12 times

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

Last modified: 1988-02-03 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 1122 |