Home
last modified time | relevance | path

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

/external/lua/src/
Dlapi.c173 StkId func = L->ci->func; in lua_settop()
193 static void reverse (lua_State *L, StkId from, StkId to) { in reverse()
208 StkId p, t, m; in lua_rotate()
252 StkId o = index2addr(L, idx); in lua_type()
265 StkId o = index2addr(L, idx); in lua_iscfunction()
271 StkId o = index2addr(L, idx); in lua_isinteger()
296 StkId o1 = index2addr(L, index1); in lua_rawequal()
297 StkId o2 = index2addr(L, index2); in lua_rawequal()
319 StkId o1, o2; in lua_compare()
374 StkId o = index2addr(L, idx); in lua_tolstring()
[all …]
Dlstate.h93 StkId func; /* function index in the stack */
94 StkId top; /* top for this function */
98 StkId base; /* base for this function */
182 StkId top; /* first free slot in the stack */
186 StkId stack_last; /* last free slot in the stack */
187 StkId stack; /* stack base */
Dldo.h42 LUAI_FUNC int luaD_precall (lua_State *L, StkId func, int nresults);
43 LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults);
44 LUAI_FUNC void luaD_callnoyield (lua_State *L, StkId func, int nResults);
47 LUAI_FUNC int luaD_poscall (lua_State *L, CallInfo *ci, StkId firstResult,
Dldo.c91 static void seterrorobj (lua_State *L, int errcode, StkId oldtop) { in seterrorobj()
212 StkId lim = L->top; in stackinuse()
293 static StkId adjust_varargs (lua_State *L, Proto *p, int actual) { in adjust_varargs()
296 StkId base, fixed; in adjust_varargs()
315 static void tryfuncTM (lua_State *L, StkId func) { in tryfuncTM()
317 StkId p; in tryfuncTM()
334 static int moveresults (lua_State *L, const TValue *firstResult, StkId res, in moveresults()
376 int luaD_poscall (lua_State *L, CallInfo *ci, StkId firstResult, int nres) { in luaD_poscall()
377 StkId res; in luaD_poscall()
413 int luaD_precall (lua_State *L, StkId func, int nresults) { in luaD_precall()
[all …]
Dlvm.c160 void luaV_finishget (lua_State *L, const TValue *t, TValue *key, StkId val, in luaV_finishget()
204 StkId val, const TValue *slot) { in luaV_finishset()
460 static void copy2buff (StkId top, int n, char *buff) { in copy2buff()
477 StkId top = L->top; in luaV_concat()
517 void luaV_objlen (lua_State *L, StkId ra, const TValue *rb) { in luaV_objlen()
610 static LClosure *getcached (Proto *p, UpVal **encup, StkId base) { in getcached()
632 static void pushclosure (lua_State *L, Proto *p, UpVal **encup, StkId base, in pushclosure()
633 StkId ra) { in pushclosure()
658 StkId base = ci->u.l.base; in luaV_finishOp()
684 StkId top = L->top - 1; /* top when 'luaT_trybinTM' was called */ in luaV_finishOp()
[all …]
Dldebug.c65 StkId temp = ci->func; /* exchange its 'func' and 'extra' values */ in swapextra()
134 static const char *findvararg (CallInfo *ci, int n, StkId *pos) { in findvararg()
146 StkId *pos) { in findlocal()
148 StkId base; in findlocal()
160 StkId limit = (ci == L->ci) ? L->top : ci->next->func; in findlocal()
182 StkId pos = NULL; /* to avoid warnings */ in lua_getlocal()
196 StkId pos = NULL; /* to avoid warnings */ in lua_setlocal()
313 StkId func; in lua_getinfo()
642 StkId errfunc = restorestack(L, L->errfunc); in luaG_errormsg()
Dlvm.h102 StkId val, const TValue *slot);
104 StkId val, const TValue *slot);
111 LUAI_FUNC void luaV_objlen (lua_State *L, StkId ra, const TValue *rb);
Dlfunc.h54 LUAI_FUNC UpVal *luaF_findupval (lua_State *L, StkId level);
55 LUAI_FUNC void luaF_close (lua_State *L, StkId level);
Dltm.c105 StkId func = L->top; in luaT_callTM()
125 StkId res, TMS event) { in luaT_callbinTM()
136 StkId res, TMS event) { in luaT_trybinTM()
Dltm.h68 StkId res, TMS event);
70 StkId res, TMS event);
Dlfunc.c57 UpVal *luaF_findupval (lua_State *L, StkId level) { in luaF_findupval()
83 void luaF_close (lua_State *L, StkId level) { in luaF_close()
Dltable.h56 LUAI_FUNC int luaH_next (lua_State *L, Table *t, StkId key);
Dlobject.h294 typedef TValue *StkId; /* index to stack elements */ typedef
541 LUAI_FUNC void luaO_tostring (lua_State *L, StkId obj);
Dltable.c159 static unsigned int findindex (lua_State *L, Table *t, StkId key) { in findindex()
186 int luaH_next (lua_State *L, Table *t, StkId key) { in luaH_next()
Dlobject.c371 void luaO_tostring (lua_State *L, StkId obj) { in luaO_tostring()
Dlgc.c531 StkId o = th->stack; in traversethread()
539 StkId lim = th->stack + th->stacksize; /* real end of stack */ in traversethread()