Home
last modified time | relevance | path

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

/external/lua/src/
Dlstate.h135 #define yieldable(L) (((L)->nCcalls & 0xffff0000) == 0)
138 #define getCcalls(L) ((L)->nCcalls & 0xffff)
142 #define incnny(L) ((L)->nCcalls += 0x10000)
145 #define decnny(L) ((L)->nCcalls -= 0x10000)
148 #define incXCcalls(L) ((L)->nCcalls += 0x10000 - CSTACKCF)
151 #define decXCcalls(L) ((L)->nCcalls -= 0x10000 - CSTACKCF)
323 l_uint32 nCcalls; /* number of allowed nested C calls - 'nci' */ member
397 #define luaE_exitCcall(L) ((L)->nCcalls++)
Dlstate.c116 L->nCcalls += diff; /* correct 'nCcalls' */ in lua_setcstacklimit()
137 L->nCcalls--; in luaE_enterCcall()
146 L->nCcalls = (CSTACKMARK - 1); /* enter error-handling zone */ in luaE_enterCcall()
178 L->nCcalls += L->nci; /* add removed elements back to 'nCcalls' */ in luaE_freeCI()
184 L->nCcalls -= L->nci; /* adjust result */ in luaE_freeCI()
197 L->nCcalls += L->nci; /* add removed elements back to 'nCcalls' */ in luaE_shrinkCI()
210 L->nCcalls -= L->nci; /* adjust result */ in luaE_shrinkCI()
338 L1->nCcalls = getCcalls(L); in lua_newthread()
399 g->Cstacklimit = L->nCcalls = LUAI_MAXCSTACK + CSTACKERR; in lua_newstate()
Dldo.c143 l_uint32 oldnCcalls = g->Cstacklimit - (L->nCcalls + L->nci); in luaD_rawrunprotected()
152 L->nCcalls = g->Cstacklimit - oldnCcalls - L->nci; in luaD_rawrunprotected()
674 L->nCcalls = CSTACKTHREAD; in lua_resume()
676 L->nCcalls = getCcalls(from) - L->nci - CSTACKCF; in lua_resume()
677 if (L->nCcalls <= CSTACKERR) in lua_resume()