/openjdk10/jdk/src/java.base/unix/native/libnio/fs/ |
H A D | UnixCopyFile.c | 35 #define RESTARTABLE(_cmd, _result) do { \ macro 61 RESTARTABLE(read((int)src, &buf, sizeof(buf)), n); 76 RESTARTABLE(write((int)dst, bufp, len), n);
|
H A D | UnixNativeDispatcher.c | 95 #define RESTARTABLE(_cmd, _result) do { \ macro 352 RESTARTABLE(dup((int)fd), res); 385 * RESTARTABLE(fflush(fp)) before closing, to make sure the stream 400 RESTARTABLE(open64(path, (int)oflags, (mode_t)mode), fd); 419 RESTARTABLE((*my_openat64_func)(dfd, path, (int)oflags, (mode_t)mode), fd); 430 RESTARTABLE(close((int)fd), err); 439 RESTARTABLE(read((int)fd, bufp, (size_t)nbytes), n); 452 RESTARTABLE(write((int)fd, bufp, (size_t)nbytes), n); 494 RESTARTABLE(stat64(path, &buf), err); 508 RESTARTABLE(stat6 [all...] |
/openjdk10/jdk/src/java.base/linux/native/libnio/ch/ |
H A D | EPollPort.c | 56 RESTARTABLE(write(fd, buf, 1), res); 66 RESTARTABLE(read(fd, buf, 1), res); 75 RESTARTABLE(close(fd), res);
|
H A D | EPoll.c | 80 RESTARTABLE(epoll_ctl(epfd, (int)opcode, (int)fd, &event), res); 92 RESTARTABLE(epoll_wait(epfd, events, numfds, -1), res);
|
H A D | EPollArrayWrapper.c | 37 #define RESTARTABLE(_cmd, _result) do { \ macro 115 RESTARTABLE(epoll_ctl(epfd, (int)opcode, (int)fd, &event), res); 141 RESTARTABLE(epoll_wait(epfd, events, numfds, timeout), res);
|
/openjdk10/jdk/src/java.base/macosx/native/libnio/ch/ |
H A D | KQueuePort.c | 56 RESTARTABLE(write(fd, buf, 1), res); 66 RESTARTABLE(read(fd, buf, 1), res); 75 RESTARTABLE(close(fd), res);
|
H A D | KQueue.c | 82 RESTARTABLE(kevent(kqfd, &changes[0], 1, NULL, 0, &timeout), res); 93 RESTARTABLE(kevent(kqfd, NULL, 0, events, nevents, NULL), res);
|
/openjdk10/jdk/src/java.base/aix/native/libnio/ch/ |
H A D | AixPollPort.c | 45 #define RESTARTABLE(_cmd, _result) do { \ macro 113 RESTARTABLE(_pollset_ctl((pollset_t)ps, &event, 1 /* length */), res); 124 RESTARTABLE(_pollset_poll(ps, events, numfds, -1), res); 134 RESTARTABLE(_pollset_destroy((pollset_t)ps), res); 155 RESTARTABLE(write(fd, buf, 1), res); 165 RESTARTABLE(read(fd, buf, 1), res); 174 RESTARTABLE(close(fd), res);
|
/openjdk10/jdk/src/java.base/unix/native/libnio/ch/ |
H A D | nio_util.h | 33 #define RESTARTABLE(_cmd, _result) do { \ macro
|
H A D | PollArrayWrapper.c | 35 #define RESTARTABLE(_cmd, _result) do { \ macro 82 RESTARTABLE (poll(a, numfds, timeout), err);
|
H A D | FileKey.c | 57 RESTARTABLE(fstat64(fdval(env, fdo), &fbuf), res);
|
/openjdk10/jdk/src/java.base/unix/native/libjava/ |
H A D | io_util_md.c | 76 RESTARTABLE(open64(path, oflag, mode), fd); 80 RESTARTABLE(fstat64(fd, &buf64), result); 163 RESTARTABLE(read(fd, buf, len), result); 171 RESTARTABLE(write(fd, buf, len), result); 183 RESTARTABLE(fstat64(fd, &buf64), result); 189 RESTARTABLE(ioctl(fd, FIONREAD, &n), result); 228 RESTARTABLE(fallocate64(fd, 0, 0, length), result); 237 RESTARTABLE(ftruncate64(fd, length), result);
|
H A D | TimeZone_md.c | 47 #define RESTARTABLE(_cmd, _result) do { \ macro 178 RESTARTABLE(stat(pathname, &statbuf), res); 193 RESTARTABLE(open(pathname, O_RDONLY), fd); 197 RESTARTABLE(read(fd, dbuf, size), res); 281 RESTARTABLE(lstat(DEFAULT_ZONEINFO_FILE, &statbuf), res); 316 RESTARTABLE(open(DEFAULT_ZONEINFO_FILE, O_RDONLY), fd); 321 RESTARTABLE(fstat(fd, &statbuf), res); 333 RESTARTABLE(read(fd, buf, size), res); 398 RESTARTABLE(open(fname, O_RDONLY), fd); 447 RESTARTABLE(rea [all...] |
/openjdk10/jdk/test/java/rmi/activation/Activatable/restartCrashedService/ |
H A D | RestartCrashedService.java | 56 private static final String RESTARTABLE = "restartable"; field in class:RestartCrashedService 148 Object[] stuff = new Object[] { RESTARTABLE, unicastObj }; 186 if (unicastObj.receivedPing(RESTARTABLE) != true) { 188 if (unicastObj.receivedPing(RESTARTABLE) == true) { 199 if (unicastObj.receivedPing(RESTARTABLE) != true)
|
/openjdk10/jdk/src/jdk.attach/macosx/native/libattach/ |
H A D | VirtualMachineImpl.c | 47 #define RESTARTABLE(_cmd, _result) do { \ macro 204 RESTARTABLE(close(fd), res); 224 RESTARTABLE(read(fd, buf, len), n); 256 RESTARTABLE(write(fd, buf, len), n); 285 RESTARTABLE(open(_path, O_CREAT | O_EXCL, S_IWUSR | S_IRUSR), fd); 295 RESTARTABLE(chown(_path, geteuid(), getegid()), rc); 297 RESTARTABLE(close(fd), rc);
|
/openjdk10/hotspot/src/os/bsd/vm/ |
H A D | perfMemory_bsd.cpp | 100 RESTARTABLE(::open(destfile, O_CREAT|O_WRONLY|O_TRUNC, S_IREAD|S_IWRITE), 112 RESTARTABLE(::write(fd, addr, remaining), result); 242 RESTARTABLE(::lstat(path, &statbuf), result); 261 RESTARTABLE(::fstat(dir_fd, &statbuf), result); 278 RESTARTABLE(::fstat(fd1, &statbuf1), result); 282 RESTARTABLE(::fstat(fd2, &statbuf2), result); 307 RESTARTABLE(::open(dirname, O_RDONLY|O_NOFOLLOW), result); 373 RESTARTABLE(::open(".", O_RDONLY), result); 422 RESTARTABLE(::fstat(fd, &statbuf), result); 578 RESTARTABLE( [all...] |
H A D | os_bsd.inline.hpp | 131 #define RESTARTABLE(_cmd, _result) do { \ macro 137 RESTARTABLE(_cmd, _result); \ 146 RESTARTABLE( (size_t) ::read(fd, buf, (size_t) nBytes), res); 152 RESTARTABLE((size_t) ::write(fd, buf, (size_t) nBytes), res);
|
/openjdk10/hotspot/src/os/linux/vm/ |
H A D | perfMemory_linux.cpp | 100 RESTARTABLE(::open(destfile, O_CREAT|O_WRONLY|O_TRUNC, S_IREAD|S_IWRITE), 112 RESTARTABLE(::write(fd, addr, remaining), result); 242 RESTARTABLE(::lstat(path, &statbuf), result); 261 RESTARTABLE(::fstat(dir_fd, &statbuf), result); 278 RESTARTABLE(::fstat(fd1, &statbuf1), result); 282 RESTARTABLE(::fstat(fd2, &statbuf2), result); 307 RESTARTABLE(::open(dirname, O_RDONLY|O_NOFOLLOW), result); 372 RESTARTABLE(::open(".", O_RDONLY), result); 421 RESTARTABLE(::fstat(fd, &statbuf), result); 590 RESTARTABLE( [all...] |
H A D | os_linux.inline.hpp | 123 #define RESTARTABLE(_cmd, _result) do { \ macro 129 RESTARTABLE(_cmd, _result); \ 138 RESTARTABLE( (size_t) ::read(fd, buf, (size_t) nBytes), res); 144 RESTARTABLE((size_t) ::write(fd, buf, (size_t) nBytes), res);
|
/openjdk10/hotspot/src/os/aix/vm/ |
H A D | os_aix.inline.hpp | 123 #define RESTARTABLE(_cmd, _result) do { \ macro 129 RESTARTABLE(_cmd, _result); \ 139 RESTARTABLE( (size_t) ::read(fd, buf, (size_t) nBytes), res); 145 RESTARTABLE((size_t) ::write(fd, buf, (size_t) nBytes), res);
|
H A D | perfMemory_aix.cpp | 101 RESTARTABLE(::open(destfile, O_CREAT|O_WRONLY|O_TRUNC, S_IREAD|S_IWRITE), 113 RESTARTABLE(::write(fd, addr, remaining), result); 242 RESTARTABLE(::lstat(path, &statbuf), result); 260 RESTARTABLE(::fstat(dir_fd, &statbuf), result); 276 RESTARTABLE(::fstat(fd1, &statbuf1), result); 280 RESTARTABLE(::fstat(fd2, &statbuf2), result); 308 RESTARTABLE(::lstat(path, &orig_st), result); 333 RESTARTABLE(::open(path, oflag, mode), fd); 335 RESTARTABLE(::open(path, oflag), fd); 344 RESTARTABLE( [all...] |
/openjdk10/jdk/test/java/rmi/activation/Activatable/restartService/ |
H A D | RestartService.java | 56 private static final String RESTARTABLE = "restartable"; field in class:RestartService 157 Object[] stuff = new Object[] { RESTARTABLE, unicastObj }; 192 if (unicastObj.receivedPing(RESTARTABLE) != true) { 194 if (unicastObj.receivedPing(RESTARTABLE) == true) {
|
/openjdk10/hotspot/src/os/solaris/vm/ |
H A D | os_solaris.inline.hpp | 104 #define RESTARTABLE(_cmd, _result) do { \ macro 112 RESTARTABLE(_cmd, _result); \
|
/openjdk10/jdk/src/java.base/unix/native/libnet/ |
H A D | SdpSupport.c | 44 #define RESTARTABLE(_cmd, _result) do { \ macro 119 RESTARTABLE(dup2(s, fd), res);
|
/openjdk10/jdk/test/java/rmi/activation/Activatable/restartLatecomer/ |
H A D | RestartLatecomer.java | 56 private static final String RESTARTABLE = "restartable"; field in class:RestartLatecomer 195 Object[] stuff = new Object[] { RESTARTABLE, callbackObj }; 248 callbackObj.waitFor(RESTARTABLE);
|