Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dlfunc.c126 f->locvars = NULL; in luaF_newproto()
140 luaM_freearray(L, f->locvars, f->sizelocvars); in luaF_freeproto()
152 for (i = 0; i<f->sizelocvars && f->locvars[i].startpc <= pc; i++) { in luaF_getlocalname()
153 if (pc < f->locvars[i].endpc) { /* is variable active? */ in luaF_getlocalname()
156 return getstr(f->locvars[i].varname); in luaF_getlocalname()
H A Dlundump.c158 f->locvars=luaM_newvector(S->L,n,LocVar); in LoadDebug()
160 for (i=0; i<n; i++) f->locvars[i].varname=NULL; in LoadDebug()
163 f->locvars[i].varname=LoadString(S); in LoadDebug()
164 f->locvars[i].startpc=LoadInt(S); in LoadDebug()
165 f->locvars[i].endpc=LoadInt(S); in LoadDebug()
H A Dldump.c130 DumpString(f->locvars[i].varname,D); in DumpDebug()
131 DumpInt(f->locvars[i].startpc,D); in DumpDebug()
132 DumpInt(f->locvars[i].endpc,D); in DumpDebug()
H A Dlparser.c168 luaM_growvector(ls->L, f->locvars, fs->nlocvars, f->sizelocvars, in registerlocalvar()
170 while (oldsize < f->sizelocvars) f->locvars[oldsize++].varname = NULL; in registerlocalvar()
171 f->locvars[fs->nlocvars].varname = varname; in registerlocalvar()
200 return &fs->f->locvars[idx]; in getlocvar()
568 luaM_reallocvector(L, f->locvars, f->sizelocvars, fs->nlocvars, LocVar); in close_func()
H A Dlobject.h472 LocVar *locvars; /* information about local variables (debug information) */ member
H A Dlgc.c469 markobject(g, f->locvars[i].varname); in traverseproto()