Home
last modified time | relevance | path

Searched refs:RESTARTABLE (Results 1 – 10 of 10) sorted by relevance

/libcore/ojluni/src/main/native/
DEPollPort.c56 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()
DUnixCopyFile.c35 #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()
DUnixNativeDispatcher.c78 #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 …]
DEPoll.c82 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()
DPollArrayWrapper.c35 #define RESTARTABLE(_cmd, _result) do { \ macro
82 RESTARTABLE (poll(a, numfds, timeout), err); in Java_sun_nio_ch_PollArrayWrapper_poll0()
Dio_util_md.c76 RESTARTABLE(open64(path, oflag, mode), fd); in handleOpen()
80 RESTARTABLE(fstat64(fd, &buf64), result); in handleOpen()
Dnio_util.h33 #define RESTARTABLE(_cmd, _result) do { \ macro
DFileKey.c62 RESTARTABLE(fstat64(fdval(env, fdo), &fbuf), res); in FileKey_init()
Dio_util_md.h80 #define RESTARTABLE(_cmd, _result) do { \ macro
DUNIXProcess_md.c162 #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()