Searched refs:api_check (Results 1 - 11 of 11) sorted by relevance
/freebsd-13-stable/sys/contrib/openzfs/module/lua/ |
H A D | lapi.h | 15 #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 D | lapi.c | 46 #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 D | lmem.c | 85 api_check(L, nsize > realosize,
|
H A D | llimits.h | 82 #define api_check(l,e,msg) luai_apicheck(l,(e) && msg) macro
|
H A D | ldebug.c | 287 api_check(L, ttisfunction(func), "function expected");
|
H A D | ldo.c | 655 api_check(L, k == NULL, "hooks cannot continue after yielding");
|
/freebsd-13-stable/contrib/lua/src/ |
H A D | lapi.h | 16 #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 D | lapi.c | 60 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 D | llimits.h | 113 #define api_check(l,e,msg) luai_apicheck(l,(e) && msg) macro
|
H A D | ldebug.c | 395 api_check(L, ttisfunction(func), "function expected");
|
H A D | ldo.c | 757 api_check(L, k == NULL, "hooks cannot continue after yielding");
|
Completed in 190 milliseconds