Lines Matching refs:lua_assert
180 lua_assert(newsize <= LUAI_MAXSTACK || newsize == ERRORSTACKSIZE); in luaD_reallocstack()
181 lua_assert(L->stack_last - L->stack == L->stacksize - EXTRA_STACK); in luaD_reallocstack()
216 lua_assert(lim <= L->stack_last); in stackinuse()
265 lua_assert(ci->top <= L->stack_last); in luaD_hook()
271 lua_assert(!L->allowhook); in luaD_hook()
429 lua_assert(ci->top <= L->stack_last); in luaD_precall()
458 lua_assert(ci->top <= L->stack_last); in luaD_precall()
522 lua_assert(ci->u.c.k != NULL && L->nny == 0); in finishCcall()
524 lua_assert((ci->callstatus & CIST_YPCALL) || status == LUA_YIELD); in finishCcall()
628 lua_assert(L->status == LUA_YIELD); in resume()
677 else lua_assert(status == L->status); /* normal end or yield */ in lua_resume()
681 lua_assert(L->nCcalls == ((from) ? from->nCcalls : 0)); in lua_resume()
715 lua_assert(ci->callstatus & CIST_HOOKED); /* must be inside a hook */ in lua_yieldk()
778 lua_assert(cl->nupvalues == cl->p->sizeupvalues); in f_parser()