Lines Matching refs:vd
203 var->vd.kind = VDKREG; /* default */ in new_localvar()
204 var->vd.name = name; in new_localvar()
231 Vardesc *vd = getlocalvardesc(fs, nvar); /* get previous variable */ in reglevel() local
232 if (vd->vd.kind != RDKCTC) /* is in a register? */ in reglevel()
233 return vd->vd.ridx + 1; in reglevel()
252 Vardesc *vd = getlocalvardesc(fs, vidx); in localdebuginfo() local
253 if (vd->vd.kind == RDKCTC) in localdebuginfo()
256 int idx = vd->vd.pidx; in localdebuginfo()
270 e->u.var.ridx = getlocalvardesc(fs, vidx)->vd.ridx; in init_var()
282 varname = ls->dyd->actvar.arr[e->u.info].vd.name; in check_readonly()
287 if (vardesc->vd.kind != VDKREG) /* not a regular variable? */ in check_readonly()
288 varname = vardesc->vd.name; in check_readonly()
318 var->vd.ridx = reglevel++; in adjustlocalvars()
319 var->vd.pidx = registerlocalvar(ls, fs, var->vd.name); in adjustlocalvars()
370 up->kind = getlocalvardesc(prev, v->u.var.vidx)->vd.kind; in newupvalue()
371 lua_assert(eqstr(name, getlocalvardesc(prev, v->u.var.vidx)->vd.name)); in newupvalue()
393 Vardesc *vd = getlocalvardesc(fs, i); in searchvar() local
394 if (eqstr(n, vd->vd.name)) { /* found? */ in searchvar()
395 if (vd->vd.kind == RDKCTC) /* compile-time constant? */ in searchvar()
503 const char *varname = getstr(getlocalvardesc(ls->fs, gt->nactvar)->vd.name); in jumpscopeerror()
1728 getlocalvardesc(fs, vidx)->vd.kind = kind; in localstat()
1744 var->vd.kind == RDKCONST && /* last variable is const? */ in localstat()
1746 var->vd.kind = RDKCTC; /* variable is a compile-time constant */ in localstat()