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

/freebsd-12-stable/contrib/lua/src/
H A Dldo.c255 if (hook && L->allowhook) { /* make sure there is a hook */
266 L->allowhook = 0; /* cannot call hooks inside a hook */
271 lua_assert(!L->allowhook);
272 L->allowhook = 1;
590 L->allowhook = getoah(ci->callstatus); /* restore original 'allowhook' */
725 lu_byte old_allowhooks = L->allowhook;
735 L->allowhook = old_allowhooks;
H A Dlstate.h116 #define CIST_OAH (1<<0) /* original value of 'allowhook' */
201 lu_byte allowhook; member in struct:lua_State
H A Dlgc.c815 lu_byte oldah = L->allowhook;
817 L->allowhook = 0; /* stop debug hooks during GC metamethod */
825 L->allowhook = oldah; /* restore hooks */
H A Dlstate.c233 L->allowhook = 1;
H A Dlapi.c979 setoah(ci->callstatus, L->allowhook); /* save value of 'allowhook' */
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
H A Dldo.c229 if (hook && L->allowhook) {
240 L->allowhook = 0; /* cannot call hooks inside a hook */
245 lua_assert(!L->allowhook);
246 L->allowhook = 1;
480 L->allowhook = ci->u.c.old_allowhook;
609 lu_byte old_allowhooks = L->allowhook;
619 L->allowhook = old_allowhooks;
H A Dlstate.h167 lu_byte allowhook; member in struct:lua_State
H A Dlstate.c212 L->allowhook = 1;
H A Dlgc.c817 lu_byte oldah = L->allowhook;
819 L->allowhook = 0; /* stop debug hooks during GC metamethod */
825 L->allowhook = oldah; /* restore hooks */
H A Dlapi.c956 ci->u.c.old_allowhook = L->allowhook;

Completed in 111 milliseconds