Lines Matching refs:sop
60 sop *strip; /* malloced strip */
100 static void doemit(struct parse *, sop, size_t);
101 static void doinsert(struct parse *, sop, size_t, sopno);
102 static void dofwd(struct parse *, sopno, sop);
131 #define EMIT(op, sopnd) doemit(p, (sop)(op), (size_t)(sopnd))
132 #define INSERT(op, pos) doinsert(p, (sop)(op), HERE()-(pos)+1, pos)
134 #define ASTERN(sop, pos) EMIT(sop, HERE()-pos)
187 p->strip = (sop *)calloc(p->ssize, sizeof(sop));
1324 (char *)(p->strip + start), (size_t)len*sizeof(sop));
1337 doemit(struct parse *p, sop op, size_t opnd)
1352 p->strip[p->slen++] = SOP(op, opnd);
1356 - doinsert - insert a sop into the strip
1359 sop op, size_t opnd, sopno pos)
1362 sop s;
1386 (HERE()-pos-1)*sizeof(sop));
1394 dofwd(struct parse *p, sopno pos, sop value)
1410 sop *sp;
1415 sp = (sop *)realloc(p->strip, size*sizeof(sop));
1431 g->strip = (sop *)realloc((char *)p->strip, p->slen * sizeof(sop));
1450 sop *scan;
1451 sop *start = 0; /* start initialized in the default case, after that */
1452 sop *newstart = 0; /* newstart was initialized in the OCHAR case */
1454 sop s;
1528 sop *scan;
1529 sop s;