Home
last modified time | relevance | path

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

/external/lua/src/
Dldo.h35 #define savestack(L,p) ((char *)(p) - (char *)L->stack) macro
42 ptrdiff_t t__ = savestack(L, p); /* save 'p' */ \
Dldo.c280 ptrdiff_t top = savestack(L, L->top); in luaD_hook()
281 ptrdiff_t ci_top = savestack(L, ci->top); in luaD_hook()
327 ptrdiff_t oldtop = savestack(L, L->top); /* hook may change top */ in rethook()
391 ptrdiff_t savedres = savestack(L, res); in moveresults()
813 status = luaD_pcall(L, f_parser, &p, savestack(L, L->top), L->errfunc); in luaD_protectedparser()
Dlfunc.c161 oldtop = savestack(L, level + 1); /* top will be after that */ in callclosemth()
230 ptrdiff_t levelrel = savestack(L, level); in luaF_close()
Dltm.c121 ptrdiff_t result = savestack(L, res); in luaT_callTMres()
Dlapi.c1026 func = savestack(L, o); in lua_pcallk()
1031 status = luaD_pcall(L, f_call, &c, savestack(L, c.func), func); in lua_pcallk()
1038 ci->u2.funcidx = cast_int(savestack(L, c.func)); in lua_pcallk()
Dlgc.c909 status = luaD_pcall(L, dothecall, NULL, savestack(L, L->top - 2), 0); in GCTM()
/external/python/cpython2/Tools/scripts/
Dtexi2html.py217 self.savestack = [] # If not None, save text head instead
322 self.savestack.append(self.savetext)
329 if len(self.savestack) > 0:
330 self.savetext = self.savestack[-1]
331 del self.savestack[-1]
/external/python/cpython3/Tools/scripts/
Dtexi2html.py217 self.savestack = [] # If not None, save text head instead
322 self.savestack.append(self.savetext)
329 if len(self.savestack) > 0:
330 self.savetext = self.savestack[-1]
331 del self.savestack[-1]