Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/lua/
H A Dldo.c209 unsigned short oldnCcalls = L->nCcalls; in luaD_rawrunprotected()
218 L->nCcalls = oldnCcalls; in luaD_rawrunprotected()
477 if (++L->nCcalls >= LUAI_MAXCCALLS) { in luaD_call()
478 if (L->nCcalls == LUAI_MAXCCALLS) in luaD_call()
480 else if (L->nCcalls >= (LUAI_MAXCCALLS + (LUAI_MAXCCALLS>>3))) in luaD_call()
492 L->nCcalls--; in luaD_call()
585 int nCcalls = L->nCcalls; in resume_cb() local
588 if (nCcalls >= LUAI_MAXCCALLS) in resume_cb()
619 lua_assert(nCcalls == L->nCcalls); in resume_cb()
628 L->nCcalls = (from) ? from->nCcalls + 1 : 1; in lua_resume()
[all …]
H A Dlstate.h165 unsigned short nCcalls; /* number of nested C calls */ member
H A Dlstate.c206 L->nCcalls = 0; in preinit_state()
H A Dlparser.c329 ++L->nCcalls; in enterlevel()
330 checklimit(ls->fs, L->nCcalls, LUAI_MAXCCALLS, "C levels"); in enterlevel()
334 #define leavelevel(ls) ((ls)->L->nCcalls--)
1148 checklimit(ls->fs, nvars + ls->L->nCcalls, LUAI_MAXCCALLS, in assignment()
/freebsd/contrib/lua/src/
H A Dlstate.h104 #define yieldable(L) (((L)->nCcalls & 0xffff0000) == 0)
107 #define getCcalls(L) ((L)->nCcalls & 0xffff)
111 #define incnny(L) ((L)->nCcalls += 0x10000)
114 #define decnny(L) ((L)->nCcalls -= 0x10000)
327 l_uint32 nCcalls; /* number of nested (non-yieldable | C) calls */ member
H A Dldo.c139 l_uint32 oldnCcalls = L->nCcalls; in luaD_rawrunprotected()
148 L->nCcalls = oldnCcalls; in luaD_rawrunprotected()
630 L->nCcalls += inc; in ccall()
639 L->nCcalls -= inc; in ccall()
843 L->nCcalls = (from) ? getCcalls(from) : 0; in lua_resume()
846 L->nCcalls++; in lua_resume()
H A Dlstate.c174 L->nCcalls++; in luaE_incCstack()
255 L->nCcalls = 0; in preinit_thread()
345 L->nCcalls = (from) ? getCcalls(from) : 0; in lua_closethread()
H A Dltests.c985 lua_pushinteger(L, L->nCcalls); in stacklevel()
H A Dlparser.c507 #define leavelevel(ls) ((ls)->L->nCcalls--)