Searched refs:EINVAL (Results 1 – 14 of 14) sorted by relevance
/libcore/luni/src/test/java/libcore/android/system/ |
D | ErrnoExceptionTest.java | 29 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()
|
D | OsTest.java | 490 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/ |
D | FileChannelImpl.c | 178 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()
|
D | canonicalize_md.c | 195 errno = EINVAL; in canonicalize()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixConstants.java | 109 static final int EINVAL = OsConstants.EINVAL; field in UnixConstants
|
D | UnixFileAttributeViews.java | 105 if (x.errno() == UnixConstants.EINVAL && in setTimes()
|
D | UnixFileSystemProvider.java | 501 if (x.errno() == UnixConstants.EINVAL) in readSymbolicLink()
|
D | UnixPath.java | 780 if (getFileSystem().isSolaris() && x.errno() == EINVAL) in openForAttributeAccess()
|
/libcore/ojluni/src/main/java/java/net/ |
D | PlainSocketImpl.java | 46 import static android.system.OsConstants.EINVAL; 212 } else if (errnoException.errno == EINVAL || errnoException.errno == EBADF) { in socketAccept()
|
/libcore/luni/src/main/java/android/system/ |
D | OsConstants.java | 210 public static final int EINVAL = placeholder(); field in OsConstants 886 if (errno == EINVAL) { in errnoName()
|
/libcore/luni/src/main/java/libcore/io/ |
D | BlockGuardOs.java | 55 throw new ErrnoException("socket", EINVAL, e); in tagSocket()
|
/libcore/luni/src/test/java/libcore/libcore/io/ |
D | MemoryMappedFileTest.java | 61 assertEquals(OsConstants.EINVAL, e.errno); in testMmapRo_emptyFile()
|
/libcore/luni/src/main/native/ |
D | libcore_io_Linux.cpp | 1022 if (errno == EINVAL) { in Linux_capget() 2323 if (rc == -1 && errno == EINVAL) { in Linux_setsockoptGroupReq() 2508 if (result == -1L && errno == EINVAL) { in Linux_sysconf()
|
D | android_system_OsConstants.cpp | 164 initConstant(env, c, "EINVAL", EINVAL); in OsConstants_initConstants()
|