Home
last modified time | relevance | path

Searched refs:locvars (Results 1 – 7 of 7) sorted by relevance

/external/lua/src/
Dlfunc.c264 f->locvars = NULL; in luaF_newproto()
279 luaM_freearray(L, f->locvars, f->sizelocvars); in luaF_freeproto()
291 for (i = 0; i<f->sizelocvars && f->locvars[i].startpc <= pc; i++) { in luaF_getlocalname()
292 if (pc < f->locvars[i].endpc) { /* is variable active? */ in luaF_getlocalname()
295 return getstr(f->locvars[i].varname); in luaF_getlocalname()
Dlundump.c241 f->locvars = luaM_newvectorchecked(S->L, n, LocVar); in loadDebug()
244 f->locvars[i].varname = NULL; in loadDebug()
246 f->locvars[i].varname = loadStringN(S, f); in loadDebug()
247 f->locvars[i].startpc = loadInt(S); in loadDebug()
248 f->locvars[i].endpc = loadInt(S); in loadDebug()
Dldump.c168 dumpString(D, f->locvars[i].varname); in dumpDebug()
169 dumpInt(D, f->locvars[i].startpc); in dumpDebug()
170 dumpInt(D, f->locvars[i].endpc); in dumpDebug()
Dluac.c706 i,getstr(f->locvars[i].varname),f->locvars[i].startpc+1,f->locvars[i].endpc+1); in PrintDebug()
Dlparser.c178 luaM_growvector(ls->L, f->locvars, fs->ndebugvars, f->sizelocvars, in registerlocalvar()
181 f->locvars[oldsize++].varname = NULL; in registerlocalvar()
182 f->locvars[fs->ndebugvars].varname = varname; in registerlocalvar()
183 f->locvars[fs->ndebugvars].startpc = fs->pc; in registerlocalvar()
258 return &fs->f->locvars[idx]; in localdebuginfo()
760 luaM_shrinkvector(L, f->locvars, f->sizelocvars, fs->ndebugvars, LocVar); in close_func()
Dlobject.h548 LocVar *locvars; /* information about local variables (debug information) */ member
Dlgc.c583 markobjectN(g, f->locvars[i].varname); in traverseproto()