Home
last modified time | relevance | path

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

/external/lua/src/
Dlundump.c169 f->upvalues = luaM_newvector(S->L, n, Upvaldesc); in LoadUpvalues()
172 f->upvalues[i].name = NULL; in LoadUpvalues()
174 f->upvalues[i].instack = LoadByte(S); in LoadUpvalues()
175 f->upvalues[i].idx = LoadByte(S); in LoadUpvalues()
198 f->upvalues[i].name = LoadString(S); in LoadDebug()
Dluac.c152 if (f->p[i]->sizeupvalues>0) f->p[i]->upvalues[0].instack=0; in combine()
285 #define UPVALNAME(x) ((f->upvalues[x].name) ? getstr(f->upvalues[x].name) : "-")
439 i,UPVALNAME(i),f->upvalues[i].instack,f->upvalues[i].idx); in PrintDebug()
Dldump.c141 DumpByte(f->upvalues[i].instack, D); in DumpUpvalues()
142 DumpByte(f->upvalues[i].idx, D); in DumpUpvalues()
162 DumpString(f->upvalues[i].name, D); in DumpDebug()
Dlfunc.c111 f->upvalues = NULL; in luaF_newproto()
131 luaM_freearray(L, f->upvalues, f->sizeupvalues); in luaF_freeproto()
Dlparser.c220 Upvaldesc *up = fs->f->upvalues; in searchupvalue()
232 luaM_growvector(fs->ls->L, f->upvalues, fs->nups, f->sizeupvalues, in newupvalue()
235 f->upvalues[oldsize++].name = NULL; in newupvalue()
236 f->upvalues[fs->nups].instack = (v->k == VLOCAL); in newupvalue()
237 f->upvalues[fs->nups].idx = cast_byte(v->u.info); in newupvalue()
238 f->upvalues[fs->nups].name = name; in newupvalue()
568 luaM_reallocvector(L, f->upvalues, f->sizeupvalues, fs->nups, Upvaldesc); in close_func()
Dlobject.h425 Upvaldesc *upvalues; /* upvalue information */ member
Dlvm.c614 Upvaldesc *uv = p->upvalues; in getcached()
635 Upvaldesc *uv = p->upvalues; in pushclosure()
Dldebug.c128 TString *s = check_exp(uv < p->sizeupvalues, p->upvalues[uv].name); in upvalname()
Dlgc.c487 markobjectN(g, f->upvalues[i].name); in traverseproto()
Dlapi.c1214 name = p->upvalues[n-1].name; in aux_upvalue()
/external/bcc/src/lua/
DREADME.md145 * Closures `UCLO` will probably never be supported, although you can use upvalues inside compiled f…