Home | History | Annotate | Download | only in regex

Lines Matching refs:OP

130 #define	EMIT(op, sopnd)	doemit(p, (sop)(op), (size_t)(sopnd))
131 #define INSERT(op, pos) doinsert(p, (sop)(op), HERE()-(pos)+1, pos)
289 - p_ere_exp - parse one subERE, an atom possibly followed by a repetition op
499 pos = HERE(); /* repetion op, if any, covers from here */
555 assert(OP(p->strip[p->pbegin[i]]) == OLPAREN);
556 assert(OP(p->strip[p->pend[i]]) == ORPAREN);
1301 doemit(struct parse *p, sop op, size_t opnd)
1316 p->strip[p->slen++] = SOP(op, opnd);
1323 doinsert(struct parse *p, sop op, size_t opnd, sopno pos)
1334 EMIT(op, opnd); /* do checks, ensure space */
1365 p->strip[pos] = OP(p->strip[pos]) | value;
1431 switch (OP(s)) {
1448 if (OP(s) != O_QUEST && OP(s) != O_CH &&
1449 OP(s) != OOR2) {
1453 } while (OP(s) != O_QUEST && OP(s) != O_CH);
1463 } while (OP(s) != OEND);
1477 while (OP(s = *scan++) != OCHAR)
1503 switch (OP(s)) {
1513 } while (OP(s) != OEND);