Searched refs:EBADF (Results 1 – 9 of 9) sorted by relevance
/libcore/ojluni/src/main/native/ |
D | linux_close.cpp | 92 errno = EBADF; in NET_Dup2() 125 errno = _wasSignaled ? EBADF : _syscallErrno; \ 201 errno = EBADF; in NET_Timeout() 232 errno = wasSignaled ? EBADF : syscallErrno; in NET_Timeout()
|
D | SocketInputStream.c | 102 if (errno == EBADF) { in SocketInputStream_socketRead0() 131 case EBADF: in SocketInputStream_socketRead0()
|
D | UNIXProcess_md.c | 772 if (restartableClose(fd) == -1 && errno != EBADF) in childProcess()
|
D | net_util_md.c | 290 case EBADF: in NET_ThrowNew()
|
/libcore/luni/src/test/java/libcore/android/system/ |
D | ErrnoExceptionTest.java | 28 import static android.system.OsConstants.EBADF; 43 check_messageErrnoAndCause("name failed: EBADF (Bad file descriptor)", "name", EBADF); in messageErrnoAndCause()
|
D | OsTest.java | 370 expectBindException(null, addr, ErrnoException.class, EBADF); in expectBindConnectSendtoSuccess() 396 expectSendtoException(null, null, ErrnoException.class, EBADF); in expectBindConnectSendtoSuccess() 399 expectConnectException(null, addr, ErrnoException.class, EBADF); in expectBindConnectSendtoSuccess() 1031 ErrnoException.class, EBADF, "setsockoptTimeval(null, ...)"); local 1053 ErrnoException.class, EBADF, "setsockoptTimeval(<closed fd>, ...)"); in test_socket_setSockoptTimeval_badFd() local 1327 assertEquals(EBADF, expected.errno); in test_splice_errors() 1336 assertEquals(EBADF, expected.errno); in test_splice_errors()
|
/libcore/ojluni/src/main/java/java/net/ |
D | PlainSocketImpl.java | 45 import static android.system.OsConstants.EBADF; 212 } else if (errnoException.errno == EINVAL || errnoException.errno == EBADF) { in socketAccept()
|
/libcore/luni/src/main/java/android/system/ |
D | OsConstants.java | 190 public static final int EBADF = placeholder(); field in OsConstants 826 if (errno == EBADF) { in errnoName()
|
/libcore/luni/src/main/native/ |
D | android_system_OsConstants.cpp | 144 initConstant(env, c, "EBADF", EBADF); in OsConstants_initConstants()
|