Lines Matching refs:swap
41 template< class T > void swap (T & lhs, T & rhs) in swap() function
95 friend void swap<> (SharedCount & lhs, SharedCount & rhs); // nothrow
102 inline void swap (SharedCount & lhs, SharedCount & rhs) // nothrow in swap() function
104 swap<long*>(lhs.m_pCount, rhs.m_pCount); in swap()
117 swap<SharedCount>(tmp, *this); in operator =()
259 friend void swap<>(PageAllocator & lhs, PageAllocator & rhs);
266 inline void swap (PageAllocator & lhs, PageAllocator & rhs) in swap() function
268 swap<rtl_cache_type*>(lhs.m_cache, rhs.m_cache); in swap()
269 swap<SharedCount>(lhs.m_refcount, rhs.m_refcount); in swap()
282 swap<PageAllocator>(tmp, *this); in operator =()
318 friend void swap<> (PageHolder & lhs, PageHolder & rhs); // nothrow
325 inline void swap (PageHolder & lhs, PageHolder & rhs) // nothrow in swap() function
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()
342 swap<PageHolder>(tmp, *this); in operator =()
383 store::swap<PageHolder>(tmp.m_xPage, xPage); in construct()
392 void swap (PageHolderObject<T> & rhs) in swap() function in PageHolderObject
394 store::swap<PageHolder>(m_xPage, rhs.m_xPage); in swap()
405 this->swap(tmp); in operator =()
1069 swap<PageHolder>(page, rPage); in readPageAt_Impl()
1240 swap<PageHolder>(page, rPage); in readPageAt_Impl()
1541 swap<void*>(a, b); in main()