Searched refs:errno (Results 101 - 125 of 153) sorted by relevance

1234567

/openjdk7/jdk/src/share/native/java/util/zip/zlib-1.2.3/
H A Dzutil.c165 * errno. We define it as a global variable to simplify porting.
168 int errno = 0; variable
H A Dgzio.c113 insufficient memory to allocate the (de)compression state; errno
114 can be checked to distinguish the two cases (if errno is zero, the
204 errno = 0;
290 errno = 0;
326 errno = 0;
401 if (errno != ESPIPE) /* fclose is broken for pipes in HP/UX */
475 errno = 0;
1008 errnum is set to Z_ERRNO and the application may consult errno
1025 m = (char*)(*errnum == Z_ERRNO ? zstrerror(errno) : s->stream.msg);
/openjdk7/hotspot/src/os/bsd/dtrace/
H A Djvm_dtrace.c26 #include <errno.h>
71 } while((_result == -1) && (errno == EINTR)); \
/openjdk7/hotspot/src/os/solaris/dtrace/
H A Djvm_dtrace.c26 #include <errno.h>
71 } while((_result == -1) && (errno == EINTR)); \
/openjdk7/jdk/src/share/native/com/sun/java/util/jar/pack/
H A Dmain.cpp38 #include <errno.h>
106 if (errno != EINTR)
H A Dzip.cpp31 #include <errno.h>
90 fprintf(u->errstrm, "Error: write on output file failed err=%d\n",errno);
/openjdk7/jdk/src/macosx/bin/
H A Djava_md_macosx.c48 #include <errno.h>
358 JLI_ReportErrorMessageSys("Could not create main thread: %s\n", strerror(errno));
362 JLI_ReportErrorMessageSys("pthread_detach() failed: %s\n", strerror(errno));
/openjdk7/hotspot/src/os/bsd/vm/
H A Dos_bsd.cpp94 # include <errno.h>
789 // will return -1 and errno is not changed. Check if it is really NPTL.
1819 if (errno == 0) return 0;
1821 const char *s = ::strerror(errno);
2767 } else if (errno == EINTR) {
2769 } else if (errno == ETIMEDOUT) {
2895 ", %d) failed; error='%s' (errno=%d)", addr, size, exec,
2920 NOT_PRODUCT(warn_fail_commit_memory(addr, size, exec, errno);)
2959 PRODUCT_ONLY(warn_fail_commit_memory(addr, size, exec, errno);)
3445 jio_snprintf(msg, sizeof(msg), "Failed to reserve shared memory (errno
[all...]
H A DattachListener_bsd.cpp390 if (errno != EINTR) return -1;
/openjdk7/hotspot/src/os/linux/vm/
H A Dos_linux.cpp96 # include <errno.h>
663 // will return -1 and errno is not changed. Check if it is really NPTL.
1610 if (errno == 0) return 0;
1612 const char *s = ::strerror(errno);
2482 } else if (errno == EINTR) {
2484 } else if (errno == ETIMEDOUT) {
2645 // list of errno values comes from JBS-6843484. I can't find a
2646 // Linux man page that documents this specific set of errno
2669 ", %d) failed; error='%s' (errno=%d)", addr, size, exec,
2677 ", " SIZE_FORMAT ", %d) failed; error='%s' (errno
[all...]
H A DattachListener_linux.cpp373 if (errno != EINTR) return -1;
/openjdk7/hotspot/agent/src/os/bsd/
H A DMacosxDebuggerLocal.m463 switch (errno) {
474 fprintf(stderr, "attach: waitpid() failed. Unexpected error %d\n",errno);
/openjdk7/jdk/src/share/back/
H A Derror_messages.c47 #include <errno.h>
/openjdk7/jdk/src/solaris/native/com/sun/management/
H A DLinuxOperatingSystem.c30 #include <errno.h>
H A DUnixOperatingSystem_md.c54 #include <errno.h>
/openjdk7/jdk/src/windows/transport/shmem/
H A Dshmem_md.c27 #include <errno.h>
/openjdk7/jdk/src/share/demo/jvmti/hprof/
H A Dhprof.h60 #include <errno.h>
H A Dhprof_io.c287 system_error("send", res, errno);
292 system_error("write", res, errno);
755 system_error("read", nbytes, errno);
1889 system_error("read", nbytes, errno);
/openjdk7/jdk/src/share/native/java/util/zip/
H A DInflater.c32 #include <errno.h>
H A Dzip_util.c169 // Initialize errno to 0. It may be set later (e.g. during memory
171 errno = 0;
201 } else if (n == JVM_IO_ERR && errno == EINTR) {
1440 msg != 0 ? msg : strerror(errno));
1454 msg != 0 ? msg : strerror(errno));
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DLinuxDosFileAttributeView.java242 if (x.errno() == ENODATA)
H A DUnixPath.java780 if (getFileSystem().isSolaris() && x.errno() == EINVAL)
783 if (x.errno() == ELOOP)
H A DUnixFileAttributeViews.java99 if (x.errno() == UnixConstants.EINVAL &&
/openjdk7/hotspot/src/os/windows/vm/
H A Dos_windows.cpp89 #include <errno.h>
1033 errno = ENOMEM;
1053 errno = ENOMEM;
1062 errno = ENOENT;
1067 errno = ENOTDIR;
1086 errno = EACCES;
1107 errno = EBADF;
1123 errno = EBADF;
1818 if (errno != 0) {
1820 const char* s = strerror(errno);
[all...]
/openjdk7/jdk/src/solaris/bin/
H A Djava_md_common.c155 emsg = strerror(errno);
201 * (which would be done by checking errno). This is because it
402 * Also removed was the setting of errno. The only value of errno set

Completed in 87 milliseconds

1234567