Searched refs:RESTARTABLE (Results 1 – 10 of 10) sorted by relevance
/libcore/ojluni/src/main/native/ |
D | EPollPort.c | 56 RESTARTABLE(write(fd, buf, 1), res); in Java_sun_nio_ch_EPollPort_interrupt() 66 RESTARTABLE(read(fd, buf, 1), res); in Java_sun_nio_ch_EPollPort_drain1() 75 RESTARTABLE(close(fd), res); in Java_sun_nio_ch_EPollPort_close0()
|
D | UnixCopyFile.c | 35 #define RESTARTABLE(_cmd, _result) do { \ macro 61 RESTARTABLE(read((int)src, &buf, sizeof(buf)), n); in Java_sun_nio_fs_UnixCopyFile_transfer() 76 RESTARTABLE(write((int)dst, bufp, len), n); in Java_sun_nio_fs_UnixCopyFile_transfer()
|
D | UnixNativeDispatcher.c | 78 #define RESTARTABLE(_cmd, _result) do { \ macro 340 RESTARTABLE(dup((int)fd), res); in Java_sun_nio_fs_UnixNativeDispatcher_dup() 388 RESTARTABLE(open64(path, (int)oflags, (mode_t)mode), fd); in Java_sun_nio_fs_UnixNativeDispatcher_open0() 407 RESTARTABLE((*my_openat64_func)(dfd, path, (int)oflags, (mode_t)mode), fd); in Java_sun_nio_fs_UnixNativeDispatcher_openat0() 424 RESTARTABLE(close((int)fd), res); in Java_sun_nio_fs_UnixNativeDispatcher_close() 440 RESTARTABLE(read((int)fd, bufp, (size_t)nbytes), n); in Java_sun_nio_fs_UnixNativeDispatcher_read() 453 RESTARTABLE(write((int)fd, bufp, (size_t)nbytes), n); in Java_sun_nio_fs_UnixNativeDispatcher_write() 495 RESTARTABLE(stat64(path, &buf), err); in Java_sun_nio_fs_UnixNativeDispatcher_stat0() 511 RESTARTABLE(lstat64(path, &buf), err); in Java_sun_nio_fs_UnixNativeDispatcher_lstat0() 526 RESTARTABLE(fstat64((int)fd, &buf), err); in Java_sun_nio_fs_UnixNativeDispatcher_fstat() [all …]
|
D | EPoll.c | 82 RESTARTABLE(epoll_ctl(epfd, (int)opcode, (int)fd, &event), res); in Java_sun_nio_ch_EPoll_epollCtl() 94 RESTARTABLE(epoll_wait(epfd, events, numfds, -1), res); in Java_sun_nio_ch_EPoll_epollWait() 104 RESTARTABLE(close(epfd), res); in Java_sun_nio_ch_EPoll_close0()
|
D | PollArrayWrapper.c | 35 #define RESTARTABLE(_cmd, _result) do { \ macro 82 RESTARTABLE (poll(a, numfds, timeout), err); in Java_sun_nio_ch_PollArrayWrapper_poll0()
|
D | io_util_md.c | 76 RESTARTABLE(open64(path, oflag, mode), fd); in handleOpen() 80 RESTARTABLE(fstat64(fd, &buf64), result); in handleOpen()
|
D | nio_util.h | 33 #define RESTARTABLE(_cmd, _result) do { \ macro
|
D | FileKey.c | 62 RESTARTABLE(fstat64(fdval(env, fdo), &fbuf), res); in FileKey_init()
|
D | io_util_md.h | 80 #define RESTARTABLE(_cmd, _result) do { \ macro
|
D | UNIXProcess_md.c | 162 #define RESTARTABLE(_cmd, _result) do { \ macro 374 RESTARTABLE(write(fd, buf, count), result); in restartableWrite() 382 RESTARTABLE(dup2(fd_from, fd_to), err); in restartableDup2()
|