Lines Matching defs:sp
1572 RestrictStackT *sp
1575 if (sp)
1576 return sizeof(sp->pres)/sizeof(sp->pres[0]);
1586 RestrictStackT *sp;
1588 if (NULL == (sp = *spp) || 0 == sp->fcnt) {
1590 sp = emalloc(sizeof(*sp));
1591 sp->link = *spp;
1592 sp->fcnt = getStackSheetSize(sp);
1593 *spp = sp;
1595 sp->pres[--sp->fcnt] = ptr;
1605 RestrictStackT *sp;
1607 if (NULL == (sp = *spp) || sp->fcnt >= getStackSheetSize(sp))
1610 *opp = sp->pres[sp->fcnt++];
1611 if (sp->fcnt >= getStackSheetSize(sp)) {
1613 *spp = sp->link;
1614 free(sp);
1624 RestrictStackT *sp;
1626 while (NULL != (sp = *spp)) {
1627 *spp = sp->link;
1628 free(sp);