Lines Matching defs:ap
144 Array *ap;
147 ap = (Array *) malloc(sizeof(Array));
149 if (ap == NULL || tp == NULL)
151 ap->nelem = 0;
152 ap->size = n;
153 ap->tab = tp;
154 return(ap);
157 void freesymtab(Cell *ap) /* free a symbol table */
163 if (!isarr(ap))
165 tp = (Array *) ap->sval;
180 WARNING("can't happen: inconsistent element count freeing %s", ap->nval);
185 void freeelem(Cell *ap, const char *s) /* free elem s from ap (i.e., ap["s"] */
191 tp = (Array *) ap->sval;