Home
last modified time | relevance | path

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

/ndk/sources/cxx-stl/llvm-libc++/patches.android/
D0007-Fix-libc-compiler-error-when-calling-std-feof.patch7 defined in cstdio's std:: getchar, putchar, clearerr, feof, ferror
55 +#ifdef ferror
56 +inline _LIBCPP_INLINE_VISIBILITY int __libcpp_ferror(FILE* __stream) {return ferror(__stream);}
57 +#undef ferror
58 +inline _LIBCPP_INLINE_VISIBILITY int ferror(FILE* __stream) {return __libcpp_ferror(__stream);}
59 +#endif // ferror
D0011-Fix-tests-for-Android.patch158 +#if !defined(ferror)
159 + //check return type of ferror only if it's not an macro which may be a compound expression
160 static_assert((std::is_same<decltype(ferror(fp)), int>::value), "");
206 +#if !defined(ferror)
207 + //check return type of ferror only if it's not an macro which may be a compound expression
208 static_assert((std::is_same<decltype(std::ferror(fp)), int>::value), "");
/ndk/sources/host-tools/sed-4.2.1/lib/
Dunlocked-io.h51 # undef ferror
52 # define ferror(x) ferror_unlocked (x) macro
54 # define ferror_unlocked(x) ferror (x)
Dstdio-write.c42 if (ferror (stream)) \
49 if (FAILED && GetLastError () == ERROR_NO_DATA && ferror (stream)) \
/ndk/sources/android/support/src/stdio/
Dstdio_impl.h55 #undef ferror
56 #define ferror fake_ferror macro
Dstdio_impl.c81 return ferror(file->file); in fake_ferror()
Dvfwprintf.c218 if (!ferror(f)) errno = EOVERFLOW; in wprintf_core()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dcstdio93 int ferror(FILE* stream);
160 #ifdef ferror
161 inline _LIBCPP_INLINE_VISIBILITY int __libcpp_ferror(FILE* __stream) {return ferror(__stream);}
162 #undef ferror
163 inline _LIBCPP_INLINE_VISIBILITY int ferror(FILE* __stream) {return __libcpp_ferror(__stream);}
164 #endif // ferror
220 using ::ferror;
/ndk/tests/build/issue66668-libc++-std-feof/jni/
Dissue66668-libc++-std-feof.cpp10 int d = std::ferror(fp); in main()
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_cstdio.h63 # undef ferror
69 using _STLP_VENDOR_CSTD::ferror;
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.c.headers/
Dstdio_h.pass.cpp137 #if !defined(ferror) in main()
139 static_assert((std::is_same<decltype(ferror(fp)), int>::value), ""); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/c.files/
Dcstdio.pass.cpp140 #if !defined(ferror) in main()
142 static_assert((std::is_same<decltype(std::ferror(fp)), int>::value), ""); in main()
/ndk/sources/host-tools/sed-4.2.1/sed/
Dutils.c259 if (size && (nmemb=fread(ptr, size, nmemb, stream)) <= 0 && ferror(stream))
272 if (!ferror (stream))
275 if (ferror (stream))
/ndk/sources/host-tools/make-3.81/
Dansi2knr.c359 output_error = ferror(out);
363 output_error = ferror(out);
Dmisc.c886 int prev_fail = ferror (stdout); in close_stdout()
Dmain.c1506 while (!feof (stdin) && ! ferror (stdin)) in main()
Dread.c2634 if (ferror (ebuf->fp)) in readline()
Dconfigure3269 return ferror (f) || fclose (f) != 0;
DChangeLog1079 * main.c (main): Check for ferror() when reading makefiles from stdin.
/ndk/sources/cxx-stl/gabi++/include/
Dcstdio48 using ::ferror;
/ndk/sources/cxx-stl/system/include/
Dcstdio48 using ::ferror;
/ndk/sources/host-tools/nawk-20071023/
Drun.c982 if (ferror(stdout)) in awkprintf()
989 if (ferror(fp)) in awkprintf()
1584 if (ferror(fp)) in printstat()
1696 if (ferror(files[i].fp)) in closefile()
1722 if (ferror(files[i].fp)) in closeall()
/ndk/sources/host-tools/sed-4.2.1/
Dconfigure6678 return ferror (f) || fclose (f) != 0;
7100 return ferror (f) || fclose (f) != 0;
7522 return ferror (f) || fclose (f) != 0;
20900 return ferror (f) || fclose (f) != 0;
21317 return ferror (f) || fclose (f) != 0;
/ndk/sources/host-tools/make-3.81/autom4te.cache/
Doutput.03269 return ferror (f) || fclose (f) != 0;