Home
last modified time | relevance | path

Searched refs:LUAI_MAXSTACK (Results 1 – 4 of 4) sorted by relevance

/external/lua/src/
Dldo.c174 #define ERRORSTACKSIZE (LUAI_MAXSTACK + 200)
180 lua_assert(newsize <= LUAI_MAXSTACK || newsize == ERRORSTACKSIZE); in luaD_reallocstack()
193 if (size > LUAI_MAXSTACK) /* error after extra size? */ in luaD_growstack()
198 if (newsize > LUAI_MAXSTACK) newsize = LUAI_MAXSTACK; in luaD_growstack()
200 if (newsize > LUAI_MAXSTACK) { /* stack overflow? */ in luaD_growstack()
224 if (goodsize > LUAI_MAXSTACK) in luaD_shrinkstack()
225 goodsize = LUAI_MAXSTACK; /* respect stack limit */ in luaD_shrinkstack()
226 if (L->stacksize > LUAI_MAXSTACK) /* had been handling stack overflow? */ in luaD_shrinkstack()
232 if (inuse <= (LUAI_MAXSTACK - EXTRA_STACK) && in luaD_shrinkstack()
Dluaconf.h729 #define LUAI_MAXSTACK 1000000 macro
731 #define LUAI_MAXSTACK 15000 macro
Dlua.h42 #define LUA_REGISTRYINDEX (-LUAI_MAXSTACK - 1000)
Dlapi.c106 if (inuse > LUAI_MAXSTACK - n) /* can grow without overflow? */ in lua_checkstack()