/third_party/musl/src/stdio/ |
D | ferror.c | 3 #undef ferror 5 int ferror(FILE *f) in ferror() function 13 weak_alias(ferror, ferror_unlocked); 14 weak_alias(ferror, _IO_ferror_unlocked);
|
D | fgetws.c | 21 if (ferror(f)) p = s; in fgetws()
|
/third_party/zlib/examples/ |
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()
|
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()
|
D | zran.c | 165 if (ferror(in)) { in deflate_index_build() 282 ret = ferror(in) ? Z_ERRNO : Z_DATA_ERROR; in deflate_index_extract() 315 if (ferror(in)) { in deflate_index_extract() 359 if (ferror(in)) { in deflate_index_extract()
|
D | gznorm.c | 449 if (ferror(in) || ferror(out)) in gzip_normalize()
|
/third_party/musl/libc-test/src/functionalext/supplement/stdio/ |
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()
|
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/ |
D | rewind-clear-error.c | 18 if (n != 0 || !ferror(stdin)) in main() 20 n, ferror(stdin), feof(stdin)); in main() 25 if (ferror(stdin)) in main()
|
D | fgetwc-buffering.c | 37 A(ferror(stdin)==0); in main()
|
/third_party/skia/third_party/externals/libpng/contrib/libtests/ |
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() 561 if (ferror(stdin)) in main() 575 if (fflush(fp) && !ferror(fp) && fclose(fp)) in main() 585 ok = !ferror(stdout); in main()
|
/third_party/flutter/skia/third_party/externals/libpng/contrib/libtests/ |
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() 561 if (ferror(stdin)) in main() 575 if (fflush(fp) && !ferror(fp) && fclose(fp)) in main() 585 ok = !ferror(stdout); in main()
|
/third_party/skia/third_party/externals/brotli/research/ |
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/node/test/wasi/c/ |
D | stdin.c | 7 return ferror(stdin); in main() 10 return ferror(stdout); in main()
|
/third_party/ltp/testcases/lib/ |
D | tst_hexdump.c | 23 return ret != EOF || ferror(stdin); in decode_hex() 33 return val != EOF || ferror(stdin); in encode_hex()
|
/third_party/cups-filters/cupsfilters/ |
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()
|
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/ |
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/tzdata/ |
D | date.c | 188 if (ferror(stdout) || ferror(stderr)) { in display()
|
/third_party/musl/src/passwd/ |
D | getgr_a.c | 83 rv = ferror(f) ? errno : EIO; in __getgr_a() 109 rv = ferror(f) ? errno : EIO; in __getgr_a()
|
/third_party/lz4/examples/ |
D | frameCompress.c | 38 if (ferror(f)) /* note : ferror() must follow fwrite */ in safe_fwrite() 220 if (readSize == 0 || ferror(f_in)) { in decompress_file_internal() 283 if (readSize == 0 || ferror(f_in)) { in decompress_file_allocDst()
|
/third_party/lz4/programs/ |
D | lz4io.c | 471 if (ferror(finput)) END_PROCESS(24, "Error while reading %s ", input_filename); in LZ4IO_compressFilename_Legacy() 701 if (ferror(srcFile)) END_PROCESS(40, "Error reading %s ", srcFileName); in LZ4IO_compressFilename_extRess() 747 if (ferror(srcFile)) END_PROCESS(47, "Error reading %s ", srcFileName); in LZ4IO_compressFilename_extRess() 999 if (ferror(finput)) END_PROCESS(55, "Read error : ferror"); in LZ4IO_decodeLegacyStream() 1129 if (ferror(srcFile)) END_PROCESS(67, "Read error"); in LZ4IO_decompressLZ4F() 1163 if (ferror(finput)) END_PROCESS(51, "Read Error"); in LZ4IO_passThrough() 1597 … if (!readBytes || ferror(finput)) END_PROCESS(71, "Error reading %s", input_filename); in LZ4IO_getCompressedFileInfo() 1604 … if (!readBytes || ferror(finput)) END_PROCESS(72, "Error reading %s", input_filename); in LZ4IO_getCompressedFileInfo()
|
/third_party/flutter/skia/third_party/externals/wuffs/example/crc32/ |
D | crc32.cc | 73 } else if (ferror(stdin)) { in main()
|
/third_party/musl/src/time/ |
D | getdate.c | 40 if (ferror(f)) getdate_err = 5; in getdate()
|
/third_party/skia/third_party/externals/brotli/c/fuzz/ |
D | run_decode_fuzzer.c | 31 if (ferror(f)) { in main()
|