# 2.11BSD#431 - /usr/src/new/PORT/perl.1.0.0/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 46 times

- in /usr/src/new/PORT/perl.1.0.0/arg.c line 34, 42-46(2), 56, 79, 89, 112, 151, 211-215(2), 350-359(3), 402, 413-417(2), 451, 457, 495-499(2), 643, 703, 724, 770, 787, 805, 1200, 1360, 1371
- in /usr/src/new/PORT/perl.1.0.0/array.c line 35, 60, 66
- in /usr/src/new/PORT/perl.1.0.0/cmd.c line 182, 255
- in /usr/src/new/PORT/perl.1.0.0/form.c line 251
- in /usr/src/new/PORT/perl.1.0.0/hash.c line 57, 90, 106, 129
- in /usr/src/new/PORT/perl.1.0.0/search.c line 73, 717, 735
- in /usr/src/new/PORT/perl.1.0.0/stab.c line 172-177(2), 277
- in /usr/src/new/PORT/perl.1.0.0/util.c line 233

Null defined in line 9; used 33 times

- in line 10-11(2)
- in /usr/src/new/PORT/perl.1.0.0/arg.c line 37, 111, 148, 199, 210, 510, 559, 593, 969, 1002, 1238, 1265, 1646, 1653, 1742, 1898-1912(4), 2034
- in /usr/src/new/PORT/perl.1.0.0/cmd.c line 261, 282, 291-295(2), 324
- in /usr/src/new/PORT/perl.1.0.0/form.c line 60, 104, 153, 210
- in /usr/src/new/PORT/perl.1.0.0/hash.c line 198
- in /usr/src/new/PORT/perl.1.0.0/util.c line 230

Nullch defined in line 10; used 49 times

- in /usr/src/new/PORT/perl.1.0.0/arg.c line 765, 801, 1330
- in /usr/src/new/PORT/perl.1.0.0/cmd.c line 52, 69, 81, 102, 118-121(2), 136, 151
- in /usr/src/new/PORT/perl.1.0.0/form.c line 64, 107, 156
- in /usr/src/new/PORT/perl.1.0.0/perl.y line 133, 195
- in /usr/src/new/PORT/perl.1.0.0/search.c line 103-105(2), 119-124(2), 195, 228, 485-489(3), 496-500(3), 530, 540, 711-716(2)
- in /usr/src/new/PORT/perl.1.0.0/stab.c line 79, 89, 243, 255
- in /usr/src/new/PORT/perl.1.0.0/str.c line 43, 210, 331, 385, 392, 403
- in /usr/src/new/PORT/perl.1.0.0/util.c line 39, 65, 96, 121, 162, 169, 244

Nullfp defined in line 11; used 4 times

- in /usr/src/new/PORT/perl.1.0.0/arg.c line 300, 405, 425, 1345

TRUE defined in line 14; used 66 times

- in /usr/src/new/PORT/perl.1.0.0/arg.c line 42, 50-53(2), 81-86(2), 112, 135, 211, 363, 403, 422, 441-445(2), 461-466(3), 659-662(2), 705, 731, 1280, 1584, 1597, 1641
- in /usr/src/new/PORT/perl.1.0.0/array.c line 64
- in /usr/src/new/PORT/perl.1.0.0/cmd.c line 188, 249, 302
- in /usr/src/new/PORT/perl.1.0.0/hash.c line 74, 127
- in /usr/src/new/PORT/perl.1.0.0/perl.y line 218-224(3), 383-388(2), 407, 413, 419-445(9), 452, 459-464(2), 473-477(2), 493-497(2), 507, 514-520(3), 530, 544, 564, 581-585(2)
- in /usr/src/new/PORT/perl.1.0.0/search.c line 733
- in /usr/src/new/PORT/perl.1.0.0/stab.c line 292, 300
- in /usr/src/new/PORT/perl.1.0.0/util.c line 214

bool defined in line 13; used 27 times

- in /usr/src/new/PORT/perl.1.0.0/arg.c line 18, 282, 408-413(3), 433, 486, 636, 697, 708, 715, 745, 773, 1200
- in /usr/src/new/PORT/perl.1.0.0/array.c line 26, 32, 54, 95
- in /usr/src/new/PORT/perl.1.0.0/cmd.c line 34
- in /usr/src/new/PORT/perl.1.0.0/hash.c line 44, 94
- in /usr/src/new/PORT/perl.1.0.0/search.c line 73, 476, 564, 720, 738
- in /usr/src/new/PORT/perl.1.0.0/util.c line 214

strEQ defined in line 20; used 8 times

- in /usr/src/new/PORT/perl.1.0.0/arg.c line 313, 323, 341, 1784
- in /usr/src/new/PORT/perl.1.0.0/cmd.c line 51
- in /usr/src/new/PORT/perl.1.0.0/stab.c line 248-250(2), 265

strGE defined in line 24; used 1 times

- in /usr/src/new/PORT/perl.1.0.0/arg.c line 1780

strGT defined in line 23; used 1 times

- in /usr/src/new/PORT/perl.1.0.0/arg.c line 1772

strLE defined in line 22; used 1 times

- in /usr/src/new/PORT/perl.1.0.0/arg.c line 1776

strLT defined in line 21; used 1 times

- in /usr/src/new/PORT/perl.1.0.0/arg.c line 1768

strNE defined in line 19; used 8 times

- in /usr/src/new/PORT/perl.1.0.0/arg.c line 1788, 1864
- in /usr/src/new/PORT/perl.1.0.0/form.c line 78, 121, 170
- in /usr/src/new/PORT/perl.1.0.0/hash.c line 37, 70, 119

strnEQ defined in line 26; used 3 times

- in /usr/src/new/PORT/perl.1.0.0/cmd.c line 211
- in /usr/src/new/PORT/perl.1.0.0/dump.c line 233
- in /usr/src/new/PORT/perl.1.0.0/util.c line 259

strnNE defined in line 25; used 2 times

- in /usr/src/new/PORT/perl.1.0.0/arg.c line 78, 132

#### Usage of this include

handy.h used 11 times

- in /usr/src/new/PORT/perl.1.0.0/arg.c line 10
- in /usr/src/new/PORT/perl.1.0.0/array.c line 11
- in /usr/src/new/PORT/perl.1.0.0/cmd.c line 9
- in /usr/src/new/PORT/perl.1.0.0/dump.c line 9
- in /usr/src/new/PORT/perl.1.0.0/form.c line 9
- in /usr/src/new/PORT/perl.1.0.0/hash.c line 11
- in /usr/src/new/PORT/perl.1.0.0/perl.y line 10
- in /usr/src/new/PORT/perl.1.0.0/search.c line 15
- in /usr/src/new/PORT/perl.1.0.0/stab.c line 10
- in /usr/src/new/PORT/perl.1.0.0/str.c line 9
- in /usr/src/new/PORT/perl.1.0.0/util.c line 11

Last modified: 1988-01-31 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 649 |