Home
last modified time | relevance | path

Searched refs:UpVal (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dlfunc.c39 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 Dlfunc.h24 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 Dlobject.h495 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 Dlstate.h137 UpVal uvhead; /* head of double-linked list of all open upvalues */
192 struct UpVal uv;
H A Dlgc.h154 LUAI_FUNC void luaC_checkupvalcolor (global_State *g, UpVal *uv);
H A Dlgc.c190 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 Dlvm.c439 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 Dlapi.c1245 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 Dldo.c659 UpVal *up = luaF_newupval(L); in f_parser()