Searched refs:LUA_YIELD (Results 1 – 12 of 12) sorted by relevance
40 if (l_likely(status == LUA_OK || status == LUA_YIELD)) { in auxresume()78 if (stat != LUA_OK && stat != LUA_YIELD) { /* error in the coroutine? */ in luaB_auxwrap()131 case LUA_YIELD: in auxstatus()
38 #define errorstatus(s) ((s) > LUA_YIELD)678 status = LUA_YIELD; /* was interrupted by an yield */ in finishpcallk()716 int status = LUA_YIELD; /* default if there were no errors */ in finishCcall()792 lua_assert(L->status == LUA_YIELD); in resume()801 n = (*ci->u.c.k)(L, LUA_YIELD, ci->u.c.ctx); /* call continuation */ in resume()841 else if (L->status != LUA_YIELD) /* ended with errors? */ in lua_resume()859 *nresults = (status == LUA_YIELD) ? L->ci->u2.nyield in lua_resume()884 L->status = LUA_YIELD; in lua_yieldk()894 luaD_throw(L, LUA_YIELD); in lua_yieldk()
915 if (L->status == LUA_YIELD) { /* did hook yield? */ in luaG_traceexec()920 luaD_throw(L, LUA_YIELD); in luaG_traceexec()
462 if (l_unlikely(status != LUA_OK && status != LUA_YIELD)) { /* error? */ in finishpcall()
328 if (status == LUA_YIELD) in luaE_resetthread()
50 #define LUA_YIELD 1 macro
1895 if (status != LUA_OK && status != LUA_YIELD) { in coresume()
29 if (status == LUA_OK || status == LUA_YIELD) { in auxresume()107 case LUA_YIELD: in luaB_costatus()
509 ci->u.c.status = LUA_YIELD; /* 'default' status */ in finishCcall()597 else if (L->status != LUA_YIELD) in resume_cb()607 ci->u.c.status = LUA_YIELD; /* 'default' status */ in resume_cb()635 while (status != LUA_OK && status != LUA_YIELD) { /* error? */ in lua_resume()666 L->status = LUA_YIELD; in lua_yieldk()675 luaD_throw(L, LUA_YIELD); in lua_yieldk()
80 if (L->status == LUA_YIELD) { /* did hook yield? */ in traceexec()86 luaD_throw(L, LUA_YIELD); in traceexec()
46 if (L->status == LUA_YIELD) { in swapextra()
44 #define LUA_YIELD 1 macro