/external/llvm-project/clang/test/Analysis/ |
D | stream-error.c | 19 clang_analyzer_eval(ferror(F)); // expected-warning {{FALSE}} in error_fopen() 31 clang_analyzer_eval(ferror(F)); // expected-warning {{FALSE}} in error_freopen() 41 clang_analyzer_eval(ferror(F)); // expected-warning {{FALSE}} in stream_error_feof() 44 clang_analyzer_eval(ferror(F)); // expected-warning {{FALSE}} in stream_error_feof() 54 clang_analyzer_eval(ferror(F)); // expected-warning {{TRUE}} in stream_error_ferror() 57 clang_analyzer_eval(ferror(F)); // expected-warning {{FALSE}} in stream_error_ferror() 68 clang_analyzer_eval(feof(F) || ferror(F)); // expected-warning {{FALSE}} in error_fread() 70 clang_analyzer_eval(feof(F) || ferror(F)); // expected-warning {{TRUE}} in error_fread() 75 clang_analyzer_eval(ferror(F)); // expected-warning {{FALSE}} in error_fread() 77 if (ferror(F)) { in error_fread() [all …]
|
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Posix/ |
D | feof_fileno_ferror.cpp | 16 assert(!feof(fp) && !ferror(fp)); in main() 25 assert(!feof(fp) && !ferror(fp)); in main() 36 assert(ferror(fp)); in main() 40 assert(!feof(fp) && !ferror(fp)); in main()
|
/external/rust/crates/libz-sys/src/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 | 173 if (ferror(in)) { in build_index() 283 ret = ferror(in) ? Z_ERRNO : Z_DATA_ERROR; in extract() 316 if (ferror(in)) { in extract()
|
/external/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()
|
/external/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()
|
/external/zstd/zlibWrapper/examples/ |
D | fitblk_original.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()
|
/external/bzip2/ |
D | bzip2.c | 341 if (ferror(stream)) goto errhandler_io; in compressStream() 342 if (ferror(zStream)) goto errhandler_io; in compressStream() 354 if (ferror(stream)) goto errhandler_io; in compressStream() 365 if (ferror(zStream)) goto errhandler_io; in compressStream() 377 if (ferror(stream)) goto errhandler_io; in compressStream() 449 if (ferror(stream)) goto errhandler_io; in uncompressStream() 450 if (ferror(zStream)) goto errhandler_io; in uncompressStream() 466 if (ferror(stream)) goto errhandler_io; in uncompressStream() 483 if (ferror(zStream)) goto errhandler_io; in uncompressStream() 492 if (ferror(stream)) goto errhandler_io; in uncompressStream() [all …]
|
/external/zstd/contrib/pzstd/test/ |
D | RoundTrip.h | 38 if (std::ferror(sFd) || std::ferror(dFd)) { in check()
|
/external/libpcap/ |
D | sf-pcap.c | 193 if (ferror(fp)) { in pcap_check_header() 458 if (ferror(fp)) { in pcap_next_packet() 612 if (ferror(fp)) { in pcap_next_packet() 643 if (ferror(fp)) { in pcap_next_packet() 695 if (ferror(fp)) { in pcap_next_packet() 961 if (ferror(f)) { in pcap_dump_open_append() 1159 if (ferror((FILE *)p)) in pcap_dump_close()
|
/external/llvm-project/libcxx/test/std/depr/depr.c.headers/ |
D | stdio_h.pass.cpp | 31 #ifdef ferror 32 #error ferror is defined 170 static_assert((std::is_same<decltype(ferror(fp)), int>::value), ""); in main()
|
/external/libcxx/test/std/depr/depr.c.headers/ |
D | stdio_h.pass.cpp | 32 #ifdef ferror 33 #error ferror is defined 167 static_assert((std::is_same<decltype(ferror(fp)), int>::value), ""); in main()
|
/external/oss-fuzz/projects/cryptofuzz/ |
D | xxd.c | 356 if (c == EOF && ferror(fpi)) in huntype() 368 if (c == EOF && ferror(fpi)) in huntype() 705 if (ferror(fp)) in main() 740 if (c == EOF && ferror(fp)) in main() 783 if (e == EOF && ferror(fp)) in main() 851 if (e == EOF && ferror(fp)) in main()
|
/external/libdivsufsort/examples/ |
D | sasearch.c | 123 (ferror(fp) || !feof(fp)) ? "Cannot read from" : "Unexpected EOF in", 145 (ferror(fp) || !feof(fp)) ? "Cannot read from" : "Unexpected EOF in",
|
D | unbwt.c | 168 (ferror(fp) || !feof(fp)) ? "Cannot read from" : "Unexpected EOF in", 189 if(ferror(fp)) {
|
/external/bsdiff/ |
D | test_utils.cc | 74 bool result = !ferror(fp); in ReadFile() 84 bool result = written == contents.size() && !ferror(fp); in WriteFile()
|
/external/igt-gpu-tools/lib/ |
D | igt_eld.c | 193 if (ferror(f) != 0) { in eld_parse_entry() 194 igt_debug("Failed to read ELD file %s: %d\n", path, ferror(f)); in eld_parse_entry()
|
/external/rust/crates/libz-sys/src/zlib-ng/test/ |
D | switchlevels.c | 28 if (ferror(stdin)) { in read_all() 45 if (ferror(stdout)) { in write_all()
|
/external/lz4/examples/ |
D | frameCompress.c | 37 if (ferror(f)) /* note : ferror() must follow fwrite */ in safe_fwrite() 190 if (readSize == 0 || ferror(f_in)) { in decompress_file_internal() 253 if (readSize == 0 || ferror(f_in)) { in decompress_file_allocDst()
|
/external/libcxx/include/ |
D | stdio.h | 116 #undef ferror
|
/external/llvm-project/libcxx/include/ |
D | stdio.h | 115 #undef ferror
|
/external/tcpdump/ |
D | vfprintf.c | 53 return ferror(f) ? EOF : ret;
|
/external/lzma/CPP/Common/ |
D | StdInStream.h | 31 bool Error() const throw() { return (ferror(_stream) != 0); } in Error()
|
/external/libwebm/webvtt/ |
D | vttreader.cc | 45 if (ferror(file_)) in GetChar()
|