Lines Matching refs:TEMP_FAILURE_RETRY
127 if (TEMP_FAILURE_RETRY(fstat(fd, &f_stat)) == -1) {
178 const int fd_flags = TEMP_FAILURE_RETRY(fcntl(fd, F_GETFD));
196 int fs_flags = TEMP_FAILURE_RETRY(fcntl(fd, F_GETFL));
203 const off_t offset = TEMP_FAILURE_RETRY(lseek64(fd, 0, SEEK_CUR));
216 if (TEMP_FAILURE_RETRY(fstat(fd, &f_stat)) == -1) {
232 const int new_fd = TEMP_FAILURE_RETRY(open(file_path.c_str(), open_flags));
239 if (TEMP_FAILURE_RETRY(fcntl(new_fd, F_SETFD, fd_flags)) == -1) {
245 if (TEMP_FAILURE_RETRY(fcntl(new_fd, F_SETFL, fs_flags)) == -1) {
251 if (offset != -1 && TEMP_FAILURE_RETRY(lseek64(new_fd, offset, SEEK_SET)) == -1) {
257 if (TEMP_FAILURE_RETRY(dup2(new_fd, fd)) == -1) {
297 if (TEMP_FAILURE_RETRY(getsockname(fd, addr, &addr_len)) == -1) {