Home
last modified time | relevance | path

Searched refs:EBADF (Results 1 – 25 of 32) sorted by relevance

12

/bionic/tests/
Dsys_xattr_test.cpp62 ASSERT_EQ(EBADF, errno); in TEST()
65 ASSERT_EQ(EBADF, errno); in TEST()
81 ASSERT_EQ(EBADF, errno); in TEST()
99 ASSERT_EQ(EBADF, errno); in TEST()
126 ASSERT_EQ(EBADF, errno); in TEST()
Derror_test.cpp63 …ASSERT_EXIT(error(22, EBADF, "x%c", 'y'), ::testing::ExitedWithCode(22), ": xy: Bad file descripto… in TEST()
71 …ASSERT_EXIT(error_at_line(22, EBADF, "a.c", 123, "x%c", 'y'), ::testing::ExitedWithCode(22), ":a.c… in TEST()
Dsys_socket_test.cpp103 ASSERT_EQ(EBADF, errno); in TEST()
178 ASSERT_EQ(EBADF, errno); in TEST()
236 ASSERT_EQ(EBADF, errno); in TEST()
Dfcntl_test.cpp87 EXPECT_EQ(EBADF, posix_fadvise(-1, 0, 0, POSIX_FADV_NORMAL)); in TEST()
90 EXPECT_EQ(EBADF, posix_fadvise64(-1, 0, 0, POSIX_FADV_NORMAL)); in TEST()
267 ASSERT_EQ(EBADF, errno); in TEST()
274 ASSERT_EQ(EBADF, errno); in TEST()
Dnl_types_test.cpp30 ASSERT_EQ(EBADF, errno); in TEST()
Dsys_stat_test.cpp62 ASSERT_EQ(EBADF, errno); in TEST()
74 ASSERT_EQ(EBADF, errno); in TEST()
Diconv_test.cpp282 ASSERT_EQ(EBADF, errno); in TEST()
288 ASSERT_EQ(EBADF, errno); in TEST()
Ddirent_test.cpp152 ASSERT_EQ(EBADF, errno); in TEST()
171 ASSERT_EQ(EBADF, errno); in TEST()
/bionic/libc/bionic/
Dflistxattr.cpp43 if (result != -1 || errno != EBADF) { in flistxattr()
52 errno = EBADF; in flistxattr()
Dfchmod.cpp43 if (result == 0 || errno != EBADF) { in fchmod()
57 errno = EBADF; in fchmod()
Dfsetxattr.cpp43 if (result == 0 || errno != EBADF) { in fsetxattr()
52 errno = EBADF; in fsetxattr()
Dfgetxattr.cpp44 if (result != -1 || errno != EBADF) { in fgetxattr()
53 errno = EBADF; in fgetxattr()
Dnl_types.cpp43 errno = EBADF; in catclose()
Dspawn.cpp331 if (fd < 0) return EBADF; in posix_spawn_file_actions_addopen()
336 if (fd < 0) return EBADF; in posix_spawn_file_actions_addclose()
341 if (fd < 0 || new_fd < 0) return EBADF; in posix_spawn_file_actions_adddup2()
Diconv.cpp356 errno = EBADF; in iconv()
364 errno = EBADF; in iconv_close()
Dstrerror.cpp56 [EBADF] = "Bad file descriptor",
Dexec.cpp181 if (errno == ENOENT) errno = EBADF; in fexecve()
Dlibc_init_common.cpp164 if (errno == EBADF) { in __nullify_closed_stdio()
/bionic/tests/libs/
Dpreinit_syscall_test_helper.cpp38 CHECK(g_errno == EBADF); in main()
/bionic/libc/kernel/uapi/asm-generic/
Derrno-base.h29 #define EBADF 9 macro
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dfpurge.c49 errno = EBADF; in fpurge()
Dwbuf.c58 errno = EBADF; in __swbuf()
Dfvwrite.c62 errno = EBADF; in __sfvwrite()
/bionic/libc/stdio/
Drefill.c65 errno = EBADF; in __srefill()
/bionic/tests/headers/posix/
Derrno_h.c43 MACRO(EBADF); in errno_h()

12