• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/

Lines Matching refs:top

105       setobjs2s(L, oldtop, L->top - 1);  /* error message on current top */
109 L->top = oldtop + 1;
121 setobjs2s(L, G(L)->mainthread->top++, L->top - 1); /* copy error obj. */
155 L->top = (L->top - oldstack) + L->stack;
159 ci->top = (ci->top - oldstack) + L->stack;
190 int needed = cast_int(L->top - L->stack) + n + EXTRA_STACK;
206 StkId lim = L->top;
208 lua_assert(ci->top <= L->stack_last);
209 if (lim < ci->top) lim = ci->top;
231 ptrdiff_t top = savestack(L, L->top);
232 ptrdiff_t ci_top = savestack(L, ci->top);
238 ci->top = L->top + LUA_MINSTACK;
239 lua_assert(ci->top <= L->stack_last);
247 ci->top = restorestack(L, ci_top);
248 L->top = restorestack(L, top);
274 fixed = L->top - actual; /* first fixed argument */
275 base = L->top; /* final position of first argument */
277 setobjs2s(L, L->top++, fixed + i);
291 for (p = L->top; p > func; p--) setobjs2s(L, p, p-1);
322 ci->top = L->top + LUA_MINSTACK;
323 lua_assert(ci->top <= L->stack_last);
332 luaD_poscall(L, L->top - n);
338 n = cast_int(L->top - func) - 1; /* number of real arguments */
341 setnilvalue(L->top++); /* complete missing arguments */
354 ci->top = base + p->maxstacksize;
355 lua_assert(ci->top <= L->stack_last);
358 L->top = ci->top;
388 for (i = wanted; i != 0 && firstResult < L->top; i--)
392 L->top = res;
439 luaD_poscall(L, L->top - n);
496 L->top = firstArg; /* remove args from the stack */
497 setsvalue2s(L, L->top, luaS_new(L, msg)); /* push error message */
535 firstArg = L->top - n; /* yield results come from continuation */
553 status = luaD_rawrunprotected(L, resume_cb, L->top - nargs);
562 seterrorobj(L, status, L->top);
563 L->ci->top = L->top;
596 ci->func = L->top - nresults - 1; /* protect stack below results */
682 status = luaD_pcall(L, f_parser, &p, savestack(L, L->top), L->errfunc);