Lines Matching refs:fp
386 FILE *fp; /* Input stream for this column. */ member
1357 init_header (*av, fileno (p->fp)); in init_fps()
1363 p->fp = stdin; in init_fps()
1373 FILE *firstfp = p->fp; in init_fps()
1378 p->fp = firstfp; in init_fps()
1486 p->fp = stdin; in open_file()
1492 p->fp = fopen (name, "r"); in open_file()
1494 if (p->fp == nullptr) in open_file()
1501 fadvise (p->fp, FADVISE_SEQUENTIAL); in open_file()
1523 if (!ferror (p->fp)) in close_file()
1525 if (fileno (p->fp) == STDIN_FILENO) in close_file()
1526 clearerr (p->fp); in close_file()
1527 else if (fclose (p->fp) != 0 && !err) in close_file()
2114 FILE *f = p->fp; in read_rest_of_line()
2148 FILE *f = p->fp; in skip_read()
2434 c = getc (p->fp); in read_line()
2439 if ((c = getc (p->fp)) == '\n') in read_line()
2440 c = getc (p->fp); in read_line()
2446 if ((c = getc (p->fp)) != '\n') in read_line()
2447 ungetc (c, p->fp); in read_line()
2519 c = getc (p->fp); in read_line()
2526 if ((c = getc (p->fp)) != '\n') in read_line()
2527 ungetc (c, p->fp); in read_line()