/freebsd/contrib/lua/src/ |
H A D | lvm.c | 210 static int forprep (lua_State *L, StkId ra) { in forprep() 270 static int floatforloop (StkId ra) { in floatforloop() 291 void luaV_finishget (lua_State *L, const TValue *t, TValue *key, StkId val, in luaV_finishget() 628 static void copy2buff (StkId top, int n, char *buff) { in copy2buff() 646 StkId top = L->top.p; in luaV_concat() 689 void luaV_objlen (lua_State *L, StkId ra, const TValue *rb) { in luaV_objlen() 792 static void pushclosure (lua_State *L, Proto *p, UpVal **encup, StkId base, in pushclosure() 793 StkId ra) { in pushclosure() 815 StkId base = ci->func.p + 1; in luaV_finishOp() 847 StkId top = L->top.p - 1; /* top when 'luaT_tryconcatTM' was called */ in luaV_finishOp() [all …]
|
H A D | ldo.h | 37 #define restorestack(L,n) cast(StkId, cast_charp(L->stack.p) + (n)) 63 LUAI_FUNC void luaD_seterrorobj (lua_State *L, int errcode, StkId oldtop); 69 LUAI_FUNC int luaD_pretailcall (lua_State *L, CallInfo *ci, StkId func, 71 LUAI_FUNC CallInfo *luaD_precall (lua_State *L, StkId func, int nResults); 72 LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults); 73 LUAI_FUNC void luaD_callnoyield (lua_State *L, StkId func, int nResults); 74 LUAI_FUNC StkId luaD_tryfuncTM (lua_State *L, StkId func);
|
H A D | lfunc.h | 35 #define uplevel(up) check_exp(upisopen(up), cast(StkId, (up)->v.p)) 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 StkId luaF_close (lua_State *L, StkId level, int status, int yy);
|
H A D | lfunc.c | 65 static UpVal *newupval (lua_State *L, StkId level, UpVal **prev) { in newupval() 87 UpVal *luaF_findupval (lua_State *L, StkId level) { in luaF_findupval() 108 StkId top = L->top.p; in callclosemethod() 125 static void checkclosemth (lua_State *L, StkId level) { in checkclosemth() 143 static void prepcallclosemth (lua_State *L, StkId level, int status, int yy) { in prepcallclosemth() 168 void luaF_newtbcupval (lua_State *L, StkId level) { in luaF_newtbcupval() 193 void luaF_closeupval (lua_State *L, StkId level) { in luaF_closeupval() 195 StkId upl; /* stack index pointed by 'uv' */ in luaF_closeupval() 214 StkId tbc = L->tbclist.p; in poptbclist() 227 StkId luaF_close (lua_State *L, StkId level, int status, int yy) { in luaF_close() [all …]
|
H A D | ltm.c | 105 StkId func = L->top.p; in luaT_callTM() 120 const TValue *p2, StkId res) { in luaT_callTMres() 122 StkId func = L->top.p; in luaT_callTMres() 138 StkId res, TMS event) { in callbinTM() 149 StkId res, TMS event) { in luaT_trybinTM() 168 StkId top = L->top.p; 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()
|
H A D | ltm.h | 85 const TValue *p1, const TValue *p2, StkId p3); 87 StkId res, TMS event); 90 const TValue *p2, int inv, StkId res, TMS event); 92 int inv, StkId res, TMS event); 101 StkId where, int wanted);
|
H A D | ldo.c | 91 void luaD_seterrorobj (lua_State *L, int errcode, StkId oldtop) { in luaD_seterrorobj() 215 StkId newstack; in luaD_reallocstack() 279 StkId lim = L->top.p; in stackinuse() 389 StkId firstres = L->top.p - nres; /* index of first result */ in rethook() 412 StkId luaD_tryfuncTM (lua_State *L, StkId func) { in luaD_tryfuncTM() 414 StkId p; in luaD_tryfuncTM() 433 l_sinline void moveresults (lua_State *L, StkId res, int nres, int wanted) { in moveresults() 434 StkId firstresult; in moveresults() 502 l_sinline CallInfo *prepCallInfo (lua_State *L, StkId func, int nret, in prepCallInfo() 503 int mask, StkId top) { in prepCallInfo() [all …]
|
H A D | ldebug.c | 184 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.p + 1; in luaG_findlocal() 206 StkId limit = (ci == L->ci) ? L->top.p : ci->next->func.p; in luaG_findlocal() 230 StkId pos = NULL; /* to avoid warnings */ in lua_getlocal() 243 StkId pos = NULL; /* to avoid warnings */ in lua_setlocal() 666 StkId base = ci->func.p + 1; in instack() 811 StkId errfunc = restorestack(L, L->errfunc); in luaG_errormsg()
|
H A D | lvm.h | 129 StkId val, const TValue *slot); 139 LUAI_FUNC void luaV_objlen (lua_State *L, StkId ra, const TValue *rb);
|
H A D | lapi.c | 63 StkId o = ci->func.p + idx; in index2value() 95 l_sinline StkId index2stack (lua_State *L, int idx) { in index2stack() 98 StkId o = ci->func.p + idx; in index2stack() 183 StkId func, newtop; in lua_settop() 210 StkId level; in lua_closeslot() 227 l_sinline void reverse (lua_State *L, StkId from, StkId to) { in reverse() 242 StkId p, t, m; in lua_rotate() 1006 StkId func; in lua_callk() 1031 StkId func; 1057 StkId o = index2stack(L, errfunc); in lua_pcallk() [all …]
|
H A D | ldebug.h | 41 StkId *pos);
|
H A D | ltable.h | 55 LUAI_FUNC int luaH_next (lua_State *L, Table *t, StkId key);
|
H A D | lobject.h | 158 typedef StackValue *StkId; typedef 166 StkId p; /* actual pointer */ 804 const TValue *p2, StkId res);
|
/freebsd/sys/contrib/openzfs/module/lua/ |
H A D | lapi.c | 162 StkId func = L->ci->func; in lua_settop() 179 StkId p; in lua_remove() 190 StkId p; in lua_insert() 191 StkId q; in lua_insert() 246 StkId o = index2addr(L, idx); in lua_type() 260 StkId o = index2addr(L, idx); in lua_iscfunction() 285 StkId o1 = index2addr(L, index1); in lua_rawequal() 286 StkId o2 = index2addr(L, index2); in lua_rawequal() 292 StkId o1; /* 1st operand */ in lua_arith() 293 StkId o2; /* 2nd operand */ in lua_arith() [all …]
|
H A D | lvm.h | 32 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 D | lstate.h | 70 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 D | ldebug.c | 48 StkId temp = ci->func; /* exchange its 'func' and 'extra' values */ in swapextra() 112 static const char *findvararg (CallInfo *ci, int n, StkId *pos) { in findvararg() 125 StkId *pos) { in findlocal() 127 StkId base; in findlocal() 139 StkId limit = (ci == L->ci) ? L->top : ci->next->func; in findlocal() 161 StkId pos = 0; /* to avoid warnings */ in lua_getlocal() 175 StkId pos = 0; /* to avoid warnings */ in lua_setlocal() 281 StkId func; in lua_getinfo() 505 StkId p; in isinstack() 545 l_noret luaG_concaterror (lua_State *L, StkId p1, StkId p2) { in luaG_concaterror() [all …]
|
H A D | ldo.c | 154 static void seterrorobj (lua_State *L, int errcode, StkId oldtop) { in seterrorobj() 279 StkId lim = L->top; in stackinuse() 340 static StkId adjust_varargs (lua_State *L, Proto *p, int actual) { in adjust_varargs() 343 StkId base, fixed; in adjust_varargs() 357 static StkId tryfuncTM (lua_State *L, StkId func) { in tryfuncTM() 359 StkId p; in tryfuncTM() 379 int luaD_precall (lua_State *L, StkId func, int nresults) { in luaD_precall() 409 StkId base; in luaD_precall() 445 int luaD_poscall (lua_State *L, StkId firstResult) { in luaD_poscall() 446 StkId res; in luaD_poscall() [all …]
|
H A D | ldo.h | 32 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 D | lvm.c | 45 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 D | lfunc.h | 25 LUAI_FUNC UpVal *luaF_findupval (lua_State *L, StkId level); 26 LUAI_FUNC void luaF_close (lua_State *L, StkId level);
|
H A D | ldebug.h | 26 LUAI_FUNC l_noret luaG_concaterror (lua_State *L, StkId p1, StkId p2);
|
H A D | lfunc.c | 45 UpVal *luaF_findupval (lua_State *L, StkId level) { in luaF_findupval() 87 void luaF_close (lua_State *L, StkId level) { in luaF_close()
|
H A D | ltable.h | 35 LUAI_FUNC int luaH_next (lua_State *L, Table *t, StkId key);
|
H A D | ltable.c | 143 static int findindex (lua_State *L, Table *t, StkId key) { in findindex() 168 int luaH_next (lua_State *L, Table *t, StkId key) { in luaH_next()
|