Lines Matching refs:sval
108 if (&vp->sval == FS || &vp->sval == RS || in setfree()
109 &vp->sval == OFS || &vp->sval == ORS || in setfree()
110 &vp->sval == OFMT || &vp->sval == CONVFMT || in setfree()
111 &vp->sval == FILENAME || &vp->sval == SUBSEP) in setfree()
123 recloc->sval = record; in syminit()
133 FS = &fsloc->sval; in syminit()
135 RS = &rsloc->sval; in syminit()
138 OFS = &ofsloc->sval; in syminit()
140 ORS = &orsloc->sval; in syminit()
141 OFMT = &setsymtab("OFMT", "%.6g", 0.0, STR|DONTFREE, symtab)->sval; in syminit()
143 STR|DONTFREE, symtab)->sval; in syminit()
144 FILENAME = &setsymtab("FILENAME", "", 0.0, STR|DONTFREE, symtab)->sval; in syminit()
152 SUBSEP = &subseploc->sval; in syminit()
158 symtabloc->sval = (char *)symtab; in syminit()
171 cp->sval = (char *)ARGVtab; in arginit()
192 cp->sval = (char *)ENVtab; in envinit()
236 tp = (Array *)ap->sval; in freesymtab()
243 xfree(cp->sval); in freesymtab()
266 tp = (Array *)ap->sval; in freeelem()
275 xfree(p->sval); in freeelem()
291 (void *)p, NN(p->nval), NN(p->sval), p->fval, p->tval)); in setsymtab()
298 p->sval = s ? tostring(s) : tostring(""); in setsymtab()
310 (void *)p, p->nval, p->sval, p->fval, p->tval)); in setsymtab()
388 xfree(vp->sval); /* free any previous string */ in setfval()
407 vp, vp->nval, vp->sval, vp->fval, vp->tval); in funnyvar()
437 xfree(vp->sval); in setsval()
445 vp->sval = t; in setsval()
453 return (vp->sval); in setsval()
466 vp->fval = atof(vp->sval); /* best guess */ in getfval()
467 if (is_number(vp->sval) && !(vp->tval&CON)) in getfval()
515 xfree(vp->sval); \ in get_str_val()
520 vp->sval = tostring(s); \ in get_str_val()
563 (void *)vp, NN(vp->nval), vp->sval, (void *)vp->sval, vp->tval)); in get_str_val()
564 return (vp->sval); in get_str_val()