Home
last modified time | relevance | path

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

/external/lua/src/
Dldo.c257 ptrdiff_t top = savestack(L, L->top); in luaD_hook()
258 ptrdiff_t ci_top = savestack(L, ci->top); in luaD_hook()
381 ptrdiff_t fr = savestack(L, firstResult); /* hook may change stack */ in luaD_poscall()
401 ptrdiff_t t__ = savestack(L, p); /* save 'p' */ \
705 ci->extra = savestack(L, ci->func); /* save current 'func' */ in lua_yieldk()
793 status = luaD_pcall(L, f_parser, &p, savestack(L, L->top), L->errfunc); in luaD_protectedparser()
Dldo.h32 #define savestack(L,p) ((char *)(p) - (char *)L->stack) macro
Dltm.c104 ptrdiff_t result = savestack(L, p3); in luaT_callTM()
Dlapi.c964 func = savestack(L, o); in lua_pcallk()
969 status = luaD_pcall(L, f_call, &c, savestack(L, c.func), func); in lua_pcallk()
976 ci->extra = savestack(L, c.func); in lua_pcallk()
Dldebug.c67 ci->extra = savestack(L, temp); in swapextra()
Dlgc.c823 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.py218 self.savestack = [] # If not None, save text head instead
323 self.savestack.append(self.savetext)
330 if len(self.savestack) > 0:
331 self.savetext = self.savestack[-1]
332 del self.savestack[-1]