/external/lua/src/ |
D | ldo.h | 36 #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 void luaD_call (lua_State *L, StkId func, int nResults); 63 LUAI_FUNC void luaD_callnoyield (lua_State *L, StkId func, int nResults); 64 LUAI_FUNC void luaD_tryfuncTM (lua_State *L, StkId func);
|
D | lfunc.h | 35 #define uplevel(up) check_exp(upisopen(up), cast(StkId, (up)->v)) 60 LUAI_FUNC UpVal *luaF_findupval (lua_State *L, StkId level); 61 LUAI_FUNC void luaF_newtbcupval (lua_State *L, StkId level); 62 LUAI_FUNC int luaF_close (lua_State *L, StkId level, int status);
|
D | ltm.c | 105 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() 175 int flip, StkId res, TMS event) { in luaT_trybinassocTM() 184 int flip, StkId res, TMS event) { in luaT_trybiniTM() 257 void luaT_getvarargs (lua_State *L, CallInfo *ci, StkId where, int wanted) { in luaT_getvarargs()
|
D | ltm.h | 84 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);
|
D | lfunc.c | 65 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() 114 StkId top = L->top; in prepclosingmethod() 130 static void varerror (lua_State *L, StkId level, const char *msg) { in varerror() 150 static int callclosemth (lua_State *L, StkId level, int status) { in callclosemth() 185 newupval(L, 1, cast(StkId, ud), &L->openupval); in trynewtbcupval() 194 void luaF_newtbcupval (lua_State *L, StkId level) { in luaF_newtbcupval() 223 int luaF_close (lua_State *L, StkId level, int status) { in luaF_close()
|
D | ldo.c | 91 void luaD_seterrorobj (lua_State *L, int errcode, StkId oldtop) { in luaD_seterrorobj() 164 static void correctstack (lua_State *L, StkId oldstack, StkId newstack) { in correctstack() 187 StkId newstack = luaM_reallocvector(L, L->stack, lim, newsize, StackValue); in luaD_reallocstack() 237 StkId lim = L->top; in stackinuse() 326 static StkId rethook (lua_State *L, CallInfo *ci, StkId firstres, int nres) { in rethook() 354 void luaD_tryfuncTM (lua_State *L, StkId func) { in luaD_tryfuncTM() 356 StkId p; in luaD_tryfuncTM() 372 static void moveresults (lua_State *L, StkId res, int nres, int wanted) { in moveresults() 373 StkId firstresult; in moveresults() 432 void luaD_pretailcall (lua_State *L, CallInfo *ci, StkId func, int narg1) { in luaD_pretailcall() [all …]
|
D | lstate.h | 194 StkId func; /* function index in the stack */ 195 StkId top; /* top for this function */ 311 StkId top; /* first free slot in the stack */ 314 StkId stack_last; /* last free slot in the stack */ 315 StkId stack; /* stack base */
|
D | ldebug.c | 188 static const char *findvararg (CallInfo *ci, int n, StkId *pos) { in findvararg() 200 const char *luaG_findlocal (lua_State *L, CallInfo *ci, int n, StkId *pos) { in luaG_findlocal() 201 StkId base = ci->func + 1; in luaG_findlocal() 210 StkId limit = (ci == L->ci) ? L->top : ci->next->func; in luaG_findlocal() 234 StkId pos = NULL; /* to avoid warnings */ in lua_getlocal() 247 StkId pos = NULL; /* to avoid warnings */ in lua_setlocal() 655 StkId base = ci->func + 1; in isinstack() 656 ptrdiff_t i = cast(StkId, o) - base; in isinstack() 688 cast_int(cast(StkId, o) - (ci->func + 1)), &name); in varinfo() 756 StkId errfunc = restorestack(L, L->errfunc); in luaG_errormsg()
|
D | lvm.c | 206 static int forprep (lua_State *L, StkId ra) { in forprep() 266 static int floatforloop (StkId ra) { in floatforloop() 287 void luaV_finishget (lua_State *L, const TValue *t, TValue *key, StkId val, in luaV_finishget() 622 static void copy2buff (StkId top, int n, char *buff) { in copy2buff() 640 StkId top = L->top; in luaV_concat() 681 void luaV_objlen (lua_State *L, StkId ra, const TValue *rb) { in luaV_objlen() 785 static void pushclosure (lua_State *L, Proto *p, UpVal **encup, StkId base, in pushclosure() 786 StkId ra) { in pushclosure() 808 StkId base = ci->func + 1; in luaV_finishOp() 840 StkId top = L->top - 1; /* top when 'luaT_tryconcatTM' was called */ in luaV_finishOp() [all …]
|
D | lvm.h | 122 StkId val, const TValue *slot); 132 LUAI_FUNC void luaV_objlen (lua_State *L, StkId ra, const TValue *rb);
|
D | lapi.c | 59 StkId o = ci->func + idx; in index2value() 83 static StkId index2stack (lua_State *L, int idx) { in index2stack() 86 StkId o = ci->func + idx; in index2stack() 175 StkId func; in lua_settop() 203 static void reverse (lua_State *L, StkId from, StkId to) { in reverse() 218 StkId p, t, m; in lua_rotate() 973 StkId func; in lua_callk() 998 StkId func; 1024 StkId o = index2stack(L, errfunc); in lua_pcallk() 1239 StkId o; in lua_toclose()
|
D | ldebug.h | 31 StkId *pos);
|
D | ltable.h | 51 LUAI_FUNC int luaH_next (lua_State *L, Table *t, StkId key);
|
D | lobject.h | 145 typedef StackValue *StkId; typedef 777 const TValue *p2, StkId res);
|
D | lobject.c | 127 StkId res) { in luaO_arith()
|
D | lgc.c | 624 StkId o = th->stack; in traversethread() 636 StkId lim = th->stack + th->stacksize; /* real end of stack */ in traversethread()
|
D | ltable.c | 305 int luaH_next (lua_State *L, Table *t, StkId key) { in luaH_next()
|