Home | History | Annotate | Download | only in nawk-20071023

Lines Matching full:record

37 char	*record;
49 int donerec; /* 1 = record is valid (no flds have changed) */
60 if ( (record = (char *) malloc(n)) == NULL
66 fldtab[0]->sval = record;
104 int getrec(char **pbuf, int *pbufsize, int isrecord) /* get next input record */
105 { /* note: cares whether buf == record */
145 if (c != 0 || buf[0] != '\0') { /* normal record */
149 fldtab[0]->sval = buf; /* buf == record */
182 int readrec(char **pbuf, int *pbufsize, FILE *inf) /* read one record into buf */
202 FATAL("input record `%.30s...' too long", buf);
210 FATAL("input record `%.30s...' too long", buf);
215 FATAL("input record `%.30s...' too long", buf);
255 void fldbld(void) /* create fields from current record */
337 FATAL("record `%.30s...' has too many fields; can't happen", r);
338 cleanfld(i+1, lastfld); /* clean out junk from previous record */
461 r = record;
464 if (!adjbuf(&record, &recsize, 1+strlen(p)+r-record, recsize, &r, "recbld 1"))
465 FATAL("created $0 `%.30s...' too long", record);
469 if (!adjbuf(&record, &recsize, 2+strlen(*OFS)+r-record, recsize, &r, "recbld 2"))
470 FATAL("created $0 `%.30s...' too long", record);
475 if (!adjbuf(&record, &recsize, 2+r-record, recsize, &r, "recbld 3"))
476 FATAL("built giant record `%.30s...'", record);
483 fldtab[0]->sval = record;
486 dprintf( ("recbld = |%s|\n", record) );
587 fprintf(stderr, " input record number %d", (int) (*FNR));