/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 | 114 assertEquals(EINVAL, expected.errno); in testFcntlInt_invalidCmd() 530 expectBindConnectSendtoErrno(EAFNOSUPPORT, EAFNOSUPPORT, EINVAL, in testCrossFamilyBindConnectSendto() 533 expectBindConnectSendtoErrno(EINVAL, EINVAL, EINVAL, in testCrossFamilyBindConnectSendto() 535 expectBindConnectSendtoErrno(EINVAL, EINVAL, EINVAL, in testCrossFamilyBindConnectSendto() 1447 assertEquals(EINVAL, expected.errno); in test_splice_errors() 1592 expectException(() -> Os.memfd_create("test_memfd", 0xffff), ErrnoException.class, EINVAL, in testMemfdCreateErrno()
|
/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 | 211 public static final int EINVAL = placeholder(); field in OsConstants 886 if (errno == EINVAL) { in errnoName()
|
/libcore/luni/src/test/java/libcore/libcore/io/ |
D | MemoryMappedFileTest.java | 61 assertEquals(OsConstants.EINVAL, e.errno); in testMmapRo_emptyFile()
|
/libcore/luni/src/main/java/libcore/io/ |
D | BlockGuardOs.java | 57 throw new ErrnoException("socket", EINVAL, e); in tagSocket()
|
/libcore/luni/src/main/native/ |
D | libcore_io_Linux.cpp | 1035 if (errno == EINVAL) { in Linux_capget() 2326 if (rc == -1 && errno == EINVAL) { in Linux_setsockoptGroupReq() 2511 if (result == -1L && errno == EINVAL) { in Linux_sysconf()
|
D | android_system_OsConstants.cpp | 164 initConstant(env, c, "EINVAL", EINVAL); in OsConstants_initConstants()
|