HomeSort by relevance Sort by last modified time
    Searched full:upvalue (Results 1 - 16 of 16) sorted by null

  /external/chromium_org/third_party/skia/third_party/lua/src/
lparser.h 28 VUPVAL, /* info = index of upvalue in 'upvalues' */
29 VINDEXED, /* t = table register/upvalue; idx = index R/K */
45 lu_byte t; /* table (register or upvalue) */
46 lu_byte vt; /* whether 't' is register (VLOCAL) or upvalue (VUPVAL) */
lfunc.c 56 if (p->v == level) { /* found a corresponding upvalue? */
85 luaM_free(L, uv); /* free upvalue */
97 luaF_freeupval(L, uv); /* free upvalue */
99 unlinkupval(uv); /* remove upvalue from 'uvhead' list */
100 setobj(L, &uv->u.value, uv->v); /* move value to upvalue slot */
102 gch(o)->next = g->allgc; /* link upvalue into 'allgc' list */
lapi.c 71 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 pointer *
    [all...]
lobject.h 444 ** 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
lopcodes.h 174 OP_GETUPVAL,/* A B R(A) := UpValue[B] */
176 OP_GETTABUP,/* A B C R(A) := UpValue[B][RK(C)] */
179 OP_SETTABUP,/* A B C UpValue[A][RK(B)] := RK(C) */
180 OP_SETUPVAL,/* A B UpValue[B] := R(A) */
lparser.c 47 lu_byte upval; /* true if some variable in the block is an upvalue */
268 Find variable with given name 'n'. If it is an upvalue, add this
269 upvalue into all intermediate functions.
288 idx = newupvalue(fs, n, var); /* will be a new upvalue */
418 ** upvalue), close those variables being exited.
1098 expdesc v; /* variable (global, local, upvalue, or indexed) */
1103 ** check whether, in an assignment to an upvalue/local variable, the
1104 ** upvalue/local variable is begin used in a previous assignment to a
1105 ** table. If so, save original upvalue/local value in a safe place and
1114 /* table is the upvalue/local being assigned now? *
    [all...]
lstate.h 33 ** dead, while the upvalue is still accessible through closures.)
ldebug.c 408 return "upvalue";
493 return "upvalue";
506 kind = getupvalname(ci, o, &name); /* check whether 'o' is an upvalue */
lvm.c 388 return NULL; /* wrong upvalue; cannot reuse closure */
410 if (uv[i].instack) /* upvalue refers to local variable? */
412 else /* get upvalue from enclosing function */
ldblib.c 234 luaL_argcheck(L, 1 <= nup && nup <= ar.nups, argnup, "invalid upvalue index");
loadlib.c 683 lua_pushvalue(L, -2); /* set 'package' as upvalue for all searchers */
720 lua_pushvalue(L, -2); /* set 'package' as upvalue for next lib */
lgc.c 187 ** 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]);
    [all...]
lbaselib.c 249 if (!lua_setupvalue(L, -2, 1)) /* set it as 1st upvalue */
luac.c 391 printf("%d%s param%s, %d slot%s, %d upvalue%s, ",
lcode.c 395 OpCode op = OP_GETTABUP; /* assume 't' is in an upvalue */
  /external/chromium_org/third_party/skia/third_party/lua/doc/
manual.html 268 it initializes the value of its <code>_ENV</code> upvalue
277 of its first upvalue.)
    [all...]

Completed in 932 milliseconds