Lines Matching refs:sop
196 sop *strip; /* malloced strip */
236 static void doemit(struct parse *, sop, size_t);
237 static void doinsert(struct parse *, sop, size_t, sopno);
238 static void dofwd(struct parse *, sopno, sop);
267 #define EMIT(op, sopnd) doemit(p, (sop)(op), (size_t)(sopnd))
268 #define INSERT(op, pos) doinsert(p, (sop)(op), HERE()-(pos)+1, pos)
270 #define ASTERN(sop, pos) EMIT(sop, HERE()-pos)
323 p->strip = (sop *)calloc(p->ssize, sizeof(sop));
1462 (char *)(p->strip + start), (size_t)len*sizeof(sop));
1475 doemit(struct parse *p, sop op, size_t opnd)
1494 - doinsert - insert a sop into the strip
1497 doinsert(struct parse *p, sop op, size_t opnd, sopno pos)
1500 sop s;
1524 (HERE()-pos-1)*sizeof(sop));
1532 dofwd(struct parse *p, sopno pos, sop value)
1548 sop *sp;
1553 if ((uintptr_t)size > SIZE_MAX / sizeof(sop)) {
1558 sp = (sop *)realloc(p->strip, size*sizeof(sop));
1574 if ((uintptr_t)p->slen > SIZE_MAX / sizeof(sop)) {
1580 g->strip = (sop *)realloc((char *)p->strip, p->slen * sizeof(sop));
1599 sop *scan;
1600 sop *start = 0; /* start initialized in the default case, after that */
1601 sop *newstart = 0; /* newstart was initialized in the OCHAR case */
1603 sop s;
1677 sop *scan;
1678 sop s;