Home
last modified time | relevance | path

Searched refs:nny (Results 1 – 4 of 4) sorted by relevance

/f-stack/freebsd/contrib/openzfs/module/lua/
H A Dldo.c475 if (!allowyield) L->nny++; in luaD_call()
478 if (!allowyield) L->nny--; in luaD_call()
487 lua_assert(L->nny == 0); in finishCcall()
612 int oldnny = L->nny; /* save 'nny' */ in lua_resume()
616 L->nny = 0; /* allow yields */ in lua_resume()
634 L->nny = oldnny; /* restore 'nny' */ in lua_resume()
647 if (L->nny > 0) { in lua_yieldk()
675 unsigned short old_nny = L->nny; in luaD_pcall()
685 L->nny = old_nny; in luaD_pcall()
736 L->nny++; /* cannot yield during parsing */ in luaD_protectedparser()
[all …]
H A Dlstate.h165 unsigned short nny; /* number of non-yieldable calls in stack */ member
H A Dlstate.c214 L->nny = 1; in preinit_state()
H A Dlapi.c896 if (k != NULL && L->nny == 0) { /* need to prepare continuation? */ in lua_callk()
944 if (k == NULL || L->nny > 0) { /* no continuation or no yieldable? */ in lua_pcallk()