Searched refs:ALLOC_SIZE (Results 1 - 4 of 4) sorted by relevance

/external/mksh/src/
H A Dlalloc.c32 #define ALLOC_ISUNALIGNED(p) (((ptrdiff_t)(p)) % ALLOC_SIZE)
54 * note: the alignment of "ptr" to ALLOC_SIZE is checked
57 *lpp = (lp = ptr - ALLOC_SIZE);
97 if (notoktoadd(numb, ALLOC_SIZE) ||
98 (lp = remalloc(lp, numb + ALLOC_SIZE)) == NULL
108 return ((char *)lp + ALLOC_SIZE);
H A Dmain.c116 cp = alloc(sizeof(*bufptr) - ALLOC_SIZE, APERM);
119 memset(cp, 0, sizeof(*bufptr) - ALLOC_SIZE);
122 bufptr = (void *)(cp - ALLOC_SIZE);
842 cp = alloc(sizeof(struct env) - ALLOC_SIZE, ATEMP);
844 ep = (void *)(cp - ALLOC_SIZE);
917 afree(cp + ALLOC_SIZE, ATEMP);
H A Dsh.h542 #define ALLOC_SIZE (sizeof(ALLOC_ITEM)) macro
/external/srec/portable/src/
H A Dphashtable.c34 #define ALLOC_SIZE 16 macro
49 PHashTableEntry entries[ALLOC_SIZE];
381 for (i = 0; i < ALLOC_SIZE - 1; ++i)
385 block->entries[ALLOC_SIZE-1].next = NULL;
390 for (i = 0, entry = block->entries; i < ALLOC_SIZE - 1; ++i, ++entry)

Completed in 906 milliseconds