Home
last modified time | relevance | path

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

/redis-3.2.3/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()