Searched refs:api_check (Results 1 - 11 of 11) sorted by relevance
/freebsd-12-stable/contrib/lua/src/ |
H A D | lapi.h | 14 #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 D | lapi.c | 54 #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 D | llimits.h | 103 #define api_check(l,e,msg) luai_apicheck(l,(e) && msg) macro
|
H A D | ldebug.c | 320 api_check(L, ttisfunction(func), "function expected");
|
H A D | ldo.c | 707 api_check(L, k == NULL, "hooks cannot continue after yielding");
|
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/ |
H A D | lapi.h | 14 #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 D | lapi.c | 48 #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 D | lmem.c | 86 api_check(L, nsize > realosize,
|
H A D | llimits.h | 83 #define api_check(l,e,msg) luai_apicheck(l,(e) && msg) macro
|
H A D | ldebug.c | 288 api_check(L, ttisfunction(func), "function expected");
|
H A D | ldo.c | 591 api_check(L, k == NULL, "hooks cannot continue after yielding");
|
Completed in 149 milliseconds