Home
last modified time | relevance | path

Searched refs:savestack (Results 1 – 10 of 10) sorted by relevance

/f-stack/app/redis-5.0.5/deps/lua/src/
H A Dldo.c184 ptrdiff_t top = savestack(L, L->top); in luaD_callhook()
185 ptrdiff_t ci_top = savestack(L, L->ci->top); in luaD_callhook()
247 ptrdiff_t funcr = savestack(L, func); in tryfuncTM()
270 funcr = savestack(L, func); in luaD_precall()
333 ptrdiff_t fr = savestack(L, firstResult); /* next call may change stack */ in callrethooks()
514 status = luaD_pcall(L, f_parser, &p, savestack(L, L->top), L->errfunc); in luaD_protectedparser()
H A Dldo.h24 #define savestack(L,p) ((char *)(p) - (char *)L->stack) macro
H A Dlapi.c817 func = savestack(L, o); in lua_pcall()
821 status = luaD_pcall(L, f_call, &c, savestack(L, c.func), func); in lua_pcall()
856 status = luaD_pcall(L, f_Ccall, &c, savestack(L, L->top), 0); in lua_cpcall()
H A Dlvm.c82 ptrdiff_t result = savestack(L, res); in callTMres()
/f-stack/freebsd/contrib/openzfs/module/lua/
H A Dldo.c291 ptrdiff_t top = savestack(L, L->top); in luaD_hook()
292 ptrdiff_t ci_top = savestack(L, ci->top); in luaD_hook()
347 ptrdiff_t funcr = savestack(L, func); in tryfuncTM()
370 ptrdiff_t funcr = savestack(L, func); in luaD_precall()
438 ptrdiff_t fr = savestack(L, firstResult); /* hook may change stack */ in luaD_poscall()
654 ci->extra = savestack(L, ci->func); /* save current 'func' */ in lua_yieldk()
742 status = luaD_pcall(L, f_parser, &p, savestack(L, L->top), L->errfunc); in luaD_protectedparser()
H A Dldo.h23 #define savestack(L,p) ((char *)(p) - (char *)L->stack) macro
H A Dlapi.c941 func = savestack(L, o); in lua_pcallk()
946 status = luaD_pcall(L, f_call, &c, savestack(L, c.func), func); in lua_pcallk()
953 ci->extra = savestack(L, c.func); in lua_pcallk()
H A Dldebug.c51 ci->extra = savestack(L, temp); in swapextra()
H A Dlgc.c823 status = luaD_pcall(L, dothecall, NULL, savestack(L, L->top - 2), 0); in GCTM()
H A Dlvm.c96 ptrdiff_t result = savestack(L, p3); in callTM()