Searched refs:TEMP_FAILURE_RETRY (Results 1 - 3 of 3) sorted by relevance

/libcore/luni/src/main/native/
H A DPortability.h39 // TEMP_FAILURE_RETRY so the return value here gets truncated for
41 #undef TEMP_FAILURE_RETRY macro
42 #define TEMP_FAILURE_RETRY(exp) ({ \ macro
H A Dlibcore_io_Posix.cpp133 * TEMP_FAILURE_RETRY, this also handles the case where
172 * Used to retry system calls that can be interrupted with a signal. Unlike TEMP_FAILURE_RETRY, this
671 int rc = isLstat ? TEMP_FAILURE_RETRY(lstat(path.c_str(), &sb))
672 : TEMP_FAILURE_RETRY(stat(path.c_str(), &sb));
686 int rc = is_sockname ? TEMP_FAILURE_RETRY(getsockname(fd, sa, &byteCount))
687 : TEMP_FAILURE_RETRY(getpeername(fd, sa, &byteCount));
750 int rc = TEMP_FAILURE_RETRY(access(path.c_str(), mode));
780 throwIfMinusOne(env, "chmod", TEMP_FAILURE_RETRY(chmod(path.c_str(), mode)));
788 throwIfMinusOne(env, "chown", TEMP_FAILURE_RETRY(chown(path.c_str(), uid, gid)));
798 // Using TEMP_FAILURE_RETRY wil
[all...]
/libcore/ojluni/src/main/native/
H A DFileDescriptor_md.c68 return TEMP_FAILURE_RETRY(getsockopt(fd, SOL_SOCKET, SO_ERROR, &error, &error_length)) == 0;

Completed in 144 milliseconds