Searched refs:upvalue (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/lua/src/ |
H A D | lfunc.h | 14 #define sizeCclosure(n) (cast_int(offsetof(CClosure, upvalue)) + \
|
H A D | lapi.c | 80 return (idx <= func->nupvalues) ? &func->upvalue[idx-1] in index2value() 593 setobj2n(L, &cl->upvalue[n], s2v(L->top.p + n)); in lua_pushcclosure() 1364 *val = &f->upvalue[n-1]; in aux_upvalue() 1440 return &f->upvalue[n - 1]; in lua_upvalueid()
|
H A D | ltests.c | 409 checkvalref(g, clgc, &cl->upvalue[i]); in checkCclosure() 1080 static int upvalue (lua_State *L) { in upvalue() function 1950 {"upvalue", upvalue},
|
H A D | lobject.h | 652 TValue upvalue[1]; /* list of upvalues */ member
|
H A D | lgc.c | 596 markvalue(g, &cl->upvalue[i]); in traverseCclosure()
|
/freebsd/sys/contrib/openzfs/module/lua/ |
H A D | lapi.c | 72 return (idx <= func->nupvalues) ? &func->upvalue[idx-1] : NONVALIDVALUE; in index2addr() 567 setobj2n(L, &cl->c.upvalue[n], L->top + n); in lua_pushcclosure() 1192 *val = &f->upvalue[n-1]; in aux_upvalue() 1264 return &f->upvalue[n - 1]; in lua_upvalueid()
|
H A D | lobject.h | 519 TValue upvalue[]; /* list of upvalues */ member
|
H A D | lgc.c | 480 markvalue(g, &cl->upvalue[i]); in traverseCclosure()
|