OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:upvalue
(Results
1 - 4
of
4
) sorted by relevancy
/src/external/mit/lua/dist/src/
lfunc.h
16
#define sizeCclosure(n) (cast_int(offsetof(CClosure,
upvalue
)) + \
lapi.c
58
/* test for
upvalue
*/
83
api_check(L, idx <= MAXUPVAL + 1, "
upvalue
index too large");
86
return (idx <= func->nupvalues) ? &func->
upvalue
[idx-1]
210
L->top.p = newtop; /* correct top only after closing any
upvalue
*/
268
if (isupvalue(toidx)) /* function
upvalue
? */
598
api_check(L, n <= MAXUPVAL, "
upvalue
index too large");
603
setobj2n(L, &cl->
upvalue
[n], s2v(L->top.p + n));
1107
if (f->nupvalues >= 1) { /* does it have an
upvalue
? */
1110
/* set global table as 1st
upvalue
of 'f' (may be LUA_ENV) */
1287
luaF_newtbcupval(L, o); /* create new to-be-closed
upvalue
*/
[
all
...]
lobject.h
525
** Description of an
upvalue
for function prototypes
528
TString *name; /*
upvalue
name (for debug information) */
530
lu_byte idx; /* index of
upvalue
(in stack or in outer function's list) */
581
Upvaldesc *upvalues; /*
upvalue
information */
664
TValue
upvalue
[1]; /* list of upvalues */
member in struct:CClosure
lgc.c
297
** for at most two levels: An
upvalue
cannot refer to another
upvalue
361
**
upvalue
and its value. (If the thread is collected, the value will be
362
** assigned to the
upvalue
, but then it can be too late for the barrier
365
** any visited
upvalue
must be young too.) Also removes the thread from
368
**
upvalue
later, it will be linked in the list again.)
386
if (!iswhite(uv)) { /*
upvalue
already visited? */
586
for (i = 0; i < f->sizeupvalues; i++) /* mark
upvalue
names */
599
markvalue(g, &cl->
upvalue
[i]);
612
markobjectN(g, uv); /* mark
upvalue
*/
[
all
...]
Completed in 19 milliseconds
Indexes created Mon Aug 03 00:25:36 UTC 2026