Searched refs:ALIGNMENT (Results 1 – 1 of 1) sorted by relevance
| /TwlSDK-5.4/build/libraries/os/common/src/ |
| D | os_alloc.c | 83 #define ALIGNMENT 32 // alignment in bytes macro 84 #define MINOBJSIZE (HEADERSIZE + ALIGNMENT) // smallest object 85 #define HEADERSIZE ROUND(sizeof(Cell), ALIGNMENT) 402 size = ROUND(size, ALIGNMENT); in OS_AllocFromHeap() 422 SDK_TASSERTMSG(OFFSET(cell, ALIGNMENT) == 0, OS_ERR_ALLOCFROMHEAP_BROKENHEAP); in OS_AllocFromHeap() 501 void *start = (void *)TRUNC(*rstart, ALIGNMENT); in OS_AllocFixed() 502 void *end = (void *)ROUND(*rend, ALIGNMENT); in OS_AllocFixed() 651 SDK_ASSERT(OFFSET(start, ALIGNMENT) == 0); in OS_AllocFixed() 652 SDK_ASSERT(OFFSET(end, ALIGNMENT) == 0); in OS_AllocFixed() 702 SDK_TASSERTMSG(OFFSET(ptr, ALIGNMENT) == 0, OS_ERR_FREETOHEAP_INVPTR); in OS_FreeToHeap() [all …]
|