Home
last modified time | relevance | path

Searched refs:fldtab (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/awk/
H A Dlib.c75 Cell **fldtab; /* pointers to Cells */ variable
102 (fldtab = (Cell **)malloc((nfields+1) * sizeof (Cell *))) == NULL || in recinit()
103 (fldtab[0] = (Cell *)malloc(sizeof (Cell))) == NULL) in recinit()
105 *fldtab[0] = dollar0; in recinit()
106 fldtab[0]->sval = record; in recinit()
107 fldtab[0]->nval = tostring("0"); in recinit()
118 fldtab[i] = (Cell *)malloc(sizeof (Cell)); in makefields()
119 if (fldtab[i] == NULL) in makefields()
121 *fldtab[i] = dollar1; in makefields()
123 fldtab[i]->nval = tostring(temp); in makefields()
[all …]
/illumos-gate/usr/src/cmd/oawk/
H A Dlib.c55 CELL fldtab[MAXFLD] = { /* room for fields */ variable
70 CELL *maxmfld = &fldtab[0];
235 if (!(fldtab[i].tval&FLD)) in fldbld()
236 xfree(fldtab[i].sval); in fldbld()
237 fldtab[i].sval = fr; in fldbld()
238 fldtab[i].tval = FLD | STR; in fldbld()
254 if (!(fldtab[i].tval&FLD)) in fldbld()
255 xfree(fldtab[i].sval); in fldbld()
256 fldtab[i].sval = fr; in fldbld()
257 fldtab[i].tval = FLD | STR; in fldbld()
[all …]