Home
last modified time | relevance | path

Searched refs:api_check (Results 1 – 8 of 8) sorted by relevance

/f-stack/freebsd/contrib/openzfs/module/lua/
H A Dlapi.c324 default: api_check(L, 0, "invalid option"); in lua_compare()
640 api_check(L, ttistable(t), "table expected"); in lua_rawget()
650 api_check(L, ttistable(t), "table expected"); in lua_rawgeti()
662 api_check(L, ttistable(t), "table expected"); in lua_rawgetp()
772 api_check(L, ttistable(t), "table expected"); in lua_rawset()
786 api_check(L, ttistable(t), "table expected"); in lua_rawseti()
800 api_check(L, ttistable(t), "table expected"); in lua_rawsetp()
890 api_check(L, k == NULL || !isLua(L->ci), in lua_callk()
931 api_check(L, k == NULL || !isLua(L->ci), in lua_pcallk()
1116 api_check(L, ttistable(t), "table expected"); in lua_next()
[all …]
H A Dlapi.h15 #define api_incr_top(L) {L->top++; api_check(L, L->top <= L->ci->top, \
21 #define api_checknelems(L,n) api_check(L, (n) < (L->top - L->ci->func), \
H A Dlmem.c85 api_check(L, nsize > realosize, in luaM_realloc_()
H A Dllimits.h82 #define api_check(l,e,msg) luai_apicheck(l,(e) && msg) macro
H A Dldebug.c287 api_check(L, ttisfunction(func), "function expected"); in lua_getinfo()
H A Dldo.c656 api_check(L, k == NULL, "hooks cannot continue after yielding"); in lua_yieldk()
/f-stack/app/redis-5.0.5/deps/lua/src/
H A Dlapi.c52 api_check(L, idx <= L->ci->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()
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()
[all …]
H A Dllimits.h58 #define api_check(l,e) lua_assert(e) macro
64 #define api_check luai_apicheck macro