Lines Matching refs:rhs
41 template< class T > void swap (T & lhs, T & rhs) in swap() argument
43 T tmp = rhs; rhs = lhs; lhs = tmp; in swap()
95 friend void swap<> (SharedCount & lhs, SharedCount & rhs); // nothrow
97 SharedCount (SharedCount const & rhs); // nothrow
98 SharedCount & operator= (SharedCount const & rhs); // nothrow
102 inline void swap (SharedCount & lhs, SharedCount & rhs) // nothrow in swap() argument
104 swap<long*>(lhs.m_pCount, rhs.m_pCount); in swap()
107 SharedCount::SharedCount (SharedCount const & rhs) // nothrow in SharedCount() argument
108 : m_pCount (rhs.m_pCount) in SharedCount()
114 SharedCount::operator= (SharedCount const & rhs) // nothrow in operator =() argument
116 SharedCount tmp(rhs); in operator =()
259 friend void swap<>(PageAllocator & lhs, PageAllocator & rhs);
261 PageAllocator (PageAllocator const & rhs);
262 PageAllocator & operator= (PageAllocator const & rhs);
266 inline void swap (PageAllocator & lhs, PageAllocator & rhs) in swap() argument
268 swap<rtl_cache_type*>(lhs.m_cache, rhs.m_cache); in swap()
269 swap<SharedCount>(lhs.m_refcount, rhs.m_refcount); in swap()
272 PageAllocator::PageAllocator (PageAllocator const & rhs) in PageAllocator() argument
273 : m_cache (rhs.m_cache), in PageAllocator()
274 m_refcount (rhs.m_refcount) in PageAllocator()
279 PageAllocator::operator= (PageAllocator const & rhs) in operator =() argument
281 PageAllocator tmp (rhs); in operator =()
318 friend void swap<> (PageHolder & lhs, PageHolder & rhs); // nothrow
320 PageHolder (PageHolder const & rhs); // nothrow
321 PageHolder & operator= (PageHolder const & rhs); // nothrow
325 inline void swap (PageHolder & lhs, PageHolder & rhs) // nothrow in swap() argument
327 swap<SharedCount>(lhs.m_refcount, rhs.m_refcount); in swap()
328 swap<PageData*>(lhs.m_pagedata, rhs.m_pagedata); in swap()
329 swap<PageHolder::allocator_type>(lhs.m_allocator, rhs.m_allocator); in swap()
332 PageHolder::PageHolder (PageHolder const & rhs) // nothrow in PageHolder() argument
333 : m_refcount (rhs.m_refcount), in PageHolder()
334 m_pagedata (rhs.m_pagedata), in PageHolder()
335 m_allocator(rhs.m_allocator) in PageHolder()
339 PageHolder::operator= (PageHolder const & rhs) // nothrow in operator =() argument
341 PageHolder tmp (rhs); in operator =()
392 void swap (PageHolderObject<T> & rhs) in swap() argument
394 store::swap<PageHolder>(m_xPage, rhs.m_xPage); in swap()
397 PageHolderObject (PageHolderObject<T> const & rhs) in PageHolderObject() argument
398 : m_xPage (rhs.m_xPage) in PageHolderObject()
402 PageHolderObject<T> & operator= (PageHolderObject<T> const & rhs) in operator =() argument
404 PageHolderObject<T> tmp (rhs); in operator =()
920 ResourceHolder (ResourceHolder & rhs) in ResourceHolder()
922 set (rhs.release()); in ResourceHolder()
924 ResourceHolder & operator= (ResourceHolder & rhs) in operator =()
926 reset (rhs.release()); in operator =()
939 bool operator != (FileHandle const & rhs) in operator !=()
941 return (m_handle != rhs.m_handle); in operator !=()
984 bool operator != (FileMapping const & rhs) const in operator !=()
986 return ((m_pAddr != rhs.m_pAddr) || (m_uSize != rhs.m_uSize)); in operator !=()
1521 …Implementation (Implementation const & rhs) : Interface(), m_count (rhs.m_count) { printf("CopyCto…