Searched refs:upvals (Results 1 - 14 of 14) sorted by relevance
/freebsd-13-stable/contrib/lua/src/ |
H A D | lfunc.h | 17 #define sizeLclosure(n) (cast_int(offsetof(LClosure, upvals)) + \
|
H A D | lfunc.c | 40 while (nupvals--) c->upvals[nupvals] = NULL; 55 cl->upvals[i] = uv;
|
H A D | lvm.c | 802 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 D | lapi.c | 1069 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 D | lobject.h | 634 UpVal *upvals[1]; /* list of upvalues */ member in struct:LClosure
|
H A D | ldebug.c | 671 if (c->upvals[i]->v == o) {
|
H A D | lgc.c | 602 UpVal *uv = cl->upvals[i];
|
/freebsd-13-stable/sys/contrib/openzfs/module/lua/ |
H A D | lvm.c | 448 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 D | lfunc.c | 33 while (n--) c->l.upvals[n] = NULL;
|
H A D | lapi.c | 985 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 D | ldebug.c | 517 if (c->upvals[i]->v == o) {
|
H A D | lobject.h | 524 UpVal *upvals[1]; /* list of upvalues */ member in struct:LClosure
|
H A D | ldo.c | 725 cl->l.upvals[i] = up;
|
H A D | lgc.c | 489 markobject(g, cl->upvals[i]);
|
Completed in 196 milliseconds