Lines Matching refs:other
164 inline MemoryChunk<E>::MemoryChunk(MemoryChunk<E> &&other) noexcept : in MemoryChunk() argument
165 …other.event_)), open_(util::exchange(other.open_, false)), stream_id_(util::exchange(other.stream_… in MemoryChunk()
170 inline MemoryChunk<E> &MemoryChunk<E>::operator=(MemoryChunk<E> &&other) noexcept in operator =() argument
173 if (this != &other) { in operator =()
174 event_ = std::move(other.event_); in operator =()
175 open_ = util::exchange(other.open_, false); in operator =()
176 stream_id_ = util::exchange(other.stream_id_, device::DefaultStream::INVALID_ID); in operator =()
177 size_ = util::exchange(other.size_, 0); in operator =()
178 start_ = std::move(other.start_); in operator =()
385 …other) noexcept : mem_(util::exchange(other.mem_, nullptr)), allocator_(other.allocator_), size_(u… in MemoryBlock() argument
390 MemoryBlock<T, A, S> &MemoryBlock<T, A, S>::operator=(MemoryBlock &&other) noexcept in operator =() argument
393 if (this != &other) { in operator =()
397 mem_ = util::exchange(other.mem_, nullptr); in operator =()
398 allocator_ = other.allocator_; in operator =()
399 size_ = util::exchange(other.size_, 0); in operator =()
400 chunks_ = std::move(other.chunks_); in operator =()