Lines Matching refs:rhs

112 template< typename T > void swap (T & lhs, T & rhs)  in swap()  argument
114 T tmp = lhs; lhs = rhs; rhs = tmp; in swap()
164 void swap (SharedCount & rhs) // nothrow in swap() argument
166 store::swap(m_pCount, rhs.m_pCount); in swap()
169 SharedCount (SharedCount const & rhs) // nothrow in SharedCount() argument
170 : m_pCount (rhs.m_pCount) in SharedCount()
174 SharedCount & operator= (SharedCount const & rhs) // nothrow in operator =() argument
176 SharedCount tmp(rhs); in operator =()
206 void swap (OStorePageGuard & rhs) in swap()
208 store::swap(m_nMagic, rhs.m_nMagic); in swap()
209 store::swap(m_nCRC32, rhs.m_nCRC32); in swap()
212 OStorePageGuard (OStorePageGuard const & rhs) in OStorePageGuard()
213 : m_nMagic (rhs.m_nMagic), in OStorePageGuard()
214 m_nCRC32 (rhs.m_nCRC32) in OStorePageGuard()
217 OStorePageGuard& operator= (const OStorePageGuard& rhs) in operator =()
219 m_nMagic = rhs.m_nMagic; in operator =()
220 m_nCRC32 = rhs.m_nCRC32; in operator =()
226 bool operator== (const OStorePageGuard& rhs) const in operator ==()
228 return ((m_nMagic == rhs.m_nMagic) && in operator ==()
229 (m_nCRC32 == rhs.m_nCRC32) ); in operator ==()
259 void swap (OStorePageDescriptor & rhs) in swap()
261 store::swap(m_nAddr, rhs.m_nAddr); in swap()
262 store::swap(m_nSize, rhs.m_nSize); in swap()
263 store::swap(m_nUsed, rhs.m_nUsed); in swap()
266 OStorePageDescriptor (const OStorePageDescriptor & rhs) in OStorePageDescriptor()
267 : m_nAddr (rhs.m_nAddr), in OStorePageDescriptor()
268 m_nSize (rhs.m_nSize), in OStorePageDescriptor()
269 m_nUsed (rhs.m_nUsed) in OStorePageDescriptor()
272 OStorePageDescriptor & operator= (const OStorePageDescriptor & rhs) in operator =()
274 m_nAddr = rhs.m_nAddr; in operator =()
275 m_nSize = rhs.m_nSize; in operator =()
276 m_nUsed = rhs.m_nUsed; in operator =()
282 bool operator== (const OStorePageDescriptor & rhs) const in operator ==()
284 return ((m_nAddr == rhs.m_nAddr) && in operator ==()
285 (m_nSize == rhs.m_nSize) ); in operator ==()
288 bool operator<= (const OStorePageDescriptor & rhs) const in operator <=()
290 return ((m_nAddr == rhs.m_nAddr ) && in operator <=()
291 (store::ntohs(m_nSize) <= store::ntohs(rhs.m_nSize)) ); in operator <=()
294 bool operator< (const OStorePageDescriptor & rhs) const in operator <()
296 if (m_nAddr == rhs.m_nAddr) in operator <()
297 return (store::ntohs(m_nSize) < store::ntohs(rhs.m_nSize)); in operator <()
299 return (store::ntohl(m_nAddr) < store::ntohl(rhs.m_nAddr)); in operator <()
322 void swap (OStorePageKey & rhs) in swap()
324 store::swap(m_nLow, rhs.m_nLow); in swap()
325 store::swap(m_nHigh, rhs.m_nHigh); in swap()
328 OStorePageKey (const OStorePageKey & rhs) in OStorePageKey()
329 : m_nLow (rhs.m_nLow), m_nHigh (rhs.m_nHigh) in OStorePageKey()
332 OStorePageKey & operator= (const OStorePageKey & rhs) in operator =()
334 m_nLow = rhs.m_nLow; in operator =()
335 m_nHigh = rhs.m_nHigh; in operator =()
341 bool operator== (const OStorePageKey & rhs) const in operator ==()
343 return ((m_nLow == rhs.m_nLow ) && in operator ==()
344 (m_nHigh == rhs.m_nHigh) ); in operator ==()
347 bool operator< (const OStorePageKey & rhs) const in operator <()
349 if (m_nHigh == rhs.m_nHigh) in operator <()
350 return (store::ntohl(m_nLow) < store::ntohl(rhs.m_nLow)); in operator <()
352 return (store::ntohl(m_nHigh) < store::ntohl(rhs.m_nHigh)); in operator <()
373 void swap (OStorePageLink & rhs) in swap()
375 store::swap(m_nAddr, rhs.m_nAddr); in swap()
378 OStorePageLink (const OStorePageLink & rhs) in OStorePageLink()
379 : m_nAddr (rhs.m_nAddr) in OStorePageLink()
382 OStorePageLink & operator= (const OStorePageLink & rhs) in operator =()
384 m_nAddr = rhs.m_nAddr; in operator =()
396 bool operator== (const OStorePageLink & rhs) const in operator ==()
398 return (m_nAddr == rhs.m_nAddr); in operator ==()
401 bool operator< (const OStorePageLink& rhs) const in operator <()
403 return (store::ntohl(m_nAddr) < store::ntohl(rhs.m_nAddr)); in operator <()
528 void swap (PageData & rhs) // nothrow in swap()
530 m_aGuard.swap(rhs.m_aGuard); in swap()
531 m_aDescr.swap(rhs.m_aDescr); in swap()
532 m_aMarked.swap(rhs.m_aMarked); in swap()
533 m_aUnused.swap(rhs.m_aUnused); in swap()
536 PageData (PageData const & rhs) // nothrow in PageData()
537 : m_aGuard (rhs.m_aGuard), in PageData()
538 m_aDescr (rhs.m_aDescr), in PageData()
539 m_aMarked(rhs.m_aMarked), in PageData()
540 m_aUnused(rhs.m_aUnused) in PageData()
543 PageData & operator= (PageData const & rhs) // nothrow in operator =()
545 PageData tmp (rhs); in operator =()
616 void swap (PageHolder & rhs) // nothrow in swap() argument
618 m_refcount.swap(rhs.m_refcount); in swap()
619 store::swap(m_pagedata, rhs.m_pagedata); in swap()
620 store::swap(m_allocator, rhs.m_allocator); in swap()
623 PageHolder (PageHolder const & rhs) // nothrow in PageHolder() argument
624 : m_refcount (rhs.m_refcount), in PageHolder()
625 m_pagedata (rhs.m_pagedata), in PageHolder()
626 m_allocator(rhs.m_allocator) in PageHolder()
629 PageHolder & operator= (PageHolder const & rhs) // nothrow in operator =() argument
631 PageHolder tmp (rhs); in operator =()
716 void swap (PageHolderObject<T> & rhs) in swap() argument
718 m_xPage.swap (rhs.m_xPage); in swap()
721 PageHolderObject (PageHolderObject<T> const & rhs) in PageHolderObject() argument
722 : m_xPage (rhs.m_xPage) in PageHolderObject()
725 PageHolderObject<T> & operator= (PageHolderObject<T> const & rhs) in operator =() argument
727 PageHolderObject<T> tmp (rhs); in operator =()