fp 102 daemons/execd/remoted_pidone.c FILE *fp = fopen(filename, "r"); fp 104 daemons/execd/remoted_pidone.c if (fp != NULL) { fp 107 daemons/execd/remoted_pidone.c while (fgets(line, LINE_MAX, fp) != NULL) { fp 185 daemons/execd/remoted_pidone.c if (fscanf(fp, "%*[^\n]\n") == EOF) { fp 190 daemons/execd/remoted_pidone.c fclose(fp); fp 58 lib/common/cib_secrets.c FILE *fp = fopen(local_file, "r"); fp 62 lib/common/cib_secrets.c if (!fp) { fp 69 lib/common/cib_secrets.c if (!fgets(buf, MAX_VALUE_LEN, fp)) { fp 71 lib/common/cib_secrets.c fclose(fp); fp 74 lib/common/cib_secrets.c fclose(fp); fp 144 lib/common/io.c FILE *fp = NULL; fp 152 lib/common/io.c fp = fopen(series_file, "r"); fp 153 lib/common/io.c if (fp == NULL) { fp 161 lib/common/io.c if (fscanf(fp, "%u", seq) != 1) { fp 165 lib/common/io.c fclose(fp); fp 168 lib/common/io.c fclose(fp); fp 434 lib/common/io.c FILE *fp; fp 442 lib/common/io.c fp = fopen(filename, "r"); fp 443 lib/common/io.c if ((fp == NULL) || (fseek(fp, 0L, SEEK_END) < 0)) { fp 448 lib/common/io.c length = ftell(fp); fp 462 lib/common/io.c rewind(fp); fp 464 lib/common/io.c read_len = fread(*contents, 1, length, fp); fp 478 lib/common/io.c if (fp != NULL) { fp 479 lib/common/io.c fclose(fp); fp 497 lib/common/io.c FILE *fp = fdopen(fd, "w"); fp 499 lib/common/io.c if (fp == NULL) { fp 502 lib/common/io.c if ((contents != NULL) && (fprintf(fp, "%s", contents) < 0)) { fp 505 lib/common/io.c if (fflush(fp) != 0) { fp 508 lib/common/io.c if (fsync(fileno(fp)) < 0) { fp 511 lib/common/io.c fclose(fp); fp 1673 lib/common/schemas.c FILE *fp = NULL; fp 1678 lib/common/schemas.c fp = fopen(filename, "r"); fp 1679 lib/common/schemas.c if (fp == NULL) { fp 1686 lib/common/schemas.c ch = getc(fp); fp 1697 lib/common/schemas.c fclose(fp); fp 110 lib/services/services_lsb.c FILE *fp = NULL; fp 131 lib/services/services_lsb.c fp = fopen(ra_pathname, "r"); fp 132 lib/services/services_lsb.c if (fp == NULL) { fp 137 lib/services/services_lsb.c while (fgets(buffer, sizeof(buffer), fp)) { fp 186 lib/services/services_lsb.c while (fgets(buffer, sizeof(buffer), fp)) { fp 220 lib/services/services_lsb.c fclose(fp); fp 824 lib/services/systemd.c FILE *fp = fopen(filename, "w"); fp 827 lib/services/systemd.c return fp; fp 29 maint/gnulib/lib/argv-iter.c FILE *fp; fp 45 maint/gnulib/lib/argv-iter.c ai->fp = NULL; fp 54 maint/gnulib/lib/argv-iter.c argv_iter_init_stream (FILE *fp) fp 59 maint/gnulib/lib/argv-iter.c ai->fp = fp; fp 71 maint/gnulib/lib/argv-iter.c if (ai->fp) fp 73 maint/gnulib/lib/argv-iter.c ssize_t len = getdelim (&ai->tok, &ai->buf_len, '\0', ai->fp); fp 76 maint/gnulib/lib/argv-iter.c *err = feof (ai->fp) ? AI_ERR_EOF : AI_ERR_READ; fp 102 maint/gnulib/lib/argv-iter.c return ai->fp ? ai->item_idx : ai->p - ai->arg_list; fp 108 maint/gnulib/lib/argv-iter.c if (ai->fp) fp 38 maint/gnulib/lib/argv-iter.h struct argv_iterator *argv_iter_init_stream (FILE *fp) fp 99 maint/gnulib/lib/clean-temp.c asyncsafe_fclose_variant (struct closeable_fd *element, FILE *fp, fp 102 maint/gnulib/lib/clean-temp.c if (fileno (fp) != element->fd) fp 106 maint/gnulib/lib/clean-temp.c fflush (fp); fp 115 maint/gnulib/lib/clean-temp.c ret = fclose_variant (fp); /* invokes close (element->fd) */ fp 587 maint/gnulib/lib/clean-temp.c FILE *fp; fp 602 maint/gnulib/lib/clean-temp.c fp = fopen (file_name, augmented_mode); fp 610 maint/gnulib/lib/clean-temp.c fp = fopen (file_name, mode); fp 613 maint/gnulib/lib/clean-temp.c if (fp != NULL) fp 618 maint/gnulib/lib/clean-temp.c int fd = fileno (fp); fp 625 maint/gnulib/lib/clean-temp.c return fp; fp 750 maint/gnulib/lib/clean-temp.c fclose_variant_temp (FILE *fp, int (*fclose_variant) (FILE *)) fp 752 maint/gnulib/lib/clean-temp.c int fd = fileno (fp); fp 781 maint/gnulib/lib/clean-temp.c result = asyncsafe_fclose_variant (element, fp, fclose_variant); fp 816 maint/gnulib/lib/clean-temp.c fclose_temp (FILE *fp) fp 818 maint/gnulib/lib/clean-temp.c return fclose_variant_temp (fp, fclose); fp 827 maint/gnulib/lib/clean-temp.c fwriteerror_temp (FILE *fp) fp 829 maint/gnulib/lib/clean-temp.c return fclose_variant_temp (fp, fwriteerror); fp 839 maint/gnulib/lib/clean-temp.c close_stream_temp (FILE *fp) fp 841 maint/gnulib/lib/clean-temp.c return fclose_variant_temp (fp, close_stream); fp 171 maint/gnulib/lib/clean-temp.h extern int fclose_temp (FILE *fp); fp 177 maint/gnulib/lib/clean-temp.h extern int fwriteerror_temp (FILE *fp); fp 183 maint/gnulib/lib/clean-temp.h extern int close_stream_temp (FILE *fp); fp 128 maint/gnulib/lib/csharpcomp.c FILE *fp; fp 201 maint/gnulib/lib/csharpcomp.c fp = fdopen (fd[0], "r"); fp 202 maint/gnulib/lib/csharpcomp.c if (fp == NULL) fp 209 maint/gnulib/lib/csharpcomp.c linelen[l] = getline (&line[l], &linesize[l], fp); fp 225 maint/gnulib/lib/csharpcomp.c fclose (fp); fp 87 maint/gnulib/lib/error.c # define putc(c, fp) _IO_putc (c, fp) fp 609 maint/gnulib/lib/exclude.c struct exclude *ex, FILE *fp, int options, fp 622 maint/gnulib/lib/exclude.c while ((c = getc (fp)) != EOF) fp 629 maint/gnulib/lib/exclude.c if (ferror (fp)) fp 31 maint/gnulib/lib/fbufmode.c fbufmode (FILE *fp) fp 39 maint/gnulib/lib/fbufmode.c if (__flbf (fp)) fp 42 maint/gnulib/lib/fbufmode.c if (fp->_flags & _IO_LINE_BUF) fp 45 maint/gnulib/lib/fbufmode.c if (fp->_flags & _IO_UNBUFFERED) fp 56 maint/gnulib/lib/fbufmode.c return fp->_flags & (_IOLBF | _IONBF | _IOFBF); fp 58 maint/gnulib/lib/fbufmode.c return fp->_flags & (_IOLBF | _IONBF | _IOFBF); fp 67 maint/gnulib/lib/fbufmode.c if (__flbf (fp)) fp 78 maint/gnulib/lib/fbufmode.c if (fp->__modeflags & __FLAG_LBF) fp 80 maint/gnulib/lib/fbufmode.c if (fp->__modeflags & __FLAG_NBF) fp 84 maint/gnulib/lib/fbufmode.c if (fp->_Mode & 0x400 /* _MLBF */) fp 86 maint/gnulib/lib/fbufmode.c if (fp->_Mode & 0x800 /* _MNBF */) fp 90 maint/gnulib/lib/fbufmode.c if (fp->__linebuf) fp 92 maint/gnulib/lib/fbufmode.c return (fp->__bufsize > 0 ? _IOFBF : _IONBF); fp 94 maint/gnulib/lib/fbufmode.c if (__flbf (fp)) fp 96 maint/gnulib/lib/fbufmode.c return (__fbufsize (fp) > 0 ? _IOFBF : _IONBF); fp 98 maint/gnulib/lib/fbufmode.c if (fp->flags & 2 /* LINEBUF */) fp 100 maint/gnulib/lib/fbufmode.c if (fp->bufl) fp 34 maint/gnulib/lib/fclose.c fclose_nothrow (FILE *fp) fp 40 maint/gnulib/lib/fclose.c result = fclose (fp); fp 58 maint/gnulib/lib/fclose.c rpl_fclose (FILE *fp) fp 65 maint/gnulib/lib/fclose.c fd = fileno (fp); fp 67 maint/gnulib/lib/fclose.c return fclose_nothrow (fp); fp 72 maint/gnulib/lib/fclose.c if ((!freading (fp) || lseek (fileno (fp), 0, SEEK_CUR) != -1) fp 73 maint/gnulib/lib/fclose.c && fflush (fp)) fp 85 maint/gnulib/lib/fclose.c fclose_nothrow (fp); /* will fail with errno = EBADF, fp 95 maint/gnulib/lib/fclose.c result = fclose_nothrow (fp); fp 100 maint/gnulib/lib/fclose.c result = fclose_nothrow (fp); fp 60 maint/gnulib/lib/fdopen.c FILE *fp; fp 63 maint/gnulib/lib/fdopen.c fp = fdopen_nothrow (fd, mode); fp 64 maint/gnulib/lib/fdopen.c if (fp == NULL) fp 72 maint/gnulib/lib/fdopen.c return fp; fp 39 maint/gnulib/lib/fflush.c clear_ungetc_buffer_preserving_position (FILE *fp) fp 41 maint/gnulib/lib/fflush.c if (fp->_flags & _IO_IN_BACKUP) fp 43 maint/gnulib/lib/fflush.c fseeko (fp, 0, SEEK_CUR); fp 50 maint/gnulib/lib/fflush.c clear_ungetc_buffer (FILE *fp) fp 54 maint/gnulib/lib/fflush.c if (HASUB (fp)) fp 60 maint/gnulib/lib/fflush.c if (fp->_ungetc_count > 0) fp 62 maint/gnulib/lib/fflush.c fp->_ungetc_count = 0; fp 63 maint/gnulib/lib/fflush.c fp->_rcount = - fp->_rcount; fp 68 maint/gnulib/lib/fflush.c fseeko (fp, 0, SEEK_CUR); fp 81 maint/gnulib/lib/fflush.c disable_seek_optimization (FILE *fp) fp 89 maint/gnulib/lib/fflush.c restore_seek_optimization (FILE *fp, int saved_flags) fp 97 maint/gnulib/lib/fflush.c update_fpos_cache (_GL_ATTRIBUTE_MAYBE_UNUSED FILE *fp, fp 33 maint/gnulib/lib/fopen-safer.c FILE *fp = fopen (file, mode); fp 35 maint/gnulib/lib/fopen-safer.c if (fp) fp 37 maint/gnulib/lib/fopen-safer.c int fd = fileno (fp); fp 46 maint/gnulib/lib/fopen-safer.c fclose (fp); fp 51 maint/gnulib/lib/fopen-safer.c if (fclose (fp) != 0 fp 52 maint/gnulib/lib/fopen-safer.c || ! (fp = fdopen (f, mode))) fp 62 maint/gnulib/lib/fopen-safer.c return fp; fp 171 maint/gnulib/lib/fopen.c FILE *fp; fp 192 maint/gnulib/lib/fopen.c fp = fdopen (fd, fdopen_mode_buf); fp 194 maint/gnulib/lib/fopen.c fp = fdopen (fd, mode); fp 196 maint/gnulib/lib/fopen.c if (fp == NULL) fp 202 maint/gnulib/lib/fopen.c return fp; fp 211 maint/gnulib/lib/fopen.c FILE *fp; fp 218 maint/gnulib/lib/fopen.c fp = fdopen (fd, fdopen_mode_buf); fp 219 maint/gnulib/lib/fopen.c if (fp == NULL) fp 225 maint/gnulib/lib/fopen.c return fp; fp 34 maint/gnulib/lib/fpending.c __fpending (FILE *fp) fp 41 maint/gnulib/lib/fpending.c return fp->_IO_write_ptr - fp->_IO_write_base; fp 44 maint/gnulib/lib/fpending.c return fp->_p - fp->_bf._base; fp 46 maint/gnulib/lib/fpending.c return fp->_ptr - fp->_buffer; fp 52 maint/gnulib/lib/fpending.c return (fp->__modeflags & __FLAG_WRITING ? fp->__bufpos - fp->__bufstart : 0); fp 54 maint/gnulib/lib/fpending.c return (fp->_Mode & 0x2000 /*_MWRITE*/ ? fp->_Next - fp->_Buf : 0); fp 56 maint/gnulib/lib/fpending.c return fp->__bufp - fp->__buffer; fp 58 maint/gnulib/lib/fpending.c return fp->wp - fp->buf; fp 36 maint/gnulib/lib/fprintf.c fprintf (FILE *fp, const char *format, ...) fp 51 maint/gnulib/lib/fprintf.c fseterr (fp); fp 55 maint/gnulib/lib/fprintf.c if (fwrite (output, 1, len, fp) < len) fp 68 maint/gnulib/lib/fprintf.c fseterr (fp); fp 28 maint/gnulib/lib/fprintftime.h size_t fprintftime (FILE *fp, char const *fmt, struct tm const *tm, fp 32 maint/gnulib/lib/fpurge.c fpurge (FILE *fp) fp 36 maint/gnulib/lib/fpurge.c __fpurge (fp); fp 47 maint/gnulib/lib/fpurge.c int result = fpurge (fp); fp 69 maint/gnulib/lib/fpurge.c fp->_IO_read_end = fp->_IO_read_ptr; fp 70 maint/gnulib/lib/fpurge.c fp->_IO_write_ptr = fp->_IO_write_base; fp 72 maint/gnulib/lib/fpurge.c if (fp->_IO_save_base != NULL) fp 74 maint/gnulib/lib/fpurge.c free (fp->_IO_save_base); fp 75 maint/gnulib/lib/fpurge.c fp->_IO_save_base = NULL; fp 94 maint/gnulib/lib/fpurge.c fp->_ptr = fp->_buffer; fp 95 maint/gnulib/lib/fpurge.c fp->_rcount = 0; fp 96 maint/gnulib/lib/fpurge.c fp->_wcount = 0; fp 97 maint/gnulib/lib/fpurge.c fp->_ungetc_count = 0; fp 100 maint/gnulib/lib/fpurge.c fp->_ptr = fp->_buf; fp 101 maint/gnulib/lib/fpurge.c if (fp->_ptr != NULL) fp 102 maint/gnulib/lib/fpurge.c fp->_count = 0; fp 111 maint/gnulib/lib/fpurge.c if (fp->__modeflags & __FLAG_WRITING) fp 112 maint/gnulib/lib/fpurge.c fp->__bufpos = fp->__bufstart; fp 113 maint/gnulib/lib/fpurge.c else if (fp->__modeflags & (__FLAG_READONLY | __FLAG_READING)) fp 114 maint/gnulib/lib/fpurge.c fp->__bufpos = fp->__bufread; fp 118 maint/gnulib/lib/fpurge.c fp->_Rback = fp->_Back + sizeof (fp->_Back); fp 119 maint/gnulib/lib/fpurge.c fp->_Rsave = NULL; fp 120 maint/gnulib/lib/fpurge.c if (fp->_Mode & 0x2000 /* _MWRITE */) fp 122 maint/gnulib/lib/fpurge.c fp->_Next = fp->_Buf; fp 125 maint/gnulib/lib/fpurge.c fp->_Rend = fp->_Next; fp 128 maint/gnulib/lib/fpurge.c if (fp->__pushed_back) fp 130 maint/gnulib/lib/fpurge.c fp->__bufp = fp->__pushback_bufp; fp 131 maint/gnulib/lib/fpurge.c fp->__pushed_back = 0; fp 134 maint/gnulib/lib/fpurge.c if (fp->__target != -1) fp 135 maint/gnulib/lib/fpurge.c fp->__target += fp->__bufp - fp->__buffer; fp 136 maint/gnulib/lib/fpurge.c fp->__bufp = fp->__buffer; fp 138 maint/gnulib/lib/fpurge.c fp->__get_limit = fp->__bufp; fp 140 maint/gnulib/lib/fpurge.c fp->__put_limit = fp->__buffer; fp 143 maint/gnulib/lib/fpurge.c fp->rp = fp->wp = fp->lp = fp->buf; fp 33 maint/gnulib/lib/freadable.c freadable (FILE *fp) fp 40 maint/gnulib/lib/freadable.c return (fp->_flags & _IO_NO_READS) == 0; fp 45 maint/gnulib/lib/freadable.c return (fp->_flags & (_IORW | _IOREAD)) != 0; fp 47 maint/gnulib/lib/freadable.c return (fp->_flags & _IOREAD) != 0; fp 51 maint/gnulib/lib/freadable.c return (fp->_Mode & 0x1 /* _MOPENR */) != 0; fp 53 maint/gnulib/lib/freadable.c return fp->__mode.__read; fp 55 maint/gnulib/lib/freadable.c int fd = fp->fd; fp 34 maint/gnulib/lib/freadahead.c freadahead (FILE *fp) fp 38 maint/gnulib/lib/freadahead.c if (fp->_IO_write_ptr > fp->_IO_write_base) fp 40 maint/gnulib/lib/freadahead.c return (fp->_IO_read_end - fp->_IO_read_ptr) fp 41 maint/gnulib/lib/freadahead.c + (fp->_flags & _IO_IN_BACKUP ? fp->_IO_save_end - fp->_IO_save_base : fp 48 maint/gnulib/lib/freadahead.c return __sreadahead (fp); fp 51 maint/gnulib/lib/freadahead.c + (HASUB (fp) ? fp_->_ur : 0); fp 54 maint/gnulib/lib/freadahead.c if ((fp->_flags & _IOWRT) != 0) fp 60 maint/gnulib/lib/freadahead.c return (fp->_rcount > 0 ? fp->_rcount : fp->_ungetc_count - fp->_rcount); fp 71 maint/gnulib/lib/freadahead.c if (fp->__modeflags & __FLAG_WRITING) fp 73 maint/gnulib/lib/freadahead.c return (fp->__bufread - fp->__bufpos) fp 74 maint/gnulib/lib/freadahead.c + (fp->__modeflags & __FLAG_UNGOT ? 1 : 0); fp 79 maint/gnulib/lib/freadahead.c if ((fp->_Mode & 0x2000 /* _MWRITE */) != 0) fp 83 maint/gnulib/lib/freadahead.c return ((fp->_Rsave ? fp->_Rsave : fp->_Rend) - fp->_Next) fp 84 maint/gnulib/lib/freadahead.c + (fp->_Mode & 0x4000 /* _MBYTE */ fp 85 maint/gnulib/lib/freadahead.c ? (fp->_Back + sizeof (fp->_Back)) - fp->_Rback fp 88 maint/gnulib/lib/freadahead.c if (!fp->__mode.__read) fp 90 maint/gnulib/lib/freadahead.c return (fp->__pushed_back fp 91 maint/gnulib/lib/freadahead.c ? fp->__get_limit - fp->__pushback_bufp + 1 fp 92 maint/gnulib/lib/freadahead.c : fp->__get_limit - fp->__bufp); fp 94 maint/gnulib/lib/freadahead.c if (fp->state == 4 /* WR */ || fp->rp >= fp->wp) fp 96 maint/gnulib/lib/freadahead.c return fp->wp - fp->rp; fp 29 maint/gnulib/lib/freading.c freading (FILE *fp) fp 36 maint/gnulib/lib/freading.c return ((fp->_flags & _IO_NO_WRITES) != 0 fp 37 maint/gnulib/lib/freading.c || ((fp->_flags & (_IO_NO_READS | _IO_CURRENTLY_PUTTING)) == 0 fp 38 maint/gnulib/lib/freading.c && fp->_IO_read_base != NULL)); fp 43 maint/gnulib/lib/freading.c return (fp->_flags & _IOREAD) != 0; fp 45 maint/gnulib/lib/freading.c return (fp->_flags & _IOREADING) != 0; fp 53 maint/gnulib/lib/freading.c return (fp->__modeflags & (__FLAG_READONLY | __FLAG_READING)) != 0; fp 55 maint/gnulib/lib/freading.c return ((fp->_Mode & 0x2 /* _MOPENW */) == 0 fp 56 maint/gnulib/lib/freading.c || (fp->_Mode & 0x1000 /* _MREAD */) != 0); fp 58 maint/gnulib/lib/freading.c if (!fp->__mode.__write) fp 60 maint/gnulib/lib/freading.c if (!fp->__mode.__read) fp 63 maint/gnulib/lib/freading.c return (fp->__flags & _IO_CURRENTLY_GETTING) != 0; fp 65 maint/gnulib/lib/freading.c return (fp->__buffer < fp->__get_limit /*|| fp->__bufp == fp->__put_limit ??*/); fp 68 maint/gnulib/lib/freading.c if (fp->state == 0 /* CLOSED */ || fp->state == 4 /* WR */) fp 70 maint/gnulib/lib/freading.c return (fp->state == 3 /* RD */ && (fp->bufl == 0 || fp->rp < fp->wp)); fp 30 maint/gnulib/lib/freadptr.c freadptr (FILE *fp, size_t *sizep) fp 37 maint/gnulib/lib/freadptr.c if (fp->_IO_write_ptr > fp->_IO_write_base) fp 39 maint/gnulib/lib/freadptr.c size = fp->_IO_read_end - fp->_IO_read_ptr; fp 43 maint/gnulib/lib/freadptr.c return (const char *) fp->_IO_read_ptr; fp 54 maint/gnulib/lib/freadptr.c if ((fp->_flags & _IOWRT) != 0) fp 58 maint/gnulib/lib/freadptr.c if (fp->_rcount <= 0) fp 60 maint/gnulib/lib/freadptr.c if (!(fp->_ungetc_count == 0)) fp 62 maint/gnulib/lib/freadptr.c *sizep = fp->_rcount; fp 63 maint/gnulib/lib/freadptr.c return fp->_ptr; fp 82 maint/gnulib/lib/freadptr.c if (fp->__modeflags & __FLAG_WRITING) fp 84 maint/gnulib/lib/freadptr.c if (fp->__modeflags & __FLAG_UNGOT) fp 86 maint/gnulib/lib/freadptr.c size = fp->__bufread - fp->__bufpos; fp 90 maint/gnulib/lib/freadptr.c return (const char *) fp->__bufpos; fp 95 maint/gnulib/lib/freadptr.c if ((fp->_Mode & 0x2000 /* _MWRITE */) != 0) fp 98 maint/gnulib/lib/freadptr.c size = fp->_Rend - fp->_Next; fp 102 maint/gnulib/lib/freadptr.c return (const char *) fp->_Next; fp 104 maint/gnulib/lib/freadptr.c if (!fp->__mode.__read) fp 106 maint/gnulib/lib/freadptr.c size = fp->__get_limit - fp->__bufp; fp 110 maint/gnulib/lib/freadptr.c return fp->__bufp; fp 112 maint/gnulib/lib/freadptr.c if (fp->state == 4 /* WR */) fp 114 maint/gnulib/lib/freadptr.c if (fp->rp >= fp->wp) fp 116 maint/gnulib/lib/freadptr.c *sizep = fp->wp - fp->rp; fp 117 maint/gnulib/lib/freadptr.c return fp->rp; fp 34 maint/gnulib/lib/freadseek.c freadptrinc (FILE *fp, size_t increment) fp 38 maint/gnulib/lib/freadseek.c __freadptrinc (fp, increment); fp 41 maint/gnulib/lib/freadseek.c fp->_IO_read_ptr += increment; fp 47 maint/gnulib/lib/freadseek.c fp->_ptr += increment; fp 48 maint/gnulib/lib/freadseek.c fp->_rcount -= increment; fp 57 maint/gnulib/lib/freadseek.c fp->__bufpos += increment; fp 62 maint/gnulib/lib/freadseek.c fp->_Next += increment; fp 64 maint/gnulib/lib/freadseek.c fp->__bufp += increment; fp 66 maint/gnulib/lib/freadseek.c fp->rp += increment; fp 74 maint/gnulib/lib/freadseek.c freadseek (FILE *fp, size_t offset) fp 84 maint/gnulib/lib/freadseek.c total_buffered = freadahead (fp); fp 91 maint/gnulib/lib/freadseek.c if (freadptr (fp, &buffered) != NULL && buffered > 0) fp 95 maint/gnulib/lib/freadseek.c freadptrinc (fp, increment); fp 105 maint/gnulib/lib/freadseek.c if (fgetc (fp) == EOF) fp 114 maint/gnulib/lib/freadseek.c fd = fileno (fp); fp 118 maint/gnulib/lib/freadseek.c return fseeko (fp, offset, SEEK_CUR); fp 129 maint/gnulib/lib/freadseek.c if (fread (buf, 1, count, fp) < count) fp 140 maint/gnulib/lib/freadseek.c if (ferror (fp)) fp 26 maint/gnulib/lib/fseek.c fseek (FILE *fp, long offset, int whence) fp 29 maint/gnulib/lib/fseek.c return fseeko (fp, (off_t)offset, whence); fp 28 maint/gnulib/lib/fseeko.c fseeko (FILE *fp, off_t offset, int whence) fp 45 maint/gnulib/lib/fseeko.c if (lseek (fileno (fp), 0, SEEK_CUR) == -1) fp 52 maint/gnulib/lib/fseeko.c if (fp->_IO_read_end == fp->_IO_read_ptr fp 53 maint/gnulib/lib/fseeko.c && fp->_IO_write_ptr == fp->_IO_write_base fp 54 maint/gnulib/lib/fseeko.c && fp->_IO_save_base == NULL) fp 58 maint/gnulib/lib/fseeko.c if ((fp->_flags & __SL64) == 0) fp 65 maint/gnulib/lib/fseeko.c fp->_flags |= __SL64; fp 66 maint/gnulib/lib/fseeko.c fp->_seek64 = tmp->_seek64; fp 77 maint/gnulib/lib/fseeko.c if (fp->_ptr == fp->_buffer fp 78 maint/gnulib/lib/fseeko.c && fp->_rcount == 0 fp 79 maint/gnulib/lib/fseeko.c && fp->_wcount == 0 fp 80 maint/gnulib/lib/fseeko.c && fp->_ungetc_count == 0) fp 88 maint/gnulib/lib/fseeko.c if (((fp->__modeflags & __FLAG_WRITING) == 0 fp 89 maint/gnulib/lib/fseeko.c || fp->__bufpos == fp->__bufstart) fp 90 maint/gnulib/lib/fseeko.c && ((fp->__modeflags & (__FLAG_READONLY | __FLAG_READING)) == 0 fp 91 maint/gnulib/lib/fseeko.c || fp->__bufpos == fp->__bufread)) fp 93 maint/gnulib/lib/fseeko.c if ((fp->_Mode & 0x2000 /* _MWRITE */ ? fp->_Next == fp->_Buf : fp->_Next == fp->_Rend) fp 94 maint/gnulib/lib/fseeko.c && fp->_Rback == fp->_Back + sizeof (fp->_Back) fp 95 maint/gnulib/lib/fseeko.c && fp->_Rsave == NULL) fp 97 maint/gnulib/lib/fseeko.c if (fp->__bufp == fp->__buffer fp 98 maint/gnulib/lib/fseeko.c && fp->__get_limit == fp->__bufp fp 99 maint/gnulib/lib/fseeko.c && fp->__put_limit == fp->__bufp fp 100 maint/gnulib/lib/fseeko.c && !fp->__pushed_back) fp 102 maint/gnulib/lib/fseeko.c if (fp->rp == fp->buf fp 103 maint/gnulib/lib/fseeko.c && fp->wp == fp->buf) fp 117 maint/gnulib/lib/fseeko.c off_t pos = lseek (fileno (fp), offset, whence); fp 129 maint/gnulib/lib/fseeko.c fp->_flags &= ~_IO_EOF_SEEN; fp 130 maint/gnulib/lib/fseeko.c fp->_offset = pos; fp 154 maint/gnulib/lib/fseeko.c fp->_flags &= ~_IOEOF; fp 158 maint/gnulib/lib/fseeko.c fp->__offset = pos; fp 159 maint/gnulib/lib/fseeko.c fp->__eof = 0; fp 163 maint/gnulib/lib/fseeko.c return fseeko (fp, offset, whence); fp 30 maint/gnulib/lib/fseterr.c fseterr (FILE *fp) fp 37 maint/gnulib/lib/fseterr.c fp->_flags |= _IO_ERR_SEEN; fp 42 maint/gnulib/lib/fseterr.c fp->_flags |= _IOERR; fp 44 maint/gnulib/lib/fseterr.c fp->_flags |= _IOERR; fp 48 maint/gnulib/lib/fseterr.c fp->__modeflags |= __FLAG_ERROR; fp 50 maint/gnulib/lib/fseterr.c fp->_Mode |= 0x200 /* _MERR */; fp 52 maint/gnulib/lib/fseterr.c fp->__error = 1; fp 54 maint/gnulib/lib/fseterr.c if (fp->state != 0 /* CLOSED */) fp 55 maint/gnulib/lib/fseterr.c fp->state = 5 /* ERR */; fp 67 maint/gnulib/lib/fseterr.c fflush (fp); fp 68 maint/gnulib/lib/fseterr.c fd = fileno (fp); fp 73 maint/gnulib/lib/fseterr.c fputc ('\0', fp); /* This should set the error indicator. */ fp 74 maint/gnulib/lib/fseterr.c fflush (fp); /* Or this. */ fp 29 maint/gnulib/lib/fseterr.h # define fseterr(fp) __fseterr (fp) fp 37 maint/gnulib/lib/fseterr.h extern void fseterr (FILE *fp); fp 26 maint/gnulib/lib/ftell.c ftell (FILE *fp) fp 29 maint/gnulib/lib/ftell.c off_t offset = ftello (fp); fp 31 maint/gnulib/lib/ftello.c ftello (FILE *fp) fp 51 maint/gnulib/lib/ftello.c if (fp->_file < 0 || fp->_seek == NULL) fp 60 maint/gnulib/lib/ftello.c if (fp->_flags & __SOFF) fp 61 maint/gnulib/lib/ftello.c pos = fp->_offset; fp 64 maint/gnulib/lib/ftello.c pos = fp->_seek (fp->_cookie, 0, SEEK_CUR); fp 67 maint/gnulib/lib/ftello.c if (fp->_flags & __SOPT) fp 69 maint/gnulib/lib/ftello.c fp->_offset = pos; fp 70 maint/gnulib/lib/ftello.c fp->_flags |= __SOFF; fp 74 maint/gnulib/lib/ftello.c if (fp->_flags & __SRD) fp 77 maint/gnulib/lib/ftello.c if (fp->_ub._base != NULL) fp 82 maint/gnulib/lib/ftello.c pos = pos - fp->_ur - fp->_r; fp 86 maint/gnulib/lib/ftello.c pos = pos - fp->_r; fp 93 maint/gnulib/lib/ftello.c else if ((fp->_flags & __SWR) && fp->_p != NULL) fp 96 maint/gnulib/lib/ftello.c off_t buffered = fp->_p - fp->_bf._base; fp 114 maint/gnulib/lib/ftello.c if (lseek (fileno (fp), 0, SEEK_CUR) == -1) fp 127 maint/gnulib/lib/ftello.c ftello (fp); fp 130 maint/gnulib/lib/ftello.c pos = lseek (fileno (fp), (off_t) 0, SEEK_CUR); fp 141 maint/gnulib/lib/ftello.c if ((fp->_flags & __SL64) == 0) fp 148 maint/gnulib/lib/ftello.c fp->_flags |= __SL64; fp 149 maint/gnulib/lib/ftello.c fp->_seek64 = tmp->_seek64; fp 154 maint/gnulib/lib/ftello.c return ftello (fp); fp 33 maint/gnulib/lib/fwritable.c fwritable (FILE *fp) fp 40 maint/gnulib/lib/fwritable.c return (fp->_flags & _IO_NO_WRITES) == 0; fp 45 maint/gnulib/lib/fwritable.c return (fp->_flags & (_IORW | _IOWRT)) != 0; fp 47 maint/gnulib/lib/fwritable.c return (fp->_flags & _IOWRITE) != 0; fp 51 maint/gnulib/lib/fwritable.c return (fp->_Mode & 0x2 /* _MOPENW */) != 0; fp 53 maint/gnulib/lib/fwritable.c return fp->__mode.__write; fp 55 maint/gnulib/lib/fwritable.c int fd = fp->fd; fp 27 maint/gnulib/lib/fwriteerror.c do_fwriteerror (FILE *fp, bool ignore_ebadf) fp 32 maint/gnulib/lib/fwriteerror.c if (fp == stdout) fp 62 maint/gnulib/lib/fwriteerror.c if (ferror (fp)) fp 64 maint/gnulib/lib/fwriteerror.c if (fflush (fp)) fp 70 maint/gnulib/lib/fwriteerror.c if (fputc ('\0', fp) == EOF) fp 72 maint/gnulib/lib/fwriteerror.c if (fflush (fp)) fp 83 maint/gnulib/lib/fwriteerror.c if (fflush (fp)) fp 85 maint/gnulib/lib/fwriteerror.c if (fclose (fp) && errno != EBADF) fp 90 maint/gnulib/lib/fwriteerror.c if (fclose (fp)) fp 101 maint/gnulib/lib/fwriteerror.c fclose (fp); fp 113 maint/gnulib/lib/fwriteerror.c fwriteerror (FILE *fp) fp 115 maint/gnulib/lib/fwriteerror.c return do_fwriteerror (fp, false); fp 119 maint/gnulib/lib/fwriteerror.c fwriteerror_no_ebadf (FILE *fp) fp 121 maint/gnulib/lib/fwriteerror.c return do_fwriteerror (fp, true); fp 54 maint/gnulib/lib/fwriteerror.h extern int fwriteerror (FILE *fp); fp 58 maint/gnulib/lib/fwriteerror.h extern int fwriteerror_no_ebadf (FILE *fp); fp 29 maint/gnulib/lib/fwriting.c fwriting (FILE *fp) fp 36 maint/gnulib/lib/fwriting.c return (fp->_flags & (_IO_NO_READS | _IO_CURRENTLY_PUTTING)) != 0; fp 41 maint/gnulib/lib/fwriting.c return (fp->_flags & _IOWRT) != 0; fp 43 maint/gnulib/lib/fwriting.c return (fp->_flags & _IOWRITING) != 0; fp 47 maint/gnulib/lib/fwriting.c return (fp->__modeflags & __FLAG_WRITING) != 0; fp 49 maint/gnulib/lib/fwriting.c return ((fp->_Mode & 0x1 /* _MOPENR */) == 0 fp 50 maint/gnulib/lib/fwriting.c || (fp->_Mode & 0x2000 /* _MWRITE */) != 0); fp 52 maint/gnulib/lib/fwriting.c if (!fp->__mode.__read) fp 54 maint/gnulib/lib/fwriting.c if (!fp->__mode.__write) fp 57 maint/gnulib/lib/fwriting.c return (fp->__flags & _IO_CURRENTLY_PUTTING) != 0; fp 59 maint/gnulib/lib/fwriting.c return (fp->__buffer < fp->__put_limit /*|| fp->__bufp == fp->__get_limit ??*/); fp 62 maint/gnulib/lib/fwriting.c if (fp->state == 0 /* CLOSED */ || fp->state == 3 /* RD */) fp 64 maint/gnulib/lib/fwriting.c return (fp->state == 4 /* WR */ && (fp->bufl == 0 || fp->wp < fp->rp)); fp 39 maint/gnulib/lib/getdelim.c # define getc_maybe_unlocked(fp) getc(fp) fp 45 maint/gnulib/lib/getdelim.c # define getc_maybe_unlocked(fp) getc(fp) fp 47 maint/gnulib/lib/getdelim.c # define getc_maybe_unlocked(fp) getc_unlocked(fp) fp 67 maint/gnulib/lib/getdelim.c getdelim (char **lineptr, size_t *n, int delimiter, FILE *fp) fp 72 maint/gnulib/lib/getdelim.c if (lineptr == NULL || n == NULL || fp == NULL) fp 78 maint/gnulib/lib/getdelim.c flockfile (fp); fp 98 maint/gnulib/lib/getdelim.c i = getc_maybe_unlocked (fp); fp 144 maint/gnulib/lib/getdelim.c funlockfile (fp); /* doesn't set errno */ fp 41 maint/gnulib/lib/getopt.c # define flockfile(fp) _IO_flockfile (fp) fp 42 maint/gnulib/lib/getopt.c # define funlockfile(fp) _IO_funlockfile (fp) fp 50 maint/gnulib/lib/getopt.c # define flockfile(fp) /* nop */ fp 51 maint/gnulib/lib/getopt.c # define funlockfile(fp) /* nop */ fp 924 maint/gnulib/lib/git-merge-changelog.c entry_write (FILE *fp, struct entry *entry) fp 927 maint/gnulib/lib/git-merge-changelog.c fwrite (entry->string, 1, entry->length, fp); fp 944 maint/gnulib/lib/git-merge-changelog.c conflict_write (FILE *fp, struct conflict *c) fp 951 maint/gnulib/lib/git-merge-changelog.c fputs ("<<<<<<<\n", fp); fp 953 maint/gnulib/lib/git-merge-changelog.c entry_write (fp, c->old_entries[i]); fp 954 maint/gnulib/lib/git-merge-changelog.c fputs ("=======\n", fp); fp 956 maint/gnulib/lib/git-merge-changelog.c entry_write (fp, c->modified_entries[i]); fp 957 maint/gnulib/lib/git-merge-changelog.c fputs (">>>>>>>\n", fp); fp 1648 maint/gnulib/lib/git-merge-changelog.c FILE *fp = fopen (destination_file_name, "w"); fp 1649 maint/gnulib/lib/git-merge-changelog.c if (fp == NULL) fp 1660 maint/gnulib/lib/git-merge-changelog.c conflict_write (fp, (struct conflict *) gl_list_get_at (result_conflicts, i)); fp 1668 maint/gnulib/lib/git-merge-changelog.c entry_write (fp, (struct entry *) elt); fp 1672 maint/gnulib/lib/git-merge-changelog.c if (fwriteerror (fp)) fp 577 maint/gnulib/lib/javacomp.c FILE *fp; fp 580 maint/gnulib/lib/javacomp.c fp = fopen_temp (file_name, "we", false); fp 581 maint/gnulib/lib/javacomp.c if (fp == NULL) fp 587 maint/gnulib/lib/javacomp.c fputs (contents, fp); fp 588 maint/gnulib/lib/javacomp.c if (fwriteerror_temp (fp)) fp 641 maint/gnulib/lib/javacomp.c FILE *fp; fp 673 maint/gnulib/lib/javacomp.c fp = fdopen (fd[0], "r"); fp 674 maint/gnulib/lib/javacomp.c if (fp == NULL) fp 678 maint/gnulib/lib/javacomp.c linelen = getline (&line, &linesize, fp); fp 681 maint/gnulib/lib/javacomp.c fclose (fp); fp 688 maint/gnulib/lib/javacomp.c fclose (fp); fp 723 maint/gnulib/lib/javacomp.c FILE *fp; fp 755 maint/gnulib/lib/javacomp.c fp = fdopen (fd[0], "r"); fp 756 maint/gnulib/lib/javacomp.c if (fp == NULL) fp 760 maint/gnulib/lib/javacomp.c linelen = getline (&line, &linesize, fp); fp 763 maint/gnulib/lib/javacomp.c fclose (fp); fp 773 maint/gnulib/lib/javacomp.c fclose (fp); fp 61 maint/gnulib/lib/javaversion.c FILE *fp; fp 75 maint/gnulib/lib/javaversion.c fp = fdopen (fd[0], "r"); fp 76 maint/gnulib/lib/javaversion.c if (fp == NULL) fp 83 maint/gnulib/lib/javaversion.c linelen = getline (&line, &linesize, fp); fp 92 maint/gnulib/lib/javaversion.c fclose (fp); fp 67 maint/gnulib/lib/mbfile.h FILE *fp; fp 97 maint/gnulib/lib/mbfile.h int c = getc (mbf->fp); fp 163 maint/gnulib/lib/mbfile.h int c = getc (mbf->fp); fp 231 maint/gnulib/lib/mbfile.h ((mbf).fp = (stream), \ fp 128 maint/gnulib/lib/mountlist.c # define setmntent(fp,mode) fopen (fp, mode "e") fp 131 maint/gnulib/lib/mountlist.c # define endmntent(fp) fclose (fp) fp 466 maint/gnulib/lib/mountlist.c FILE *fp; fp 474 maint/gnulib/lib/mountlist.c fp = fopen (mountinfo, "re"); fp 475 maint/gnulib/lib/mountlist.c if (fp != NULL) fp 480 maint/gnulib/lib/mountlist.c while (getline (&line, &buf_size, fp) != -1) fp 551 maint/gnulib/lib/mountlist.c if (ferror (fp)) fp 554 maint/gnulib/lib/mountlist.c fclose (fp); fp 559 maint/gnulib/lib/mountlist.c if (fclose (fp) == EOF) fp 568 maint/gnulib/lib/mountlist.c fp = setmntent (table, "r"); fp 569 maint/gnulib/lib/mountlist.c if (fp == NULL) fp 572 maint/gnulib/lib/mountlist.c while ((mnt = getmntent (fp))) fp 591 maint/gnulib/lib/mountlist.c if (endmntent (fp) == 0) fp 806 maint/gnulib/lib/mountlist.c FILE *fp; fp 808 maint/gnulib/lib/mountlist.c fp = fopen (table, "re"); fp 809 maint/gnulib/lib/mountlist.c if (fp == NULL) fp 812 maint/gnulib/lib/mountlist.c while (fread (&mnt, sizeof mnt, 1, fp) > 0) fp 841 maint/gnulib/lib/mountlist.c if (ferror (fp)) fp 845 maint/gnulib/lib/mountlist.c fclose (fp); fp 850 maint/gnulib/lib/mountlist.c if (fclose (fp) == EOF) fp 859 maint/gnulib/lib/mountlist.c FILE *fp; fp 866 maint/gnulib/lib/mountlist.c fp = fopen (table, "re"); fp 867 maint/gnulib/lib/mountlist.c if (fp == NULL) fp 871 maint/gnulib/lib/mountlist.c while ((ret = getextmntent (fp, &mnt, 1)) == 0) fp 888 maint/gnulib/lib/mountlist.c ret = fclose (fp) == EOF ? errno : 0 < ret ? 0 : -1; fp 904 maint/gnulib/lib/mountlist.c FILE *fp; fp 938 maint/gnulib/lib/mountlist.c fp = fopen (table, "re"); fp 939 maint/gnulib/lib/mountlist.c if (fp == NULL) fp 943 maint/gnulib/lib/mountlist.c while ((ret = getmntent (fp, &mnt)) == 0) fp 960 maint/gnulib/lib/mountlist.c ret = fclose (fp) == EOF ? errno : 0 < ret ? 0 : -1; fp 290 maint/gnulib/lib/nstrftime.c fwrite_lowcase (FILE *fp, const CHAR_T *src, size_t len) fp 294 maint/gnulib/lib/nstrftime.c fputc (TOLOWER ((UCHAR_T) *src, loc), fp); fp 300 maint/gnulib/lib/nstrftime.c fwrite_uppcase (FILE *fp, const CHAR_T *src, size_t len) fp 304 maint/gnulib/lib/nstrftime.c fputc (TOUPPER ((UCHAR_T) *src, loc), fp); fp 41 maint/gnulib/lib/popen-safer.c FILE *fp; fp 47 maint/gnulib/lib/popen-safer.c fp = popen_safer (cmd, mode); fp 57 maint/gnulib/lib/popen-safer.c fp = popen (cmd, mode); fp 59 maint/gnulib/lib/popen-safer.c return fp; fp 411 maint/gnulib/lib/relocatable.c FILE *fp; fp 414 maint/gnulib/lib/relocatable.c fp = fopen ("/proc/self/maps", "r"); fp 415 maint/gnulib/lib/relocatable.c if (fp) fp 423 maint/gnulib/lib/relocatable.c if (fscanf (fp, "%lx-%lx", &start, &end) != 2) fp 428 maint/gnulib/lib/relocatable.c while (c = getc (fp), c != EOF && c != '\n' && c != '/') fp 435 maint/gnulib/lib/relocatable.c ungetc (c, fp); fp 437 maint/gnulib/lib/relocatable.c len = getline (&shared_library_fullname, &size, fp); fp 447 maint/gnulib/lib/relocatable.c while (c = getc (fp), c != EOF && c != '\n') fp 450 maint/gnulib/lib/relocatable.c fclose (fp); fp 62 maint/gnulib/lib/stdio-impl.h } *) fp) fp 101 maint/gnulib/lib/stdio-impl.h } *) fp) fp 103 maint/gnulib/lib/stdio-impl.h # define fp_ fp fp 115 maint/gnulib/lib/stdio-impl.h # define fp_ub ((struct __sfileext *) fp->_ext._base)->_ub fp 127 maint/gnulib/lib/stdio-impl.h # define HASUB(fp) (fp_ub._base != NULL) fp 171 maint/gnulib/lib/stdio-impl.h } *) fp) fp 173 maint/gnulib/lib/stdio-impl.h # define fp_ ((struct _iobuf *) fp) fp 175 maint/gnulib/lib/stdio-impl.h # define fp_ fp fp 202 maint/gnulib/lib/stdio-impl.h # define fp_ ((struct _gl_real_FILE *) fp) fp 449 maint/gnulib/lib/stdio.in.h (FILE *restrict fp, const char *restrict format, ...) fp 454 maint/gnulib/lib/stdio.in.h (FILE *restrict fp, const char *restrict format, ...) fp 459 maint/gnulib/lib/stdio.in.h (FILE *restrict fp, const char *restrict format, ...)); fp 462 maint/gnulib/lib/stdio.in.h (FILE *restrict fp, const char *restrict format, ...)); fp 657 maint/gnulib/lib/stdio.in.h _GL_FUNCDECL_RPL (fseek, int, (FILE *fp, long offset, int whence) fp 659 maint/gnulib/lib/stdio.in.h _GL_CXXALIAS_RPL (fseek, int, (FILE *fp, long offset, int whence)); fp 661 maint/gnulib/lib/stdio.in.h _GL_CXXALIAS_SYS (fseek, int, (FILE *fp, long offset, int whence)); fp 680 maint/gnulib/lib/stdio.in.h _GL_FUNCDECL_RPL (fseeko, int, (FILE *fp, off_t offset, int whence) fp 682 maint/gnulib/lib/stdio.in.h _GL_CXXALIAS_RPL (fseeko, int, (FILE *fp, off_t offset, int whence)); fp 685 maint/gnulib/lib/stdio.in.h _GL_FUNCDECL_SYS (fseeko, int, (FILE *fp, off_t offset, int whence) fp 688 maint/gnulib/lib/stdio.in.h _GL_CXXALIAS_SYS (fseeko, int, (FILE *fp, off_t offset, int whence)); fp 723 maint/gnulib/lib/stdio.in.h _GL_FUNCDECL_RPL (ftell, long, (FILE *fp) _GL_ARG_NONNULL ((1))); fp 724 maint/gnulib/lib/stdio.in.h _GL_CXXALIAS_RPL (ftell, long, (FILE *fp)); fp 726 maint/gnulib/lib/stdio.in.h _GL_CXXALIAS_SYS (ftell, long, (FILE *fp)); fp 743 maint/gnulib/lib/stdio.in.h _GL_FUNCDECL_RPL (ftello, off_t, (FILE *fp) _GL_ARG_NONNULL ((1))); fp 744 maint/gnulib/lib/stdio.in.h _GL_CXXALIAS_RPL (ftello, off_t, (FILE *fp)); fp 747 maint/gnulib/lib/stdio.in.h _GL_FUNCDECL_SYS (ftello, off_t, (FILE *fp) _GL_ARG_NONNULL ((1))); fp 749 maint/gnulib/lib/stdio.in.h _GL_CXXALIAS_SYS (ftello, off_t, (FILE *fp)); fp 1522 maint/gnulib/lib/stdio.in.h (FILE *restrict fp, fp 1528 maint/gnulib/lib/stdio.in.h (FILE *restrict fp, fp 1534 maint/gnulib/lib/stdio.in.h (FILE *restrict fp, fp 1541 maint/gnulib/lib/stdio.in.h (FILE *restrict fp, fp 240 maint/gnulib/lib/textstyle.in.h file_ostream_create (FILE *fp) fp 242 maint/gnulib/lib/textstyle.in.h return fp; fp 291 maint/gnulib/lib/timevar.c timevar_print (FILE *fp) fp 298 maint/gnulib/lib/timevar.c if (fp == 0) fp 299 maint/gnulib/lib/timevar.c fp = stderr; fp 315 maint/gnulib/lib/timevar.c fprintf (fp, "%-22s\n", fp 317 maint/gnulib/lib/timevar.c fprintf (fp, " %-22s %-13s %-13s %-16s\n", fp 340 maint/gnulib/lib/timevar.c fprintf (fp, " %-22s", tv->name); fp 341 maint/gnulib/lib/timevar.c fprintf (fp, "%8.3f (%2d%%)", tv->elapsed.user * 1e-9, usr); fp 342 maint/gnulib/lib/timevar.c fprintf (fp, "%8.3f (%2d%%)", tv->elapsed.sys * 1e-9, sys); fp 343 maint/gnulib/lib/timevar.c fprintf (fp, "%11.6f (%2d%%)\n", tv->elapsed.wall * 1e-9, wall); fp 347 maint/gnulib/lib/timevar.c fprintf (fp, " %-22s", timevars[tv_total].name); fp 348 maint/gnulib/lib/timevar.c fprintf (fp, "%8.3f ", total->user * 1e-9); fp 349 maint/gnulib/lib/timevar.c fprintf (fp, "%8.3f ", total->sys * 1e-9); fp 350 maint/gnulib/lib/timevar.c fprintf (fp, "%11.6f\n", total->wall * 1e-9); fp 127 maint/gnulib/lib/timevar.h void timevar_print (FILE *fp); fp 37 maint/gnulib/lib/tmpfile-safer.c FILE *fp = tmpfile (); fp 39 maint/gnulib/lib/tmpfile-safer.c if (fp) fp 41 maint/gnulib/lib/tmpfile-safer.c int fd = fileno (fp); fp 50 maint/gnulib/lib/tmpfile-safer.c fclose (fp); fp 57 maint/gnulib/lib/tmpfile-safer.c if (fclose (fp) != 0 fp 58 maint/gnulib/lib/tmpfile-safer.c || ! (fp = fdopen (f, O_BINARY ? "wb+" : "w+"))) fp 68 maint/gnulib/lib/tmpfile-safer.c return fp; fp 129 maint/gnulib/lib/tmpfile.c FILE *fp = _fdopen (fd, "w+b"); fp 131 maint/gnulib/lib/tmpfile.c if (fp != NULL) fp 132 maint/gnulib/lib/tmpfile.c return fp; fp 161 maint/gnulib/lib/tmpfile.c FILE *fp; fp 177 maint/gnulib/lib/tmpfile.c if ((fp = fdopen (fd, "w+b")) == NULL) fp 184 maint/gnulib/lib/tmpfile.c return fp; fp 44 maint/gnulib/lib/unistdio/ulc-fprintf.c ulc_fprintf (FILE *fp, const char *format, ...) fp 59 maint/gnulib/lib/unistdio/ulc-fprintf.c fseterr (fp); fp 63 maint/gnulib/lib/unistdio/ulc-fprintf.c if (fwrite (output, 1, len, fp) < len) fp 77 maint/gnulib/lib/unistdio/ulc-fprintf.c fseterr (fp); fp 44 maint/gnulib/lib/unistdio/ulc-vfprintf.c ulc_vfprintf (FILE *fp, const char *format, va_list args) fp 56 maint/gnulib/lib/unistdio/ulc-vfprintf.c fseterr (fp); fp 60 maint/gnulib/lib/unistdio/ulc-vfprintf.c if (fwrite (output, 1, len, fp) < len) fp 74 maint/gnulib/lib/unistdio/ulc-vfprintf.c fseterr (fp); fp 36 maint/gnulib/lib/vfprintf.c vfprintf (FILE *fp, const char *format, va_list args) fp 48 maint/gnulib/lib/vfprintf.c fseterr (fp); fp 52 maint/gnulib/lib/vfprintf.c if (fwrite (output, 1, len, fp) < len) fp 65 maint/gnulib/lib/vfprintf.c fseterr (fp); fp 29 maint/gnulib/lib/xfreopen.c xfreopen (char const *filename, char const *mode, FILE *fp) fp 31 maint/gnulib/lib/xfreopen.c if (!freopen (filename, mode, fp)) fp 34 maint/gnulib/lib/xfreopen.c : (fp == stdin ? _("stdin") fp 35 maint/gnulib/lib/xfreopen.c : (fp == stdout ? _("stdout") fp 36 maint/gnulib/lib/xfreopen.c : (fp == stderr ? _("stderr") fp 25 maint/gnulib/lib/xfreopen.h void xfreopen (char const *filename, char const *mode, FILE *fp); fp 34 maint/gnulib/tests/test-argv-iter.c FILE *fp = tmpfile (); fp 35 maint/gnulib/tests/test-argv-iter.c ASSERT (fp); fp 39 maint/gnulib/tests/test-argv-iter.c ASSERT (fwrite (*argv, len, 1, fp) == 1); fp 42 maint/gnulib/tests/test-argv-iter.c ASSERT (fflush (fp) == 0); fp 43 maint/gnulib/tests/test-argv-iter.c rewind (fp); fp 44 maint/gnulib/tests/test-argv-iter.c return fp; fp 66 maint/gnulib/tests/test-argv-iter.c FILE *fp; fp 72 maint/gnulib/tests/test-argv-iter.c ASSERT ((fp = write_nul_delimited_argv (av[i])) != NULL); fp 73 maint/gnulib/tests/test-argv-iter.c ai = argv_iter_init_stream (fp); fp 77 maint/gnulib/tests/test-argv-iter.c fp = NULL; fp 101 maint/gnulib/tests/test-argv-iter.c if (fp) fp 102 maint/gnulib/tests/test-argv-iter.c ASSERT (fclose (fp) == 0); fp 31 maint/gnulib/tests/test-digest.h FILE *fp = fopen (TESTFILE, "wb"); fp 32 maint/gnulib/tests/test-digest.h if (fp == NULL) fp 44 maint/gnulib/tests/test-digest.h fputs ("ABCD", fp); fp 48 maint/gnulib/tests/test-digest.h fputs ("The quick brown fox jumps over the lazy dog.\n", fp); fp 52 maint/gnulib/tests/test-digest.h fputs ("ABCD", fp); fp 64 maint/gnulib/tests/test-digest.h fwrite (c, 1, 2, fp); fp 69 maint/gnulib/tests/test-digest.h if (ferror (fp)) fp 74 maint/gnulib/tests/test-digest.h fclose (fp); fp 80 maint/gnulib/tests/test-digest.h FILE *fp; fp 91 maint/gnulib/tests/test-digest.h fp = fopen (TESTFILE, "rb"); fp 92 maint/gnulib/tests/test-digest.h if (fp == NULL) fp 103 maint/gnulib/tests/test-digest.h if (fread (header, 1, sizeof (header), fp) != sizeof (header)) fp 112 maint/gnulib/tests/test-digest.h ret = streamfunc (fp, digest); fp 133 maint/gnulib/tests/test-digest.h if (getc (fp) != EOF) fp 138 maint/gnulib/tests/test-digest.h fclose (fp); fp 175 maint/gnulib/tests/test-execute-main.c FILE *fp = fopen (BASE ".tmp", "w"); fp 176 maint/gnulib/tests/test-execute-main.c fputs ("Foo", fp); fp 177 maint/gnulib/tests/test-execute-main.c ASSERT (fclose (fp) == 0); fp 179 maint/gnulib/tests/test-execute-main.c fp = freopen (BASE ".tmp", "r", stdin); fp 180 maint/gnulib/tests/test-execute-main.c ASSERT (fp != NULL); fp 194 maint/gnulib/tests/test-execute-main.c FILE *fp = fopen (BASE ".tmp", "w"); fp 195 maint/gnulib/tests/test-execute-main.c fputs ("Foo", fp); fp 196 maint/gnulib/tests/test-execute-main.c ASSERT (fclose (fp) == 0); fp 198 maint/gnulib/tests/test-execute-main.c fp = freopen (BASE ".tmp", "r", stdin); fp 199 maint/gnulib/tests/test-execute-main.c ASSERT (fp != NULL); fp 213 maint/gnulib/tests/test-execute-main.c FILE *fp = freopen (BASE ".tmp", "w", stdout); fp 214 maint/gnulib/tests/test-execute-main.c ASSERT (fp != NULL); fp 233 maint/gnulib/tests/test-execute-main.c FILE *fp = freopen (DEV_NULL, "w", stdout); fp 234 maint/gnulib/tests/test-execute-main.c ASSERT (fp != NULL); fp 245 maint/gnulib/tests/test-execute-main.c FILE *fp = freopen (BASE ".tmp", "w", stdout); fp 246 maint/gnulib/tests/test-execute-main.c ASSERT (fp != NULL); fp 265 maint/gnulib/tests/test-execute-main.c FILE *fp = freopen (BASE ".tmp", "w", stderr); fp 266 maint/gnulib/tests/test-execute-main.c ASSERT (fp != NULL); fp 285 maint/gnulib/tests/test-execute-main.c FILE *fp = freopen (DEV_NULL, "w", stderr); fp 286 maint/gnulib/tests/test-execute-main.c ASSERT (fp != NULL); fp 297 maint/gnulib/tests/test-execute-main.c FILE *fp = freopen (BASE ".tmp", "w", stderr); fp 298 maint/gnulib/tests/test-execute-main.c ASSERT (fp != NULL); fp 348 maint/gnulib/tests/test-execute-main.c FILE *fp = fopen (BASE ".tmp", "w"); fp 349 maint/gnulib/tests/test-execute-main.c fputs ("Foobar", fp); fp 350 maint/gnulib/tests/test-execute-main.c ASSERT (fclose (fp) == 0); fp 405 maint/gnulib/tests/test-execute-main.c FILE *fp = fopen (BASE ".tmp", "w"); fp 406 maint/gnulib/tests/test-execute-main.c fputs ("Foo", fp); fp 407 maint/gnulib/tests/test-execute-main.c ASSERT (fclose (fp) == 0); fp 47 maint/gnulib/tests/test-execute-script.c FILE *fp = freopen (DATA_FILENAME, "w", stdout); fp 48 maint/gnulib/tests/test-execute-script.c ASSERT (fp != NULL); fp 70 maint/gnulib/tests/test-execute-script.c ASSERT (fclose (fp) == 0); fp 84 maint/gnulib/tests/test-execute-script.c ASSERT (fclose (fp) == 0); fp 35 maint/gnulib/tests/test-fbufmode.c FILE *fp; fp 39 maint/gnulib/tests/test-fbufmode.c fp = fopen (TESTFILE, "r"); fp 44 maint/gnulib/tests/test-fbufmode.c ASSERT (setvbuf (fp, NULL, _IONBF, 0) == 0); fp 45 maint/gnulib/tests/test-fbufmode.c ASSERT (fbufmode (fp) == _IONBF); fp 49 maint/gnulib/tests/test-fbufmode.c ASSERT (setvbuf (fp, buf, _IOLBF, 5) == 0); fp 51 maint/gnulib/tests/test-fbufmode.c ASSERT (fbufmode (fp) == _IOLBF fp 52 maint/gnulib/tests/test-fbufmode.c || fbufmode (fp) == _IOFBF); fp 56 maint/gnulib/tests/test-fbufmode.c ASSERT (setvbuf (fp, buf, _IOFBF, 5) == 0); fp 57 maint/gnulib/tests/test-fbufmode.c ASSERT (fbufmode (fp) == _IOFBF); fp 64 maint/gnulib/tests/test-fbufmode.c fclose (fp); fp 76 maint/gnulib/tests/test-fbufmode.c FILE *fp; fp 78 maint/gnulib/tests/test-fbufmode.c fp = fopen (TESTFILE, "w"); fp 79 maint/gnulib/tests/test-fbufmode.c if (fp == NULL) fp 81 maint/gnulib/tests/test-fbufmode.c if (fwrite ("foobarsh", 1, 8, fp) < 8) fp 83 maint/gnulib/tests/test-fbufmode.c if (fclose (fp)) fp 79 maint/gnulib/tests/test-fclose.c FILE *fp = fdopen (fd, "w+"); fp 80 maint/gnulib/tests/test-fclose.c ASSERT (fp != NULL); fp 83 maint/gnulib/tests/test-fclose.c ASSERT (fclose (fp) == EOF); fp 90 maint/gnulib/tests/test-fclose.c FILE *fp = fdopen (-1, "r"); fp 91 maint/gnulib/tests/test-fclose.c if (fp != NULL) fp 94 maint/gnulib/tests/test-fclose.c ASSERT (fclose (fp) == EOF); fp 99 maint/gnulib/tests/test-fclose.c FILE *fp; fp 101 maint/gnulib/tests/test-fclose.c fp = fdopen (99, "r"); fp 102 maint/gnulib/tests/test-fclose.c if (fp != NULL) fp 105 maint/gnulib/tests/test-fclose.c ASSERT (fclose (fp) == EOF); fp 152 maint/gnulib/tests/test-fflush.c FILE *fp = fopen ("test-fflush.txt", "w"); fp 153 maint/gnulib/tests/test-fflush.c ASSERT (fp != NULL); fp 154 maint/gnulib/tests/test-fflush.c fputc ('x', fp); fp 155 maint/gnulib/tests/test-fflush.c ASSERT (close (fileno (fp)) == 0); fp 157 maint/gnulib/tests/test-fflush.c ASSERT (fflush (fp) == EOF); fp 159 maint/gnulib/tests/test-fflush.c fclose (fp); fp 165 maint/gnulib/tests/test-fflush.c FILE *fp = fdopen (-1, "w"); fp 166 maint/gnulib/tests/test-fflush.c if (fp != NULL) fp 168 maint/gnulib/tests/test-fflush.c fputc ('x', fp); fp 170 maint/gnulib/tests/test-fflush.c ASSERT (fflush (fp) == EOF); fp 175 maint/gnulib/tests/test-fflush.c FILE *fp; fp 177 maint/gnulib/tests/test-fflush.c fp = fdopen (99, "w"); fp 178 maint/gnulib/tests/test-fflush.c if (fp != NULL) fp 180 maint/gnulib/tests/test-fflush.c fputc ('x', fp); fp 182 maint/gnulib/tests/test-fflush.c ASSERT (fflush (fp) == EOF); fp 58 maint/gnulib/tests/test-fgetc.c FILE *fp = fopen (filename, "r"); fp 59 maint/gnulib/tests/test-fgetc.c ASSERT (fp != NULL); fp 60 maint/gnulib/tests/test-fgetc.c ASSERT (close (fileno (fp)) == 0); fp 62 maint/gnulib/tests/test-fgetc.c ASSERT (fgetc (fp) == EOF); fp 64 maint/gnulib/tests/test-fgetc.c ASSERT (ferror (fp)); fp 65 maint/gnulib/tests/test-fgetc.c fclose (fp); fp 71 maint/gnulib/tests/test-fgetc.c FILE *fp = fdopen (-1, "r"); fp 72 maint/gnulib/tests/test-fgetc.c if (fp != NULL) fp 75 maint/gnulib/tests/test-fgetc.c ASSERT (fgetc (fp) == EOF); fp 77 maint/gnulib/tests/test-fgetc.c ASSERT (ferror (fp)); fp 78 maint/gnulib/tests/test-fgetc.c fclose (fp); fp 82 maint/gnulib/tests/test-fgetc.c FILE *fp; fp 84 maint/gnulib/tests/test-fgetc.c fp = fdopen (99, "r"); fp 85 maint/gnulib/tests/test-fgetc.c if (fp != NULL) fp 88 maint/gnulib/tests/test-fgetc.c ASSERT (fgetc (fp) == EOF); fp 90 maint/gnulib/tests/test-fgetc.c ASSERT (ferror (fp)); fp 91 maint/gnulib/tests/test-fgetc.c fclose (fp); fp 39 maint/gnulib/tests/test-fpurge.c FILE *fp; fp 42 maint/gnulib/tests/test-fpurge.c fp = fopen (TESTFILE, "w"); fp 43 maint/gnulib/tests/test-fpurge.c if (fp == NULL) fp 45 maint/gnulib/tests/test-fpurge.c if (fwrite ("foobarsh", 1, 8, fp) < 8) fp 47 maint/gnulib/tests/test-fpurge.c if (fclose (fp)) fp 53 maint/gnulib/tests/test-fpurge.c fp = fopen (TESTFILE, "r+"); fp 54 maint/gnulib/tests/test-fpurge.c if (fp == NULL) fp 56 maint/gnulib/tests/test-fpurge.c if (fseek (fp, 3, SEEK_CUR)) fp 58 maint/gnulib/tests/test-fpurge.c if (fwrite ("g", 1, 1, fp) < 1) fp 60 maint/gnulib/tests/test-fpurge.c if (fflush (fp)) fp 62 maint/gnulib/tests/test-fpurge.c if (fwrite ("bz", 1, 2, fp) < 2) fp 65 maint/gnulib/tests/test-fpurge.c ASSERT (fpurge (fp) == 0); fp 69 maint/gnulib/tests/test-fpurge.c ASSERT (ftell (fp) == 4); fp 70 maint/gnulib/tests/test-fpurge.c ASSERT (fclose (fp) == 0); fp 73 maint/gnulib/tests/test-fpurge.c fp = fopen (TESTFILE, "r"); fp 74 maint/gnulib/tests/test-fpurge.c if (fp == NULL) fp 80 maint/gnulib/tests/test-fpurge.c if (fread (buf, 1, 7, fp) < 7) fp 86 maint/gnulib/tests/test-fpurge.c ASSERT (ftell (fp) == 7); fp 87 maint/gnulib/tests/test-fpurge.c ASSERT (fpurge (fp) == 0); fp 91 maint/gnulib/tests/test-fpurge.c ASSERT (ftell (fp) == 8); fp 92 maint/gnulib/tests/test-fpurge.c ASSERT (getc (fp) == EOF); fp 93 maint/gnulib/tests/test-fpurge.c ASSERT (fclose (fp) == 0); fp 98 maint/gnulib/tests/test-fpurge.c fp = fopen (TESTFILE, "r+"); fp 99 maint/gnulib/tests/test-fpurge.c if (fp == NULL) fp 101 maint/gnulib/tests/test-fpurge.c if (fseek (fp, -1, SEEK_END)) fp 103 maint/gnulib/tests/test-fpurge.c ASSERT (getc (fp) == 'h'); fp 104 maint/gnulib/tests/test-fpurge.c ASSERT (getc (fp) == EOF); fp 106 maint/gnulib/tests/test-fpurge.c ASSERT (ftell (fp) == 8); fp 107 maint/gnulib/tests/test-fpurge.c ASSERT (fpurge (fp) == 0); fp 109 maint/gnulib/tests/test-fpurge.c ASSERT (ftell (fp) == 8); fp 110 maint/gnulib/tests/test-fpurge.c ASSERT (putc ('!', fp) == '!'); fp 112 maint/gnulib/tests/test-fpurge.c ASSERT (ftell (fp) == 9); fp 113 maint/gnulib/tests/test-fpurge.c ASSERT (fclose (fp) == 0); fp 114 maint/gnulib/tests/test-fpurge.c fp = fopen (TESTFILE, "r"); fp 115 maint/gnulib/tests/test-fpurge.c if (fp == NULL) fp 119 maint/gnulib/tests/test-fpurge.c ASSERT (fread (buf, 1, 10, fp) == 9); fp 122 maint/gnulib/tests/test-fpurge.c ASSERT (fclose (fp) == 0); fp 49 maint/gnulib/tests/test-fputc.c FILE *fp = fopen (filename, "w"); fp 50 maint/gnulib/tests/test-fputc.c ASSERT (fp != NULL); fp 51 maint/gnulib/tests/test-fputc.c setvbuf (fp, NULL, _IONBF, 0); fp 52 maint/gnulib/tests/test-fputc.c ASSERT (close (fileno (fp)) == 0); fp 54 maint/gnulib/tests/test-fputc.c ASSERT (fputc ('x', fp) == EOF); fp 56 maint/gnulib/tests/test-fputc.c ASSERT (ferror (fp)); fp 57 maint/gnulib/tests/test-fputc.c fclose (fp); fp 63 maint/gnulib/tests/test-fputc.c FILE *fp = fdopen (-1, "w"); fp 64 maint/gnulib/tests/test-fputc.c if (fp != NULL) fp 66 maint/gnulib/tests/test-fputc.c setvbuf (fp, NULL, _IONBF, 0); fp 68 maint/gnulib/tests/test-fputc.c ASSERT (fputc ('x', fp) == EOF); fp 70 maint/gnulib/tests/test-fputc.c ASSERT (ferror (fp)); fp 71 maint/gnulib/tests/test-fputc.c fclose (fp); fp 75 maint/gnulib/tests/test-fputc.c FILE *fp; fp 77 maint/gnulib/tests/test-fputc.c fp = fdopen (99, "w"); fp 78 maint/gnulib/tests/test-fputc.c if (fp != NULL) fp 80 maint/gnulib/tests/test-fputc.c setvbuf (fp, NULL, _IONBF, 0); fp 82 maint/gnulib/tests/test-fputc.c ASSERT (fputc ('x', fp) == EOF); fp 84 maint/gnulib/tests/test-fputc.c ASSERT (ferror (fp)); fp 85 maint/gnulib/tests/test-fputc.c fclose (fp); fp 58 maint/gnulib/tests/test-fread.c FILE *fp = fopen (filename, "r"); fp 60 maint/gnulib/tests/test-fread.c ASSERT (fp != NULL); fp 61 maint/gnulib/tests/test-fread.c ASSERT (close (fileno (fp)) == 0); fp 63 maint/gnulib/tests/test-fread.c ASSERT (fread (buf, 1, sizeof (buf), fp) == 0); fp 65 maint/gnulib/tests/test-fread.c ASSERT (ferror (fp)); fp 66 maint/gnulib/tests/test-fread.c fclose (fp); fp 72 maint/gnulib/tests/test-fread.c FILE *fp = fdopen (-1, "r"); fp 73 maint/gnulib/tests/test-fread.c if (fp != NULL) fp 77 maint/gnulib/tests/test-fread.c ASSERT (fread (buf, 1, 1, fp) == 0); fp 79 maint/gnulib/tests/test-fread.c ASSERT (ferror (fp)); fp 80 maint/gnulib/tests/test-fread.c fclose (fp); fp 84 maint/gnulib/tests/test-fread.c FILE *fp; fp 86 maint/gnulib/tests/test-fread.c fp = fdopen (99, "r"); fp 87 maint/gnulib/tests/test-fread.c if (fp != NULL) fp 91 maint/gnulib/tests/test-fread.c ASSERT (fread (buf, 1, 1, fp) == 0); fp 93 maint/gnulib/tests/test-fread.c ASSERT (ferror (fp)); fp 94 maint/gnulib/tests/test-fread.c fclose (fp); fp 35 maint/gnulib/tests/test-freadable.c FILE *fp; fp 38 maint/gnulib/tests/test-freadable.c fp = fopen (TESTFILE, "w"); fp 39 maint/gnulib/tests/test-freadable.c if (fp == NULL) fp 41 maint/gnulib/tests/test-freadable.c ASSERT (!freadable (fp)); fp 42 maint/gnulib/tests/test-freadable.c if (fwrite ("foobarsh", 1, 8, fp) < 8) fp 44 maint/gnulib/tests/test-freadable.c ASSERT (!freadable (fp)); fp 45 maint/gnulib/tests/test-freadable.c if (fclose (fp)) fp 49 maint/gnulib/tests/test-freadable.c fp = fopen (TESTFILE, "r"); fp 50 maint/gnulib/tests/test-freadable.c if (fp == NULL) fp 52 maint/gnulib/tests/test-freadable.c ASSERT (freadable (fp)); fp 53 maint/gnulib/tests/test-freadable.c if (fgetc (fp) != 'f') fp 55 maint/gnulib/tests/test-freadable.c ASSERT (freadable (fp)); fp 56 maint/gnulib/tests/test-freadable.c if (fseek (fp, 2, SEEK_CUR)) fp 58 maint/gnulib/tests/test-freadable.c ASSERT (freadable (fp)); fp 59 maint/gnulib/tests/test-freadable.c if (fgetc (fp) != 'b') fp 61 maint/gnulib/tests/test-freadable.c ASSERT (freadable (fp)); fp 62 maint/gnulib/tests/test-freadable.c fflush (fp); fp 63 maint/gnulib/tests/test-freadable.c ASSERT (freadable (fp)); fp 64 maint/gnulib/tests/test-freadable.c if (fgetc (fp) != 'a') fp 66 maint/gnulib/tests/test-freadable.c ASSERT (freadable (fp)); fp 67 maint/gnulib/tests/test-freadable.c if (fseek (fp, 0, SEEK_END)) fp 69 maint/gnulib/tests/test-freadable.c ASSERT (freadable (fp)); fp 70 maint/gnulib/tests/test-freadable.c if (fclose (fp)) fp 74 maint/gnulib/tests/test-freadable.c fp = fopen (TESTFILE, "r+"); fp 75 maint/gnulib/tests/test-freadable.c if (fp == NULL) fp 77 maint/gnulib/tests/test-freadable.c ASSERT (freadable (fp)); fp 78 maint/gnulib/tests/test-freadable.c if (fgetc (fp) != 'f') fp 80 maint/gnulib/tests/test-freadable.c ASSERT (freadable (fp)); fp 81 maint/gnulib/tests/test-freadable.c if (fseek (fp, 2, SEEK_CUR)) fp 83 maint/gnulib/tests/test-freadable.c ASSERT (freadable (fp)); fp 84 maint/gnulib/tests/test-freadable.c if (fgetc (fp) != 'b') fp 86 maint/gnulib/tests/test-freadable.c ASSERT (freadable (fp)); fp 87 maint/gnulib/tests/test-freadable.c fflush (fp); fp 88 maint/gnulib/tests/test-freadable.c ASSERT (freadable (fp)); fp 89 maint/gnulib/tests/test-freadable.c if (fgetc (fp) != 'a') fp 91 maint/gnulib/tests/test-freadable.c ASSERT (freadable (fp)); fp 92 maint/gnulib/tests/test-freadable.c if (fputc ('z', fp) != 'z') fp 94 maint/gnulib/tests/test-freadable.c ASSERT (freadable (fp)); fp 95 maint/gnulib/tests/test-freadable.c if (fseek (fp, 0, SEEK_END)) fp 97 maint/gnulib/tests/test-freadable.c ASSERT (freadable (fp)); fp 98 maint/gnulib/tests/test-freadable.c if (fclose (fp)) fp 102 maint/gnulib/tests/test-freadable.c fp = fopen (TESTFILE, "a"); fp 103 maint/gnulib/tests/test-freadable.c if (fp == NULL) fp 105 maint/gnulib/tests/test-freadable.c ASSERT (!freadable (fp)); fp 106 maint/gnulib/tests/test-freadable.c if (fwrite ("bla", 1, 3, fp) < 3) fp 108 maint/gnulib/tests/test-freadable.c ASSERT (!freadable (fp)); fp 109 maint/gnulib/tests/test-freadable.c if (fclose (fp)) fp 35 maint/gnulib/tests/test-freading.c FILE *fp; fp 38 maint/gnulib/tests/test-freading.c fp = fopen (TESTFILE, "w"); fp 39 maint/gnulib/tests/test-freading.c ASSERT (fp); fp 40 maint/gnulib/tests/test-freading.c ASSERT (!freading (fp)); fp 41 maint/gnulib/tests/test-freading.c ASSERT (fwrite ("foobarsh", 1, 8, fp) == 8); fp 42 maint/gnulib/tests/test-freading.c ASSERT (!freading (fp)); fp 43 maint/gnulib/tests/test-freading.c ASSERT (fclose (fp) == 0); fp 46 maint/gnulib/tests/test-freading.c fp = fopen (TESTFILE, "r"); fp 47 maint/gnulib/tests/test-freading.c ASSERT (fp); fp 48 maint/gnulib/tests/test-freading.c ASSERT (freading (fp)); fp 49 maint/gnulib/tests/test-freading.c ASSERT (fgetc (fp) == 'f'); fp 50 maint/gnulib/tests/test-freading.c ASSERT (freading (fp)); fp 51 maint/gnulib/tests/test-freading.c ASSERT (fseek (fp, 2, SEEK_CUR) == 0); fp 52 maint/gnulib/tests/test-freading.c ASSERT (freading (fp)); fp 53 maint/gnulib/tests/test-freading.c ASSERT (fgetc (fp) == 'b'); fp 54 maint/gnulib/tests/test-freading.c ASSERT (freading (fp)); fp 55 maint/gnulib/tests/test-freading.c fflush (fp); fp 56 maint/gnulib/tests/test-freading.c ASSERT (freading (fp)); fp 57 maint/gnulib/tests/test-freading.c ASSERT (fgetc (fp) == 'a'); fp 58 maint/gnulib/tests/test-freading.c ASSERT (freading (fp)); fp 59 maint/gnulib/tests/test-freading.c ASSERT (fseek (fp, 0, SEEK_END) == 0); fp 60 maint/gnulib/tests/test-freading.c ASSERT (freading (fp)); fp 61 maint/gnulib/tests/test-freading.c ASSERT (fclose (fp) == 0); fp 69 maint/gnulib/tests/test-freading.c fp = fopen (TESTFILE, "r+"); fp 70 maint/gnulib/tests/test-freading.c ASSERT (fp); fp 71 maint/gnulib/tests/test-freading.c ASSERT (!freading (fp)); fp 72 maint/gnulib/tests/test-freading.c ASSERT (fgetc (fp) == 'f'); fp 73 maint/gnulib/tests/test-freading.c ASSERT (freading (fp)); fp 74 maint/gnulib/tests/test-freading.c ASSERT (fseek (fp, 2, SEEK_CUR) == 0); fp 76 maint/gnulib/tests/test-freading.c ASSERT (fgetc (fp) == 'b'); fp 77 maint/gnulib/tests/test-freading.c ASSERT (freading (fp)); fp 80 maint/gnulib/tests/test-freading.c ASSERT (fseek (fp, 0, SEEK_CUR) == 0); fp 82 maint/gnulib/tests/test-freading.c ASSERT (fputc ('x', fp) == 'x'); fp 83 maint/gnulib/tests/test-freading.c ASSERT (!freading (fp)); fp 84 maint/gnulib/tests/test-freading.c ASSERT (fseek (fp, 0, SEEK_END) == 0); fp 88 maint/gnulib/tests/test-freading.c ASSERT (fclose (fp) == 0); fp 96 maint/gnulib/tests/test-freading.c fp = fopen (TESTFILE, "r+"); fp 97 maint/gnulib/tests/test-freading.c ASSERT (fp); fp 98 maint/gnulib/tests/test-freading.c ASSERT (!freading (fp)); fp 99 maint/gnulib/tests/test-freading.c ASSERT (fgetc (fp) == 'f'); fp 100 maint/gnulib/tests/test-freading.c ASSERT (freading (fp)); fp 101 maint/gnulib/tests/test-freading.c ASSERT (fseek (fp, 2, SEEK_CUR) == 0); fp 103 maint/gnulib/tests/test-freading.c ASSERT (fgetc (fp) == 'b'); fp 104 maint/gnulib/tests/test-freading.c ASSERT (freading (fp)); fp 105 maint/gnulib/tests/test-freading.c fflush (fp); fp 107 maint/gnulib/tests/test-freading.c ASSERT (fgetc (fp) == 'x'); fp 108 maint/gnulib/tests/test-freading.c ASSERT (freading (fp)); fp 111 maint/gnulib/tests/test-freading.c ASSERT (fseek (fp, 0, SEEK_CUR) == 0); fp 113 maint/gnulib/tests/test-freading.c ASSERT (fputc ('z', fp) == 'z'); fp 114 maint/gnulib/tests/test-freading.c ASSERT (!freading (fp)); fp 115 maint/gnulib/tests/test-freading.c ASSERT (fseek (fp, 0, SEEK_END) == 0); fp 119 maint/gnulib/tests/test-freading.c ASSERT (fclose (fp) == 0); fp 122 maint/gnulib/tests/test-freading.c fp = fopen (TESTFILE, "a"); fp 123 maint/gnulib/tests/test-freading.c ASSERT (fp); fp 124 maint/gnulib/tests/test-freading.c ASSERT (!freading (fp)); fp 125 maint/gnulib/tests/test-freading.c ASSERT (fwrite ("bla", 1, 3, fp) == 3); fp 126 maint/gnulib/tests/test-freading.c ASSERT (!freading (fp)); fp 127 maint/gnulib/tests/test-freading.c ASSERT (fclose (fp) == 0); fp 30 maint/gnulib/tests/test-freadptr2.c freadptrbufsize (FILE *fp) fp 34 maint/gnulib/tests/test-freadptr2.c freadptr (fp, &size); fp 40 maint/gnulib/tests/test-freopen-safer.c FILE *fp; fp 51 maint/gnulib/tests/test-freopen-safer.c ASSERT (fp = fopen ("/dev/null", "w")); fp 52 maint/gnulib/tests/test-freopen-safer.c ASSERT (fileno (tmp) < fileno (fp)); fp 57 maint/gnulib/tests/test-freopen-safer.c ASSERT (freopen ("/dev/null", "r+", fp) == fp); fp 58 maint/gnulib/tests/test-freopen-safer.c ASSERT (STDERR_FILENO < fileno (fp)); fp 78 maint/gnulib/tests/test-freopen-safer.c ASSERT (freopen ("/dev/null", "a", fp) == fp); fp 79 maint/gnulib/tests/test-freopen-safer.c ASSERT (STDERR_FILENO < fileno (fp)); fp 87 maint/gnulib/tests/test-freopen-safer.c ASSERT (freopen ("/dev/null", "a+", fp) == fp); fp 88 maint/gnulib/tests/test-freopen-safer.c ASSERT (STDERR_FILENO < fileno (fp)); fp 93 maint/gnulib/tests/test-freopen-safer.c ASSERT (freopen ("/dev/null", "w+", fp) == fp); fp 94 maint/gnulib/tests/test-freopen-safer.c ASSERT (STDERR_FILENO < fileno (fp)); fp 46 maint/gnulib/tests/test-freopen.c FILE *fp = fopen (filename, "w+"); fp 47 maint/gnulib/tests/test-freopen.c ASSERT (fp != NULL); fp 48 maint/gnulib/tests/test-freopen.c ASSERT (close (fileno (fp)) == 0); fp 50 maint/gnulib/tests/test-freopen.c ASSERT (freopen (NULL, "r", fp) == NULL); fp 53 maint/gnulib/tests/test-freopen.c fclose (fp); fp 59 maint/gnulib/tests/test-freopen.c FILE *fp = fdopen (-1, "w+"); fp 60 maint/gnulib/tests/test-freopen.c if (fp != NULL) fp 63 maint/gnulib/tests/test-freopen.c ASSERT (freopen (NULL, "r", fp) == NULL); fp 65 maint/gnulib/tests/test-freopen.c fclose (fp); fp 69 maint/gnulib/tests/test-freopen.c FILE *fp; fp 71 maint/gnulib/tests/test-freopen.c fp = fdopen (99, "w+"); fp 72 maint/gnulib/tests/test-freopen.c if (fp != NULL) fp 75 maint/gnulib/tests/test-freopen.c ASSERT (freopen (NULL, "r", fp) == NULL); fp 77 maint/gnulib/tests/test-freopen.c fclose (fp); fp 32 maint/gnulib/tests/test-fseeko3.c FILE *fp = fopen (filename, "r"); fp 33 maint/gnulib/tests/test-fseeko3.c ASSERT (fp != NULL); fp 37 maint/gnulib/tests/test-fseeko3.c off_t pos = ftell (fp); fp 41 maint/gnulib/tests/test-fseeko3.c ASSERT (fseeko (fp, 0, SEEK_END) == 0); fp 44 maint/gnulib/tests/test-fseeko3.c off_t pos = ftell (fp); fp 48 maint/gnulib/tests/test-fseeko3.c ASSERT (fclose (fp) == 0); fp 34 maint/gnulib/tests/test-fseeko4.c FILE *fp = fopen (filename, "r"); fp 35 maint/gnulib/tests/test-fseeko4.c ASSERT (fp != NULL); fp 36 maint/gnulib/tests/test-fseeko4.c setvbuf (fp, NULL, _IONBF, 0); fp 37 maint/gnulib/tests/test-fseeko4.c ASSERT (ftell (fp) == 0); fp 38 maint/gnulib/tests/test-fseeko4.c ASSERT (fseeko (fp, 0, SEEK_END) == 0); fp 39 maint/gnulib/tests/test-fseeko4.c ASSERT (ftell (fp) > 0); fp 40 maint/gnulib/tests/test-fseeko4.c ASSERT (close (fileno (fp)) == 0); fp 42 maint/gnulib/tests/test-fseeko4.c ASSERT (fseeko (fp, 0, SEEK_SET) == -1); fp 44 maint/gnulib/tests/test-fseeko4.c fclose (fp); fp 50 maint/gnulib/tests/test-fseeko4.c FILE *fp = fdopen (-1, "w"); fp 51 maint/gnulib/tests/test-fseeko4.c if (fp != NULL) fp 54 maint/gnulib/tests/test-fseeko4.c ASSERT (fseeko (fp, 0, SEEK_END) == -1); fp 56 maint/gnulib/tests/test-fseeko4.c fclose (fp); fp 60 maint/gnulib/tests/test-fseeko4.c FILE *fp; fp 62 maint/gnulib/tests/test-fseeko4.c fp = fdopen (99, "w"); fp 63 maint/gnulib/tests/test-fseeko4.c if (fp != NULL) fp 66 maint/gnulib/tests/test-fseeko4.c ASSERT (fseeko (fp, 0, SEEK_END) == -1); fp 68 maint/gnulib/tests/test-fseeko4.c fclose (fp); fp 33 maint/gnulib/tests/test-ftell3.c FILE *fp; fp 36 maint/gnulib/tests/test-ftell3.c fp = fopen (TESTFILE, "w"); fp 37 maint/gnulib/tests/test-ftell3.c if (fp == NULL) fp 39 maint/gnulib/tests/test-ftell3.c if (fwrite ("foogarsh", 1, 8, fp) < 8) fp 41 maint/gnulib/tests/test-ftell3.c if (fclose (fp)) fp 47 maint/gnulib/tests/test-ftell3.c fp = fopen (TESTFILE, "r+"); fp 48 maint/gnulib/tests/test-ftell3.c if (fp == NULL) fp 50 maint/gnulib/tests/test-ftell3.c if (fseek (fp, -1, SEEK_END)) fp 52 maint/gnulib/tests/test-ftell3.c ASSERT (getc (fp) == 'h'); fp 53 maint/gnulib/tests/test-ftell3.c ASSERT (getc (fp) == EOF); fp 54 maint/gnulib/tests/test-ftell3.c ASSERT (ftell (fp) == 8); fp 55 maint/gnulib/tests/test-ftell3.c ASSERT (ftell (fp) == 8); fp 56 maint/gnulib/tests/test-ftell3.c ASSERT (putc ('!', fp) == '!'); fp 57 maint/gnulib/tests/test-ftell3.c ASSERT (ftell (fp) == 9); fp 58 maint/gnulib/tests/test-ftell3.c ASSERT (fclose (fp) == 0); fp 59 maint/gnulib/tests/test-ftell3.c fp = fopen (TESTFILE, "r"); fp 60 maint/gnulib/tests/test-ftell3.c if (fp == NULL) fp 64 maint/gnulib/tests/test-ftell3.c ASSERT (fread (buf, 1, 10, fp) == 9); fp 67 maint/gnulib/tests/test-ftell3.c ASSERT (fclose (fp) == 0); fp 33 maint/gnulib/tests/test-ftello3.c FILE *fp; fp 36 maint/gnulib/tests/test-ftello3.c fp = fopen (TESTFILE, "w"); fp 37 maint/gnulib/tests/test-ftello3.c if (fp == NULL) fp 39 maint/gnulib/tests/test-ftello3.c if (fwrite ("foogarsh", 1, 8, fp) < 8) fp 41 maint/gnulib/tests/test-ftello3.c if (fclose (fp)) fp 47 maint/gnulib/tests/test-ftello3.c fp = fopen (TESTFILE, "r+"); fp 48 maint/gnulib/tests/test-ftello3.c if (fp == NULL) fp 50 maint/gnulib/tests/test-ftello3.c if (fseek (fp, -1, SEEK_END)) fp 52 maint/gnulib/tests/test-ftello3.c ASSERT (getc (fp) == 'h'); fp 53 maint/gnulib/tests/test-ftello3.c ASSERT (getc (fp) == EOF); fp 54 maint/gnulib/tests/test-ftello3.c ASSERT (ftello (fp) == 8); fp 55 maint/gnulib/tests/test-ftello3.c ASSERT (ftello (fp) == 8); fp 56 maint/gnulib/tests/test-ftello3.c ASSERT (putc ('!', fp) == '!'); fp 57 maint/gnulib/tests/test-ftello3.c ASSERT (ftello (fp) == 9); fp 58 maint/gnulib/tests/test-ftello3.c ASSERT (fclose (fp) == 0); fp 59 maint/gnulib/tests/test-ftello3.c fp = fopen (TESTFILE, "r"); fp 60 maint/gnulib/tests/test-ftello3.c if (fp == NULL) fp 64 maint/gnulib/tests/test-ftello3.c ASSERT (fread (buf, 1, 10, fp) == 9); fp 67 maint/gnulib/tests/test-ftello3.c ASSERT (fclose (fp) == 0); fp 34 maint/gnulib/tests/test-ftello4.c FILE *fp = fopen (filename, "r"); fp 35 maint/gnulib/tests/test-ftello4.c ASSERT (fp != NULL); fp 36 maint/gnulib/tests/test-ftello4.c setvbuf (fp, NULL, _IONBF, 0); fp 37 maint/gnulib/tests/test-ftello4.c ASSERT (close (fileno (fp)) == 0); fp 39 maint/gnulib/tests/test-ftello4.c ASSERT (ftello (fp) == (off_t)-1); fp 41 maint/gnulib/tests/test-ftello4.c fclose (fp); fp 47 maint/gnulib/tests/test-ftello4.c FILE *fp = fdopen (-1, "w"); fp 48 maint/gnulib/tests/test-ftello4.c if (fp != NULL) fp 51 maint/gnulib/tests/test-ftello4.c ASSERT (ftello (fp) == (off_t)-1); fp 53 maint/gnulib/tests/test-ftello4.c fclose (fp); fp 57 maint/gnulib/tests/test-ftello4.c FILE *fp; fp 59 maint/gnulib/tests/test-ftello4.c fp = fdopen (99, "w"); fp 60 maint/gnulib/tests/test-ftello4.c if (fp != NULL) fp 63 maint/gnulib/tests/test-ftello4.c ASSERT (ftello (fp) == (off_t)-1); fp 65 maint/gnulib/tests/test-ftello4.c fclose (fp); fp 35 maint/gnulib/tests/test-fwritable.c FILE *fp; fp 38 maint/gnulib/tests/test-fwritable.c fp = fopen (TESTFILE, "w"); fp 39 maint/gnulib/tests/test-fwritable.c if (fp == NULL) fp 41 maint/gnulib/tests/test-fwritable.c ASSERT (fwritable (fp)); fp 42 maint/gnulib/tests/test-fwritable.c if (fwrite ("foobarsh", 1, 8, fp) < 8) fp 44 maint/gnulib/tests/test-fwritable.c ASSERT (fwritable (fp)); fp 45 maint/gnulib/tests/test-fwritable.c if (fclose (fp)) fp 49 maint/gnulib/tests/test-fwritable.c fp = fopen (TESTFILE, "r"); fp 50 maint/gnulib/tests/test-fwritable.c if (fp == NULL) fp 52 maint/gnulib/tests/test-fwritable.c ASSERT (!fwritable (fp)); fp 53 maint/gnulib/tests/test-fwritable.c if (fgetc (fp) != 'f') fp 55 maint/gnulib/tests/test-fwritable.c ASSERT (!fwritable (fp)); fp 56 maint/gnulib/tests/test-fwritable.c if (fseek (fp, 2, SEEK_CUR)) fp 58 maint/gnulib/tests/test-fwritable.c ASSERT (!fwritable (fp)); fp 59 maint/gnulib/tests/test-fwritable.c if (fgetc (fp) != 'b') fp 61 maint/gnulib/tests/test-fwritable.c ASSERT (!fwritable (fp)); fp 62 maint/gnulib/tests/test-fwritable.c fflush (fp); fp 63 maint/gnulib/tests/test-fwritable.c ASSERT (!fwritable (fp)); fp 64 maint/gnulib/tests/test-fwritable.c if (fgetc (fp) != 'a') fp 66 maint/gnulib/tests/test-fwritable.c ASSERT (!fwritable (fp)); fp 67 maint/gnulib/tests/test-fwritable.c if (fseek (fp, 0, SEEK_END)) fp 69 maint/gnulib/tests/test-fwritable.c ASSERT (!fwritable (fp)); fp 70 maint/gnulib/tests/test-fwritable.c if (fclose (fp)) fp 74 maint/gnulib/tests/test-fwritable.c fp = fopen (TESTFILE, "r+"); fp 75 maint/gnulib/tests/test-fwritable.c if (fp == NULL) fp 77 maint/gnulib/tests/test-fwritable.c ASSERT (fwritable (fp)); fp 78 maint/gnulib/tests/test-fwritable.c if (fgetc (fp) != 'f') fp 80 maint/gnulib/tests/test-fwritable.c ASSERT (fwritable (fp)); fp 81 maint/gnulib/tests/test-fwritable.c if (fseek (fp, 2, SEEK_CUR)) fp 83 maint/gnulib/tests/test-fwritable.c ASSERT (fwritable (fp)); fp 84 maint/gnulib/tests/test-fwritable.c if (fgetc (fp) != 'b') fp 86 maint/gnulib/tests/test-fwritable.c ASSERT (fwritable (fp)); fp 87 maint/gnulib/tests/test-fwritable.c fflush (fp); fp 88 maint/gnulib/tests/test-fwritable.c ASSERT (fwritable (fp)); fp 89 maint/gnulib/tests/test-fwritable.c if (fgetc (fp) != 'a') fp 91 maint/gnulib/tests/test-fwritable.c ASSERT (fwritable (fp)); fp 92 maint/gnulib/tests/test-fwritable.c if (fputc ('z', fp) != 'z') fp 94 maint/gnulib/tests/test-fwritable.c ASSERT (fwritable (fp)); fp 95 maint/gnulib/tests/test-fwritable.c if (fseek (fp, 0, SEEK_END)) fp 97 maint/gnulib/tests/test-fwritable.c ASSERT (fwritable (fp)); fp 98 maint/gnulib/tests/test-fwritable.c if (fclose (fp)) fp 102 maint/gnulib/tests/test-fwritable.c fp = fopen (TESTFILE, "a"); fp 103 maint/gnulib/tests/test-fwritable.c if (fp == NULL) fp 105 maint/gnulib/tests/test-fwritable.c ASSERT (fwritable (fp)); fp 106 maint/gnulib/tests/test-fwritable.c if (fwrite ("bla", 1, 3, fp) < 3) fp 108 maint/gnulib/tests/test-fwritable.c ASSERT (fwritable (fp)); fp 109 maint/gnulib/tests/test-fwritable.c if (fclose (fp)) fp 49 maint/gnulib/tests/test-fwrite.c FILE *fp = fopen (filename, "w"); fp 51 maint/gnulib/tests/test-fwrite.c ASSERT (fp != NULL); fp 52 maint/gnulib/tests/test-fwrite.c setvbuf (fp, NULL, _IONBF, 0); fp 53 maint/gnulib/tests/test-fwrite.c ASSERT (close (fileno (fp)) == 0); fp 55 maint/gnulib/tests/test-fwrite.c ASSERT (fwrite (buf, 1, sizeof (buf), fp) == 0); fp 57 maint/gnulib/tests/test-fwrite.c ASSERT (ferror (fp)); fp 58 maint/gnulib/tests/test-fwrite.c fclose (fp); fp 64 maint/gnulib/tests/test-fwrite.c FILE *fp = fdopen (-1, "w"); fp 65 maint/gnulib/tests/test-fwrite.c if (fp != NULL) fp 68 maint/gnulib/tests/test-fwrite.c setvbuf (fp, NULL, _IONBF, 0); fp 70 maint/gnulib/tests/test-fwrite.c ASSERT (fwrite (buf, 1, sizeof (buf), fp) == 0); fp 72 maint/gnulib/tests/test-fwrite.c ASSERT (ferror (fp)); fp 73 maint/gnulib/tests/test-fwrite.c fclose (fp); fp 77 maint/gnulib/tests/test-fwrite.c FILE *fp; fp 79 maint/gnulib/tests/test-fwrite.c fp = fdopen (99, "w"); fp 80 maint/gnulib/tests/test-fwrite.c if (fp != NULL) fp 83 maint/gnulib/tests/test-fwrite.c setvbuf (fp, NULL, _IONBF, 0); fp 85 maint/gnulib/tests/test-fwrite.c ASSERT (fwrite (buf, 1, sizeof (buf), fp) == 0); fp 87 maint/gnulib/tests/test-fwrite.c ASSERT (ferror (fp)); fp 88 maint/gnulib/tests/test-fwrite.c fclose (fp); fp 35 maint/gnulib/tests/test-fwriting.c FILE *fp; fp 38 maint/gnulib/tests/test-fwriting.c fp = fopen (TESTFILE, "w"); fp 39 maint/gnulib/tests/test-fwriting.c if (fp == NULL) fp 41 maint/gnulib/tests/test-fwriting.c ASSERT (fwriting (fp)); fp 42 maint/gnulib/tests/test-fwriting.c if (fwrite ("foobarsh", 1, 8, fp) < 8) fp 44 maint/gnulib/tests/test-fwriting.c ASSERT (fwriting (fp)); fp 45 maint/gnulib/tests/test-fwriting.c if (fclose (fp)) fp 49 maint/gnulib/tests/test-fwriting.c fp = fopen (TESTFILE, "r"); fp 50 maint/gnulib/tests/test-fwriting.c if (fp == NULL) fp 52 maint/gnulib/tests/test-fwriting.c ASSERT (!fwriting (fp)); fp 53 maint/gnulib/tests/test-fwriting.c if (fgetc (fp) != 'f') fp 55 maint/gnulib/tests/test-fwriting.c ASSERT (!fwriting (fp)); fp 56 maint/gnulib/tests/test-fwriting.c if (fseek (fp, 2, SEEK_CUR)) fp 58 maint/gnulib/tests/test-fwriting.c ASSERT (!fwriting (fp)); fp 59 maint/gnulib/tests/test-fwriting.c if (fgetc (fp) != 'b') fp 61 maint/gnulib/tests/test-fwriting.c ASSERT (!fwriting (fp)); fp 62 maint/gnulib/tests/test-fwriting.c fflush (fp); fp 63 maint/gnulib/tests/test-fwriting.c ASSERT (!fwriting (fp)); fp 64 maint/gnulib/tests/test-fwriting.c if (fgetc (fp) != 'a') fp 66 maint/gnulib/tests/test-fwriting.c ASSERT (!fwriting (fp)); fp 67 maint/gnulib/tests/test-fwriting.c if (fseek (fp, 0, SEEK_END)) fp 69 maint/gnulib/tests/test-fwriting.c ASSERT (!fwriting (fp)); fp 70 maint/gnulib/tests/test-fwriting.c if (fclose (fp)) fp 79 maint/gnulib/tests/test-fwriting.c fp = fopen (TESTFILE, "r+"); fp 80 maint/gnulib/tests/test-fwriting.c if (fp == NULL) fp 82 maint/gnulib/tests/test-fwriting.c ASSERT (!fwriting (fp)); fp 83 maint/gnulib/tests/test-fwriting.c if (fgetc (fp) != 'f') fp 85 maint/gnulib/tests/test-fwriting.c ASSERT (!fwriting (fp)); fp 86 maint/gnulib/tests/test-fwriting.c if (fseek (fp, 2, SEEK_CUR)) fp 88 maint/gnulib/tests/test-fwriting.c ASSERT (!fwriting (fp)); fp 89 maint/gnulib/tests/test-fwriting.c if (fgetc (fp) != 'b') fp 91 maint/gnulib/tests/test-fwriting.c ASSERT (!fwriting (fp)); fp 94 maint/gnulib/tests/test-fwriting.c if (fseek (fp, 0, SEEK_CUR) != 0) fp 96 maint/gnulib/tests/test-fwriting.c ASSERT (!fwriting (fp)); fp 97 maint/gnulib/tests/test-fwriting.c if (fputc ('x', fp) != 'x') fp 99 maint/gnulib/tests/test-fwriting.c ASSERT (fwriting (fp)); fp 100 maint/gnulib/tests/test-fwriting.c if (fseek (fp, 0, SEEK_END)) fp 105 maint/gnulib/tests/test-fwriting.c if (fclose (fp)) fp 114 maint/gnulib/tests/test-fwriting.c fp = fopen (TESTFILE, "r+"); fp 115 maint/gnulib/tests/test-fwriting.c if (fp == NULL) fp 117 maint/gnulib/tests/test-fwriting.c ASSERT (!fwriting (fp)); fp 118 maint/gnulib/tests/test-fwriting.c if (fgetc (fp) != 'f') fp 120 maint/gnulib/tests/test-fwriting.c ASSERT (!fwriting (fp)); fp 121 maint/gnulib/tests/test-fwriting.c if (fseek (fp, 2, SEEK_CUR)) fp 123 maint/gnulib/tests/test-fwriting.c ASSERT (!fwriting (fp)); fp 124 maint/gnulib/tests/test-fwriting.c if (fgetc (fp) != 'b') fp 126 maint/gnulib/tests/test-fwriting.c ASSERT (!fwriting (fp)); fp 127 maint/gnulib/tests/test-fwriting.c fflush (fp); fp 128 maint/gnulib/tests/test-fwriting.c ASSERT (!fwriting (fp)); fp 129 maint/gnulib/tests/test-fwriting.c if (fgetc (fp) != 'x') fp 131 maint/gnulib/tests/test-fwriting.c ASSERT (!fwriting (fp)); fp 134 maint/gnulib/tests/test-fwriting.c if (fseek (fp, 0, SEEK_CUR) != 0) fp 136 maint/gnulib/tests/test-fwriting.c ASSERT (!fwriting (fp)); fp 137 maint/gnulib/tests/test-fwriting.c if (fputc ('z', fp) != 'z') fp 139 maint/gnulib/tests/test-fwriting.c ASSERT (fwriting (fp)); fp 140 maint/gnulib/tests/test-fwriting.c if (fseek (fp, 0, SEEK_END)) fp 145 maint/gnulib/tests/test-fwriting.c if (fclose (fp)) fp 149 maint/gnulib/tests/test-fwriting.c fp = fopen (TESTFILE, "a"); fp 150 maint/gnulib/tests/test-fwriting.c if (fp == NULL) fp 152 maint/gnulib/tests/test-fwriting.c ASSERT (fwriting (fp)); fp 153 maint/gnulib/tests/test-fwriting.c if (fwrite ("bla", 1, 3, fp) < 3) fp 155 maint/gnulib/tests/test-fwriting.c ASSERT (fwriting (fp)); fp 156 maint/gnulib/tests/test-fwriting.c if (fclose (fp)) fp 43 maint/gnulib/tests/test-nonblocking-misc.h static int dbgfprintf (FILE *fp, const char *format, ...) fp 46 maint/gnulib/tests/test-nonblocking-misc.h dbgfprintf (FILE *fp, const char *format, ...) fp 71 maint/gnulib/tests/test-nonblocking-misc.h ret = fwrite (line, 1, line_len, fp); fp 76 maint/gnulib/tests/test-nonblocking-misc.h fflush (fp); fp 41 maint/gnulib/tests/test-popen-safer.c FILE *fp; fp 49 maint/gnulib/tests/test-popen-safer.c ASSERT (fp = popen ("exit 0", "r")); fp 50 maint/gnulib/tests/test-popen-safer.c ASSERT (STDERR_FILENO < fileno (fp)); fp 51 maint/gnulib/tests/test-popen-safer.c status = pclose (fp); fp 56 maint/gnulib/tests/test-popen-safer.c ASSERT (fp = popen ("exit 0", "r")); fp 57 maint/gnulib/tests/test-popen-safer.c ASSERT (STDERR_FILENO < fileno (fp)); fp 58 maint/gnulib/tests/test-popen-safer.c status = pclose (fp); fp 63 maint/gnulib/tests/test-popen-safer.c ASSERT (fp = popen ("exit 0", "r")); fp 64 maint/gnulib/tests/test-popen-safer.c ASSERT (STDERR_FILENO < fileno (fp)); fp 65 maint/gnulib/tests/test-popen-safer.c status = pclose (fp); fp 70 maint/gnulib/tests/test-popen-safer.c ASSERT (fp = popen ("exit 0", "r")); fp 71 maint/gnulib/tests/test-popen-safer.c ASSERT (STDERR_FILENO < fileno (fp)); fp 72 maint/gnulib/tests/test-popen-safer.c status = pclose (fp); fp 65 maint/gnulib/tests/test-posix_spawn-chdir.c FILE *fp; fp 121 maint/gnulib/tests/test-posix_spawn-chdir.c fp = fdopen (fd, "rb"); fp 122 maint/gnulib/tests/test-posix_spawn-chdir.c if (fp == NULL) fp 127 maint/gnulib/tests/test-posix_spawn-chdir.c line_len = fread (line, 1, 80, fp); fp 147 maint/gnulib/tests/test-posix_spawn-chdir.c fclose (fp); fp 65 maint/gnulib/tests/test-posix_spawn-dup2-stdin.c FILE *fp; fp 118 maint/gnulib/tests/test-posix_spawn-dup2-stdin.c fp = fdopen (fd, "w"); fp 119 maint/gnulib/tests/test-posix_spawn-dup2-stdin.c if (fp == NULL) fp 124 maint/gnulib/tests/test-posix_spawn-dup2-stdin.c written = fwrite ("Halle Potta\n", 1, 12, fp); fp 130 maint/gnulib/tests/test-posix_spawn-dup2-stdin.c fclose (fp); fp 87 maint/gnulib/tests/test-posix_spawn-dup2-stdout.c FILE *fp; fp 141 maint/gnulib/tests/test-posix_spawn-dup2-stdout.c fp = fdopen (fd, "r"); fp 142 maint/gnulib/tests/test-posix_spawn-dup2-stdout.c if (fp == NULL) fp 147 maint/gnulib/tests/test-posix_spawn-dup2-stdout.c if (fread (line, 1, 80, fp) < 12) fp 157 maint/gnulib/tests/test-posix_spawn-dup2-stdout.c fclose (fp); fp 69 maint/gnulib/tests/test-posix_spawn-fchdir.c FILE *fp; fp 130 maint/gnulib/tests/test-posix_spawn-fchdir.c fp = fdopen (fd, "r"); fp 131 maint/gnulib/tests/test-posix_spawn-fchdir.c if (fp == NULL) fp 136 maint/gnulib/tests/test-posix_spawn-fchdir.c if (fread (line, 1, 80, fp) < 2) fp 153 maint/gnulib/tests/test-posix_spawn-fchdir.c fclose (fp); fp 40 maint/gnulib/tests/test-posix_spawn-inherit0.c FILE *fp; fp 48 maint/gnulib/tests/test-posix_spawn-inherit0.c fp = fopen (DATA_FILENAME, "wb"); fp 49 maint/gnulib/tests/test-posix_spawn-inherit0.c if (fp == NULL) fp 54 maint/gnulib/tests/test-posix_spawn-inherit0.c fwrite ("Halle Potta", 1, 11, fp); fp 55 maint/gnulib/tests/test-posix_spawn-inherit0.c if (fflush (fp) || fclose (fp)) fp 62 maint/gnulib/tests/test-posix_spawn-inherit0.c fp = freopen (DATA_FILENAME, "rb", stdin); fp 63 maint/gnulib/tests/test-posix_spawn-inherit0.c if (fp == NULL) fp 68 maint/gnulib/tests/test-posix_spawn-inherit0.c if (fflush (fp) || fseek (fp, 6, SEEK_SET)) /* needs gnulib module 'fflush' */ fp 96 maint/gnulib/tests/test-posix_spawn-inherit0.c if (fclose (fp)) fp 40 maint/gnulib/tests/test-posix_spawn-inherit1.c FILE *fp; fp 48 maint/gnulib/tests/test-posix_spawn-inherit1.c fp = freopen (DATA_FILENAME, "wb", stdout); fp 49 maint/gnulib/tests/test-posix_spawn-inherit1.c if (fp == NULL) fp 54 maint/gnulib/tests/test-posix_spawn-inherit1.c fwrite ("Halle X", 1, 7, fp); fp 55 maint/gnulib/tests/test-posix_spawn-inherit1.c if (fflush (fp) || fseek (fp, 6, SEEK_SET)) fp 83 maint/gnulib/tests/test-posix_spawn-inherit1.c if (fclose (fp)) fp 90 maint/gnulib/tests/test-posix_spawn-inherit1.c fp = fopen (DATA_FILENAME, "rb"); fp 91 maint/gnulib/tests/test-posix_spawn-inherit1.c if (fp == NULL) fp 97 maint/gnulib/tests/test-posix_spawn-inherit1.c int nread = fread (buf, 1, sizeof (buf), fp); fp 103 maint/gnulib/tests/test-posix_spawn-inherit1.c if (fclose (fp)) fp 53 maint/gnulib/tests/test-posix_spawn-open1.c FILE *fp; fp 63 maint/gnulib/tests/test-posix_spawn-open1.c fp = fopen (DATA_FILENAME, "wb"); fp 64 maint/gnulib/tests/test-posix_spawn-open1.c if (fp == NULL) fp 69 maint/gnulib/tests/test-posix_spawn-open1.c fwrite ("Halle Potta", 1, 11, fp); fp 70 maint/gnulib/tests/test-posix_spawn-open1.c if (fflush (fp) || fclose (fp)) fp 41 maint/gnulib/tests/test-posix_spawn-open2.c FILE *fp; fp 51 maint/gnulib/tests/test-posix_spawn-open2.c fp = fopen (DATA_FILENAME, "wb"); fp 52 maint/gnulib/tests/test-posix_spawn-open2.c if (fp == NULL) fp 57 maint/gnulib/tests/test-posix_spawn-open2.c fwrite ("Halle ", 1, 6, fp); fp 58 maint/gnulib/tests/test-posix_spawn-open2.c if (fflush (fp) || fclose (fp)) fp 95 maint/gnulib/tests/test-posix_spawn-open2.c fp = fopen (DATA_FILENAME, "rb"); fp 96 maint/gnulib/tests/test-posix_spawn-open2.c if (fp == NULL) fp 102 maint/gnulib/tests/test-posix_spawn-open2.c int nread = fread (buf, 1, sizeof (buf), fp); fp 108 maint/gnulib/tests/test-posix_spawn-open2.c if (fclose (fp)) fp 131 maint/gnulib/tests/test-posix_spawn-script.c FILE *fp = fopen (DATA_FILENAME, "rb"); fp 132 maint/gnulib/tests/test-posix_spawn-script.c if (fp == NULL) fp 138 maint/gnulib/tests/test-posix_spawn-script.c int nread = fread (buf, 1, sizeof (buf), fp); fp 144 maint/gnulib/tests/test-posix_spawn-script.c if (fclose (fp)) fp 131 maint/gnulib/tests/test-posix_spawnp-script.c FILE *fp = fopen (DATA_FILENAME, "rb"); fp 132 maint/gnulib/tests/test-posix_spawnp-script.c if (fp == NULL) fp 138 maint/gnulib/tests/test-posix_spawnp-script.c int nread = fread (buf, 1, sizeof (buf), fp); fp 144 maint/gnulib/tests/test-posix_spawnp-script.c if (fclose (fp)) fp 41 maint/gnulib/tests/test-readtokens.c FILE *fp = fopen (filename, "r"); fp 42 maint/gnulib/tests/test-readtokens.c ASSERT (fp); fp 45 maint/gnulib/tests/test-readtokens.c ASSERT (readtoken (fp, "|;", 2, &tb) == 1 && tb.buffer[0] == 'a'); fp 46 maint/gnulib/tests/test-readtokens.c ASSERT (readtoken (fp, "|;", 2, &tb) == 1 && tb.buffer[0] == 'b'); fp 47 maint/gnulib/tests/test-readtokens.c ASSERT (readtoken (fp, "+", 1, &tb) == 1 && tb.buffer[0] == 'c'); fp 48 maint/gnulib/tests/test-readtokens.c ASSERT (readtoken (fp, "-", 1, &tb) == 1 && tb.buffer[0] == 'd'); fp 49 maint/gnulib/tests/test-readtokens.c ASSERT (readtoken (fp, "%", 0, &tb) == (size_t) -1); fp 50 maint/gnulib/tests/test-readtokens.c ASSERT ( ! ferror (fp)); fp 51 maint/gnulib/tests/test-readtokens.c ASSERT (fclose (fp) == 0); fp 89 maint/gnulib/tests/test-spawn-pipe-script.c FILE *fp = fdopen (fd[0], "r"); fp 90 maint/gnulib/tests/test-spawn-pipe-script.c ASSERT (fp != NULL); fp 91 maint/gnulib/tests/test-spawn-pipe-script.c ASSERT (fread (buffer, 1, sizeof (buffer), fp) == 11); fp 99 maint/gnulib/tests/test-spawn-pipe-script.c ASSERT (fclose (fp) == 0); fp 33 maint/gnulib/tests/test-supersede-fopen.h FILE *fp = fp 37 maint/gnulib/tests/test-supersede-fopen.h ASSERT (fp != NULL); fp 38 maint/gnulib/tests/test-supersede-fopen.h ASSERT (fwrite ("Hello world\n", 1, 12, fp) == 12 && fflush (fp) == 0); fp 43 maint/gnulib/tests/test-supersede-fopen.h ASSERT (fclose_supersede (fp, &action) == 0); fp 60 maint/gnulib/tests/test-supersede-fopen.h FILE *fp = fp 64 maint/gnulib/tests/test-supersede-fopen.h ASSERT (fp != NULL); fp 65 maint/gnulib/tests/test-supersede-fopen.h ASSERT (fwrite ("Foobar\n", 1, 7, fp) == 7 && fflush (fp) == 0); fp 81 maint/gnulib/tests/test-supersede-fopen.h ASSERT (fclose_supersede (fp, &action) == 0); fp 108 maint/gnulib/tests/test-supersede-fopen.h FILE *fp = fp 112 maint/gnulib/tests/test-supersede-fopen.h ASSERT (fp != NULL); fp 113 maint/gnulib/tests/test-supersede-fopen.h ASSERT (fwrite ("Foobar\n", 1, 7, fp) == 7 && fflush (fp) == 0); fp 115 maint/gnulib/tests/test-supersede-fopen.h ASSERT (fclose_supersede (fp, &action) == 0); fp 132 maint/gnulib/tests/test-supersede-fopen.h FILE *fp = fp 136 maint/gnulib/tests/test-supersede-fopen.h ASSERT (fp != NULL); fp 137 maint/gnulib/tests/test-supersede-fopen.h ASSERT (fwrite ("New\n", 1, 4, fp) == 4 && fflush (fp) == 0); fp 153 maint/gnulib/tests/test-supersede-fopen.h ASSERT (fclose_supersede (fp, &action) == 0); fp 189 maint/gnulib/tests/test-supersede-fopen.h FILE *fp = fp 193 maint/gnulib/tests/test-supersede-fopen.h ASSERT (fp != NULL); fp 194 maint/gnulib/tests/test-supersede-fopen.h ASSERT (fwrite ("New\n", 1, 4, fp) == 4 && fflush (fp) == 0); fp 196 maint/gnulib/tests/test-supersede-fopen.h ASSERT (fclose_supersede (fp, &action) == 0); fp 218 maint/gnulib/tests/test-supersede-fopen.h FILE *fp = fp 222 maint/gnulib/tests/test-supersede-fopen.h ASSERT (fp != NULL); fp 223 maint/gnulib/tests/test-supersede-fopen.h ASSERT (fwrite ("Hello world\n", 1, 12, fp) == 12 && fflush (fp) == 0); fp 228 maint/gnulib/tests/test-supersede-fopen.h ASSERT (fclose_supersede (fp, &action) == 0); fp 252 maint/gnulib/tests/test-supersede-fopen.h FILE *fp = fp 256 maint/gnulib/tests/test-supersede-fopen.h ASSERT (fp == NULL); fp 52 maint/gnulib/tests/test-system-quote-child.c FILE *fp = fopen (EXPECTED_DATA_FILE, "rb"); fp 53 maint/gnulib/tests/test-system-quote-child.c if (fp == NULL) fp 55 maint/gnulib/tests/test-system-quote-child.c expected_data_len = fread (expected_data, 1, sizeof (expected_data), fp); fp 56 maint/gnulib/tests/test-system-quote-child.c if (fclose (fp)) fp 70 maint/gnulib/tests/test-system-quote-main.c FILE *fp = fopen (EXPECTED_DATA_FILE, "wb"); fp 71 maint/gnulib/tests/test-system-quote-main.c if (fp == NULL) fp 73 maint/gnulib/tests/test-system-quote-main.c if (fwrite (input, 1, strlen (input), fp) != strlen (input)) fp 75 maint/gnulib/tests/test-system-quote-main.c if (fclose (fp)) fp 101 maint/gnulib/tests/test-system-quote-main.c FILE *fp = popen (command, "r"); fp 102 maint/gnulib/tests/test-system-quote-main.c int exitcode = pclose (fp); fp 36 maint/gnulib/tests/test-vdprintf-posix.c my_fprintf (FILE *fp, const char *format, ...) fp 42 maint/gnulib/tests/test-vdprintf-posix.c ret = vdprintf (fileno (fp), format, args); fp 36 maint/gnulib/tests/test-vfprintf-posix.c my_fprintf (FILE *fp, const char *format, ...) fp 42 maint/gnulib/tests/test-vfprintf-posix.c ret = vfprintf (fp, format, args);