Lines Matching refs:api_check
41 #define api_checknelems(L, n) api_check(L, (n) <= (L->top - L->base))
43 #define api_checkvalidindex(L, i) api_check(L, (i) != luaO_nilobject)
45 #define api_incr_top(L) {api_check(L, L->top < L->ci->top); L->top++;}
52 api_check(L, idx <= L->ci->top - L->base); in index2adr()
57 api_check(L, idx != 0 && -idx <= L->top - L->base); in index2adr()
115 api_check(from, G(from) == G(to)); in lua_xmove()
116 api_check(from, to->ci->top - to->top >= n); in lua_xmove()
167 api_check(L, idx <= L->stack_last - L->base); in lua_settop()
173 api_check(L, -(idx+1) <= (L->top - L->base)); in lua_settop()
214 api_check(L, ttistable(L->top - 1)); in lua_replace()
561 api_check(L, ttistable(t)); in lua_rawget()
571 api_check(L, ttistable(o)); in lua_rawgeti()
676 api_check(L, ttistable(t)); in lua_rawset()
689 api_check(L, ttistable(o)); in lua_rawseti()
707 api_check(L, ttistable(L->top - 1)); in lua_setmetatable()
741 api_check(L, ttistable(L->top - 1)); in lua_setfenv()
773 api_check(L, (nr) == LUA_MULTRET || (L->ci->top - L->top >= (nr) - (na)))
978 api_check(L, ttistable(t)); in lua_next()