Home
last modified time | relevance | path

Searched refs:errorJmp (Results 1 – 6 of 6) sorted by relevance

/freebsd-12.1/contrib/lua/src/
H A Dldo.c111 if (L->errorJmp) { /* thread has an error handler? */ in luaD_throw()
112 L->errorJmp->status = errcode; /* set status */ in luaD_throw()
113 LUAI_THROW(L, L->errorJmp); /* jump to it */ in luaD_throw()
118 if (g->mainthread->errorJmp) { /* main thread has a handler? */ in luaD_throw()
140 lj.previous = L->errorJmp; /* chain new error handler */ in luaD_rawrunprotected()
141 L->errorJmp = &lj; in luaD_rawrunprotected()
145 L->errorJmp = lj.previous; /* restore old error handler */ in luaD_rawrunprotected()
H A Dlstate.h191 struct lua_longjmp *errorJmp; /* current error recover point */ member
H A Dlstate.c228 L->errorJmp = NULL; in preinit_thread()
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
H A Dldo.c114 if (L->errorJmp) { /* thread has an error handler? */ in luaD_throw()
115 L->errorJmp->status = errcode; /* set status */ in luaD_throw()
116 LUAI_THROW(L, L->errorJmp); /* jump to it */ in luaD_throw()
120 if (G(L)->mainthread->errorJmp) { /* main thread has a handler? */ in luaD_throw()
139 lj.previous = L->errorJmp; /* chain new error handler */ in luaD_rawrunprotected()
140 L->errorJmp = &lj; in luaD_rawrunprotected()
144 L->errorJmp = lj.previous; /* restore old error handler */ in luaD_rawrunprotected()
H A Dlstate.h173 struct lua_longjmp *errorJmp; /* current error recover point */ member
H A Dlstate.c207 L->errorJmp = NULL; in preinit_state()