Home
last modified time | relevance | path

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

/external/lua/src/
Dlapi.c60 api_check(L, idx <= L->ci->top - (ci->func + 1), "unacceptable index"); in index2value()
65 api_check(L, idx != 0 && -idx <= L->top - (ci->func + 1), "invalid index"); in index2value()
72 api_check(L, idx <= MAXUPVAL + 1, "upvalue index too large"); in index2value()
87 api_check(L, o < L->top, "unacceptable index"); in index2stack()
91 api_check(L, idx != 0 && -idx <= L->top - (ci->func + 1), "invalid index"); in index2stack()
92 api_check(L, !ispseudo(idx), "invalid index"); in index2stack()
103 api_check(L, n >= 0, "negative 'n'"); in lua_checkstack()
125 api_check(from, G(from) == G(to), "moving among independent states"); in lua_xmove()
126 api_check(from, to->ci->top - to->top >= n, "stack overflow"); in lua_xmove()
181 api_check(L, idx <= ci->top - (func + 1), "new top too large"); in lua_settop()
[all …]
Dlapi.h16 #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), \
Dllimits.h113 #define api_check(l,e,msg) luai_apicheck(l,(e) && msg) macro
Dldebug.c395 api_check(L, ttisfunction(func), "function expected"); in lua_getinfo()
Dldo.c722 api_check(L, k == NULL, "hooks cannot continue after yielding"); in lua_yieldk()
/external/mesa3d/src/mesa/main/
Dget.c1412 GLboolean api_check = GL_FALSE; in check_extra() local
1419 api_check = GL_TRUE; in check_extra()
1424 api_check = GL_TRUE; in check_extra()
1429 api_check = GL_TRUE; in check_extra()
1434 api_check = GL_TRUE; in check_extra()
1439 api_check = GL_TRUE; in check_extra()
1444 api_check = GL_TRUE; in check_extra()
1449 api_check = GL_TRUE; in check_extra()
1454 api_check = GL_TRUE; in check_extra()
1459 api_check = GL_TRUE; in check_extra()
[all …]