Home
last modified time | relevance | path

Searched refs:allowhook (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/lua/src/
H A Dldo.c331 if (hook && L->allowhook) { /* make sure there is a hook */ in luaD_hook()
350 L->allowhook = 0; /* cannot call hooks inside a hook */ in luaD_hook()
355 lua_assert(!L->allowhook); in luaD_hook()
356 L->allowhook = 1; in luaD_hook()
681 L->allowhook = getoah(ci->callstatus); /* restore 'allowhook' */ in finishpcallk()
926 lu_byte old_allowhooks = L->allowhook; in luaD_closeprotected()
935 L->allowhook = old_allowhooks; in luaD_closeprotected()
950 lu_byte old_allowhooks = L->allowhook; in luaD_pcall()
956 L->allowhook = old_allowhooks; in luaD_pcall()
H A Dlstate.h312 lu_byte allowhook; member
H A Dlgc.c914 lu_byte oldah = L->allowhook; in GCTM()
917 L->allowhook = 0; /* stop debug hooks during GC metamethod */ in GCTM()
923 L->allowhook = oldah; /* restore hooks */ in GCTM()
H A Dlstate.c260 L->allowhook = 1; in preinit_thread()
H A Dlapi.c1074 setoah(ci->callstatus, L->allowhook); /* save value of 'allowhook' */ in lua_pcallk()
/freebsd/sys/contrib/openzfs/module/lua/
H A Dldo.c302 if (hook && L->allowhook) { in luaD_hook()
313 L->allowhook = 0; /* cannot call hooks inside a hook */ in luaD_hook()
318 lua_assert(!L->allowhook); in luaD_hook()
319 L->allowhook = 1; in luaD_hook()
558 L->allowhook = ci->u.c.old_allowhook; in recover()
687 lu_byte old_allowhooks = L->allowhook; in luaD_pcall()
697 L->allowhook = old_allowhooks; in luaD_pcall()
H A Dlstate.h167 lu_byte allowhook; member
H A Dlgc.c815 lu_byte oldah = L->allowhook; in GCTM()
817 L->allowhook = 0; /* stop debug hooks during GC metamethod */ in GCTM()
823 L->allowhook = oldah; /* restore hooks */ in GCTM()
H A Dlstate.c210 L->allowhook = 1; in preinit_state()
H A Dlapi.c955 ci->u.c.old_allowhook = L->allowhook; in lua_pcallk()