Searched refs:upvals (Results 1 – 15 of 15) sorted by relevance
/freebsd/sys/contrib/openzfs/module/lua/ |
H A D | lvm.c | 447 if (c->l.upvals[i]->v != v) in getcached() 471 ncl->l.upvals[i] = luaF_findupval(L, base + uv[i].idx); in pushclosure() 473 ncl->l.upvals[i] = encup[uv[i].idx]; in pushclosure() 642 setobj2s(L, ra, cl->upvals[b]->v); in luaV_execute() 646 Protect(luaV_gettable(L, cl->upvals[b]->v, RKC(i), ra)); in luaV_execute() 653 Protect(luaV_settable(L, cl->upvals[a]->v, RKB(i), RKC(i))); in luaV_execute() 656 UpVal *uv = cl->upvals[GETARG_B(i)]; in luaV_execute() 898 Closure *ncl = getcached(p, cl->upvals, base); /* cached closure */ in luaV_execute() 900 pushclosure(L, p, cl->upvals, base, ra); /* create a new one */ in luaV_execute()
|
H A D | lapi.c | 986 setobj(L, f->upvals[0]->v, gt); in lua_load() 987 luaC_barrier(L, f->upvals[0], gt); in lua_load() 1201 *val = f->upvals[n-1]->v; in aux_upvalue() 1202 if (owner) *owner = obj2gco(f->upvals[n - 1]); in aux_upvalue() 1251 return &f->upvals[n - 1]; /* get its upvalue pointer */ in getupvalref()
|
H A D | lfunc.c | 32 while (n--) c->l.upvals[n] = NULL; in luaF_newLclosure()
|
H A D | lobject.h | 526 UpVal *upvals[]; /* list of upvalues */ member
|
H A D | ldebug.c | 517 if (c->upvals[i]->v == o) { in getupvalname()
|
H A D | ldo.c | 739 cl->l.upvals[i] = up; in f_parser()
|
H A D | lgc.c | 488 markobject(g, cl->upvals[i]); in traverseLclosure()
|
/freebsd/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; in luaF_newLclosure() 55 cl->upvals[i] = uv; in luaF_initupvals()
|
H A D | lvm.c | 802 ncl->upvals[i] = luaF_findupval(L, base + uv[i].idx); in pushclosure() 804 ncl->upvals[i] = encup[uv[i].idx]; in pushclosure() 805 luaC_objbarrier(L, ncl, ncl->upvals[i]); in pushclosure() 1245 setobj2s(L, ra, cl->upvals[b]->v.p); in luaV_execute() 1250 UpVal *uv = cl->upvals[GETARG_B(i)]; in luaV_execute() 1258 TValue *upval = cl->upvals[GETARG_B(i)]->v.p; in luaV_execute() 1313 TValue *upval = cl->upvals[GETARG_A(i)]->v.p; in luaV_execute() 1878 halfProtect(pushclosure(L, p, cl->upvals, base, ra)); in luaV_execute()
|
H A D | lapi.c | 1101 setobj(L, f->upvals[0]->v.p, gt); in lua_load() 1102 luaC_barrier(L, f->upvals[0], gt); in lua_load() 1374 *val = f->upvals[n-1]->v.p; in aux_upvalue() 1375 if (owner) *owner = obj2gco(f->upvals[n - 1]); in aux_upvalue() 1425 return &f->upvals[n - 1]; /* get its upvalue pointer */ in getupvalref()
|
H A D | lobject.h | 659 UpVal *upvals[1]; /* list of upvalues */ member
|
H A D | ldebug.c | 685 if (c->upvals[i]->v.p == o) { in getupvalname()
|
H A D | lgc.c | 608 UpVal *uv = cl->upvals[i]; in traverseLclosure()
|
H A D | ltests.c | 418 UpVal *uv = cl->upvals[i]; in checkLclosure()
|