reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
322 p->ssize = len/(size_t)2*(size_t)3 + (size_t)1; /* ugh */ 323 p->strip = (sop *)calloc(p->ssize, sizeof(sop)); 323 p->strip = (sop *)calloc(p->ssize, sizeof(sop)); 324 p->slen = 0; 325 if (p->strip == NULL) { 331 p->g = g; 332 p->next = (char *)pattern; /* convenience; we do not modify it */ 333 p->end = p->next + len; 333 p->end = p->next + len; 334 p->error = 0; 335 p->ncsalloc = 0; 337 p->pbegin[i] = 0; 338 p->pend[i] = 0; 357 EMIT(OEND, 0); 358 g->firststate = THERE(); 360 p_ere(p, OUT); 362 p_str(p); 364 p_bre(p, OUT, OUT); 365 EMIT(OEND, 0); 366 g->laststate = THERE(); 369 categorize(p, g); 370 stripsnug(p, g); 371 findmust(p, g); 372 g->nplus = pluscount(p, g); 380 SETERROR(REG_ASSERT); 384 if (p->error != 0) /* lose */ 386 return(p->error);