/openjdk7/jdk/src/solaris/classes/sun/nio/fs/ |
H A D | UnixException.java | 38 private int errno; field in class:UnixException 41 UnixException(int errno) { argument 42 this.errno = errno; 47 this.errno = 0; 51 int errno() { method in class:UnixException 52 return errno; 55 void setError(int errno) { argument 56 this.errno = errno; [all...] |
/openjdk7/jdk/src/share/native/java/lang/fdlibm/src/ |
H A D | k_standard.c | 28 #include <errno.h> 116 errno = EDOM; 121 errno = EDOM; 130 errno = EDOM; 135 errno = EDOM; 146 errno = EDOM; 151 errno = EDOM; 163 errno = ERANGE; 165 errno = ERANGE; 177 errno [all...] |
H A D | s_ldexp.c | 28 #include <errno.h> 39 if(!finite(value)||value==0.0) errno = ERANGE;
|
H A D | w_scalb.c | 35 #include <errno.h> 65 if(!finite(fn)) errno = ERANGE;
|
/openjdk7/jdk/src/solaris/native/sun/nio/ch/ |
H A D | nio_util.h | 30 #include <errno.h> 36 } while((_result == -1) && (errno == EINTR)); \
|
H A D | FileChannelImpl.c | 66 if (errno == EINTR) 103 if (errno == ENOMEM) { 163 if (errno == EAGAIN) 165 if ((errno == EINVAL) && ((ssize_t)count >= 0)) 167 if (errno == EINTR) { 192 if (errno == EAGAIN) 194 if (errno == EOPNOTSUPP) 196 if ((errno == EINVAL) && ((ssize_t)count >= 0)) 198 if (errno == EINTR) 218 if (errno [all...] |
H A D | DatagramChannelImpl.c | 36 #include <errno.h> 115 if (rv < 0 && errno == EADDRNOTAVAIL) 116 rv = errno = 0; 122 handleSocketError(env, errno); 147 if (errno == EWOULDBLOCK) { 150 if (errno == EINTR) { 153 if (errno == ECONNREFUSED) { 162 return handleSocketError(env, errno); 230 if (errno == EAGAIN) { 233 if (errno [all...] |
H A D | SocketChannelImpl.c | 30 #include <errno.h> 74 errno = 0; 77 handleSocketError(env, errno);
|
H A D | EPollArrayWrapper.c | 40 } while((_result == -1) && (errno == EINTR)); \ 57 if (res < 0 && errno == EINTR) { 127 if (res < 0 && errno != EBADF && errno != ENOENT && errno != EPERM) {
|
/openjdk7/jdk/src/macosx/bin/ |
H A D | jexec.c | 78 #include <errno.h> 139 errorExit(errno, MISSING_JAVA_MSG); 172 errorExit(errno, BAD_EXEC_MSG); 178 * Exit the application by setting errno, and writing a message. 181 * error - errno is set to this value, and it is used to exit. 186 errno = error; 206 * errno. 235 result = errno;
|
/openjdk7/jdk/src/solaris/native/java/io/ |
H A D | canonicalize_md.c | 34 #include <errno.h> 193 errno = EINVAL; 198 errno = ENAMETOOLONG; 216 errno = ENAMETOOLONG; 236 else if (errno == ENOENT || errno == ENOTDIR || errno == EACCES) { 253 errno = ENAMETOOLONG;
|
/openjdk7/jdk/src/windows/native/java/io/ |
H A D | dirent_md.c | 32 #include <errno.h> 49 errno = ENOMEM; 69 errno = ENOMEM; 78 errno = ENOENT; 83 errno = ENOTDIR; 102 errno = EACCES; 120 errno = EBADF; 135 errno = EBADF;
|
/openjdk7/jdk/src/solaris/native/sun/nio/fs/ |
H A D | UnixCopyFile.c | 31 #include <errno.h> 38 } while((_result == -1) && (errno == EINTR)); \ 64 throwUnixException(env, errno); 78 throwUnixException(env, errno);
|
H A D | SolarisWatchService.c | 57 throwUnixException(env, errno); 69 throwUnixException(env, errno); 80 throwUnixException(env, errno); 89 throwUnixException(env, errno); 101 throwUnixException(env, errno);
|
H A D | UnixNativeDispatcher.c | 34 #include <errno.h> 76 } while((_result == -1) && (errno == EINTR)); \ 82 } while((_result == NULL) && (errno == EINTR)); \ 248 throwUnixException(env, errno); 282 throwUnixException(env, errno); 297 } while (fp == NULL && errno == EINTR); 300 throwUnixException(env, errno); 314 } while (res == EOF && errno == EINTR); 316 throwUnixException(env, errno); 329 throwUnixException(env, errno); [all...] |
H A D | LinuxNativeDispatcher.c | 34 #include <errno.h> 89 errno = ENOTSUP; 95 throwUnixException(env, errno); 108 errno = ENOTSUP; 114 throwUnixException(env, errno); 125 errno = ENOTSUP; 131 throwUnixException(env, errno); 142 errno = ENOTSUP; 148 throwUnixException(env, errno); 162 } while (fp == NULL && errno [all...] |
/openjdk7/jdk/src/solaris/native/java/util/ |
H A D | FileSystemPreferences.c | 34 #include <errno.h> 45 result = errno; 85 result[1] = errno; 97 result[1] = errno; 134 return (jint)errno; 138 return (jint) errno;
|
/openjdk7/hotspot/src/os/solaris/vm/ |
H A D | threadCritical_solaris.cpp | 52 strerror(errno))); 72 "(%s)", strerror(errno)));
|
H A D | perfMemory_solaris.cpp | 39 # include <errno.h> 105 destfile, strerror(errno)); 117 destfile, strerror(errno)); 128 warning("Could not close %s: %s\n", destfile, strerror(errno)); 183 errno = 0; 186 if (errno != 0) { 265 strerror(errno)); 296 if (errno == ESRCH) { 301 THROW_MSG_0(vmSymbols::java_io_IOException(), strerror(errno)); 324 errno [all...] |
/openjdk7/jdk/src/solaris/bin/ |
H A D | jexec.c | 78 #include <errno.h> 168 errorExit(errno, MISSING_JAVA_MSG); 190 errorExit(errno, BAD_PATHNAME_MSG); 195 errorExit(errno, message); 223 errorExit(errno, BAD_EXEC_MSG); 229 * Exit the application by setting errno, and writing a message. 232 * error - errno is set to this value, and it is used to exit. 237 errno = error; 257 * errno. 286 result = errno; [all...] |
/openjdk7/jdk/src/solaris/native/java/net/ |
H A D | bsd_close.c | 37 #include <errno.h> 158 * If fd has been interrupted then set errno to EBADF 163 int orig_errno = errno; 185 errno = orig_errno; 195 * Returns -1 with errno set if operation fails. 201 errno = EBADF; 232 } while (rv == -1 && errno == EINTR); 237 * Unlock without destroying errno 239 orig_errno = errno; 241 errno [all...] |
H A D | linux_close.c | 36 #include <errno.h> 141 * If fd has been interrupted then set errno to EBADF 146 int orig_errno = errno; 168 errno = orig_errno; 178 * Returns -1 with errno set if operation fails. 184 errno = EBADF; 215 } while (rv == -1 && errno == EINTR); 220 * Unlock without destroying errno 222 orig_errno = errno; 224 errno [all...] |
/openjdk7/hotspot/src/os/bsd/vm/ |
H A D | perfMemory_bsd.cpp | 39 # include <errno.h> 103 destfile, strerror(errno)); 114 destfile, strerror(errno)); 126 warning("Could not close %s: %s\n", destfile, strerror(errno)); 181 errno = 0; 184 if (errno != 0) { 269 // is safe under any condition, but the use of errno in the output 274 strerror(errno)); 305 if (errno == ESRCH) { 310 THROW_MSG_0(vmSymbols::java_io_IOException(), strerror(errno)); [all...] |
/openjdk7/hotspot/src/os/linux/vm/ |
H A D | perfMemory_linux.cpp | 39 # include <errno.h> 103 destfile, strerror(errno)); 114 destfile, strerror(errno)); 126 warning("Could not close %s: %s\n", destfile, strerror(errno)); 181 errno = 0; 184 if (errno != 0) { 269 // is safe under any condition, but the use of errno in the output 274 strerror(errno)); 305 if (errno == ESRCH) { 310 THROW_MSG_0(vmSymbols::java_io_IOException(), strerror(errno)); [all...] |
/openjdk7/jdk/src/solaris/transport/socket/ |
H A D | socket_md.c | 33 #include <errno.h> 54 if (rv < 0 && (errno == EINPROGRESS || errno == EINTR)) { 81 if (errno != ECONNABORTED && errno != EINTR) { 93 } while (rv == -1 && errno == EINTR); 104 } while (rv == -1 && errno == EINTR); 114 } while (rv == -1 && errno == EINTR); 124 } while (rv == -1 && errno == EINTR); 148 } while (rv == -1 && errno [all...] |