Home
last modified time | relevance | path

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

/external/lua/src/
Dlundump.c215 f->upvalues = luaM_newvectorchecked(S->L, n, Upvaldesc); in loadUpvalues()
218 f->upvalues[i].name = NULL; in loadUpvalues()
220 f->upvalues[i].instack = loadByte(S); in loadUpvalues()
221 f->upvalues[i].idx = loadByte(S); in loadUpvalues()
222 f->upvalues[i].kind = loadByte(S); in loadUpvalues()
252 f->upvalues[i].name = loadStringN(S, f); in loadDebug()
Dldump.c147 dumpByte(D, f->upvalues[i].instack); in dumpUpvalues()
148 dumpByte(D, f->upvalues[i].idx); in dumpUpvalues()
149 dumpByte(D, f->upvalues[i].kind); in dumpUpvalues()
175 dumpString(D, f->upvalues[i].name); in dumpDebug()
Dluac.c156 if (f->p[i]->sizeupvalues>0) f->p[i]->upvalues[0].instack=0; in combine()
217 #define UPVALNAME(x) ((f->upvalues[x].name) ? getstr(f->upvalues[x].name) : "-")
713 i,UPVALNAME(i),f->upvalues[i].instack,f->upvalues[i].idx); in PrintDebug()
Dlfunc.c259 f->upvalues = NULL; in luaF_newproto()
280 luaM_freearray(L, f->upvalues, f->sizeupvalues); in luaF_freeproto()
Dlparser.c292 Upvaldesc *up = &fs->f->upvalues[e->u.info]; in check_readonly()
344 Upvaldesc *up = fs->f->upvalues; in searchupvalue()
356 luaM_growvector(fs->ls->L, f->upvalues, fs->nups, f->sizeupvalues, in allocupvalue()
359 f->upvalues[oldsize++].name = NULL; in allocupvalue()
360 return &f->upvalues[fs->nups++]; in allocupvalue()
376 up->kind = prev->f->upvalues[v->u.info].kind; in newupvalue()
377 lua_assert(eqstr(name, prev->f->upvalues[v->u.info].name)); in newupvalue()
761 luaM_shrinkvector(L, f->upvalues, f->sizeupvalues, fs->nups, Upvaldesc); in close_func()
Dlobject.h545 Upvaldesc *upvalues; /* upvalue information */ member
Dldebug.c182 TString *s = check_exp(uv < p->sizeupvalues, p->upvalues[uv].name); in upvalname()
Dlgc.c579 markobjectN(g, f->upvalues[i].name); in traverseproto()
Dlapi.c1344 name = p->upvalues[n-1].name; in aux_upvalue()
Dlvm.c788 Upvaldesc *uv = p->upvalues; in pushclosure()
/external/bcc/src/lua/
DREADME.md145 * Closures `UCLO` will probably never be supported, although you can use upvalues inside compiled f…