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

  /external/chromium_org/third_party/skia/third_party/lua/src/
ldump.c 115 DumpChar(f->upvalues[i].instack,D);
116 DumpChar(f->upvalues[i].idx,D);
136 for (i=0; i<n; i++) DumpString(f->upvalues[i].name,D);
lparser.h 28 VUPVAL, /* info = index of upvalue in 'upvalues' */
110 lu_byte nups; /* number of upvalues */
lundump.c 139 f->upvalues=luaM_newvector(S->L,n,Upvaldesc);
141 for (i=0; i<n; i++) f->upvalues[i].name=NULL;
144 f->upvalues[i].instack=LoadByte(S);
145 f->upvalues[i].idx=LoadByte(S);
168 for (i=0; i<n; i++) f->upvalues[i].name=LoadString(S);
lstate.h 27 ** Open upvalues are not subject to independent garbage collection. They
29 ** double-linked list with all open upvalues (g->uvhead) so that it can
137 UpVal uvhead; /* head of double-linked list of all open upvalues */
171 GCObject *openupval; /* list of open upvalues in this stack */
luac.c 149 if (f->p[i]->sizeupvalues>0) f->p[i]->upvalues[0].instack=0;
274 #define UPVALNAME(x) ((f->upvalues[x].name) ? getstr(f->upvalues[x].name) : "-")
417 printf("upvalues (%d) for %p:\n",n,VOID(f));
421 i,UPVALNAME(i),f->upvalues[i].instack,f->upvalues[i].idx);
lfunc.c 121 f->upvalues = NULL;
141 luaM_freearray(L, f->upvalues, f->sizeupvalues);
lobject.h 474 Upvaldesc *upvalues; /* upvalue information */ member in struct:Proto
477 int sizeupvalues; /* size of 'upvalues' */
494 ** Lua Upvalues
519 TValue upvalue[1]; /* list of upvalues */
526 UpVal *upvals[1]; /* list of upvalues */
lgc.c 192 lua_assert(!isblack(o)); /* open upvalues are never black */
238 ** mark an object. Userdata, strings, and closed upvalues are visited
241 ** upvalues are already linked in 'headuv' list.)
263 return; /* open upvalues remain gray */
321 ** mark all values stored in marked open upvalues. (See comment in
465 markobject(g, f->upvalues[i].name);
481 for (i = 0; i < cl->nupvalues; i++) /* mark its upvalues */
489 for (i = 0; i < cl->nupvalues; i++) /* mark its upvalues */
688 ** sweep the (open) upvalues of a thread and resize its stack and
693 sweepwholelist(L, &L1->openupval); /* sweep open upvalues */
    [all...]
lstate.c 223 luaF_close(L, L->stack); /* close all upvalues for this thread */
254 luaF_close(L1, L1->stack); /* close all upvalues for this thread */
lparser.c 223 Upvaldesc *up = fs->f->upvalues;
234 checklimit(fs, fs->nups + 1, MAXUPVAL, "upvalues");
235 luaM_growvector(fs->ls->L, f->upvalues, fs->nups, f->sizeupvalues,
236 Upvaldesc, MAXUPVAL, "upvalues");
237 while (oldsize < f->sizeupvalues) f->upvalues[oldsize++].name = NULL;
238 f->upvalues[fs->nups].instack = (v->k == VLOCAL);
239 f->upvalues[fs->nups].idx = cast_byte(v->u.info);
240 f->upvalues[fs->nups].name = name;
282 else { /* not found as local at current level; try upvalues */
283 int idx = searchupvalue(fs, n); /* try existing upvalues */
    [all...]
lauxlib.c 832 lua_insert(L, -(nup + 1)); /* move library table to below upvalues */
837 lua_pop(L, nup); /* remove upvalues */
845 ** function gets the 'nup' elements at the top as upvalues.
850 luaL_checkstack(L, nup, "too many upvalues");
853 for (i = 0; i < nup; i++) /* copy upvalues to the top */
855 lua_pushcclosure(L, l->func, nup); /* closure with those upvalues */
858 lua_pop(L, nup); /* remove upvalues */
lvm.c 376 ** whether there is a cached closure with the same upvalues needed by
383 Upvaldesc *uv = p->upvalues;
385 for (i = 0; i < nup; i++) { /* check whether it has right upvalues */
397 ** its upvalues. Note that the call to 'luaC_barrierproto' must come
404 Upvaldesc *uv = p->upvalues;
409 for (i = 0; i < nup; i++) { /* fill in its upvalues */
738 /* close all upvalues from previous call */
llimits.h 123 ** maximum number of upvalues in a closure (both C and Lua). (Value
lapi.c 69 else { /* upvalues */
73 return NONVALIDVALUE; /* it has no upvalues */
1205 name = p->upvalues[n-1].name;
lopcodes.h 199 OP_JMP,/* A sBx pc+=sBx; if (A) close all upvalues >= R(A) + 1 */
lua.h 408 unsigned char nups; /* (u) number of upvalues */
ldebug.c 101 TString *s = check_exp(uv < p->sizeupvalues, p->upvalues[uv].name);
ldo.c 646 for (i = 0; i < cl->l.nupvalues; i++) { /* initialize upvalues */
  /external/chromium_org/third_party/skia/third_party/lua/doc/
manual.html     [all...]

Completed in 706 milliseconds