Home
last modified time | relevance | path

Searched refs:StkId (Results 1 – 17 of 17) sorted by relevance

/l4re-core-master/lua/lib/contrib/src/
A Dldo.h36 #define restorestack(L,n) ((StkId)((char *)L->stack + (n)))
55 LUAI_FUNC void luaD_seterrorobj (lua_State *L, int errcode, StkId oldtop);
61 LUAI_FUNC void luaD_pretailcall (lua_State *L, CallInfo *ci, StkId func, int n);
62 LUAI_FUNC CallInfo *luaD_precall (lua_State *L, StkId func, int nResults);
63 LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults);
64 LUAI_FUNC void luaD_callnoyield (lua_State *L, StkId func, int nResults);
65 LUAI_FUNC void luaD_tryfuncTM (lua_State *L, StkId func);
A Dlfunc.h35 #define uplevel(up) check_exp(upisopen(up), cast(StkId, (up)->v))
54 LUAI_FUNC UpVal *luaF_findupval (lua_State *L, StkId level);
55 LUAI_FUNC void luaF_newtbcupval (lua_State *L, StkId level);
56 LUAI_FUNC void luaF_closeupval (lua_State *L, StkId level);
57 LUAI_FUNC void luaF_close (lua_State *L, StkId level, int status, int yy);
A Dlfunc.c65 static UpVal *newupval (lua_State *L, int tbc, StkId level, UpVal **prev) { in newupval()
88 UpVal *luaF_findupval (lua_State *L, StkId level) { in luaF_findupval()
109 StkId top = L->top; in callclosemethod()
126 static void checkclosemth (lua_State *L, StkId level) { in checkclosemth()
144 static void prepcallclosemth (lua_State *L, StkId level, int status, int yy) { in prepcallclosemth()
169 void luaF_newtbcupval (lua_State *L, StkId level) { in luaF_newtbcupval()
194 void luaF_closeupval (lua_State *L, StkId level) { in luaF_closeupval()
196 StkId upl; /* stack index pointed by 'uv' */ in luaF_closeupval()
215 StkId tbc = L->tbclist; in poptbclist()
228 void luaF_close (lua_State *L, StkId level, int status, int yy) { in luaF_close()
[all …]
A Dltm.h84 const TValue *p1, const TValue *p2, StkId p3);
86 StkId res, TMS event);
89 const TValue *p2, int inv, StkId res, TMS event);
91 int inv, StkId res, TMS event);
100 StkId where, int wanted);
A Dltm.c105 StkId func = L->top; in luaT_callTM()
120 const TValue *p2, StkId res) { in luaT_callTMres()
122 StkId func = L->top; in luaT_callTMres()
138 StkId res, TMS event) { in callbinTM()
149 StkId res, TMS event) { in luaT_trybinTM()
168 StkId top = L->top; in luaT_tryconcatTM()
176 int flip, StkId res, TMS event) { in luaT_trybinassocTM()
185 int flip, StkId res, TMS event) { in luaT_trybiniTM()
258 void luaT_getvarargs (lua_State *L, CallInfo *ci, StkId where, int wanted) { in luaT_getvarargs()
A Dlstate.h173 StkId func; /* function index in the stack */
174 StkId top; /* top for this function */
309 StkId top; /* first free slot in the stack */
312 StkId stack_last; /* end of stack (last element + 1) */
313 StkId stack; /* stack base */
315 StkId tbclist; /* list of to-be-closed variables */
A Dldo.c91 void luaD_seterrorobj (lua_State *L, int errcode, StkId oldtop) { in luaD_seterrorobj()
160 static void correctstack (lua_State *L, StkId oldstack, StkId newstack) { in correctstack()
194 StkId newstack = luaM_reallocvector(L, NULL, 0, in luaD_reallocstack()
253 StkId lim = L->top; in stackinuse()
390 void luaD_tryfuncTM (lua_State *L, StkId func) { in luaD_tryfuncTM()
392 StkId p; in luaD_tryfuncTM()
409 StkId firstresult; in moveresults()
586 void luaD_call (lua_State *L, StkId func, int nResults) { in luaD_call()
620 StkId func = restorestack(L, ci->u2.funcidx); in finishpcallk()
728 StkId firstArg = L->top - n; /* first argument */ in resume()
[all …]
A Dldebug.c184 static const char *findvararg (CallInfo *ci, int n, StkId *pos) { in findvararg()
196 const char *luaG_findlocal (lua_State *L, CallInfo *ci, int n, StkId *pos) { in luaG_findlocal()
197 StkId base = ci->func + 1; in luaG_findlocal()
206 StkId limit = (ci == L->ci) ? L->top : ci->next->func; in luaG_findlocal()
230 StkId pos = NULL; /* to avoid warnings */ in lua_getlocal()
243 StkId pos = NULL; /* to avoid warnings */ in lua_setlocal()
650 StkId pos; in isinstack()
686 cast_int(cast(StkId, o) - (ci->func + 1)), &name); in varinfo()
767 StkId errfunc = restorestack(L, L->errfunc); in luaG_errormsg()
A Dlvm.c206 static int forprep (lua_State *L, StkId ra) { in forprep()
266 static int floatforloop (StkId ra) { in floatforloop()
624 static void copy2buff (StkId top, int n, char *buff) { in copy2buff()
642 StkId top = L->top; in luaV_concat()
788 StkId ra) { in pushclosure()
810 StkId base = ci->func + 1; in luaV_finishOp()
1132 StkId base; in luaV_execute()
1157 StkId ra; /* instruction's A register */ in luaV_execute()
1472 StkId result = RA(pi); in luaV_execute()
1482 StkId result = RA(pi); in luaV_execute()
[all …]
A Dlvm.h124 StkId val, const TValue *slot);
134 LUAI_FUNC void luaV_objlen (lua_State *L, StkId ra, const TValue *rb);
A Dlapi.c59 StkId o = ci->func + idx; in index2value()
84 static StkId index2stack (lua_State *L, int idx) { in index2stack()
87 StkId o = ci->func + idx; in index2stack()
176 StkId func, newtop; in lua_settop()
203 StkId level; in lua_closeslot()
221 static void reverse (lua_State *L, StkId from, StkId to) { in reverse()
236 StkId p, t, m; in lua_rotate()
999 StkId func; in lua_callk()
1024 StkId func;
1050 StkId o = index2stack(L, errfunc); in lua_pcallk()
[all …]
A Dldebug.h41 StkId *pos);
A Dltable.h55 LUAI_FUNC int luaH_next (lua_State *L, Table *t, StkId key);
A Dlobject.h156 typedef StackValue *StkId; typedef
789 const TValue *p2, StkId res);
A Dlobject.c127 StkId res) { in luaO_arith()
A Dltable.c338 int luaH_next (lua_State *L, Table *t, StkId key) { in luaH_next()
A Dlgc.c623 StkId o = th->stack; in traversethread()

Completed in 28 milliseconds