Lines Matching refs:nresults
207 lua_assert(hastocloseCfunc(ci->nresults));
219 api_check(L, hastocloseCfunc(L->ci->nresults) && L->tbclist.p == level,
1014 LUA_API void lua_callk (lua_State *L, int nargs, int nresults,
1022 checkresults(L, nargs, nresults);
1027 luaD_call(L, func, nresults); /* do the call */
1030 luaD_callnoyield(L, func, nresults); /* just do the call */
1031 adjustresults(L, nresults);
1042 int nresults;
1048 luaD_callnoyield(L, c->func, c->nresults);
1053 LUA_API int lua_pcallk (lua_State *L, int nargs, int nresults, int errfunc,
1063 checkresults(L, nargs, nresults);
1073 c.nresults = nresults; /* do a 'conventional' protected call */
1086 luaD_call(L, c.func, nresults); /* do the call */
1091 adjustresults(L, nresults);
1281 int nresults;
1285 nresults = L->ci->nresults;
1288 if (!hastocloseCfunc(nresults)) /* function not marked yet? */
1289 L->ci->nresults = codeNresults(nresults); /* mark it */
1290 lua_assert(hastocloseCfunc(L->ci->nresults));