Home
last modified time | relevance | path

Searched refs:EBADF (Results 1 – 10 of 10) 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.java149 assertEquals(EBADF, expected.errno); in testFcntlInt_nullFd()
436 expectBindException(null, addr, ErrnoException.class, EBADF); in expectBindConnectSendtoSuccess()
462 expectSendtoException(null, null, EBADF); in expectBindConnectSendtoSuccess()
463 expectSendtoException(null, addr, EBADF); in expectBindConnectSendtoSuccess()
466 expectConnectException(null, addr, ErrnoException.class, EBADF); in expectBindConnectSendtoSuccess()
1566 ErrnoException.class, EBADF, "setsockoptTimeval(null, ...)");
1590 ErrnoException.class, EBADF, "setsockoptTimeval(<closed fd>, ...)");
1882 assertEquals(EBADF, expected.errno);
1891 assertEquals(EBADF, expected.errno);
/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.java252 public static final int EBADF = placeholder(); field in OsConstants
1020 if (errno == EBADF) { in errnoName()
/libcore/luni/src/main/native/
Dandroid_system_OsConstants.cpp149 initConstant(env, c, "EBADF", EBADF); in OsConstants_initConstants()
/libcore/api/
Dcurrent.txt213 field public static final int EBADF;