Searched refs:TEMP_FAILURE_RETRY (Results 1 – 4 of 4) sorted by relevance
/libcore/luni/src/main/native/ |
D | Portability.h | 41 #undef TEMP_FAILURE_RETRY 42 #define TEMP_FAILURE_RETRY(exp) ({ \ macro
|
D | libcore_io_Linux.cpp | 749 int rc = isLstat ? TEMP_FAILURE_RETRY(lstat64(path.c_str(), &sb)) in doStat() 750 : TEMP_FAILURE_RETRY(stat64(path.c_str(), &sb)); in doStat() 764 int rc = is_sockname ? TEMP_FAILURE_RETRY(getsockname(fd, sa, &byteCount)) in doGetSockName() 765 : TEMP_FAILURE_RETRY(getpeername(fd, sa, &byteCount)); in doGetSockName() 976 int rc = TEMP_FAILURE_RETRY(access(path.c_str(), mode)); in Linux_access() 1092 throwIfMinusOne(env, "chmod", TEMP_FAILURE_RETRY(chmod(path.c_str(), mode))); in Linux_chmod() 1100 throwIfMinusOne(env, "chown", TEMP_FAILURE_RETRY(chown(path.c_str(), uid, gid))); in Linux_chown() 1195 int newFd = throwIfMinusOne(env, "dup", TEMP_FAILURE_RETRY(dup(oldFd))); in Linux_dup() 1201 int fd = throwIfMinusOne(env, "dup2", TEMP_FAILURE_RETRY(dup2(oldFd, newFd))); in Linux_dup2() 1218 TEMP_FAILURE_RETRY(execve(path.c_str(), argv.get(), envp.get())); in Linux_execve() [all …]
|
D | libcore_icu_ICU.cpp | 892 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(path_.c_str(), O_RDONLY))); in TryMap()
|
/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()
|