Home
last modified time | relevance | path

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

/external/syslinux/com32/lua/src/
Dldebug.c574 if (L->errfunc != 0) { /* is there an error handling function? */ in luaG_errormsg()
575 StkId errfunc = restorestack(L, L->errfunc); in luaG_errormsg() local
576 if (!ttisfunction(errfunc)) luaD_throw(L, LUA_ERRERR); in luaG_errormsg()
578 setobjs2s(L, L->top - 1, errfunc); /* push function */ in luaG_errormsg()
Dldo.c415 L->errfunc = ci->u.c.old_errfunc; in finishCcall()
473 L->errfunc = ci->u.c.old_errfunc; in recover()
601 ptrdiff_t old_errfunc = L->errfunc; in luaD_pcall()
602 L->errfunc = ef; in luaD_pcall()
613 L->errfunc = old_errfunc; in luaD_pcall()
672 status = luaD_pcall(L, f_parser, &p, savestack(L, L->top), L->errfunc); in luaD_protectedparser()
Dlapi.c928 LUA_API int lua_pcallk (lua_State *L, int nargs, int nresults, int errfunc, in lua_pcallk() argument
939 if (errfunc == 0) in lua_pcallk()
942 StkId o = index2addr(L, errfunc); in lua_pcallk()
943 api_checkstackindex(L, errfunc, o); in lua_pcallk()
958 ci->u.c.old_errfunc = L->errfunc; in lua_pcallk()
959 L->errfunc = func; in lua_pcallk()
964 L->errfunc = ci->u.c.old_errfunc; in lua_pcallk()
Dlstate.h174 ptrdiff_t errfunc; /* current error handling function (stack index) */ member
Dlstate.c224 L->errfunc = 0; in preinit_state()
Dlua.h262 LUA_API int (lua_pcallk) (lua_State *L, int nargs, int nresults, int errfunc,
/external/python/cpython2/Lib/test/
Dtest_itertools.py20 def errfunc(*args): function
783 self.assertRaises(ValueError, imap(errfunc, [4], [5]).next)
797 self.assertRaises(ValueError, starmap(errfunc, [(4,5)]).next)
867 self.assertRaises(ValueError, takewhile(errfunc, [(4,5)]).next)
881 self.assertRaises(ValueError, dropwhile(errfunc, [(4,5)]).next)
/external/python/cpython3/Lib/test/
Dtest_itertools.py24 def errfunc(*args): function
1127 self.assertRaises(ValueError, next, map(errfunc, [4], [5]))
1154 self.assertRaises(ValueError, next, starmap(errfunc, [(4,5)]))
1254 self.assertRaises(ValueError, next, takewhile(errfunc, [(4,5)]))
1274 self.assertRaises(ValueError, next, dropwhile(errfunc, [(4,5)]))
/external/libxml2/
Dtestrecurse.c73 ATTRIBUTE_UNUSED int errfunc(const char *epath, int eerrno), in glob()
Druntest.c124 ATTRIBUTE_UNUSED int errfunc(const char *epath, int eerrno), in glob()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_interceptors.inc1869 int (*errfunc)(const char *epath, int eerrno),
1872 COMMON_INTERCEPTOR_ENTER(ctx, glob, pattern, flags, errfunc, pglob);
1884 int res = REAL(glob)(pattern, flags, errfunc, pglob);
1898 int (*errfunc)(const char *epath, int eerrno),
1901 COMMON_INTERCEPTOR_ENTER(ctx, glob64, pattern, flags, errfunc, pglob);
1913 int res = REAL(glob64)(pattern, flags, errfunc, pglob);