Home
last modified time | relevance | path

Searched refs:errfunc (Results 1 – 24 of 24) 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/lib/libc/tests/gen/
H A Dglob2_test.c134 errfunc(const char *path, int err) in errfunc() function
160 rv = glob("test/*", 0, errfunc, &g); in ATF_TC_BODY()
169 rv = glob("test/*", GLOB_ERR, errfunc, &g); in ATF_TC_BODY()
/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.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.c504 L->errfunc = ci->u.c.old_errfunc; in finishCcall()
562 L->errfunc = ci->u.c.old_errfunc; in recover()
690 ptrdiff_t old_errfunc = L->errfunc; in luaD_pcall()
691 L->errfunc = ef; in luaD_pcall()
702 L->errfunc = old_errfunc; in luaD_pcall()
756 status = luaD_pcall(L, f_parser, &p, savestack(L, L->top), L->errfunc); in luaD_protectedparser()
H A Dlapi.c927 LUA_API int lua_pcallk (lua_State *L, int nargs, int nresults, int errfunc, in lua_pcallk() argument
938 if (errfunc == 0) in lua_pcallk()
941 StkId o = index2addr(L, errfunc); in lua_pcallk()
942 api_checkstackindex(L, errfunc, o); in lua_pcallk()
957 ci->u.c.old_errfunc = L->errfunc; in lua_pcallk()
958 L->errfunc = func; in lua_pcallk()
963 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()
/freebsd/contrib/lua/src/
H A Dldebug.c836 if (L->errfunc != 0) { /* is there an error handling function? */ in luaG_errormsg()
837 StkId errfunc = restorestack(L, L->errfunc); in luaG_errormsg() local
838 lua_assert(ttisfunction(s2v(errfunc))); in luaG_errormsg()
840 setobjs2s(L, L->top.p - 1, errfunc); /* push function */ in luaG_errormsg()
H A Dlstate.c264 L->errfunc = 0; in preinit_thread()
275 L->errfunc = 0; /* stack unwind can "throw away" the error function */ in close_state()
333 L->errfunc = 0; /* stack unwind can "throw away" the error function */ in luaE_resetthread()
H A Dldo.c695 L->errfunc = ci->u.c.old_errfunc; in finishpcallk()
962 ptrdiff_t old_errfunc = L->errfunc; in luaD_pcall()
963 L->errfunc = ef; in luaD_pcall()
972 L->errfunc = old_errfunc; in luaD_pcall()
1026 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 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.c261 int (*errfunc)(const char *, int), glob_t * __restrict pglob) in glob()
266 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.h257 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);