Lines Matching refs:rhs
122 void UriHelper::Swap(UriHelper &&rhs) noexcept in Swap() argument
124 formattedUri_.swap(rhs.formattedUri_); in Swap()
125 type_ = rhs.type_; in Swap()
126 rawFileUri_ = rhs.rawFileUri_; in Swap()
127 std::swap(fd_, rhs.fd_); in Swap()
128 offset_ = rhs.offset_; in Swap()
129 size_ = rhs.size_; in Swap()
132 void UriHelper::Copy(const UriHelper &rhs) noexcept in Copy() argument
134 formattedUri_ = rhs.formattedUri_; in Copy()
135 type_ = rhs.type_; in Copy()
140 if (rhs.fd_ > 0) { in Copy()
141 fd_ = ::dup(rhs.fd_); in Copy()
143 offset_ = rhs.offset_; in Copy()
144 size_ = rhs.size_; in Copy()
164 UriHelper::UriHelper(const UriHelper &rhs) in UriHelper() argument
166 Copy(rhs); in UriHelper()
169 UriHelper &UriHelper::operator=(const UriHelper &rhs) in operator =() argument
171 if (&rhs == this) { in operator =()
175 Copy(rhs); in operator =()
179 UriHelper::UriHelper(UriHelper &&rhs) noexcept in UriHelper() argument
181 Swap(std::forward<UriHelper &&>(rhs)); in UriHelper()
184 UriHelper &UriHelper::operator=(UriHelper &&rhs) noexcept in operator =() argument
186 if (&rhs == this) { in operator =()
190 Swap(std::forward<UriHelper &&>(rhs)); in operator =()