Home | History | Annotate | Download | only in libspeex

Lines Matching full:size

51  * @def ALIGN(stack, size)
53 * Aligns the stack to a 'size' boundary
56 * @param size New size boundary
60 * @def PUSH(stack, size, type)
62 * Allocates 'size' elements of type 'type' on the stack
65 * @param size Number of elements
78 * @def ALLOC(var, size, type)
80 * Allocate 'size' elements of 'type' on stack
83 * @param size Number of elements
91 #define ALIGN(stack, size) ((stack) += ((size) - (long)(stack)) & ((size) - 1))
93 #define PUSH(stack, size, type) (VALGRIND_MAKE_NOACCESS(stack, 1000),ALIGN((stack),sizeof(type)),VALGRIND_MAKE_WRITABLE(stack, ((size)*sizeof(type))),(stack)+=((size)*sizeof(type)),(type*)((stack)-((size)*sizeof(type))))
97 #define ALIGN(stack, size) ((stack) += ((size) - (long)(stack)) & ((size) - 1))
99 #define PUSH(stack, size, type) (ALIGN((stack),sizeof(type)),(stack)+=((size)*sizeof(type)),(type*)((stack)-((size)*sizeof(type))))
105 #define ALLOC(var, size, type) type var[size]
108 #define ALLOC(var, size, type) var = alloca(sizeof(type)*(size))
111 #define ALLOC(var, size, type) var = PUSH(stack, size, type)