Searched refs:upvals (Results 1 - 14 of 14) sorted by relevance

/freebsd-13-stable/contrib/lua/src/
H A Dlfunc.h17 #define sizeLclosure(n) (cast_int(offsetof(LClosure, upvals)) + \
H A Dlfunc.c40 while (nupvals--) c->upvals[nupvals] = NULL;
55 cl->upvals[i] = uv;
H A Dlvm.c802 ncl->upvals[i] = luaF_findupval(L, base + uv[i].idx);
804 ncl->upvals[i] = encup[uv[i].idx];
805 luaC_objbarrier(L, ncl, ncl->upvals[i]);
1211 setobj2s(L, ra, cl->upvals[b]->v);
1215 UpVal *uv = cl->upvals[GETARG_B(i)];
1222 TValue *upval = cl->upvals[GETARG_B(i)]->v;
1274 TValue *upval = cl->upvals[GETARG_A(i)]->v;
1810 halfProtect(pushclosure(L, p, cl->upvals, base, ra));
H A Dlapi.c1069 setobj(L, f->upvals[0]->v, gt);
1070 luaC_barrier(L, f->upvals[0], gt);
1342 *val = f->upvals[n-1]->v;
1343 if (owner) *owner = obj2gco(f->upvals[n - 1]);
1393 return &f->upvals[n - 1]; /* get its upvalue pointer */
H A Dlobject.h634 UpVal *upvals[1]; /* list of upvalues */ member in struct:LClosure
H A Dldebug.c671 if (c->upvals[i]->v == o) {
H A Dlgc.c602 UpVal *uv = cl->upvals[i];
/freebsd-13-stable/sys/contrib/openzfs/module/lua/
H A Dlvm.c448 if (c->l.upvals[i]->v != v)
472 ncl->l.upvals[i] = luaF_findupval(L, base + uv[i].idx);
474 ncl->l.upvals[i] = encup[uv[i].idx];
643 setobj2s(L, ra, cl->upvals[b]->v);
647 Protect(luaV_gettable(L, cl->upvals[b]->v, RKC(i), ra));
654 Protect(luaV_settable(L, cl->upvals[a]->v, RKB(i), RKC(i)));
657 UpVal *uv = cl->upvals[GETARG_B(i)];
899 Closure *ncl = getcached(p, cl->upvals, base); /* cached closure */
901 pushclosure(L, p, cl->upvals, base, ra); /* create a new one */
H A Dlfunc.c33 while (n--) c->l.upvals[n] = NULL;
H A Dlapi.c985 setobj(L, f->upvals[0]->v, gt);
986 luaC_barrier(L, f->upvals[0], gt);
1200 *val = f->upvals[n-1]->v;
1201 if (owner) *owner = obj2gco(f->upvals[n - 1]);
1250 return &f->upvals[n - 1]; /* get its upvalue pointer */
H A Dldebug.c517 if (c->upvals[i]->v == o) {
H A Dlobject.h524 UpVal *upvals[1]; /* list of upvalues */ member in struct:LClosure
H A Dldo.c725 cl->l.upvals[i] = up;
H A Dlgc.c489 markobject(g, cl->upvals[i]);

Completed in 196 milliseconds