Searched refs:upvalue (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/third_party/skia/third_party/lua/src/
H A Dlapi.c71 api_check(L, idx <= MAXUPVAL + 1, "upvalue index too large");
76 return (idx <= func->nupvalues) ? &func->upvalue[idx-1] : NONVALIDVALUE;
210 if (idx < LUA_REGISTRYINDEX) /* function upvalue? */
563 api_check(L, n <= MAXUPVAL, "upvalue index too large");
569 setobj2n(L, &cl->c.upvalue[n], L->top + n);
983 if (f->nupvalues == 1) { /* does it have one upvalue? */
987 /* set global table as 1st upvalue of 'f' (may be LUA_ENV) */
1194 *val = &f->upvalue[n-1];
1251 api_check(L, (1 <= n && n <= f->p->sizeupvalues), "invalid upvalue index");
1253 return &f->upvals[n - 1]; /* get its upvalue pointe
[all...]
H A Dlobject.h444 ** Description of an upvalue for function prototypes
447 TString *name; /* upvalue name (for debug information) */
449 lu_byte idx; /* index of upvalue (in stack or in outer function's list) */
474 Upvaldesc *upvalues; /* upvalue information */
519 TValue upvalue[1]; /* list of upvalues */ member in struct:CClosure
H A Dlgc.c187 ** check color (and invariants) for an upvalue that was closed,
464 for (i = 0; i < f->sizeupvalues; i++) /* mark upvalue names */
482 markvalue(g, &cl->upvalue[i]);

Completed in 346 milliseconds