Lines Matching refs:sval
77 if (&vp->sval == FS || &vp->sval == RS || in setfree()
78 &vp->sval == OFS || &vp->sval == ORS || in setfree()
79 &vp->sval == OFMT || &vp->sval == CONVFMT || in setfree()
80 &vp->sval == FILENAME || &vp->sval == SUBSEP) in setfree()
94 FS = &fsloc->sval; in syminit()
96 RS = &rsloc->sval; in syminit()
98 OFS = &ofsloc->sval; in syminit()
100 ORS = &orsloc->sval; in syminit()
101 OFMT = &setsymtab("OFMT", "%.6g", 0.0, STR|DONTFREE, symtab)->sval; in syminit()
102 CONVFMT = &setsymtab("CONVFMT", "%.6g", 0.0, STR|DONTFREE, symtab)->sval; in syminit()
103 FILENAME = &setsymtab("FILENAME", "", 0.0, STR|DONTFREE, symtab)->sval; in syminit()
111 SUBSEP = &subseploc->sval; in syminit()
117 symtabloc->sval = (char *) symtab; in syminit()
129 cp->sval = (char *) ARGVtab; in arginit()
147 cp->sval = (char *) ENVtab; in envinit()
185 tp = (Array *) ap->sval; in freesymtab()
192 xfree(cp->sval); in freesymtab()
211 tp = (Array *) ap->sval; in freeelem()
220 xfree(p->sval); in freeelem()
235 (void*)p, NN(p->nval), NN(p->sval), p->fval, p->tval) ); in setsymtab()
242 p->sval = s ? tostring(s) : tostring(""); in setsymtab()
254 (void*)p, p->nval, p->sval, p->fval, p->tval) ); in setsymtab()
326 xfree(vp->sval); /* free any previous string */ in setfval()
343 vp, vp->nval, vp->sval, vp->fval, vp->tval); in funnyvar()
371 xfree(vp->sval); in setsval()
378 vp->sval = t; in setsval()
386 return(vp->sval); in setsval()
398 vp->fval = atof(vp->sval); /* best guess */ in getfval()
399 if (is_number(vp->sval) && !(vp->tval&CON)) in getfval()
446 xfree(vp->sval); \ in get_str_val()
451 vp->sval = tostring(s); \ in get_str_val()
491 (void*)vp, NN(vp->nval), vp->sval, (void *) vp->sval, vp->tval) ); in get_str_val()
492 return(vp->sval); in get_str_val()