Searched refs:UpVal (Results 1 – 8 of 8) sorted by relevance
| /netbsd-src/external/mit/lua/dist/src/ |
| H A D | lfunc.c | 55 GCObject *o = luaC_newobj(L, LUA_VUPVAL, sizeof(UpVal)); in luaF_initupvals() 56 UpVal *uv = gco2upv(o); in luaF_initupvals() 69 static UpVal *newupval (lua_State *L, StkId level, UpVal **prev) { in newupval() 70 GCObject *o = luaC_newobj(L, LUA_VUPVAL, sizeof(UpVal)); in newupval() 71 UpVal *uv = gco2upv(o); in newupval() 72 UpVal *next = *prev; in newupval() 91 UpVal *luaF_findupval (lua_State *L, StkId level) { in luaF_findupval() 92 UpVal **pp = &L->openupval; in luaF_findupval() 93 UpVal *p; in luaF_findupval() 186 void luaF_unlinkupval (UpVal *uv) { in luaF_unlinkupval() [all …]
|
| H A D | lfunc.h | 56 LUAI_FUNC UpVal *luaF_findupval (lua_State *L, StkId level); 60 LUAI_FUNC void luaF_unlinkupval (UpVal *uv);
|
| H A D | lobject.h | 641 typedef struct UpVal { struct 649 struct UpVal *next; /* linked list */ argument 650 struct UpVal **previous; 654 } UpVal; typedef 671 UpVal *upvals[1]; /* list of upvalues */
|
| H A D | lstate.h | 321 UpVal *openupval; /* list of open upvalues in this stack */ 363 struct UpVal upv;
|
| H A D | lgc.c | 308 UpVal *uv = gco2upv(o); in reallymarkobject() 379 UpVal *uv; in remarkupvals() 611 UpVal *uv = cl->upvals[i]; in traverseLclosure() 631 UpVal *uv; in traversethread() 766 static void freeupval (lua_State *L, UpVal *uv) { in freeupval()
|
| H A D | lapi.c | 1427 static UpVal **getupvalref (lua_State *L, int fidx, int n, LClosure **pf) { in getupvalref() 1428 static const UpVal *const nullup = NULL; in getupvalref() 1437 return (UpVal**)&nullup; in getupvalref() 1466 UpVal **up1 = getupvalref(L, fidx1, n1, &f1); in lua_upvaluejoin() 1467 UpVal **up2 = getupvalref(L, fidx2, n2, NULL); in lua_upvaluejoin()
|
| H A D | ldo.c | 171 UpVal *up; in relstack() 188 UpVal *up; in correctstack()
|
| H A D | lvm.c | 836 static void pushclosure (lua_State *L, Proto *p, UpVal **encup, StkId base, 1332 UpVal *uv = cl->upvals[GETARG_B(i)];
|