Home
last modified time | relevance | path

Searched refs:ferror (Results 1 – 25 of 311) sorted by relevance

12345678910>>...13

/external/llvm-project/clang/test/Analysis/
Dstream-error.c19 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/
Dfeof_fileno_ferror.cpp16 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/
Dzpipe.c55 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()
Dfitblk.c81 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()
Dzran.c173 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/
Dtimepng.c207 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/
Dbrotli_decoder.c72 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/
Dfitblk_original.c81 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/
Dbzip2.c341 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/
DRoundTrip.h38 if (std::ferror(sFd) || std::ferror(dFd)) { in check()
/external/libpcap/
Dsf-pcap.c193 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/
Dstdio_h.pass.cpp31 #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/
Dstdio_h.pass.cpp32 #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/
Dxxd.c356 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/
Dsasearch.c123 (ferror(fp) || !feof(fp)) ? "Cannot read from" : "Unexpected EOF in",
145 (ferror(fp) || !feof(fp)) ? "Cannot read from" : "Unexpected EOF in",
Dunbwt.c168 (ferror(fp) || !feof(fp)) ? "Cannot read from" : "Unexpected EOF in",
189 if(ferror(fp)) {
/external/bsdiff/
Dtest_utils.cc74 bool result = !ferror(fp); in ReadFile()
84 bool result = written == contents.size() && !ferror(fp); in WriteFile()
/external/igt-gpu-tools/lib/
Digt_eld.c193 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/
Dswitchlevels.c28 if (ferror(stdin)) { in read_all()
45 if (ferror(stdout)) { in write_all()
/external/lz4/examples/
DframeCompress.c37 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/
Dstdio.h116 #undef ferror
/external/llvm-project/libcxx/include/
Dstdio.h115 #undef ferror
/external/tcpdump/
Dvfprintf.c53 return ferror(f) ? EOF : ret;
/external/lzma/CPP/Common/
DStdInStream.h31 bool Error() const throw() { return (ferror(_stream) != 0); } in Error()
/external/libwebm/webvtt/
Dvttreader.cc45 if (ferror(file_)) in GetChar()

12345678910>>...13