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

/freebsd-12-stable/contrib/lua/src/
H A Dlapi.h14 #define api_incr_top(L) {L->top++; api_check(L, L->top <= L->ci->top, \
20 #define api_checknelems(L,n) api_check(L, (n) < (L->top - L->ci->func), \
H A Dlapi.c54 #define api_checkvalidindex(l,o) api_check(l, isvalid(o), "invalid index")
57 api_check(l, isstackindex(i, o), "index not in the stack")
64 api_check(L, idx <= ci->top - (ci->func + 1), "unacceptable index");
69 api_check(L, idx != 0 && -idx <= L->top - (ci->func + 1), "invalid index");
76 api_check(L, idx <= MAXUPVAL + 1, "upvalue index too large");
101 api_check(L, n >= 0, "negative 'n'");
123 api_check(from, G(from) == G(to), "moving among independent states");
124 api_check(from, to->ci->top - to->top >= n, "stack overflow");
128 to->top++; /* stack already checked by previous 'api_check' */
176 api_check(
[all...]
H A Dllimits.h103 #define api_check(l,e,msg) luai_apicheck(l,(e) && msg) macro
H A Dldebug.c320 api_check(L, ttisfunction(func), "function expected");
H A Dldo.c707 api_check(L, k == NULL, "hooks cannot continue after yielding");
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
H A Dlapi.h14 #define api_incr_top(L) {L->top++; api_check(L, L->top <= L->ci->top, \
20 #define api_checknelems(L,n) api_check(L, (n) < (L->top - L->ci->func), \
H A Dlapi.c48 #define api_checkvalidindex(L, o) api_check(L, isvalid(o), "invalid index")
51 api_check(L, isstackindex(i, o), "index not in the stack")
58 api_check(L, idx <= ci->top - (ci->func + 1), "unacceptable index");
63 api_check(L, idx != 0 && -idx <= L->top - (ci->func + 1), "invalid index");
70 api_check(L, idx <= MAXUPVAL + 1, "upvalue index too large");
116 api_check(from, G(from) == G(to), "moving among independent states");
117 api_check(from, to->ci->top - to->top >= n, "not enough elements to move");
168 api_check(L, idx <= L->stack_last - (func + 1), "new top too large");
174 api_check(L, -(idx+1) <= (L->top - (func + 1)), "invalid new top");
326 default: api_check(
[all...]
H A Dlmem.c86 api_check(L, nsize > realosize,
H A Dllimits.h83 #define api_check(l,e,msg) luai_apicheck(l,(e) && msg) macro
H A Dldebug.c288 api_check(L, ttisfunction(func), "function expected");
H A Dldo.c591 api_check(L, k == NULL, "hooks cannot continue after yielding");

Completed in 149 milliseconds