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.java114 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/
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.java211 public static final int EINVAL = placeholder(); field in OsConstants
886 if (errno == EINVAL) { in errnoName()
/libcore/luni/src/test/java/libcore/libcore/io/
DMemoryMappedFileTest.java61 assertEquals(OsConstants.EINVAL, e.errno); in testMmapRo_emptyFile()
/libcore/luni/src/main/java/libcore/io/
DBlockGuardOs.java57 throw new ErrnoException("socket", EINVAL, e); in tagSocket()
/libcore/luni/src/main/native/
Dlibcore_io_Linux.cpp1035 if (errno == EINVAL) { in Linux_capget()
2326 if (rc == -1 && errno == EINVAL) { in Linux_setsockoptGroupReq()
2511 if (result == -1L && errno == EINVAL) { in Linux_sysconf()
Dandroid_system_OsConstants.cpp164 initConstant(env, c, "EINVAL", EINVAL); in OsConstants_initConstants()