Home
last modified time | relevance | path

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

/freebsd/contrib/lutok/
H A Doperations.cpp77 const int nresults, const int errfunc) in do_file() argument
87 errfunc == 0 ? 0 : errfunc - 1); in do_file()
117 const int nresults, const int errfunc) in do_string() argument
127 errfunc == 0 ? 0 : errfunc - 1); in do_string()
H A Dstate.cpp643 lutok::state::pcall(const int nargs, const int nresults, const int errfunc) in pcall() argument
645 if (lua_pcall(_pimpl->lua_state, nargs, nresults, errfunc) != 0) in pcall()
/freebsd/crypto/openssl/crypto/evp/
H A Devp_utils.c27 #define PARAM_CHECK(obj, func, errfunc) \ argument
33 errfunc(); \
/freebsd/crypto/openssh/
H A Dsftp-glob.c138 int (*errfunc)(const char *, int), glob_t *pglob) in sftp_glob()
154 if ((r = glob(pattern, flags | GLOB_ALTDIRFUNC, errfunc, pglob)) != 0) in sftp_glob()
/freebsd/sys/contrib/openzfs/module/lua/
H A Dldebug.c587 if (L->errfunc != 0) { /* is there an error handling function? */ in luaG_errormsg()
588 StkId errfunc = restorestack(L, L->errfunc); in luaG_errormsg() local
589 if (!ttisfunction(errfunc)) luaD_throw(L, LUA_ERRERR); in luaG_errormsg()
591 setobjs2s(L, L->top - 1, errfunc); /* push function */ in luaG_errormsg()
H A Dldo.c503 L->errfunc = ci->u.c.old_errfunc; in finishCcall()
561 L->errfunc = ci->u.c.old_errfunc; in recover()
689 ptrdiff_t old_errfunc = L->errfunc; in luaD_pcall()
690 L->errfunc = ef; in luaD_pcall()
701 L->errfunc = old_errfunc; in luaD_pcall()
755 status = luaD_pcall(L, f_parser, &p, savestack(L, L->top), L->errfunc); in luaD_protectedparser()
H A Dlapi.c926 LUA_API int lua_pcallk (lua_State *L, int nargs, int nresults, int errfunc, in lua_pcallk() argument
937 if (errfunc == 0) in lua_pcallk()
940 StkId o = index2addr(L, errfunc); in lua_pcallk()
941 api_checkstackindex(L, errfunc, o); in lua_pcallk()
956 ci->u.c.old_errfunc = L->errfunc; in lua_pcallk()
957 L->errfunc = func; in lua_pcallk()
962 L->errfunc = ci->u.c.old_errfunc; in lua_pcallk()
H A Dlstate.h175 ptrdiff_t errfunc; /* current error handling function (stack index) */ member
H A Dlstate.c215 L->errfunc = 0; in preinit_state()
/freebsd/contrib/lua/src/
H A Dldebug.c810 if (L->errfunc != 0) { /* is there an error handling function? */ in luaG_errormsg()
811 StkId errfunc = restorestack(L, L->errfunc); in luaG_errormsg() local
812 lua_assert(ttisfunction(s2v(errfunc))); in luaG_errormsg()
814 setobjs2s(L, L->top.p - 1, errfunc); /* push function */ in luaG_errormsg()
H A Dldo.c688 L->errfunc = ci->u.c.old_errfunc; in finishpcallk()
951 ptrdiff_t old_errfunc = L->errfunc; in luaD_pcall()
952 L->errfunc = ef; in luaD_pcall()
961 L->errfunc = old_errfunc; in luaD_pcall()
1015 status = luaD_pcall(L, f_parser, &p, savestack(L, L->top.p), L->errfunc); in luaD_protectedparser()
H A Dlapi.c1043 LUA_API int lua_pcallk (lua_State *L, int nargs, int nresults, int errfunc, in lua_pcallk() argument
1054 if (errfunc == 0) in lua_pcallk()
1057 StkId o = index2stack(L, errfunc); in lua_pcallk()
1072 ci->u.c.old_errfunc = L->errfunc; in lua_pcallk()
1073 L->errfunc = func; in lua_pcallk()
1078 L->errfunc = ci->u.c.old_errfunc; in lua_pcallk()
H A Dlstate.h326 ptrdiff_t errfunc; /* current error handling function (stack index) */ member
H A Dlstate.c264 L->errfunc = 0; in preinit_thread()
H A Dlua.h296 LUA_API int (lua_pcallk) (lua_State *L, int nargs, int nresults, int errfunc,
/freebsd/crypto/heimdal/lib/roken/
H A Dglob.c170 int (*errfunc)(const char *, int), in glob()
185 pglob->gl_errfunc = errfunc; in glob()
H A Dglob.hin63 /* Copy of errfunc parameter to glob. */
/freebsd/contrib/tcsh/
H A Dglob.c294 glob(const char *pattern, int flags, int (*errfunc) (const char *, int), in glob()
312 pglob->gl_errfunc = errfunc; in glob()
/freebsd/lib/libc/gen/
H A Dglob-compat11.c152 int (*errfunc)(const char *, int), glob11_t * __restrict pglob) in freebsd11_glob()
175 pglob->gl_errfunc = errfunc; in freebsd11_glob()
H A Dglob.c184 int (*errfunc)(const char *, int), glob_t * __restrict pglob) in glob()
207 pglob->gl_errfunc = errfunc; in glob()
/freebsd/crypto/openssh/openbsd-compat/
H A Dglob.c182 glob(const char *pattern, int flags, int (*errfunc)(const char *, int), in glob()
199 pglob->gl_errfunc = errfunc; in glob()
/freebsd/sys/contrib/openzfs/include/sys/lua/
H A Dlua.h256 LUA_API int (lua_pcallk) (lua_State *L, int nargs, int nresults, int errfunc,
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc2305 int (*errfunc)(const char *epath, int eerrno),
2308 COMMON_INTERCEPTOR_ENTER(ctx, glob, pattern, flags, errfunc, pglob);
2310 int res = REAL(glob)(pattern, flags, errfunc, pglob);
2351 int (*errfunc)(const char *epath, int eerrno),
2354 COMMON_INTERCEPTOR_ENTER(ctx, glob, pattern, flags, errfunc, pglob);
2366 int res = REAL(glob)(pattern, flags, errfunc, pglob);
2387 int (*errfunc)(const char *epath, int eerrno),
2390 COMMON_INTERCEPTOR_ENTER(ctx, glob64, pattern, flags, errfunc, pglob);
2402 int res = REAL(glob64)(pattern, flags, errfunc, pglob);