Searched refs:errno (Results 1 - 25 of 153) sorted by relevance

1234567

/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DUnixException.java38 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 Dk_standard.c28 #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 Ds_ldexp.c28 #include <errno.h>
39 if(!finite(value)||value==0.0) errno = ERANGE;
H A Dw_scalb.c35 #include <errno.h>
65 if(!finite(fn)) errno = ERANGE;
/openjdk7/jdk/src/solaris/native/sun/nio/ch/
H A Dnio_util.h30 #include <errno.h>
36 } while((_result == -1) && (errno == EINTR)); \
H A DFileChannelImpl.c66 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 DDatagramChannelImpl.c36 #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 DSocketChannelImpl.c30 #include <errno.h>
74 errno = 0;
77 handleSocketError(env, errno);
H A DEPollArrayWrapper.c40 } 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 Djexec.c78 #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 Dcanonicalize_md.c34 #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 Ddirent_md.c32 #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 DUnixCopyFile.c31 #include <errno.h>
38 } while((_result == -1) && (errno == EINTR)); \
64 throwUnixException(env, errno);
78 throwUnixException(env, errno);
H A DSolarisWatchService.c57 throwUnixException(env, errno);
69 throwUnixException(env, errno);
80 throwUnixException(env, errno);
89 throwUnixException(env, errno);
101 throwUnixException(env, errno);
H A DUnixNativeDispatcher.c34 #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 DLinuxNativeDispatcher.c34 #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 DFileSystemPreferences.c34 #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 DthreadCritical_solaris.cpp52 strerror(errno)));
72 "(%s)", strerror(errno)));
H A DperfMemory_solaris.cpp39 # 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 Djexec.c78 #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 Dbsd_close.c37 #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 Dlinux_close.c36 #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 DperfMemory_bsd.cpp39 # 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 DperfMemory_linux.cpp39 # 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 Dsocket_md.c33 #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...]

Completed in 103 milliseconds

1234567