Home
last modified time | relevance | path

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

/freebsd/contrib/lua/src/
H A Dldo.c338 if (hook && L->allowhook) { /* make sure there is a hook */ in luaD_hook()
357 L->allowhook = 0; /* cannot call hooks inside a hook */ in luaD_hook()
362 lua_assert(!L->allowhook); in luaD_hook()
363 L->allowhook = 1; in luaD_hook()
688 L->allowhook = getoah(ci->callstatus); /* restore 'allowhook' */ in finishpcallk()
937 lu_byte old_allowhooks = L->allowhook; in luaD_closeprotected()
946 L->allowhook = old_allowhooks; in luaD_closeprotected()
961 lu_byte old_allowhooks = L->allowhook; in luaD_pcall()
967 L->allowhook = old_allowhooks; in luaD_pcall()
H A Dlstate.h312 lu_byte allowhook; member
H A Dlgc.c916 lu_byte oldah = L->allowhook; in GCTM()
919 L->allowhook = 0; /* stop debug hooks during GC metamethod */ in GCTM()
925 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.c303 if (hook && L->allowhook) { in luaD_hook()
314 L->allowhook = 0; /* cannot call hooks inside a hook */ in luaD_hook()
319 lua_assert(!L->allowhook); in luaD_hook()
320 L->allowhook = 1; in luaD_hook()
559 L->allowhook = ci->u.c.old_allowhook; in recover()
688 lu_byte old_allowhooks = L->allowhook; in luaD_pcall()
698 L->allowhook = old_allowhooks; in luaD_pcall()
H A Dlstate.h168 lu_byte allowhook; member
H A Dlgc.c816 lu_byte oldah = L->allowhook; in GCTM()
818 L->allowhook = 0; /* stop debug hooks during GC metamethod */ in GCTM()
824 L->allowhook = oldah; /* restore hooks */ in GCTM()
H A Dlstate.c211 L->allowhook = 1; in preinit_state()
H A Dlapi.c956 ci->u.c.old_allowhook = L->allowhook; in lua_pcallk()