Home
last modified time | relevance | path

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

/third_party/mksh/
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.c157 ALLOC_ITEM alloc_INT; in rndsetup()
166 cp = alloc(sizeof(*bufptr) - sizeof(ALLOC_ITEM), APERM); in rndsetup()
168 memset(cp, 0, sizeof(*bufptr) - sizeof(ALLOC_ITEM)); in rndsetup()
170 bufptr = (void *)(cp - sizeof(ALLOC_ITEM)); in rndsetup()
1038 cp = alloc(sizeof(struct env) - sizeof(ALLOC_ITEM), ATEMP); in newenv()
1040 ep = (void *)(cp - sizeof(ALLOC_ITEM)); in newenv()
1135 afree(cp + sizeof(ALLOC_ITEM), ATEMP); in quitenv()
Djobs.c91 ALLOC_ITEM alloc_INT; /* internal, do not touch */
1797 cp = alloc(sizeof(Job) - sizeof(ALLOC_ITEM), APERM);
1799 newj = (void *)(cp - sizeof(ALLOC_ITEM));
Dsh.h811 #define ALLOC_ITEM struct lalloc_item macro
814 #define ALLOC_ITEM struct lalloc_common macro
815 #define ALLOC_OVERHEAD (sizeof(ALLOC_ITEM))
860 ALLOC_ITEM alloc_INT; /* internal, do not touch */