Home
last modified time | relevance | path

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

/f-stack/app/redis-5.0.5/deps/lua/src/
H A Dldo.c87 L->allowhook = 1; in resetstack()
183 if (hook && L->allowhook) { in luaD_callhook()
196 L->allowhook = 0; /* cannot call hooks inside a hook */ in luaD_callhook()
200 lua_assert(!L->allowhook); in luaD_callhook()
201 L->allowhook = 1; in luaD_callhook()
461 lu_byte old_allowhooks = L->allowhook; in luaD_pcall()
473 L->allowhook = old_allowhooks; in luaD_pcall()
H A Dlstate.h117 lu_byte allowhook; member
H A Dlgc.c460 lu_byte oldah = L->allowhook; in GCTM()
462 L->allowhook = 0; /* stop debug hooks during GC tag method */ in GCTM()
468 L->allowhook = oldah; /* restore hooks */ in GCTM()
H A Dlstate.c92 L->allowhook = 1; in preinit_state()
/f-stack/freebsd/contrib/openzfs/module/lua/
H A Dldo.c289 if (hook && L->allowhook) { in luaD_hook()
300 L->allowhook = 0; /* cannot call hooks inside a hook */ in luaD_hook()
305 lua_assert(!L->allowhook); in luaD_hook()
306 L->allowhook = 1; in luaD_hook()
545 L->allowhook = ci->u.c.old_allowhook; in recover()
674 lu_byte old_allowhooks = L->allowhook; in luaD_pcall()
684 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.c954 ci->u.c.old_allowhook = L->allowhook; in lua_pcallk()