Lines Matching refs:dyd

196   Dyndata *dyd = ls->dyd;  in new_localvar()  local
198 checklimit(fs, dyd->actvar.n + 1 - fs->firstlocal, in new_localvar()
200 luaM_growvector(L, dyd->actvar.arr, dyd->actvar.n + 1, in new_localvar()
201 dyd->actvar.size, Vardesc, USHRT_MAX, "local variables"); in new_localvar()
202 var = &dyd->actvar.arr[dyd->actvar.n++]; in new_localvar()
205 return dyd->actvar.n - 1 - fs->firstlocal; in new_localvar()
220 return &fs->ls->dyd->actvar.arr[fs->firstlocal + vidx]; in getlocalvardesc()
282 varname = ls->dyd->actvar.arr[e->u.info].vd.name; in check_readonly()
329 fs->ls->dyd->actvar.n -= (fs->nactvar - tolevel); in removevars()
517 Labellist *gl = &ls->dyd->gt; /* list of goto's */ in solvegoto()
534 Dyndata *dyd = ls->dyd; in findlabel() local
536 for (i = ls->fs->firstlabel; i < dyd->label.n; i++) { in findlabel()
537 Labeldesc *lb = &dyd->label.arr[i]; in findlabel()
564 return newlabelentry(ls, &ls->dyd->gt, name, line, pc); in newgotoentry()
574 Labellist *gl = &ls->dyd->gt; in solvegotos()
599 Labellist *ll = &ls->dyd->label; in createlabel()
618 Labellist *gl = &fs->ls->dyd->gt; in movegotosout()
633 bl->firstlabel = fs->ls->dyd->label.n; in enterblock()
634 bl->firstgoto = fs->ls->dyd->gt.n; in enterblock()
673 ls->dyd->label.n = bl->firstlabel; /* remove local labels */ in leaveblock()
677 if (bl->firstgoto < ls->dyd->gt.n) /* pending gotos in outer block? */ in leaveblock()
678 undefgoto(ls, &ls->dyd->gt.arr[bl->firstgoto]); /* error */ in leaveblock()
734 fs->firstlocal = ls->dyd->actvar.n; in open_func()
735 fs->firstlabel = ls->dyd->label.n; in open_func()
1932 Dyndata *dyd, const char *name, int firstchar) { in luaY_parser() argument
1946 lexstate.dyd = dyd; in luaY_parser()
1947 dyd->actvar.n = dyd->gt.n = dyd->label.n = 0; in luaY_parser()
1952 lua_assert(dyd->actvar.n == 0 && dyd->gt.n == 0 && dyd->label.n == 0); in luaY_parser()