Home
last modified time | relevance | path

Searched refs:EINVAL (Results 1 – 16 of 16) 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.java151 assertEquals(EINVAL, expected.errno); in testFcntlInt_invalidCmd()
572 expectBindConnectSendtoErrno(EAFNOSUPPORT, EAFNOSUPPORT, EINVAL, in testCrossFamilyBindConnectSendto()
575 expectBindConnectSendtoErrno(EINVAL, EINVAL, EINVAL, in testCrossFamilyBindConnectSendto()
577 expectBindConnectSendtoErrno(EINVAL, EINVAL, EINVAL, in testCrossFamilyBindConnectSendto()
1990 assertEquals(EINVAL, expected.errno);
2148 expectException(() -> Os.memfd_create("test_memfd", 0xffff), ErrnoException.class, EINVAL,
2219 expectException(() -> Os.setenv("", "value", true), ErrnoException.class, EINVAL,
2222 expectException(() -> Os.setenv("a=b", "value", true), ErrnoException.class, EINVAL,
2234 expectException(() -> Os.setenv("", "value", false), ErrnoException.class, EINVAL,
2237 expectException(() -> Os.setenv("a=b", "value", false), ErrnoException.class, EINVAL,
[all …]
/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.c254 errno = EINVAL; in canonicalize()
275 if (errno == EINVAL || errno == ELOOP || errno == ENAMETOOLONG || errno == ENOMEM) { 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.java514 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/annotations/flagged_api/android/system/
DOsConstants.annotated.java330 public static final int EINVAL; field in OsConstants
331 static { EINVAL = 0; }
/libcore/luni/src/main/java/android/system/
DOsConstants.java269 public static final int EINVAL = placeholder(); field in OsConstants
1083 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.java58 throw new ErrnoException("socket", EINVAL, e); in tagSocket()
/libcore/luni/src/main/native/
Dandroid_system_OsConstants.cpp169 initConstant(env, c, "EINVAL", EINVAL); in OsConstants_initConstants()
Dlibcore_io_Linux.cpp1091 if (errno == EINVAL) { in Linux_capget()
2498 if (rc == -1 && errno == EINVAL) { in Linux_setsockoptGroupReq()
2692 if (result == -1L && errno == EINVAL) { in Linux_sysconf()
/libcore/api/
Dcurrent.txt253 field public static final int EINVAL;