Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dlapi.c165 StkId func = L->ci->func; in lua_settop()
182 StkId p; in lua_remove()
193 StkId p; in lua_insert()
194 StkId q; in lua_insert()
249 StkId o = index2addr(L, idx); in lua_type()
261 StkId o = index2addr(L, idx); in lua_iscfunction()
286 StkId o1 = index2addr(L, index1); in lua_rawequal()
287 StkId o2 = index2addr(L, index2); in lua_rawequal()
293 StkId o1; /* 1st operand */ in lua_arith()
294 StkId o2; /* 2nd operand */ in lua_arith()
[all …]
H A Dlvm.h32 LUAI_FUNC int luaV_tostring (lua_State *L, StkId obj);
34 StkId val);
36 StkId val);
40 LUAI_FUNC void luaV_arith (lua_State *L, StkId ra, const TValue *rb,
42 LUAI_FUNC void luaV_objlen (lua_State *L, StkId ra, const TValue *rb);
H A Dlstate.h70 StkId func; /* function index in the stack */
71 StkId top; /* top for this function */
78 StkId base; /* base for this function */
157 StkId top; /* first free slot in the stack */
161 StkId stack_last; /* last free slot in the stack */
162 StkId stack; /* stack base */
H A Dldo.c88 static void seterrorobj (lua_State *L, int errcode, StkId oldtop) { in seterrorobj()
200 StkId lim = L->top; in stackinuse()
261 static StkId adjust_varargs (lua_State *L, Proto *p, int actual) { in adjust_varargs()
264 StkId base, fixed; in adjust_varargs()
278 static StkId tryfuncTM (lua_State *L, StkId func) { in tryfuncTM()
280 StkId p; in tryfuncTM()
300 int luaD_precall (lua_State *L, StkId func, int nresults) { in luaD_precall()
330 StkId base; in luaD_precall()
366 int luaD_poscall (lua_State *L, StkId firstResult) { in luaD_poscall()
367 StkId res; in luaD_poscall()
[all …]
H A Dldebug.c50 StkId temp = ci->func; /* exchange its 'func' and 'extra' values */ in swapextra()
114 static const char *findvararg (CallInfo *ci, int n, StkId *pos) { in findvararg()
126 StkId *pos) { in findlocal()
128 StkId base; in findlocal()
140 StkId limit = (ci == L->ci) ? L->top : ci->next->func; in findlocal()
162 StkId pos = 0; /* to avoid warnings */ in lua_getlocal()
176 StkId pos = 0; /* to avoid warnings */ in lua_setlocal()
282 StkId func; in lua_getinfo()
506 StkId p; in isinstack()
546 l_noret luaG_concaterror (lua_State *L, StkId p1, StkId p2) { in luaG_concaterror()
[all …]
H A Dlvm.c47 int luaV_tostring (lua_State *L, StkId obj) { in luaV_tostring()
110 void luaV_gettable (lua_State *L, const TValue *t, TValue *key, StkId val) { in luaV_gettable()
136 void luaV_settable (lua_State *L, const TValue *t, TValue *key, StkId val) { in luaV_settable()
176 StkId res, TMS event) { in call_binTM()
296 StkId top = L->top; in luaV_concat()
335 void luaV_objlen (lua_State *L, StkId ra, const TValue *rb) { in luaV_objlen()
409 void luaV_arith (lua_State *L, StkId ra, const TValue *rb, in luaV_arith()
439 static Closure *getcached (Proto *p, UpVal **encup, StkId base) { in getcached()
461 static void pushclosure (lua_State *L, Proto *p, UpVal **encup, StkId base, in pushclosure()
462 StkId ra) { in pushclosure()
[all …]
H A Dldo.h32 LUAI_FUNC int luaD_precall (lua_State *L, StkId func, int nresults);
33 LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults,
37 LUAI_FUNC int luaD_poscall (lua_State *L, StkId firstResult);
H A Dlfunc.h25 LUAI_FUNC UpVal *luaF_findupval (lua_State *L, StkId level);
26 LUAI_FUNC void luaF_close (lua_State *L, StkId level);
H A Dldebug.h26 LUAI_FUNC l_noret luaG_concaterror (lua_State *L, StkId p1, StkId p2);
H A Dlfunc.c47 UpVal *luaF_findupval (lua_State *L, StkId level) { in luaF_findupval()
89 void luaF_close (lua_State *L, StkId level) { in luaF_close()
H A Dltable.h35 LUAI_FUNC int luaH_next (lua_State *L, Table *t, StkId key);
H A Dltable.c144 static int findindex (lua_State *L, Table *t, StkId key) { in findindex()
169 int luaH_next (lua_State *L, Table *t, StkId key) { in luaH_next()
H A Dlgc.c497 StkId o = th->stack; in traversestack()
503 StkId lim = th->stack + th->stacksize; /* real end of stack */ in traversestack()
H A Dlobject.h401 typedef TValue *StkId; /* index to stack elements */ typedef