Searched refs:UpVal (Results 1 – 9 of 9) sorted by relevance
/illumos-gate/usr/src/uts/common/fs/zfs/lua/ |
H A D | lfunc.c | 39 UpVal *luaF_newupval (lua_State *L) { in luaF_newupval() 40 UpVal *uv = &luaC_newobj(L, LUA_TUPVAL, sizeof(UpVal), NULL, 0)->uv; in luaF_newupval() 47 UpVal *luaF_findupval (lua_State *L, StkId level) { in luaF_findupval() 50 UpVal *p; in luaF_findupval() 51 UpVal *uv; in luaF_findupval() 64 uv = &luaC_newobj(L, LUA_TUPVAL, sizeof(UpVal), pp, 0)->uv; in luaF_findupval() 75 static void unlinkupval (UpVal *uv) { in unlinkupval() 82 void luaF_freeupval (lua_State *L, UpVal *uv) { in luaF_freeupval() 90 UpVal *uv; in luaF_close()
|
H A D | lfunc.h | 24 LUAI_FUNC UpVal *luaF_newupval (lua_State *L); 25 LUAI_FUNC UpVal *luaF_findupval (lua_State *L, StkId level); 28 LUAI_FUNC void luaF_freeupval (lua_State *L, UpVal *uv);
|
H A D | lobject.h | 495 typedef struct UpVal { struct 501 struct UpVal *prev; argument 502 struct UpVal *next; 505 } UpVal; typedef 525 UpVal *upvals[1]; /* list of upvalues */
|
H A D | lstate.h | 137 UpVal uvhead; /* head of double-linked list of all open upvalues */ 192 struct UpVal uv;
|
H A D | lgc.h | 154 LUAI_FUNC void luaC_checkupvalcolor (global_State *g, UpVal *uv);
|
H A D | lgc.c | 190 void luaC_checkupvalcolor (global_State *g, UpVal *uv) { in luaC_checkupvalcolor() 260 UpVal *uv = gco2uv(o); in reallymarkobject() 264 size = sizeof(UpVal); in reallymarkobject() 325 UpVal *uv; in remarkupvals()
|
H A D | lvm.c | 439 static Closure *getcached (Proto *p, UpVal **encup, StkId base) { in getcached() 461 static void pushclosure (lua_State *L, Proto *p, UpVal **encup, StkId base, in pushclosure() 656 UpVal *uv = cl->upvals[GETARG_B(i)]; in luaV_execute()
|
H A D | lapi.c | 1245 static UpVal **getupvalref (lua_State *L, int fidx, int n, LClosure **pf) { in getupvalref() 1278 UpVal **up1 = getupvalref(L, fidx1, n1, &f1); in lua_upvaluejoin() 1279 UpVal **up2 = getupvalref(L, fidx2, n2, NULL); in lua_upvaluejoin()
|
H A D | ldo.c | 659 UpVal *up = luaF_newupval(L); in f_parser()
|