Lines Matching defs:strip
66 sop *strip; /* malloced strip */
67 sopno ssize; /* malloced strip size (allocated) */
68 sopno slen; /* malloced strip length (used) */
199 p->strip = (sop *)malloc(p->ssize * sizeof (sop));
201 if (p->strip == NULL) {
604 assert(OP(p->strip[p->pbegin[i]]) == OLPAREN);
605 assert(OP(p->strip[p->pend[i]]) == ORPAREN);
986 sopno start, /* operand from here to end of strip */
1237 (void) memcpy((char *)(p->strip + p->slen),
1238 (char *)(p->strip + start), (size_t)len*sizeof (sop));
1244 * doemit - emit a strip operator
1260 /* deal with undersized strip */
1266 p->strip[p->slen++] = SOP(op, opnd);
1270 * doinsert - insert a sop into the strip
1286 s = p->strip[sn];
1299 (void) memmove((char *)&p->strip[pos+1], (char *)&p->strip[pos],
1301 p->strip[pos] = s;
1315 p->strip[pos] = OP(p->strip[pos]) | value;
1319 * enlarge - enlarge the strip
1329 sp = (sop *)realloc(p->strip, size*sizeof (sop));
1334 p->strip = sp;
1339 * stripsnug - compact the strip
1345 g->strip = (sop *)realloc((char *)p->strip, p->slen * sizeof (sop));
1346 if (g->strip == NULL) {
1348 g->strip = p->strip;
1389 /* find the longest OCHAR sequence in strip */
1393 scan = g->strip + 1;
1744 scan = g->strip + 1;