Home
last modified time | relevance | path

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

/freebsd-13.1/sys/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.c655 api_check(L, k == NULL, "hooks cannot continue after yielding"); in lua_yieldk()
/freebsd-13.1/contrib/lua/src/
H A Dlapi.c87 api_check(L, o < L->top, "unacceptable index"); in index2stack()
92 api_check(L, !ispseudo(idx), "invalid index"); in index2stack()
103 api_check(L, n >= 0, "negative 'n'"); in lua_checkstack()
236 api_check(L, isvalid(L, to), "invalid index"); in lua_copy()
339 default: api_check(L, 0, "invalid option"); in lua_compare()
564 api_check(L, n <= MAXUPVAL, "upvalue index too large"); in lua_pushcclosure()
693 api_check(L, ttistable(t), "table expected"); in gettable()
975 api_check(L, k == NULL || !isLua(L->ci), in lua_callk()
1016 api_check(L, k == NULL || !isLua(L->ci), in lua_pcallk()
1389 api_check(L, ttisLclosure(fi), "Lua function expected"); in getupvalref()
[all …]
H A Dlapi.h16 #define api_incr_top(L) {L->top++; api_check(L, L->top <= L->ci->top, \
30 #define api_checknelems(L,n) api_check(L, (n) < (L->top - L->ci->func), \
H A Dllimits.h113 #define api_check(l,e,msg) luai_apicheck(l,(e) && msg) macro
H A Dldebug.c395 api_check(L, ttisfunction(func), "function expected"); in lua_getinfo()
H A Dldo.c757 api_check(L, k == NULL, "hooks cannot continue after yielding"); in lua_yieldk()