Searched refs:errno (Results 51 - 75 of 153) sorted by relevance

1234567

/openjdk7/jdk/src/solaris/native/java/net/
H A DSocketOutputStream.c27 #include <errno.h>
116 if (errno == ECONNRESET) {
H A DInet4AddressImpl.c26 #include <errno.h>
456 * large DNS entry. This is signaled by errno->ERANGE. We try once
459 if (hp == NULL && errno == ERANGE) {
554 * large DNS entry. This is signaled by errno->ERANGE. We try once
557 if (hp == NULL && errno == ERANGE) {
627 NET_ThrowNew(env, errno, "Can't bind socket");
656 if (n < 0 && errno != EINPROGRESS ) {
658 if (errno != EINVAL && errno != EHOSTUNREACH)
661 * will fail and errno wil
[all...]
H A DInet6AddressImpl.c26 #include <errno.h>
486 NET_ThrowNew(env, errno, "Can't bind socket");
506 if (n < 0 && errno != EINPROGRESS) {
508 if (errno != EINVAL && errno != EHOSTUNREACH)
511 * will fail and errno will be set to EINVAL or EHOSTUNREACH.
515 NET_ThrowNew(env, errno, "Can't send ICMP packet");
642 NET_ThrowNew(env, errno, "Can't create socket");
654 NET_ThrowNew(env, errno, "Can't bind socket");
669 if (connect_rv == 0 || errno
[all...]
H A DPlainDatagramSocketImpl.c26 #include <errno.h>
249 if (errno == EADDRINUSE || errno == EADDRNOTAVAIL ||
250 errno == EPERM || errno == EACCES) {
519 if (errno == ECONNREFUSED) {
575 if (errno == EBADF) {
595 if (errno == ECONNREFUSED) {
596 int orig_errno = errno;
598 errno
[all...]
/openjdk7/jdk/src/solaris/demo/jvmti/hprof/
H A Dhprof_md.c53 #include <sys/errno.h>
55 #include <errno.h>
205 } while ((res < 0) && (errno == EINTR));
217 } while ((res < 0) && (errno == EINTR));
229 } while ((res < 0) && (errno == EINTR));
348 p = strerror(errno);
/openjdk7/jdk/src/solaris/native/java/lang/
H A DUNIXProcess_md.c50 #include <errno.h>
92 * # Error: pthread_getattr_np failed with errno = 3 (ESRCH)
156 } while((_result == -1) && (errno == EINTR)); \
328 switch (errno) {
555 if (errno == ENOEXEC)
582 errno = ENOENT;
598 errno = ENAMETOOLONG;
605 /* There are 3 responses to various classes of errno:
607 * or continue with "sticky" errno.
615 * global variable errno se
[all...]
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DUnixCopyFile.java384 if (x.errno() == EXDEV) {
436 (x.errno() == EEXIST || x.errno() == ENOTEMPTY))
450 if (x.errno() != EXDEV && x.errno() != EISDIR) {
489 (x.errno() == EEXIST || x.errno() == ENOTEMPTY))
555 (x.errno() == EEXIST || x.errno() == ENOTEMPTY))
H A DUnixFileSystemProvider.java236 if (!failIfNotExists && x.errno() == ENOENT)
241 (x.errno() == EEXIST || x.errno() == ENOTEMPTY))
404 if (x.errno() == ENOTDIR)
424 if (x.errno() == UnixConstants.ENOTDIR)
493 if (x.errno() == UnixConstants.EINVAL)
/openjdk7/jdk/src/solaris/native/sun/nio/ch/
H A DSctpNet.c140 errno = errorValue;
185 return handleSocketError(env, errno);
199 handleSocketError(env, errno);
237 handleSocketError(env, errno);
252 handleSocketError(env, errno);
274 if (errno == EINPROGRESS) {
276 } else if (errno == EINTR) {
279 return handleSocketError(env, errno);
359 handleSocketError(env, errno);
410 handleSocketError(env, errno);
[all...]
H A DFileDispatcherImpl.c134 if (errno == EINTR)
203 if ((cmd == F_SETLK64) && (errno == EAGAIN || errno == EACCES))
205 if (errno == EINTR)
H A DSctpChannelImpl.c248 handleSocketError(env, errno);
439 if (errno == EWOULDBLOCK) {
441 } else if (errno == EINTR) {
445 } else if (errno == ENOTCONN) {
453 handleSocketError(env, errno);
469 handleSocketError(env, errno);
555 if (errno == EWOULDBLOCK) {
557 } else if (errno == EINTR) {
559 } else if (errno == EPIPE) {
563 handleSocketError(env, errno);
[all...]
H A DDevPollArrayWrapper.c70 } while((_result == -1) && (errno == EINTR)); \
87 if (res < 0 && errno == EINTR) {
H A DEPoll.c82 return (res == 0) ? 0 : errno;
H A DKQueue.c83 return (res == -1) ? errno : 0;
/openjdk7/jdk/src/solaris/native/sun/nio/fs/
H A DSolarisNativeDispatcher.c32 #include <errno.h>
77 throwUnixException(env, errno);
104 throwUnixException(env, errno);
H A DgenSolarisConstants.c27 #include <errno.h>
H A DgenUnixConstants.c27 #include <errno.h>
/openjdk7/jdk/src/solaris/native/sun/net/dns/
H A DResolverConfigurationImpl.c29 #include <errno.h>
/openjdk7/jdk/src/solaris/native/sun/tools/attach/
H A DBsdVirtualMachine.c32 #include <errno.h>
49 } while((_result == -1) && (errno == EINTR)); \
85 err = errno;
148 /* save errno */
149 res = errno;
H A DSolarisVirtualMachine.c33 #include <errno.h>
44 } while((_result == -1) && (errno == EINTR)); \
65 err = errno;
111 /* save errno */
112 res = errno;
H A DLinuxVirtualMachine.c32 #include <errno.h>
48 } while((_result == -1) && (errno == EINTR)); \
163 err = errno;
366 /* save errno */
367 res = errno;
/openjdk7/hotspot/src/os/windows/vm/
H A DperfMemory_windows.cpp39 #include <errno.h>
98 destfile, strerror(errno));
107 destfile, strerror(errno));
119 warning("Could not close %s: %s\n", destfile, strerror(errno));
185 errno = 0;
188 if (errno != 0) {
320 errno = 0;
355 errno = 0;
497 if (errno != ENOENT) {
499 " store file %s : %s\n", path, strerror(errno));
[all...]
/openjdk7/jdk/src/solaris/demo/jni/Poller/
H A DPoller.c87 #include <errno.h>
663 while ((useEvents == -1) && (errno == EAGAIN))
668 if (errno == EINTR)
701 while ((useEvents == -1) && (errno == EAGAIN))
705 if (errno == EINTR)
708 else if (errno == EINVAL)
/openjdk7/hotspot/src/os/bsd/vm/
H A Dos_bsd.inline.hpp151 errno = status;
166 } while(((int)_result == OS_ERR) && (errno == EINTR))
228 if (res == OS_ERR && errno == EINTR) {
/openjdk7/hotspot/src/os/linux/vm/
H A Dos_linux.inline.hpp155 errno = status;
170 } while(((int)_result == OS_ERR) && (errno == EINTR))
232 if (res == OS_ERR && errno == EINTR) {

Completed in 76 milliseconds

1234567