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

/freebsd-13-stable/sys/contrib/openzfs/module/lua/
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 Dlapi.c46 #define api_checkvalidindex(L, o) api_check(L, isvalid(o), "invalid index")
49 api_check(L, isstackindex(i, o), "index not in the stack")
56 api_check(L, idx <= ci->top - (ci->func + 1), "unacceptable index");
61 api_check(L, idx != 0 && -idx <= L->top - (ci->func + 1), "invalid index");
68 api_check(L, idx <= MAXUPVAL + 1, "upvalue index too large");
114 api_check(from, G(from) == G(to), "moving among independent states");
115 api_check(from, to->ci->top - to->top >= n, "not enough elements to move");
166 api_check(L, idx <= L->stack_last - (func + 1), "new top too large");
172 api_check(L, -(idx+1) <= (L->top - (func + 1)), "invalid new top");
324 default: api_check(
[all...]
H A Dlmem.c85 api_check(L, nsize > realosize,
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");
H A Dldo.c655 api_check(L, k == NULL, "hooks cannot continue after yielding");
/freebsd-13-stable/contrib/lua/src/
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 Dlapi.c60 api_check(L, idx <= L->ci->top - (ci->func + 1), "unacceptable index");
65 api_check(L, idx != 0 && -idx <= L->top - (ci->func + 1), "invalid index");
72 api_check(L, idx <= MAXUPVAL + 1, "upvalue index too large");
87 api_check(L, o < L->top, "unacceptable index");
91 api_check(L, idx != 0 && -idx <= L->top - (ci->func + 1), "invalid index");
92 api_check(L, !ispseudo(idx), "invalid index");
103 api_check(L, n >= 0, "negative 'n'");
125 api_check(from, G(from) == G(to), "moving among independent states");
126 api_check(from, to->ci->top - to->top >= n, "stack overflow");
130 to->top++; /* stack already checked by previous 'api_check' */
[all...]
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");
H A Dldo.c757 api_check(L, k == NULL, "hooks cannot continue after yielding");

Completed in 138 milliseconds