Searched refs:LUAI_MAXSTACK (Results 1 – 3 of 3) sorted by relevance
357 #define LUAI_MAXSTACK 1000000 macro359 #define LUAI_MAXSTACK 15000 macro363 #define LUAI_FIRSTPSEUDOIDX (-LUAI_MAXSTACK - 1000)
158 #define ERRORSTACKSIZE (LUAI_MAXSTACK + 200)164 lua_assert(newsize <= LUAI_MAXSTACK || newsize == ERRORSTACKSIZE); in luaD_reallocstack()177 if (size > LUAI_MAXSTACK) /* error after extra size? */ in luaD_growstack()182 if (newsize > LUAI_MAXSTACK) newsize = LUAI_MAXSTACK; in luaD_growstack()184 if (newsize > LUAI_MAXSTACK) { /* stack overflow? */ in luaD_growstack()208 if (goodsize > LUAI_MAXSTACK) goodsize = LUAI_MAXSTACK; in luaD_shrinkstack()209 if (inuse > LUAI_MAXSTACK || /* handling stack overflow? */ in luaD_shrinkstack()
100 if (inuse > LUAI_MAXSTACK - size) /* can grow without overflow? */ in lua_checkstack()