Home
last modified time | relevance | path

Searched refs:nresults (Results 1 – 8 of 8) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dldo.c296 int luaD_precall (lua_State *L, StkId func, int nresults) { in luaD_precall() argument
310 ci->nresults = (short)nresults; in luaD_precall()
341 ci->nresults = (short)nresults; in luaD_precall()
356 return luaD_precall(L, func, nresults); /* now it must be a function */ in luaD_precall()
375 wanted = ci->nresults; in luaD_poscall()
418 adjustresults(L, ci->nresults); in finishCcall()
567 LUA_API int lua_yieldk (lua_State *L, int nresults, int ctx, lua_CFunction k) { in lua_yieldk() argument
569 luai_userstateyield(L, nresults); in lua_yieldk()
571 api_checknelems(L, nresults); in lua_yieldk()
586 ci->func = L->top - nresults - 1; /* protect stack below results */ in lua_yieldk()
Dlapi.c889 LUA_API void lua_callk (lua_State *L, int nargs, int nresults, int ctx, in lua_callk() argument
897 checkresults(L, nargs, nresults); in lua_callk()
902 luaD_call(L, func, nresults, 1); /* do the call */ in lua_callk()
905 luaD_call(L, func, nresults, 0); /* just do the call */ in lua_callk()
906 adjustresults(L, nresults); in lua_callk()
917 int nresults; member
923 luaD_call(L, c->func, c->nresults, 0); in f_call()
928 LUA_API int lua_pcallk (lua_State *L, int nargs, int nresults, int errfunc, in lua_pcallk() argument
938 checkresults(L, nargs, nresults); in lua_pcallk()
948 c.nresults = nresults; /* do a 'conventional' protected call */ in lua_pcallk()
[all …]
Dldo.h32 LUAI_FUNC int luaD_precall (lua_State *L, StkId func, int nresults);
Dlcode.h67 LUAI_FUNC void luaK_setreturns (FuncState *fs, expdesc *e, int nresults);
Dlstate.h73 short nresults; /* expected number of results from this function */ member
Dlcode.c359 void luaK_setreturns (FuncState *fs, expdesc *e, int nresults) { in luaK_setreturns() argument
361 SETARG_C(getcode(fs, e), nresults+1); in luaK_setreturns()
364 SETARG_B(getcode(fs, e), nresults+1); in luaK_setreturns()
Dlvm.c711 int nresults = GETARG_C(i) - 1; in luaV_execute()
713 if (luaD_precall(L, ra, nresults)) { /* C function? */ in luaV_execute()
714 if (nresults >= 0) L->top = ci->top; /* adjust results */ in luaV_execute()
/device/linaro/bootloader/edk2/StdLib/Include/Lua/
Dlua.h251 LUA_API void (lua_callk) (lua_State *L, int nargs, int nresults, int ctx,
257 LUA_API int (lua_pcallk) (lua_State *L, int nargs, int nresults, int errfunc,
271 LUA_API int (lua_yieldk) (lua_State *L, int nresults, int ctx,