Searched refs:EXTRA_STACK (Results 1 – 4 of 4) sorted by relevance
181 lua_assert(L->stack_last - L->stack == L->stacksize - EXTRA_STACK); in luaD_reallocstack()186 L->stack_last = L->stack + newsize - EXTRA_STACK; in luaD_reallocstack()196 int needed = cast_int(L->top - L->stack) + n + EXTRA_STACK; in luaD_growstack()223 int goodsize = inuse + (inuse / 8) + 2*EXTRA_STACK; in luaD_shrinkstack()232 if (inuse <= (LUAI_MAXSTACK - EXTRA_STACK) && in luaD_shrinkstack()
65 #define EXTRA_STACK 5 macro
159 L1->stack_last = L1->stack + L1->stacksize - EXTRA_STACK; in stack_init()
105 int inuse = cast_int(L->top - L->stack) + EXTRA_STACK; in lua_checkstack()