Searched refs:api_check (Results 1 – 6 of 6) sorted by relevance
/external/lua/src/ |
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"); 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 …]
|
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), \
|
D | llimits.h | 101 #define api_check(l,e,msg) luai_apicheck(l,(e) && msg) macro
|
D | ldebug.c | 319 api_check(L, ttisfunction(func), "function expected"); in lua_getinfo()
|
D | ldo.c | 707 api_check(L, k == NULL, "hooks cannot continue after yielding"); in lua_yieldk()
|
/external/mesa3d/src/mesa/main/ |
D | get.c | 1361 GLboolean api_check = GL_FALSE; in check_extra() local 1368 api_check = GL_TRUE; in check_extra() 1373 api_check = GL_TRUE; in check_extra() 1378 api_check = GL_TRUE; in check_extra() 1383 api_check = GL_TRUE; in check_extra() 1388 api_check = GL_TRUE; in check_extra() 1393 api_check = GL_TRUE; in check_extra() 1398 api_check = GL_TRUE; in check_extra() 1403 api_check = GL_TRUE; in check_extra() 1408 api_check = GL_TRUE; in check_extra() [all …]
|