reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1196 int no = p->g->ncsets++; 1200 size_t css = (size_t)p->g->csetsize; 1203 if (no >= p->ncsalloc) { /* need another column of space */ 1206 p->ncsalloc += CHAR_BIT; 1207 nc = p->ncsalloc; 1213 ptr = (cset *)realloc((char *)p->g->sets, nc * sizeof(cset)); 1216 p->g->sets = ptr; 1218 ptr = (uch *)realloc((char *)p->g->setbits, nbytes); 1221 p->g->setbits = ptr; 1224 p->g->sets[i].ptr = p->g->setbits + css*(i/CHAR_BIT); 1224 p->g->sets[i].ptr = p->g->setbits + css*(i/CHAR_BIT); 1226 (void) memset((char *)p->g->setbits + (nbytes - css), 0, css); 1229 if (p->g->sets == NULL || p->g->setbits == NULL) 1229 if (p->g->sets == NULL || p->g->setbits == NULL) 1232 cs = &p->g->sets[no]; 1233 cs->ptr = p->g->setbits + css*((no)/CHAR_BIT); 1241 free(p->g->sets); 1242 p->g->sets = NULL; 1243 free(p->g->setbits); 1244 p->g->setbits = NULL; 1246 SETERROR(REG_ESPACE);