Searched refs:StkId (Results 1 - 25 of 31) sorted by relevance

12

/freebsd-13-stable/sys/contrib/openzfs/module/lua/
H A Dlvm.h33 LUAI_FUNC int luaV_tostring (lua_State *L, StkId obj);
35 StkId val);
37 StkId val);
41 LUAI_FUNC void luaV_arith (lua_State *L, StkId ra, const TValue *rb,
43 LUAI_FUNC void luaV_objlen (lua_State *L, StkId ra, const TValue *rb);
H A Dldebug.h27 LUAI_FUNC l_noret luaG_concaterror (lua_State *L, StkId p1, StkId p2);
H A Dlfunc.h26 LUAI_FUNC UpVal *luaF_findupval (lua_State *L, StkId level);
27 LUAI_FUNC void luaF_close (lua_State *L, StkId level);
H A Dldo.h33 LUAI_FUNC int luaD_precall (lua_State *L, StkId func, int nresults);
34 LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults,
38 LUAI_FUNC int luaD_poscall (lua_State *L, StkId firstResult);
H A Dlstate.h71 StkId func; /* function index in the stack */
72 StkId top; /* top for this function */
79 StkId base; /* base for this function */
158 StkId top; /* first free slot in the stack */
162 StkId stack_last; /* last free slot in the stack */
163 StkId stack; /* stack base */
H A Dlapi.c163 StkId func = L->ci->func;
180 StkId p;
191 StkId p;
192 StkId q;
247 StkId o = index2addr(L, idx);
259 StkId o = index2addr(L, idx);
284 StkId o1 = index2addr(L, index1);
285 StkId o2 = index2addr(L, index2);
291 StkId o1; /* 1st operand */
292 StkId o
[all...]
H A Dldebug.c49 StkId temp = ci->func; /* exchange its 'func' and 'extra' values */
113 static const char *findvararg (CallInfo *ci, int n, StkId *pos) {
125 StkId *pos) {
127 StkId base;
139 StkId limit = (ci == L->ci) ? L->top : ci->next->func;
161 StkId pos = 0; /* to avoid warnings */
175 StkId pos = 0; /* to avoid warnings */
281 StkId func;
505 StkId p;
545 l_noret luaG_concaterror (lua_State *L, StkId p
[all...]
H A Dldo.c153 static void seterrorobj (lua_State *L, int errcode, StkId oldtop) {
265 StkId lim = L->top;
326 static StkId adjust_varargs (lua_State *L, Proto *p, int actual) {
329 StkId base, fixed;
343 static StkId tryfuncTM (lua_State *L, StkId func) {
345 StkId p;
365 int luaD_precall (lua_State *L, StkId func, int nresults) {
395 StkId base;
431 int luaD_poscall (lua_State *L, StkId firstResul
[all...]
H A Dlvm.c46 int luaV_tostring (lua_State *L, StkId obj) {
111 void luaV_gettable (lua_State *L, const TValue *t, TValue *key, StkId val) {
137 void luaV_settable (lua_State *L, const TValue *t, TValue *key, StkId val) {
177 StkId res, TMS event) {
297 StkId top = L->top;
336 void luaV_objlen (lua_State *L, StkId ra, const TValue *rb) {
410 void luaV_arith (lua_State *L, StkId ra, const TValue *rb,
440 static Closure *getcached (Proto *p, UpVal **encup, StkId base) {
462 static void pushclosure (lua_State *L, Proto *p, UpVal **encup, StkId base,
463 StkId r
[all...]
H A Dltable.h36 LUAI_FUNC int luaH_next (lua_State *L, Table *t, StkId key);
H A Dlfunc.c46 UpVal *luaF_findupval (lua_State *L, StkId level) {
88 void luaF_close (lua_State *L, StkId level) {
H A Dltable.c144 static int findindex (lua_State *L, Table *t, StkId key) {
169 int luaH_next (lua_State *L, Table *t, StkId key) {
/freebsd-13-stable/contrib/lua/src/
H A Dlfunc.h35 #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);
H 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);
H 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);
H A Dltm.c105 StkId func = L->top;
120 const TValue *p2, StkId res) {
122 StkId func = L->top;
138 StkId res, TMS event) {
149 StkId res, TMS event) {
168 StkId top = L->top;
175 int flip, StkId res, TMS event) {
184 int flip, StkId res, TMS event) {
257 void luaT_getvarargs (lua_State *L, CallInfo *ci, StkId where, int wanted) {
H A Dlfunc.c65 static UpVal *newupval (lua_State *L, int tbc, StkId level, UpVal **prev) {
88 UpVal *luaF_findupval (lua_State *L, StkId level) {
114 StkId top = L->top;
130 static void varerror (lua_State *L, StkId level, const char *msg) {
150 static int callclosemth (lua_State *L, StkId level, int status) {
185 newupval(L, 1, cast(StkId, ud), &L->openupval);
194 void luaF_newtbcupval (lua_State *L, StkId level) {
223 int luaF_close (lua_State *L, StkId level, int status) {
H A Dlstate.h161 StkId func; /* function index in the stack */
162 StkId top; /* top for this function */
278 StkId top; /* first free slot in the stack */
281 StkId stack_last; /* end of stack (last element + 1) */
282 StkId stack; /* stack base */
H A Dldo.c91 void luaD_seterrorobj (lua_State *L, int errcode, StkId oldtop) {
163 static void correctstack (lua_State *L, StkId oldstack, StkId newstack) {
186 StkId newstack = luaM_reallocvector(L, L->stack,
241 StkId lim = L->top;
346 static StkId rethook (lua_State *L, CallInfo *ci, StkId firstres, int nres) {
374 void luaD_tryfuncTM (lua_State *L, StkId func) {
376 StkId p;
392 static void moveresults (lua_State *L, StkId re
[all...]
H A Dldebug.h31 StkId *pos);
H A Dlvm.h122 StkId val, const TValue *slot);
132 LUAI_FUNC void luaV_objlen (lua_State *L, StkId ra, const TValue *rb);
H A Dltable.h51 LUAI_FUNC int luaH_next (lua_State *L, Table *t, StkId key);
H A Dldebug.c188 static const char *findvararg (CallInfo *ci, int n, StkId *pos) {
200 const char *luaG_findlocal (lua_State *L, CallInfo *ci, int n, StkId *pos) {
201 StkId base = ci->func + 1;
210 StkId limit = (ci == L->ci) ? L->top : ci->next->func;
234 StkId pos = NULL; /* to avoid warnings */
247 StkId pos = NULL; /* to avoid warnings */
655 StkId base = ci->func + 1;
656 ptrdiff_t i = cast(StkId, o) - base;
688 cast_int(cast(StkId, o) - (ci->func + 1)), &name);
756 StkId errfun
[all...]
H A Dlvm.c213 static int forprep (lua_State *L, StkId ra) {
273 static int floatforloop (StkId ra) {
294 void luaV_finishget (lua_State *L, const TValue *t, TValue *key, StkId val,
629 static void copy2buff (StkId top, int n, char *buff) {
647 StkId top = L->top;
688 void luaV_objlen (lua_State *L, StkId ra, const TValue *rb) {
792 static void pushclosure (lua_State *L, Proto *p, UpVal **encup, StkId base,
793 StkId ra) {
815 StkId base = ci->func + 1;
847 StkId to
[all...]
H A Dlapi.c59 StkId o = ci->func + idx;
83 static StkId index2stack (lua_State *L, int idx) {
86 StkId o = ci->func + idx;
175 StkId func;
203 static void reverse (lua_State *L, StkId from, StkId to) {
218 StkId p, t, m;
973 StkId func;
998 StkId func;
1024 StkId
[all...]

Completed in 215 milliseconds

12