Home
last modified time | relevance | path

Searched refs:ALLOC_ITEM (Results 1 – 3 of 3) sorted by relevance

/external/mksh/src/
Dlalloc.c113 *lpp = (lp = ptr - sizeof(ALLOC_ITEM)); in findptr()
153 if (notoktoadd(numb, sizeof(ALLOC_ITEM)) || in aresize()
154 (lp = remalloc(lp, numb + sizeof(ALLOC_ITEM))) == NULL in aresize()
164 return ((char *)lp + sizeof(ALLOC_ITEM)); in aresize()
Dmain.c152 ALLOC_ITEM alloc_INT; in rndsetup()
161 cp = alloc(sizeof(*bufptr) - sizeof(ALLOC_ITEM), APERM); in rndsetup()
163 memset(cp, 0, sizeof(*bufptr) - sizeof(ALLOC_ITEM)); in rndsetup()
165 bufptr = (void *)(cp - sizeof(ALLOC_ITEM)); in rndsetup()
999 cp = alloc(sizeof(struct env) - sizeof(ALLOC_ITEM), ATEMP); in newenv()
1001 ep = (void *)(cp - sizeof(ALLOC_ITEM)); in newenv()
1097 afree(cp + sizeof(ALLOC_ITEM), ATEMP); in quitenv()
Dsh.h711 #define ALLOC_ITEM struct lalloc_item macro
714 #define ALLOC_ITEM struct lalloc_common macro
715 #define ALLOC_OVERHEAD (sizeof(ALLOC_ITEM))
760 ALLOC_ITEM alloc_INT; /* internal, do not touch */