• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /barrelfish-2018-10-04/lib/lua/src/

Lines Matching defs:top

95       setobjs2s(L, oldtop, L->top - 1);  /* error message on current top */
99 L->top = oldtop + 1;
111 setobjs2s(L, G(L)->mainthread->top++, L->top - 1); /* copy error obj. */
145 L->top = (L->top - oldstack) + L->stack;
149 ci->top = (ci->top - oldstack) + L->stack;
180 int needed = cast_int(L->top - L->stack) + n + EXTRA_STACK;
196 StkId lim = L->top;
198 lua_assert(ci->top <= L->stack_last);
199 if (lim < ci->top) lim = ci->top;
221 ptrdiff_t top = savestack(L, L->top);
222 ptrdiff_t ci_top = savestack(L, ci->top);
228 ci->top = L->top + LUA_MINSTACK;
229 lua_assert(ci->top <= L->stack_last);
237 ci->top = restorestack(L, ci_top);
238 L->top = restorestack(L, top);
264 fixed = L->top - actual; /* first fixed argument */
265 base = L->top; /* final position of first argument */
267 setobjs2s(L, L->top++, fixed + i);
281 for (p = L->top; p > func; p--) setobjs2s(L, p, p-1);
312 ci->top = L->top + LUA_MINSTACK;
313 lua_assert(ci->top <= L->stack_last);
322 luaD_poscall(L, L->top - n);
328 n = cast_int(L->top - func) - 1; /* number of real arguments */
331 setnilvalue(L->top++); /* complete missing arguments */
344 ci->top = base + p->maxstacksize;
345 lua_assert(ci->top <= L->stack_last);
348 L->top = ci->top;
378 for (i = wanted; i != 0 && firstResult < L->top; i--)
382 L->top = res;
429 luaD_poscall(L, L->top - n);
486 L->top = firstArg; /* remove args from the stack */
487 setsvalue2s(L, L->top, luaS_new(L, msg)); /* push error message */
525 firstArg = L->top - n; /* yield results come from continuation */
543 status = luaD_rawrunprotected(L, resume, L->top - nargs);
552 seterrorobj(L, status, L->top);
553 L->ci->top = L->top;
586 ci->func = L->top - nresults - 1; /* protect stack below results */
672 status = luaD_pcall(L, f_parser, &p, savestack(L, L->top), L->errfunc);