Home
last modified time | relevance | path

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

/civetweb-2.7.6/src/third_party/lua-5.3.5/src/
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"); in index2addr()
69 api_check(L, idx != 0 && -idx <= L->top - (ci->func + 1), "invalid index"); in index2addr()
76 api_check(L, idx <= MAXUPVAL + 1, "upvalue index too large"); in index2addr()
101 api_check(L, n >= 0, "negative 'n'"); in lua_checkstack()
123 api_check(from, G(from) == G(to), "moving among independent states"); in lua_xmove()
124 api_check(from, to->ci->top - to->top >= n, "stack overflow"); in lua_xmove()
176 api_check(L, idx <= L->stack_last - (func + 1), "new top too large"); in lua_settop()
182 api_check(L, -(idx+1) <= (L->top - (func + 1)), "invalid new top"); in lua_settop()
[all …]
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), \
Dllimits.h101 #define api_check(l,e,msg) luai_apicheck(l,(e) && msg) macro
Dldebug.c319 api_check(L, ttisfunction(func), "function expected"); in lua_getinfo()
Dldo.c707 api_check(L, k == NULL, "hooks cannot continue after yielding"); in lua_yieldk()
/civetweb-2.7.6/src/third_party/lua-5.2.4/src/
Dlapi.c49 #define api_checkvalidindex(L, o) api_check(L, isvalid(o), "invalid index")
52 api_check(L, isstackindex(i, o), "index not in the stack")
59 api_check(L, idx <= ci->top - (ci->func + 1), "unacceptable index"); in index2addr()
64 api_check(L, idx != 0 && -idx <= L->top - (ci->func + 1), "invalid index"); in index2addr()
71 api_check(L, idx <= MAXUPVAL + 1, "upvalue index too large"); in index2addr()
117 api_check(from, G(from) == G(to), "moving among independent states"); in lua_xmove()
118 api_check(from, to->ci->top - to->top >= n, "not enough elements to move"); in lua_xmove()
169 api_check(L, idx <= L->stack_last - (func + 1), "new top too large"); in lua_settop()
175 api_check(L, -(idx+1) <= (L->top - (func + 1)), "invalid new top"); in lua_settop()
327 default: api_check(L, 0, "invalid option"); in lua_compare()
[all …]
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), \
Dlmem.c86 api_check(L, nsize > realosize, in luaM_realloc_()
Dllimits.h85 #define api_check(l,e,msg) luai_apicheck(l,(e) && msg) macro
Dldebug.c291 api_check(L, ttisfunction(func), "function expected"); in lua_getinfo()
Dldo.c581 api_check(L, k == NULL, "hooks cannot continue after yielding"); in lua_yieldk()
/civetweb-2.7.6/src/third_party/lua-5.1.5/src/
Dlapi.c41 #define api_checknelems(L, n) api_check(L, (n) <= (L->top - L->base))
43 #define api_checkvalidindex(L, i) api_check(L, (i) != luaO_nilobject)
45 #define api_incr_top(L) {api_check(L, L->top < L->ci->top); L->top++;}
52 api_check(L, idx <= L->ci->top - L->base); in index2adr()
57 api_check(L, idx != 0 && -idx <= L->top - L->base); in index2adr()
115 api_check(from, G(from) == G(to)); in lua_xmove()
116 api_check(from, to->ci->top - to->top >= n); in lua_xmove()
167 api_check(L, idx <= L->stack_last - L->base); in lua_settop()
173 api_check(L, -(idx+1) <= (L->top - L->base)); in lua_settop()
214 api_check(L, ttistable(L->top - 1)); in lua_replace()
[all …]
Dllimits.h58 #define api_check(l,e) lua_assert(e) macro
64 #define api_check luai_apicheck macro