Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dldo.c400 if (!allowyield) L->nny++; in luaD_call()
403 if (!allowyield) L->nny--; in luaD_call()
412 lua_assert(L->nny == 0); in finishCcall()
471 L->nny = 0; /* should be zero to be yieldable */ in recover()
537 int oldnny = L->nny; /* save 'nny' */ in lua_resume()
541 L->nny = 0; /* allow yields */ in lua_resume()
559 L->nny = (unsigned short)oldnny; /* restore 'nny' */ in lua_resume()
572 if (L->nny > 0) { in lua_yieldk()
600 unsigned short old_nny = L->nny; in luaD_pcall()
610 L->nny = old_nny; in luaD_pcall()
[all …]
Dlstate.h164 unsigned short nny; /* number of non-yieldable calls in stack */ member
Dlstate.c217 L->nny = 1; in preinit_state()
Dlapi.c899 if (k != NULL && L->nny == 0) { /* need to prepare continuation? */ in lua_callk()
947 if (k == NULL || L->nny > 0) { /* no continuation or no yieldable? */ in lua_pcallk()