Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/native/
Dlinux_close.cpp92 errno = EBADF; in NET_Dup2()
125 errno = _wasSignaled ? EBADF : _syscallErrno; \
201 errno = EBADF; in NET_Timeout()
232 errno = wasSignaled ? EBADF : syscallErrno; in NET_Timeout()
DSocketInputStream.c102 if (errno == EBADF) { in SocketInputStream_socketRead0()
131 case EBADF: in SocketInputStream_socketRead0()
DUNIXProcess_md.c772 if (restartableClose(fd) == -1 && errno != EBADF) in childProcess()
Dnet_util_md.c290 case EBADF: in NET_ThrowNew()
/libcore/luni/src/test/java/libcore/android/system/
DErrnoExceptionTest.java28 import static android.system.OsConstants.EBADF;
43 check_messageErrnoAndCause("name failed: EBADF (Bad file descriptor)", "name", EBADF); in messageErrnoAndCause()
DOsTest.java125 assertEquals(EBADF, expected.errno); in testFcntlInt_nullFd()
410 expectBindException(null, addr, ErrnoException.class, EBADF); in expectBindConnectSendtoSuccess()
436 expectSendtoException(null, null, ErrnoException.class, EBADF); in expectBindConnectSendtoSuccess()
439 expectConnectException(null, addr, ErrnoException.class, EBADF); in expectBindConnectSendtoSuccess()
1130 ErrnoException.class, EBADF, "setsockoptTimeval(null, ...)"); local
1152 ErrnoException.class, EBADF, "setsockoptTimeval(<closed fd>, ...)"); in test_socket_setSockoptTimeval_badFd() local
1426 assertEquals(EBADF, expected.errno); in test_splice_errors()
1435 assertEquals(EBADF, expected.errno); in test_splice_errors()
/libcore/ojluni/src/main/java/java/net/
DPlainSocketImpl.java45 import static android.system.OsConstants.EBADF;
212 } else if (errnoException.errno == EINVAL || errnoException.errno == EBADF) { in socketAccept()
/libcore/luni/src/main/java/android/system/
DOsConstants.java191 public static final int EBADF = placeholder(); field in OsConstants
826 if (errno == EBADF) { in errnoName()
/libcore/luni/src/main/native/
Dandroid_system_OsConstants.cpp144 initConstant(env, c, "EBADF", EBADF); in OsConstants_initConstants()