Home
last modified time | relevance | path

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

/freebsd-13.1/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.c118 setobj2s(L, top, tm); /* will call metamethod... */ in prepclosingmethod()
119 setobj2s(L, top + 1, obj); /* with 'self' as the 1st argument */ in prepclosingmethod()
120 setobj2s(L, top + 2, err); /* and error msg. as 2nd argument */ in prepclosingmethod()
H A Dlvm.c321 setobj2s(L, val, slot); /* done */ in luaV_finishget()
1180 setobj2s(L, ra, rb); in luaV_execute()
1186 setobj2s(L, ra, rb); in luaV_execute()
1211 setobj2s(L, ra, cl->upvals[b]->v); in luaV_execute()
1226 setobj2s(L, ra, slot); in luaV_execute()
1240 setobj2s(L, ra, slot); in luaV_execute()
1251 setobj2s(L, ra, slot); in luaV_execute()
1266 setobj2s(L, ra, slot); in luaV_execute()
1348 setobj2s(L, ra + 1, rb); in luaV_execute()
1350 setobj2s(L, ra, slot); in luaV_execute()
[all …]
H A Dlapi.c208 setobj2s(L, to, &temp); in reverse()
248 setobj2s(L, L->top, index2value(L, idx)); in lua_pushvalue()
619 setobj2s(L, L->top, slot); in auxgetstr()
646 setobj2s(L, L->top - 1, slot); in lua_gettable()
667 setobj2s(L, L->top, slot); in lua_geti()
684 setobj2s(L, L->top, val); in finishrawget()
779 setobj2s(L, L->top, &uvalue(o)->uv[n - 1].uv); in lua_getiuservalue()
1358 setobj2s(L, L->top, val); in lua_getupvalue()
H A Dltable.c325 setobj2s(L, key + 1, &t->array[i]); in luaH_next()
333 setobj2s(L, key + 1, gval(n)); in luaH_next()
H A Dlgc.c912 setobj2s(L, L->top++, tm); /* push finalizer... */ in GCTM()
913 setobj2s(L, L->top++, &v); /* ... and its argument */ in GCTM()
H A Dlobject.h129 #define setobj2s(L,o1,o2) setobj(L,s2v(o1),o2) macro
H A Dldebug.c407 setobj2s(L, L->top, func); in lua_getinfo()
H A Dldo.c382 setobj2s(L, func, tm); /* metamethod is the new function to be called */ in luaD_tryfuncTM()
/freebsd-13.1/sys/contrib/openzfs/module/lua/
H A Dlvm.c97 setobj2s(L, L->top++, f); /* push function */ in callTM()
98 setobj2s(L, L->top++, p1); /* 1st argument */ in callTM()
99 setobj2s(L, L->top++, p2); /* 2nd argument */ in callTM()
101 setobj2s(L, L->top++, p3); /* 3rd argument */ in callTM()
120 setobj2s(L, val, res); in luaV_gettable()
513 setobj2s(L, top - 2, top); /* put TM result in proper position */ in luaV_finishOp()
519 setobj2s(L, ci->u.l.base + GETARG_A(inst), L->top - 1); in luaV_finishOp()
623 setobj2s(L, ra, rb); in luaV_execute()
629 setobj2s(L, ra, rb); in luaV_execute()
643 setobj2s(L, ra, cl->upvals[b]->v); in luaV_execute()
H A Dltable.c174 setobj2s(L, key+1, &t->array[i]); in luaH_next()
180 setobj2s(L, key, gkey(gnode(t, i))); in luaH_next()
181 setobj2s(L, key+1, gval(gnode(t, i))); in luaH_next()
H A Dlapi.c118 setobj2s(to, to->top++, from->top + i); in lua_xmove()
234 setobj2s(L, L->top, index2addr(L, idx)); in lua_pushvalue()
641 setobj2s(L, L->top - 1, luaH_get(hvalue(t), L->top - 1)); in lua_rawget()
651 setobj2s(L, L->top, luaH_getint(hvalue(t), n)); in lua_rawgeti()
664 setobj2s(L, L->top, luaH_get(hvalue(t), &k)); in lua_rawgetp()
1216 setobj2s(L, L->top, val); in lua_getupvalue()
H A Dlgc.c820 setobj2s(L, L->top, tm); /* push finalizer... */ in GCTM()
821 setobj2s(L, L->top + 1, &v); /* ... and its argument */ in GCTM()
H A Dlobject.h251 #define setobj2s setobj macro
H A Dldebug.c164 setobj2s(L, L->top, pos); in lua_getlocal()
H A Dldo.c353 setobj2s(L, func, tm); /* tag method is the new function to be called */ in tryfuncTM()