Lines Matching refs:fldtab
42 Cell **fldtab; /* pointers to Cells */
62 || (fldtab = (Cell **) malloc((nfields+1) * sizeof(Cell *))) == NULL
63 || (fldtab[0] = (Cell *) malloc(sizeof(Cell))) == NULL )
65 *fldtab[0] = dollar0;
66 fldtab[0]->sval = record;
67 fldtab[0]->nval = tostring("0");
77 fldtab[i] = (Cell *) malloc(sizeof (struct Cell));
78 if (fldtab[i] == NULL)
80 *fldtab[i] = dollar1;
82 fldtab[i]->nval = tostring(temp);
147 if (freeable(fldtab[0]))
148 xfree(fldtab[0]->sval);
149 fldtab[0]->sval = buf; /* buf == record */
150 fldtab[0]->tval = REC | STR | DONTFREE;
151 if (is_number(fldtab[0]->sval)) {
152 fldtab[0]->fval = atof(fldtab[0]->sval);
153 fldtab[0]->tval |= NUM;
265 if (!isstr(fldtab[0]))
266 getsval(fldtab[0]);
267 r = fldtab[0]->sval;
288 if (freeable(fldtab[i]))
289 xfree(fldtab[i]->sval);
290 fldtab[i]->sval = fr;
291 fldtab[i]->tval = FLD | STR | DONTFREE;
304 if (freeable(fldtab[i]))
305 xfree(fldtab[i]->sval);
308 fldtab[i]->sval = tostring(buf);
309 fldtab[i]->tval = FLD | STR;
324 if (freeable(fldtab[i]))
325 xfree(fldtab[i]->sval);
326 fldtab[i]->sval = fr;
327 fldtab[i]->tval = FLD | STR | DONTFREE;
342 p = fldtab[j];
351 p = fldtab[j];
363 p = fldtab[i];
386 return(fldtab[n]);
398 fldtab = (Cell **) realloc(fldtab, s);
400 xfree(fldtab); /* make it null */
401 if (fldtab == NULL)
432 if (freeable(fldtab[i]))
433 xfree(fldtab[i]->sval);
434 fldtab[i]->tval = FLD | STR | DONTFREE;
435 fldtab[i]->sval = fr;
463 p = getsval(fldtab[i]);
478 dprintf( ("in recbld inputFS=%s, fldtab[0]=%p\n", inputFS, fldtab[0]) );
480 if (freeable(fldtab[0]))
481 xfree(fldtab[0]->sval);
482 fldtab[0]->tval = REC | STR | DONTFREE;
483 fldtab[0]->sval = record;
485 dprintf( ("in recbld inputFS=%s, fldtab[0]=%p\n", inputFS, fldtab[0]) );