Home | History | Annotate | Download | only in regex

Lines Matching refs:sop

59 	sop *strip;		/* malloced strip */
99 static void doemit(struct parse *, sop, size_t);
100 static void doinsert(struct parse *, sop, size_t, sopno);
101 static void dofwd(struct parse *, sopno, sop);
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)
133 #define ASTERN(sop, pos) EMIT(sop, HERE()-pos)
179 p->strip = (sop *)calloc(p->ssize, sizeof(sop));
1288 (char *)(p->strip + start), (size_t)len*sizeof(sop));
1301 doemit(struct parse *p, sop op, size_t opnd)
1316 p->strip[p->slen++] = SOP(op, opnd);
1320 - doinsert - insert a sop into the strip
1323 doinsert(struct parse *p, sop op, size_t opnd, sopno pos)
1326 sop s;
1350 (HERE()-pos-1)*sizeof(sop));
1358 dofwd(struct parse *p, sopno pos, sop value)
1374 sop *sp;
1379 sp = (sop *)realloc(p->strip, size*sizeof(sop));
1395 g->strip = (sop *)realloc((char *)p->strip, p->slen * sizeof(sop));
1414 sop *scan;
1415 sop *start = NULL; /* start initialized in the default case, after that */
1416 sop *newstart = NULL; /* newstart was initialized in the OCHAR case */
1418 sop s;
1492 sop *scan;
1493 sop s;