Home
last modified time | relevance | path

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

/src/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.c320 setobj2s(L, val, slot); /* done */ in luaV_finishget()
1209 setobj2s(L, ra, rb); in luaV_execute()
1216 setobj2s(L, ra, rb); in luaV_execute()
1246 setobj2s(L, ra, cl->upvals[b]->v.p); in luaV_execute()
1263 setobj2s(L, ra, slot); in luaV_execute()
1278 setobj2s(L, ra, slot); in luaV_execute()
1290 setobj2s(L, ra, slot); in luaV_execute()
1306 setobj2s(L, ra, slot); in luaV_execute()
1393 setobj2s(L, ra + 1, rb); in luaV_execute()
1395 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.c920 setobj2s(L, L->top.p++, tm); /* push finalizer... */ in GCTM()
921 setobj2s(L, L->top.p++, &v); /* ... and its argument */ in GCTM()
H A Dldebug.c409 setobj2s(L, L->top.p, func); in lua_getinfo()
H A Dldo.c429 setobj2s(L, func, tm); /* metamethod is the new function to be called */ in tryfuncTM()
H A Dltests.c60 setobj2s(L, L->top.p, o); in pushobject()
/src/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()
643 setobj2s(L, L->top - 1, luaH_get(hvalue(t), L->top - 1)); in lua_rawget()
653 setobj2s(L, L->top, luaH_getint(hvalue(t), n)); in lua_rawgeti()
666 setobj2s(L, L->top, luaH_get(hvalue(t), &k)); in lua_rawgetp()
1218 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.c165 setobj2s(L, L->top, pos); in lua_getlocal()
H A Dldo.c368 setobj2s(L, func, tm); /* tag method is the new function to be called */ in tryfuncTM()