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

/freebsd-current/contrib/lua/src/
H A Dlstate.h95 ** About 'nCcalls': This count has two parts: the lower 16 bits counts
104 #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 in struct:lua_State
H A Dlstate.c174 L->nCcalls++;
255 L->nCcalls = 0;
345 L->nCcalls = (from) ? getCcalls(from) : 0;
H A Dldo.c139 l_uint32 oldnCcalls = L->nCcalls;
148 L->nCcalls = oldnCcalls;
630 L->nCcalls += inc;
639 L->nCcalls -= inc;
843 L->nCcalls = (from) ? getCcalls(from) : 0;
846 L->nCcalls++;
H A Dltests.c985 lua_pushinteger(L, L->nCcalls);
H A Dlparser.c507 #define leavelevel(ls) ((ls)->L->nCcalls--)
/freebsd-current/sys/contrib/openzfs/module/lua/
H A Dldo.c209 unsigned short oldnCcalls = L->nCcalls;
218 L->nCcalls = oldnCcalls;
477 if (++L->nCcalls >= LUAI_MAXCCALLS) {
478 if (L->nCcalls == LUAI_MAXCCALLS)
480 else if (L->nCcalls >= (LUAI_MAXCCALLS + (LUAI_MAXCCALLS>>3)))
492 L->nCcalls--;
585 int nCcalls = L->nCcalls; local
588 if (nCcalls >= LUAI_MAXCCALLS)
619 lua_assert(nCcalls
[all...]
H A Dlstate.h165 unsigned short nCcalls; /* number of nested C calls */ member in struct:lua_State
H A Dlstate.c206 L->nCcalls = 0;
H A Dlparser.c329 ++L->nCcalls;
330 checklimit(ls->fs, L->nCcalls, LUAI_MAXCCALLS, "C levels");
334 #define leavelevel(ls) ((ls)->L->nCcalls--)
1148 checklimit(ls->fs, nvars + ls->L->nCcalls, LUAI_MAXCCALLS,

Completed in 94 milliseconds