Home
last modified time | relevance | path

Searched refs:upvalues (Results 1 – 10 of 10) sorted by relevance

/minix/external/mit/lua/dist/src/
H A Dlundump.c171 f->upvalues = luaM_newvector(S->L, n, Upvaldesc); in LoadUpvalues()
174 f->upvalues[i].name = NULL; in LoadUpvalues()
176 f->upvalues[i].instack = LoadByte(S); in LoadUpvalues()
177 f->upvalues[i].idx = LoadByte(S); in LoadUpvalues()
200 f->upvalues[i].name = LoadString(S); in LoadDebug()
H A Dluac.c154 if (f->p[i]->sizeupvalues>0) f->p[i]->upvalues[0].instack=0; in combine()
287 #define UPVALNAME(x) ((f->upvalues[x].name) ? getstr(f->upvalues[x].name) : "-")
440 i,UPVALNAME(i),f->upvalues[i].instack,f->upvalues[i].idx); in PrintDebug()
H A Dldump.c147 DumpByte(f->upvalues[i].instack, D); in DumpUpvalues()
148 DumpByte(f->upvalues[i].idx, D); in DumpUpvalues()
168 DumpString(f->upvalues[i].name, D); in DumpDebug()
H A Dlfunc.c115 f->upvalues = NULL; in luaF_newproto()
135 luaM_freearray(L, f->upvalues, f->sizeupvalues); in luaF_freeproto()
H A Dlparser.c223 Upvaldesc *up = fs->f->upvalues; in searchupvalue()
235 luaM_growvector(fs->ls->L, f->upvalues, fs->nups, f->sizeupvalues, in newupvalue()
237 while (oldsize < f->sizeupvalues) f->upvalues[oldsize++].name = NULL; in newupvalue()
238 f->upvalues[fs->nups].instack = (v->k == VLOCAL); in newupvalue()
239 f->upvalues[fs->nups].idx = cast_byte(v->u.info); in newupvalue()
240 f->upvalues[fs->nups].name = name; in newupvalue()
566 luaM_reallocvector(L, f->upvalues, f->sizeupvalues, fs->nups, Upvaldesc); in close_func()
H A Dlobject.h443 Upvaldesc *upvalues; /* upvalue information */ member
H A Dldebug.c125 TString *s = check_exp(uv < p->sizeupvalues, p->upvalues[uv].name); in upvalname()
H A Dlvm.c616 Upvaldesc *uv = p->upvalues;
637 Upvaldesc *uv = p->upvalues;
H A Dlgc.c486 markobjectN(g, f->upvalues[i].name); in traverseproto()
H A Dlapi.c1198 name = p->upvalues[n-1].name; in aux_upvalue()