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.c210 unsigned short oldnCcalls = L->nCcalls; in luaD_rawrunprotected()
219 L->nCcalls = oldnCcalls; in luaD_rawrunprotected()
478 if (++L->nCcalls >= LUAI_MAXCCALLS) { in luaD_call()
479 if (L->nCcalls == LUAI_MAXCCALLS) in luaD_call()
481 else if (L->nCcalls >= (LUAI_MAXCCALLS + (LUAI_MAXCCALLS>>3))) in luaD_call()
493 L->nCcalls--; in luaD_call()
586 int nCcalls = L->nCcalls; in resume_cb() local
589 if (nCcalls >= LUAI_MAXCCALLS) in resume_cb()
620 lua_assert(nCcalls == L->nCcalls); in resume_cb()
629 L->nCcalls = (from) ? from->nCcalls + 1 : 1; in lua_resume()
[all …]
H A Dlstate.h166 unsigned short nCcalls; /* number of nested C calls */ member
H A Dlstate.c207 L->nCcalls = 0; in preinit_state()
H A Dlparser.c330 ++L->nCcalls; in enterlevel()
331 checklimit(ls->fs, L->nCcalls, LUAI_MAXCCALLS, "C levels"); in enterlevel()
335 #define leavelevel(ls) ((ls)->L->nCcalls--)
1149 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.c136 l_uint32 oldnCcalls = L->nCcalls; in luaD_rawrunprotected()
145 L->nCcalls = oldnCcalls; in luaD_rawrunprotected()
637 L->nCcalls += inc; in ccall()
646 L->nCcalls -= inc; in ccall()
854 L->nCcalls = (from) ? getCcalls(from) : 0; in lua_resume()
857 L->nCcalls++; in lua_resume()
H A Dlstate.c174 L->nCcalls++; in luaE_incCstack()
255 L->nCcalls = 0; in preinit_thread()
348 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--)