Home | History | Annotate | Download | only in src

Lines Matching refs:ap

37 ainit(Area *ap)
40 ap->next = NULL;
44 findptr(ALLOC_ITEM **lpp, char *ptr, Area *ap)
59 while (ap->next != lp)
60 if ((ap = ap->next) == NULL) {
65 internal_warningf("rogue pointer %zX in ap %zX",
66 (size_t)ptr, (size_t)ap);
73 return (ap);
77 aresize2(void *ptr, size_t fac1, size_t fac2, Area *ap)
81 return (aresize(ptr, fac1 * fac2, ap));
85 aresize(void *ptr, size_t numb, Area *ap)
93 pp = findptr(&lp, ptr, ap);
105 lp->next = ap->next;
106 ap->next = lp;
112 afree(void *ptr, Area *ap)
117 pp = findptr(&lp, ptr, ap);
126 afreeall(Area *ap)
131 while ((lp = ap->next) != NULL) {
133 ap->next = lp->next;