Searched refs:api_check (Results 1 – 11 of 11) sorted by relevance
/freebsd/sys/contrib/openzfs/module/lua/ |
H A D | lapi.c | 325 default: api_check(L, 0, "invalid option"); in lua_compare() 641 api_check(L, ttistable(t), "table expected"); in lua_rawget() 651 api_check(L, ttistable(t), "table expected"); in lua_rawgeti() 663 api_check(L, ttistable(t), "table expected"); in lua_rawgetp() 773 api_check(L, ttistable(t), "table expected"); in lua_rawset() 787 api_check(L, ttistable(t), "table expected"); in lua_rawseti() 801 api_check(L, ttistable(t), "table expected"); in lua_rawsetp() 891 api_check(L, k == NULL || !isLua(L->ci), in lua_callk() 932 api_check(L, k == NULL || !isLua(L->ci), in lua_pcallk() 1117 api_check(L, ttistable(t), "table expected"); in lua_next() [all …]
|
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 | lmem.c | 84 api_check(L, nsize > realosize, in luaM_realloc_()
|
H A D | llimits.h | 81 #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"); in lua_getinfo()
|
H A D | ldo.c | 669 api_check(L, k == NULL, "hooks cannot continue after yielding"); in lua_yieldk()
|
/freebsd/contrib/lua/src/ |
H A D | lapi.c | 99 api_check(L, o < L->top.p, "invalid index"); in index2stack() 105 api_check(L, !ispseudo(idx), "invalid index"); in index2stack() 116 api_check(L, n >= 0, "negative 'n'"); in lua_checkstack() 260 api_check(L, isvalid(L, to), "invalid index"); in lua_copy() 363 default: api_check(L, 0, "invalid option"); in lua_compare() 588 api_check(L, n <= MAXUPVAL, "upvalue index too large"); in lua_pushcclosure() 727 api_check(L, ttistable(t), "table expected"); in gettable() 999 api_check(L, (nr) == LUA_MULTRET \ 1008 api_check(L, k == NULL || !isLua(L->ci), in lua_callk() 1049 api_check(L, k == NULL || !isLua(L->ci), in lua_pcallk() [all …]
|
H A D | lapi.h | 17 api_check(L, L->top.p <= L->ci->top.p, \ 33 api_check(L, (n) < (L->top.p - L->ci->func.p), \
|
H A D | llimits.h | 126 #define api_check(l,e,msg) luai_apicheck(l,(e) && msg) macro
|
H A D | ldo.c | 888 api_check(L, nresults == 0, "hooks cannot yield values"); in lua_yieldk() 889 api_check(L, k == NULL, "hooks cannot continue after yielding"); in lua_yieldk()
|
H A D | ldebug.c | 392 api_check(L, ttisfunction(func), "function expected"); in lua_getinfo()
|