Home
last modified time | relevance | path

Searched refs:EINVAL (Results 1 – 14 of 14) sorted by relevance

/libcore/luni/src/test/java/libcore/android/system/
DErrnoExceptionTest.java29 import static android.system.OsConstants.EINVAL;
41 check_messageErrnoAndCause("null failed: EINVAL (Invalid argument)", null, EINVAL); in messageErrnoAndCause()
42 check_messageErrnoAndCause("name failed: EINVAL (Invalid argument)", "name", EINVAL); in messageErrnoAndCause()
61 check_rethrow(new ErrnoException(null, EINVAL)); in rethrow()
62 check_rethrow(new ErrnoException(null, EINVAL, null)); in rethrow()
63 check_rethrow(new ErrnoException(null, EINVAL, new Throwable("cause msg"))); in rethrow()
65 check_rethrow(new ErrnoException("name", EINVAL)); in rethrow()
66 check_rethrow(new ErrnoException("name", EINVAL, null)); in rethrow()
67 check_rethrow(new ErrnoException("name", EINVAL, new Throwable("cause msg"))); in rethrow()
DOsTest.java490 expectBindConnectSendtoErrno(EAFNOSUPPORT, EAFNOSUPPORT, EINVAL, in testCrossFamilyBindConnectSendto()
493 expectBindConnectSendtoErrno(EINVAL, EINVAL, EINVAL, in testCrossFamilyBindConnectSendto()
495 expectBindConnectSendtoErrno(EINVAL, EINVAL, EINVAL, in testCrossFamilyBindConnectSendto()
1348 assertEquals(EINVAL, expected.errno); in test_splice_errors()
/libcore/ojluni/src/main/native/
DFileChannelImpl.c178 if ((errno == EINVAL) && ((ssize_t)count >= 0)) in FileChannelImpl_transferTo0()
209 if ((errno == EINVAL) && ((ssize_t)count >= 0)) in FileChannelImpl_transferTo0()
233 if ((errno == EINVAL) && ((ssize_t)count >= 0)) in FileChannelImpl_transferTo0()
268 if ((errno == EINVAL) && ((ssize_t)count >= 0)) in FileChannelImpl_transferTo0()
Dcanonicalize_md.c195 errno = EINVAL; in canonicalize()
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixConstants.java109 static final int EINVAL = OsConstants.EINVAL; field in UnixConstants
DUnixFileAttributeViews.java105 if (x.errno() == UnixConstants.EINVAL && in setTimes()
DUnixFileSystemProvider.java501 if (x.errno() == UnixConstants.EINVAL) in readSymbolicLink()
DUnixPath.java780 if (getFileSystem().isSolaris() && x.errno() == EINVAL) in openForAttributeAccess()
/libcore/ojluni/src/main/java/java/net/
DPlainSocketImpl.java46 import static android.system.OsConstants.EINVAL;
212 } else if (errnoException.errno == EINVAL || errnoException.errno == EBADF) { in socketAccept()
/libcore/luni/src/main/java/android/system/
DOsConstants.java210 public static final int EINVAL = placeholder(); field in OsConstants
886 if (errno == EINVAL) { in errnoName()
/libcore/luni/src/main/java/libcore/io/
DBlockGuardOs.java55 throw new ErrnoException("socket", EINVAL, e); in tagSocket()
/libcore/luni/src/test/java/libcore/libcore/io/
DMemoryMappedFileTest.java61 assertEquals(OsConstants.EINVAL, e.errno); in testMmapRo_emptyFile()
/libcore/luni/src/main/native/
Dlibcore_io_Linux.cpp1022 if (errno == EINVAL) { in Linux_capget()
2323 if (rc == -1 && errno == EINVAL) { in Linux_setsockoptGroupReq()
2508 if (result == -1L && errno == EINVAL) { in Linux_sysconf()
Dandroid_system_OsConstants.cpp164 initConstant(env, c, "EINVAL", EINVAL); in OsConstants_initConstants()