Lines Matching refs:stack
5 @brief Temporary memory allocation on stack
55 * @def ALIGN(stack, size)
57 * Aligns the stack to a 'size' boundary
59 * @param stack Stack
64 * @def PUSH(stack, size, type)
66 * Allocates 'size' elements of type 'type' on the stack
68 * @param stack Stack
76 * Declare variable on stack
84 * Allocate 'size' elements of 'type' on stack
134 #define ALIGN(stack, size) ((stack) += ((size) - (long)(stack)) & ((size) - 1))
135 #define PUSH(stack, size, type) (VALGRIND_MAKE_MEM_NOACCESS(stack, global_stack_top-stack),ALIGN((stack),sizeof(type)/sizeof(char)),VALGRIND_MAKE_MEM_UNDEFINED(stack, ((size)*sizeof(type)/sizeof(char))),(stack)+=(2*(size)*sizeof(type)/sizeof(char)),(type*)((stack)-(2*(size)*sizeof(type)/sizeof(char))))
141 #define ALIGN(stack, size) ((stack) += ((size) - (long)(stack)) & ((size) - 1))
142 #define PUSH(stack, size, type) (ALIGN((stack),sizeof(type)/sizeof(char)),(stack)+=(size)*(sizeof(type)/sizeof(char)),(type*)((stack)-(size)*(sizeof(type)/sizeof(char))))