/bionic/libc/bionic/ |
fchmod.cpp | 42 if ((result == 0) || (errno != EBADF)) { 53 // on O_PATH file descriptors as returning EBADF. 56 errno = EBADF;
|
flistxattr.cpp | 42 if ((result != -1) || (errno != EBADF)) { 51 errno = EBADF;
|
fgetxattr.cpp | 42 if ((result != -1) || (errno != EBADF)) { 51 errno = EBADF;
|
fsetxattr.cpp | 42 if ((result == 0) || (errno != EBADF)) { 51 errno = EBADF;
|
/external/bison/lib/ |
close-stream.c | 65 fclose failed with EBADF. That can happen when a program like cp 70 if (prev_fail || (fclose_fail && (some_pending || errno != EBADF)))
|
dup2.c | 55 errno = EBADF; 65 errno = EBADF; 75 errno = EBADF; 96 /* On Linux kernels 2.6.26-2.6.29, dup2 (fd, fd) returns -EBADF. 107 errno = EBADF; 154 errno = EBADF;
|
cloexec.c | 62 errno = EBADF; 66 /* errno is EBADF here. */
|
close.c | 42 errno = EBADF;
|
/external/strace/tests/ |
ftruncate64.c | 46 if (rc != -1 || EBADF != errno) 49 printf("ftruncate64(-1, %llu) = -1 EBADF (Bad file descriptor)\n",
|
ftruncate.c | 53 if (rc != -1 || EBADF != errno) 56 printf("ftruncate(-1, %llu) = -1 EBADF (Bad file descriptor)\n",
|
llseek.c | 49 if (rc != -1 || EBADF != errno) 52 printf("_llseek(-1, %llu, %p, SEEK_SET) = -1 EBADF (Bad file descriptor)\n",
|
lseek.c | 53 if (rc != -1 || EBADF != errno) 56 printf("lseek(-1, %llu, SEEK_SET) = -1 EBADF (Bad file descriptor)\n",
|
/external/valgrind/memcheck/tests/x86-solaris/ |
scalar.c | 16 SY(SYS_openat64, x0 - 1, x0, x0); FAILx(EBADF); 23 SY(SYS_openat64, x0 - 1, x0, x0 | O_CREAT, x0); FAILx(EBADF); 60 SY(SYS_fstatat64, x0 - 1, x0 + 1, x0, x0); FAILx(EBADF); 68 SY(SYS_llseek, x0 - 1, x0, x0); FAILx(EBADF); 93 SY(SYS_fstatvfs64, x0 - 1, x0 + 1); FAILx(EBADF); 105 SY(SYS_pread64, x0 - 1, x0, x0 + 1, x0, x0); FAILx(EBADF); 109 SY(SYS_pwrite64, x0 - 1, x0, x0 + 1, x0, x0); FAILx(EBADF);
|
/bionic/tests/ |
error_test.cpp | 63 ASSERT_EXIT(error(22, EBADF, "x%c", 'y'), ::testing::ExitedWithCode(22), ": xy: Bad file descriptor"); 71 ASSERT_EXIT(error_at_line(22, EBADF, "a.c", 123, "x%c", 'y'), ::testing::ExitedWithCode(22), ":a.c:123: xy: Bad file descriptor");
|
/bionic/libc/kernel/uapi/asm-generic/ |
errno-base.h | 31 #define EBADF 9
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
putc.c | 47 errno = EBADF;
|
/development/ndk/platforms/android-21/include/asm-generic/ |
errno-base.h | 31 #define EBADF 9
|
/development/ndk/platforms/android-3/include/asm-generic/ |
errno-base.h | 23 #define EBADF 9
|
/external/kernel-headers/original/uapi/asm-generic/ |
errno-base.h | 12 #define EBADF 9 /* Bad file number */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/asm-generic/ |
errno-base.h | 12 #define EBADF 9 /* Bad file number */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/asm-generic/ |
errno-base.h | 12 #define EBADF 9 /* Bad file number */
|
/prebuilts/ndk/current/platforms/android-12/arch-arm/usr/include/asm-generic/ |
errno-base.h | 23 #define EBADF 9
|
/prebuilts/ndk/current/platforms/android-12/arch-mips/usr/include/asm-generic/ |
errno-base.h | 23 #define EBADF 9
|
/prebuilts/ndk/current/platforms/android-12/arch-x86/usr/include/asm-generic/ |
errno-base.h | 23 #define EBADF 9
|
/prebuilts/ndk/current/platforms/android-13/arch-arm/usr/include/asm-generic/ |
errno-base.h | 23 #define EBADF 9
|