Lines Matching +full:int +full:- +full:fwd +full:- +full:mask

3 /*-
39 * First, the stuff that ends up in the outside-world include file
42 = int re_magic;
45 = struct re_guts *re_g; // none of your business :-)
66 * - OPLUS_ and O_PLUS are *inside* the loop they create.
67 * - OQUEST_ and O_QUEST are *outside* the bypass they create.
68 * - OCH_ and O_CH are *outside* the multi-way branch they create, while
79 /* (back, fwd are offsets) */
80 #define OEND (1) /* endmarker - */
82 #define OBOL (3) /* left anchor - */
83 #define OEOL (4) /* right anchor - */
84 #define OANY (5) /* . - */
88 #define OPLUS_ (9) /* + prefix fwd to suffix */
90 #define OQUEST_ (11) /* ? prefix fwd to suffix */
92 #define OLPAREN (13) /* ( fwd to ) */
94 #define OCH_ (15) /* begin choice fwd to OOR2 */
96 #define OOR2 (17) /* | pt. 2 fwd to OOR2 or O_CH */
98 #define OBOW (19) /* begin word - */
99 #define OEOW (20) /* end word - */
102 * Structure for [] character-set representation. Character sets are
105 * and a mask to pick out the relevant bit of each byte. A hash code
110 * a string of multi-character elements, and decide the size of the
114 uch *ptr; /* -> uch [csetsize] */
115 uch mask; /* bit within array */ member
118 char *multis; /* -> char[smulti] ab\0cd\0ef\0\0 */
121 #define CHadd(cs, c) ((cs)->ptr[(uch)(c)] |= (cs)->mask, (cs)->hash += (c))
122 #define CHsub(cs, c) ((cs)->ptr[(uch)(c)] &= ~(cs)->mask, (cs)->hash -= (c))
123 #define CHIN(cs, c) ((cs)->ptr[(uch)(c)] & (cs)->mask)
132 * main compiled-expression structure
135 int magic;
141 cset *sets; /* -> cset [ncsets] */
142 uch *setbits; /* -> uch[csetsize][ncsets/CHAR_BIT] */
143 int cflags; /* copy of regcomp() cflags argument */
147 int iflags; /* internal flags */
155 cat_t *categories; /* ->catspace[-CHAR_MIN] */
160 int backrefs; /* does it use back references? */
169 #define OUT REOF /* a non-character value */