Searched refs:ALLOC_ITEM (Results 1 – 4 of 4) sorted by relevance
/third_party/mksh/ |
D | lalloc.c | 113 *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()
|
D | main.c | 157 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()
|
D | jobs.c | 91 ALLOC_ITEM alloc_INT; /* internal, do not touch */ 1797 cp = alloc(sizeof(Job) - sizeof(ALLOC_ITEM), APERM); 1799 newj = (void *)(cp - sizeof(ALLOC_ITEM));
|
D | sh.h | 811 #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 */
|