Lines Matching refs:lua_assert
106 lua_assert(errorstatus(errcode)); /* real error */ in luaD_seterrorobj()
217 lua_assert(newsize <= LUAI_MAXSTACK || newsize == ERRORSTACKSIZE); in luaD_reallocstack()
248 lua_assert(stacksize(L) == ERRORSTACKSIZE); in luaD_growstack()
283 lua_assert(lim <= L->stack_last.p + EXTRA_STACK); in stackinuse()
355 lua_assert(!L->allowhook); in luaD_hook()
492 lua_assert(!(ci->callstatus & in luaD_poscall()
523 lua_assert(ci->top.p <= L->stack_last.p); in precallC()
564 lua_assert(ci->top.p <= L->stack_last.p); in luaD_pretailcall()
608 lua_assert(ci->top.p <= L->stack_last.p); in luaD_precall()
711 lua_assert(hastocloseCfunc(ci->nresults)); in finishCcall()
718 lua_assert(ci->u.c.k != NULL && yieldable(L)); in finishCcall()
792 lua_assert(L->status == LUA_YIELD); in resume()
853 lua_assert(status == L->status); /* normal end or yield */ in lua_resume()
887 lua_assert(!isLuacode(ci)); in lua_yieldk()
896 lua_assert(ci->callstatus & CIST_HOOKED); /* must be inside a hook */ in lua_yieldk()
1000 lua_assert(cl->nupvalues == cl->p->sizeupvalues); in f_parser()