Home
last modified time | relevance | path

Searched refs:setobj2s (Results 1 – 17 of 17) sorted by relevance

/freebsd/contrib/lua/src/
H A Dltm.c106 setobj2s(L, func, f); /* push function (assume EXTRA_STACK) */ in luaT_callTM()
107 setobj2s(L, func + 1, p1); /* 1st argument */ in luaT_callTM()
108 setobj2s(L, func + 2, p2); /* 2nd argument */ in luaT_callTM()
109 setobj2s(L, func + 3, p3); /* 3rd argument */ in luaT_callTM()
123 setobj2s(L, func, f); /* push function (assume EXTRA_STACK) */ in luaT_callTMres()
124 setobj2s(L, func + 1, p1); /* 1st argument */ in luaT_callTMres()
125 setobj2s(L, func + 2, p2); /* 2nd argument */ in luaT_callTMres()
H A Dlfunc.c110 setobj2s(L, top, tm); /* will call metamethod... */ in callclosemethod()
111 setobj2s(L, top + 1, obj); /* with 'self' as the 1st argument */ in callclosemethod()
112 setobj2s(L, top + 2, err); /* and error msg. as 2nd argument */ in callclosemethod()
H A Dlvm.c318 setobj2s(L, val, slot); /* done */ in luaV_finishget()
1208 setobj2s(L, ra, rb); in luaV_execute()
1215 setobj2s(L, ra, rb); in luaV_execute()
1245 setobj2s(L, ra, cl->upvals[b]->v.p); in luaV_execute()
1262 setobj2s(L, ra, slot); in luaV_execute()
1277 setobj2s(L, ra, slot); in luaV_execute()
1289 setobj2s(L, ra, slot); in luaV_execute()
1305 setobj2s(L, ra, slot); in luaV_execute()
1392 setobj2s(L, ra + 1, rb); in luaV_execute()
1394 setobj2s(L, ra, slot); in luaV_execute()
[all …]
H A Dlapi.c232 setobj2s(L, to, &temp); in reverse()
272 setobj2s(L, L->top.p, index2value(L, idx)); in lua_pushvalue()
643 setobj2s(L, L->top.p, slot); in auxgetstr()
680 setobj2s(L, L->top.p - 1, slot); in lua_gettable()
701 setobj2s(L, L->top.p, slot); in lua_geti()
718 setobj2s(L, L->top.p, val); in finishrawget()
813 setobj2s(L, L->top.p, &uvalue(o)->uv[n - 1].uv); in lua_getiuservalue()
1390 setobj2s(L, L->top.p, val); in lua_getupvalue()
H A Dltable.c355 setobj2s(L, key + 1, &t->array[i]); in luaH_next()
363 setobj2s(L, key + 1, gval(n)); in luaH_next()
H A Dlobject.h131 #define setobj2s(L,o1,o2) setobj(L,s2v(o1),o2) macro
H A Dlgc.c918 setobj2s(L, L->top.p++, tm); /* push finalizer... */ in GCTM()
919 setobj2s(L, L->top.p++, &v); /* ... and its argument */ in GCTM()
H A Dldebug.c404 setobj2s(L, L->top.p, func); in lua_getinfo()
H A Dldo.c422 setobj2s(L, func, tm); /* metamethod is the new function to be called */ in luaD_tryfuncTM()
H A Dltests.c60 setobj2s(L, L->top.p, o); in pushobject()
/freebsd/sys/contrib/openzfs/module/lua/
H A Dlvm.c96 setobj2s(L, L->top++, f); /* push function */ in callTM()
97 setobj2s(L, L->top++, p1); /* 1st argument */ in callTM()
98 setobj2s(L, L->top++, p2); /* 2nd argument */ in callTM()
100 setobj2s(L, L->top++, p3); /* 3rd argument */ in callTM()
119 setobj2s(L, val, res); in luaV_gettable()
512 setobj2s(L, top - 2, top); /* put TM result in proper position */ in luaV_finishOp()
518 setobj2s(L, ci->u.l.base + GETARG_A(inst), L->top - 1); in luaV_finishOp()
622 setobj2s(L, ra, rb); in luaV_execute()
628 setobj2s(L, ra, rb); in luaV_execute()
642 setobj2s(L, ra, cl->upvals[b]->v); in luaV_execute()
H A Dltable.c173 setobj2s(L, key+1, &t->array[i]); in luaH_next()
179 setobj2s(L, key, gkey(gnode(t, i))); in luaH_next()
180 setobj2s(L, key+1, gval(gnode(t, i))); in luaH_next()
H A Dlapi.c117 setobj2s(to, to->top++, from->top + i); in lua_xmove()
233 setobj2s(L, L->top, index2addr(L, idx)); in lua_pushvalue()
642 setobj2s(L, L->top - 1, luaH_get(hvalue(t), L->top - 1)); in lua_rawget()
652 setobj2s(L, L->top, luaH_getint(hvalue(t), n)); in lua_rawgeti()
665 setobj2s(L, L->top, luaH_get(hvalue(t), &k)); in lua_rawgetp()
1217 setobj2s(L, L->top, val); in lua_getupvalue()
H A Dlgc.c819 setobj2s(L, L->top, tm); /* push finalizer... */ in GCTM()
820 setobj2s(L, L->top + 1, &v); /* ... and its argument */ in GCTM()
H A Dlobject.h250 #define setobj2s setobj macro
H A Dldebug.c164 setobj2s(L, L->top, pos); in lua_getlocal()
H A Dldo.c367 setobj2s(L, func, tm); /* tag method is the new function to be called */ in tryfuncTM()