Home
last modified time | relevance | path

Searched refs:errfunc (Results 1 – 12 of 12) sorted by relevance

/f-stack/app/redis-5.0.5/deps/lua/src/
H A Dldo.c89 L->errfunc = 0; in resetstack()
426 lua_assert(L->errfunc == 0); in lua_resume()
462 ptrdiff_t old_errfunc = L->errfunc; in luaD_pcall()
463 L->errfunc = ef; in luaD_pcall()
476 L->errfunc = old_errfunc; in luaD_pcall()
514 status = luaD_pcall(L, f_parser, &p, savestack(L, L->top), L->errfunc); in luaD_protectedparser()
H A Dldebug.c619 if (L->errfunc != 0) { /* is there an error handling function? */ in luaG_errormsg()
620 StkId errfunc = restorestack(L, L->errfunc); in luaG_errormsg() local
621 if (!ttisfunction(errfunc)) luaD_throw(L, LUA_ERRERR); in luaG_errormsg()
623 setobjs2s(L, L->top - 1, errfunc); /* push function */ in luaG_errormsg()
H A Dlstate.c100 L->errfunc = 0; in preinit_state()
204 L->errfunc = 0; /* no error function during GC metamethods */ in lua_close()
H A Dlstate.h126 ptrdiff_t errfunc; /* current error handling function (stack index) */ member
H A Dlapi.c805 LUA_API int lua_pcall (lua_State *L, int nargs, int nresults, int errfunc) { in lua_pcall() argument
812 if (errfunc == 0) in lua_pcall()
815 StkId o = index2adr(L, errfunc); in lua_pcall()
H A Dlua.h202 LUA_API int (lua_pcall) (lua_State *L, int nargs, int nresults, int errfunc);
/f-stack/freebsd/contrib/openzfs/module/lua/
H A Dldebug.c588 if (L->errfunc != 0) { /* is there an error handling function? */ in luaG_errormsg()
589 StkId errfunc = restorestack(L, L->errfunc); in luaG_errormsg() local
590 if (!ttisfunction(errfunc)) luaD_throw(L, LUA_ERRERR); in luaG_errormsg()
592 setobjs2s(L, L->top - 1, errfunc); /* push function */ in luaG_errormsg()
H A Dldo.c490 L->errfunc = ci->u.c.old_errfunc; in finishCcall()
548 L->errfunc = ci->u.c.old_errfunc; in recover()
676 ptrdiff_t old_errfunc = L->errfunc; in luaD_pcall()
677 L->errfunc = ef; in luaD_pcall()
688 L->errfunc = old_errfunc; in luaD_pcall()
742 status = luaD_pcall(L, f_parser, &p, savestack(L, L->top), L->errfunc); in luaD_protectedparser()
H A Dlapi.c925 LUA_API int lua_pcallk (lua_State *L, int nargs, int nresults, int errfunc, in lua_pcallk() argument
936 if (errfunc == 0) in lua_pcallk()
939 StkId o = index2addr(L, errfunc); in lua_pcallk()
940 api_checkstackindex(L, errfunc, o); in lua_pcallk()
955 ci->u.c.old_errfunc = L->errfunc; in lua_pcallk()
956 L->errfunc = func; in lua_pcallk()
961 L->errfunc = ci->u.c.old_errfunc; in lua_pcallk()
H A Dlstate.h176 ptrdiff_t errfunc; /* current error handling function (stack index) */ member
H A Dlstate.c216 L->errfunc = 0; in preinit_state()
/f-stack/freebsd/contrib/openzfs/include/sys/lua/
H A Dlua.h257 LUA_API int (lua_pcallk) (lua_State *L, int nargs, int nresults, int errfunc,