Searched refs:TEMP_FAILURE_RETRY (Results 1 – 3 of 3) sorted by relevance
/libcore/luni/src/main/native/ |
D | libcore_io_Linux.cpp | 762 int rc = isLstat ? TEMP_FAILURE_RETRY(lstat64(path.c_str(), &sb)) in doStat() 763 : TEMP_FAILURE_RETRY(stat64(path.c_str(), &sb)); in doStat() 777 int rc = is_sockname ? TEMP_FAILURE_RETRY(getsockname(fd, sa, &byteCount)) in doGetSockName() 778 : TEMP_FAILURE_RETRY(getpeername(fd, sa, &byteCount)); in doGetSockName() 989 int rc = TEMP_FAILURE_RETRY(access(path.c_str(), mode)); in Linux_access() 1105 throwIfMinusOne(env, "chmod", TEMP_FAILURE_RETRY(chmod(path.c_str(), mode))); in Linux_chmod() 1113 throwIfMinusOne(env, "chown", TEMP_FAILURE_RETRY(chown(path.c_str(), uid, gid))); in Linux_chown() 1210 int newFd = throwIfMinusOne(env, "dup", TEMP_FAILURE_RETRY(dup(oldFd))); in Linux_dup() 1216 int fd = throwIfMinusOne(env, "dup2", TEMP_FAILURE_RETRY(dup2(oldFd, newFd))); in Linux_dup2() 1233 TEMP_FAILURE_RETRY(execve(path.c_str(), argv.get(), envp.get())); in Linux_execve() [all …]
|
D | Portability.h | 41 #undef TEMP_FAILURE_RETRY 42 #define TEMP_FAILURE_RETRY(exp) ({ \ macro
|
/libcore/ojluni/src/main/native/ |
D | FileDescriptor_md.c | 68 return TEMP_FAILURE_RETRY(getsockopt(fd, SOL_SOCKET, SO_ERROR, &error, &error_length)) == 0; in FileDescriptor_isSocket()
|