/third_party/musl/src/stdio/ |
H A D | ferror.c | 6 #undef ferror macro 8 int ferror(FILE *f) in ferror() function 19 weak_alias(ferror, ferror_unlocked); 20 weak_alias(ferror, _IO_ferror_unlocked);
|
H A D | fgetws.c | 21 if (ferror(f)) p = s; in fgetws()
|
/third_party/zlib/examples/ |
H A D | zpipe.c | 55 if (ferror(source)) { in def() 70 if (fwrite(out, 1, have, dest) != have || ferror(dest)) { in def() 113 if (ferror(source)) { in inf() 136 if (fwrite(out, 1, have, dest) != have || ferror(dest)) { in inf() 156 if (ferror(stdin)) in zerr() 158 if (ferror(stdout)) in zerr()
|
H A D | fitblk.c | 81 if (ferror(in)) in partcompress() 166 if (fwrite(blk, 1, have, stdout) != have || ferror(stdout)) in main() 219 if (fwrite(blk, 1, have, stdout) != have || ferror(stdout)) in main()
|
H A D | zran.c | 154 if (strm.avail_in < sizeof(buf) && ferror(in)) { in deflate_index_build() 363 return ferror(in) ? Z_ERRNO : Z_BUF_ERROR; in deflate_index_extract() 393 if (strm.avail_in < CHUNK && ferror(in)) { in deflate_index_extract() 425 return ferror(in) ? Z_ERRNO : Z_BUF_ERROR; in deflate_index_extract() 436 if (strm.avail_in < CHUNK && ferror(in)) { in deflate_index_extract()
|
H A D | gznorm.c | 13 #include <stdio.h> // fread, fwrite, putc, fflush, ferror, fprintf, 449 if (ferror(in) || ferror(out)) in gzip_normalize()
|
/third_party/musl/libc-test/src/functionalext/supplement/stdio/ |
H A D | __fseterr.c | 28 EXPECT_FALSE("__fseterr_0100", ferror(fp)); in __fseterr_0100() 30 EXPECT_TRUE("__fseterr_0100", ferror(fp)); in __fseterr_0100() 32 EXPECT_FALSE("__fseterr_0100", ferror(fp)); in __fseterr_0100()
|
H A D | clearerr.c | 26 if (ferror(stdin)) { in clearerr_0100() 29 EXPECT_EQ("clearerr_0100", ferror(stdin), 0); in clearerr_0100()
|
/third_party/musl/libc-test/src/regression/ |
H A D | rewind-clear-error.c | 18 if (n != 0 || !ferror(stdin)) in main() 19 t_error("fread(stdin) should have failed, got %d ferror %d feof %d\n", in main() 20 n, ferror(stdin), feof(stdin)); in main() 25 if (ferror(stdin)) in main() 26 t_error("rewind failed to clear ferror\n"); in main()
|
H A D | fgetwc-buffering.c | 37 A(ferror(stdin)==0); in main()
|
/third_party/skia/third_party/externals/libpng/contrib/libtests/ |
H A D | timepng.c | 207 if (ferror(fp)) in perform_one_test() 249 if (ferror(stdout)) in perform_one_test() 285 if (ferror(ip)) in add_one_file() 301 if (ferror(fp)) in add_one_file() 312 * file. This must happen after the ferror check above to avoid clearing in add_one_file() 561 if (ferror(stdin)) in main() 575 if (fflush(fp) && !ferror(fp) && fclose(fp)) in main() 585 ok = !ferror(stdout); in main()
|
/third_party/node/test/wasi/c/ |
H A D | stdin.c | 7 return ferror(stdin); in main() 10 return ferror(stdout); in main()
|
/third_party/ltp/testcases/lib/ |
H A D | tst_hexdump.c | 23 return ret != EOF || ferror(stdin); in decode_hex() 33 return val != EOF || ferror(stdin); in encode_hex()
|
/third_party/eudev/src/shared/ |
H A D | fileio.c | 40 if (ferror(f)) in write_string_stream() 71 if (ferror(f)) in read_one_line_file() 125 if (ferror(f)) in read_full_stream()
|
/third_party/skia/third_party/externals/brotli/research/ |
H A D | brotli_decoder.c | 72 if (ferror(ctx.fin)) break; in main() 75 if (ferror(ctx.fout)) break; in main() 87 if ((result == BROTLI_DECODER_RESULT_NEEDS_MORE_OUTPUT) || ferror(ctx.fout)) { in main()
|
/third_party/cups-filters/cupsfilters/ |
H A D | image-sun.c | 127 if (fread(cmap[0], 1, ras_maplength / 3, fp) == 0 && ferror(fp)) in _cupsImageReadSunRaster() 129 if (fread(cmap[1], 1, ras_maplength / 3, fp) == 0 && ferror(fp)) in _cupsImageReadSunRaster() 131 if (fread(cmap[2], 1, ras_maplength / 3, fp) == 0 && ferror(fp)) in _cupsImageReadSunRaster() 194 if (fread(p, scanwidth, 1, fp) == 0 && ferror(fp)) in _cupsImageReadSunRaster()
|
H A D | image-pnm.c | 200 if (fread(out, (img->xsize + 7) / 8, 1, fp) == 0 && ferror(fp)) in _cupsImageReadPNM() 222 if (fread(in, img->xsize, 1, fp) == 0 && ferror(fp)) in _cupsImageReadPNM() 227 if (fread(in, img->xsize, 3, fp) == 0 && ferror(fp)) in _cupsImageReadPNM()
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | database-simple.c | 123 if (ferror(f)) in read_uint() 153 if (ferror(f)) in read_data() 214 if (ferror(f)) { in fill_data() 421 if (ferror(f)) in write_uint() 437 if (ferror(f) || items != 1) in write_data()
|
/third_party/musl/src/passwd/ |
H A D | getgr_a.c | 83 rv = ferror(f) ? errno : EIO; in __getgr_a() 109 rv = ferror(f) ? errno : EIO; in __getgr_a()
|
/third_party/tzdata/ |
H A D | date.c | 183 if (ferror(stdout) || ferror(stderr)) { in display()
|
/third_party/lzma/CPP/Common/ |
H A D | StdInStream.h | 39 bool Error() const throw() { return (ferror(_stream) != 0); }
in Error()
|
/third_party/musl/libc-test/src/functionalext/supplement/stdio/stdio_gtest/ |
H A D | stdio_ferror_test.cpp | 12 * @tc.desc: Ensure that the ferror() function correctly detects any errors that occurred during file operations. 19 EXPECT_EQ(0, ferror(file)); in HWTEST_F()
|
/third_party/node/deps/cares/src/lib/ |
H A D | ares__read_line.c | 59 return (offset != 0) ? 0 : (ferror(fp)) ? ARES_EFILE : ARES_EOF; in ares__read_line()
|
/third_party/ffmpeg/ffbuild/ |
H A D | bin2c.c | 70 if (ferror(input) || !feof(input)) in main()
|
/third_party/musl/src/time/ |
H A D | getdate.c | 40 if (ferror(f)) getdate_err = 5; in getdate()
|