Searched defs:errno (Results 1 - 6 of 6) sorted by relevance

/libcore/luni/src/main/java/libcore/io/
H A DErrnoException.java24 * errno value, for comparison against the constants in {@link OsConstants}, should sophisticated
29 public final int errno; field in class:ErrnoException
31 public ErrnoException(String functionName, int errno) { argument
33 this.errno = errno;
36 public ErrnoException(String functionName, int errno, Throwable cause) { argument
39 this.errno = errno;
43 * Converts the stashed function name and errno value to a human-readable string.
48 String errnoName = OsConstants.errnoName(errno);
[all...]
H A DForwardingOs.java133 public String strerror(int errno) { return os.strerror(errno); } argument
H A DOs.java126 public String strerror(int errno); argument
H A DPosix.java177 public native String strerror(int errno); argument
H A DOsConstants.java516 public static String errnoName(int errno) { argument
517 if (errno == E2BIG) {
520 if (errno == EACCES) {
523 if (errno == EADDRINUSE) {
526 if (errno == EADDRNOTAVAIL) {
529 if (errno == EAFNOSUPPORT) {
532 if (errno == EAGAIN) {
535 if (errno == EALREADY) {
538 if (errno == EBADF) {
541 if (errno
[all...]
/libcore/support/src/test/java/tests/io/
H A DMockOs.java113 public void enqueueFault(String methodName, final int errno) { argument
116 throw new ErrnoException(method.getName(), errno);

Completed in 282 milliseconds