Home
last modified time | relevance | path

Searched refs:firstResult (Results 1 – 4 of 4) sorted by relevance

/freebsd-12.1/contrib/lua/src/
H A Dldo.c334 static int moveresults (lua_State *L, const TValue *firstResult, StkId res, in moveresults() argument
340 firstResult = luaO_nilobject; /* adjust with nil */ in moveresults()
341 setobjs2s(L, res, firstResult); /* move it to proper place */ in moveresults()
347 setobjs2s(L, res + i, firstResult + i); in moveresults()
355 setobjs2s(L, res + i, firstResult + i); in moveresults()
359 setobjs2s(L, res + i, firstResult + i); in moveresults()
376 int luaD_poscall (lua_State *L, CallInfo *ci, StkId firstResult, int nres) { in luaD_poscall() argument
381 ptrdiff_t fr = savestack(L, firstResult); /* hook may change stack */ in luaD_poscall()
383 firstResult = restorestack(L, fr); in luaD_poscall()
390 return moveresults(L, firstResult, res, nres, wanted); in luaD_poscall()
H A Dldo.h47 LUAI_FUNC int luaD_poscall (lua_State *L, CallInfo *ci, StkId firstResult,
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
H A Dldo.c372 int luaD_poscall (lua_State *L, StkId firstResult) { in luaD_poscall() argument
378 ptrdiff_t fr = savestack(L, firstResult); /* hook may change stack */ in luaD_poscall()
380 firstResult = restorestack(L, fr); in luaD_poscall()
388 for (i = wanted; i != 0 && firstResult < L->top; i--) in luaD_poscall()
389 setobjs2s(L, res++, firstResult++); in luaD_poscall()
H A Dldo.h37 LUAI_FUNC int luaD_poscall (lua_State *L, StkId firstResult);