Home
last modified time | relevance | path

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

/src/sys/contrib/openzfs/module/lua/
H A Dldo.c183 if (L->errorJmp) { /* thread has an error handler? */ in luaD_throw()
184 L->errorJmp->status = errcode; /* set status */ in luaD_throw()
185 LUAI_THROW(L, L->errorJmp); /* jump to it */ in luaD_throw()
189 if (G(L)->mainthread->errorJmp) { /* main thread has a handler? */ in luaD_throw()
213 lj.previous = L->errorJmp; /* chain new error handler */ in luaD_rawrunprotected()
214 L->errorJmp = &lj; in luaD_rawrunprotected()
218 L->errorJmp = lj.previous; /* restore old error handler */ in luaD_rawrunprotected()
H A Dlstate.h175 struct lua_longjmp *errorJmp; /* current error recover point */ member
H A Dlstate.c206 L->errorJmp = NULL; in preinit_state()
/src/contrib/lua/src/
H A Dldo.c112 if (L->errorJmp) { /* thread has an error handler? */ in luaD_throw()
113 L->errorJmp->status = errcode; /* set status */ in luaD_throw()
114 LUAI_THROW(L, L->errorJmp); /* jump to it */ in luaD_throw()
120 if (g->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.h323 struct lua_longjmp *errorJmp; /* current error recover point */ member
H A Dlstate.c256 L->errorJmp = NULL; in preinit_thread()