Lines Matching refs:nresults
486 int wanted = ci->nresults; in luaD_poscall()
506 ci->nresults = nret; in prepCallInfo()
516 l_sinline int precallC (lua_State *L, StkId func, int nresults, in precallC() argument
521 L->ci = ci = prepCallInfo(L, func, nresults, CIST_C, in precallC()
588 CallInfo *luaD_precall (lua_State *L, StkId func, int nresults) { in luaD_precall() argument
592 precallC(L, func, nresults, clCvalue(s2v(func))->f); in luaD_precall()
595 precallC(L, func, nresults, fvalue(s2v(func))); in luaD_precall()
604 L->ci = ci = prepCallInfo(L, func, nresults, 0, func + 1 + fsize); in luaD_precall()
711 lua_assert(hastocloseCfunc(ci->nresults)); in finishCcall()
832 int *nresults) { in lua_resume() argument
859 *nresults = (status == LUA_YIELD) ? L->ci->u2.nyield in lua_resume()
871 LUA_API int lua_yieldk (lua_State *L, int nresults, lua_KContext ctx, in lua_yieldk() argument
874 luai_userstateyield(L, nresults); in lua_yieldk()
877 api_checknelems(L, nresults); in lua_yieldk()
885 ci->u2.nyield = nresults; /* save number of results */ in lua_yieldk()
888 api_check(L, nresults == 0, "hooks cannot yield values"); in lua_yieldk()