Lines Matching refs:lua_assert
110 lua_assert(errorstatus(errcode)); /* real error */ in luaD_seterrorobj()
221 lua_assert(newsize <= LUAI_MAXSTACK || newsize == ERRORSTACKSIZE); in luaD_reallocstack()
252 lua_assert(stacksize(L) == ERRORSTACKSIZE); in luaD_growstack()
287 lua_assert(lim <= L->stack_last.p + EXTRA_STACK); in stackinuse()
359 lua_assert(!L->allowhook); in luaD_hook()
496 lua_assert(!(ci->callstatus & in luaD_poscall()
527 lua_assert(ci->top.p <= L->stack_last.p); in precallC()
568 lua_assert(ci->top.p <= L->stack_last.p); in luaD_pretailcall()
612 lua_assert(ci->top.p <= L->stack_last.p); in luaD_precall()
715 lua_assert(hastocloseCfunc(ci->nresults)); in finishCcall()
722 lua_assert(ci->u.c.k != NULL && yieldable(L)); in finishCcall()
796 lua_assert(L->status == LUA_YIELD); in resume()
857 lua_assert(status == L->status); /* normal end or yield */ in lua_resume()
891 lua_assert(!isLuacode(ci)); in lua_yieldk()
900 lua_assert(ci->callstatus & CIST_HOOKED); /* must be inside a hook */ in lua_yieldk()
1004 lua_assert(cl->nupvalues == cl->p->sizeupvalues); in f_parser()