Home
last modified time | relevance | path

Searched refs:restorestack (Results 1 – 9 of 9) sorted by relevance

/src/contrib/lua/src/
H A Dldo.h37 #define restorestack(L,n) cast(StkId, cast_charp(L->stack.p) + (n)) macro
44 p = restorestack(L, t__)) /* 'pos' part: restore 'p' */
52 p = restorestack(L, t__)) /* 'pos' part: restore 'p' */
H A Dldo.c182 L->top.p = restorestack(L, L->top.offset); in correctstack()
183 L->tbclist.p = restorestack(L, L->tbclist.offset); in correctstack()
185 up->v.p = s2v(restorestack(L, up->v.offset)); in correctstack()
187 ci->top.p = restorestack(L, ci->top.offset); in correctstack()
188 ci->func.p = restorestack(L, ci->func.offset); in correctstack()
364 ci->top.p = restorestack(L, ci_top); in luaD_hook()
365 L->top.p = restorestack(L, top); in luaD_hook()
466 res = restorestack(L, savedres); /* hook can move stack */ in moveresults()
687 StkId func = restorestack(L, ci->u2.funcidx); in finishpcallk()
940 pcl.level = restorestack(L, level); pcl.status = status; in luaD_closeprotected()
[all …]
H A Dltm.c132 res = restorestack(L, result); in luaT_callTMres()
H A Dlfunc.c234 level = restorestack(L, levelrel); in luaF_close()
H A Dldebug.c837 StkId errfunc = restorestack(L, L->errfunc); in luaG_errormsg()
/src/sys/contrib/openzfs/module/lua/
H A Dldo.c321 ci->top = restorestack(L, ci_top); in luaD_hook()
322 L->top = restorestack(L, top); in luaD_hook()
367 func = restorestack(L, funcr); /* previous call may change stack */ in tryfuncTM()
395 ci->func = restorestack(L, funcr); in luaD_precall()
417 func = restorestack(L, funcr); in luaD_precall()
422 func = restorestack(L, funcr); /* previous call can change stack */ in luaD_precall()
454 firstResult = restorestack(L, fr); in luaD_poscall()
555 oldtop = restorestack(L, ci->extra); in recover()
602 ci->func = restorestack(L, ci->extra); in resume_cb()
694 StkId oldtop = restorestack(L, old_top); in luaD_pcall()
H A Dldo.h24 #define restorestack(L,n) ((TValue *)((char *)L->stack + (n))) macro
H A Dldebug.c50 ci->func = restorestack(L, ci->extra); in swapextra()
589 StkId errfunc = restorestack(L, L->errfunc); in luaG_errormsg()
H A Dlvm.c105 p3 = restorestack(L, result); in callTM()