Home
last modified time | relevance | path

Searched refs:firstArg (Results 1 – 2 of 2) sorted by relevance

/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
H A Dldo.c495 static l_noret resume_error (lua_State *L, const char *msg, StkId firstArg) { in resume_error() argument
496 L->top = firstArg; /* remove args from the stack */ in resume_error()
508 StkId firstArg = cast(StkId, ud); in resume_cb() local
511 resume_error(L, "C stack overflow", firstArg); in resume_cb()
514 resume_error(L, "cannot resume non-suspended coroutine", firstArg); in resume_cb()
516 if (!luaD_precall(L, firstArg - 1, LUA_MULTRET)) /* Lua function? */ in resume_cb()
520 resume_error(L, "cannot resume dead coroutine", firstArg); in resume_cb()
535 firstArg = L->top - n; /* yield results come from continuation */ in resume_cb()
537 luaD_poscall(L, firstArg); /* finish 'luaD_precall' */ in resume_cb()
/freebsd-12.1/contrib/lua/src/
H A Dldo.c621 StkId firstArg = L->top - n; /* first argument */ in resume() local
624 if (!luaD_precall(L, firstArg - 1, LUA_MULTRET)) /* Lua function? */ in resume()
639 firstArg = L->top - n; /* yield results come from continuation */ in resume()
641 luaD_poscall(L, ci, firstArg, n); /* finish 'luaD_precall' */ in resume()