Searched defs:pointer_plus_bits (Results 1 – 3 of 3) sorted by relevance
/third_party/boost/boost/intrusive/ |
D | pointer_plus_bits.hpp | 70 struct pointer_plus_bits struct 79 struct pointer_plus_bits<T*, NumBits> struct 81 static const uintptr_t Mask = uintptr_t((uintptr_t(1u) << NumBits) - 1); 82 typedef T* pointer; 84 BOOST_INTRUSIVE_FORCEINLINE static pointer get_pointer(pointer n) in get_pointer() 87 BOOST_INTRUSIVE_FORCEINLINE static void set_pointer(pointer &n, pointer p) in set_pointer() 93 BOOST_INTRUSIVE_FORCEINLINE static std::size_t get_bits(pointer n) in get_bits() 96 BOOST_INTRUSIVE_FORCEINLINE static void set_bits(pointer &n, std::size_t c) in set_bits()
|
/third_party/boost/libs/intrusive/test/ |
D | smart_ptr.hpp | 279 struct pointer_plus_bits<smart_ptr<T>, NumBits> struct 281 typedef smart_ptr<T> pointer; 283 static pointer get_pointer(const pointer &n) in get_pointer() 290 static void set_pointer(pointer &n, pointer p) in set_pointer() 297 static std::size_t get_bits(const pointer &n) in get_bits() 300 static void set_bits(pointer &n, std::size_t c) in set_bits()
|
/third_party/boost/boost/interprocess/ |
D | offset_ptr.hpp | 704 struct pointer_plus_bits<boost::interprocess::offset_ptr<T, P, O, A>, NumBits> struct 706 typedef boost::interprocess::offset_ptr<T, P, O, A> pointer; 709 static const O Mask = ((static_cast<O>(1) << NumBits) - static_cast<O>(1)) << 1; 715 BOOST_INTERPROCESS_FORCEINLINE static pointer get_pointer(const pointer &n) BOOST_NOEXCEPT in get_pointer() 723 …BOOST_INTERPROCESS_FORCEINLINE static void set_pointer(pointer &n, const pointer &p) BOOST_NOEXCEPT in set_pointer() 731 BOOST_INTERPROCESS_FORCEINLINE static std::size_t get_bits(const pointer &n) BOOST_NOEXCEPT in get_bits() 736 …BOOST_INTERPROCESS_FORCEINLINE static void set_bits(pointer &n, std::size_t const b) BOOST_NOEXCEPT in set_bits()
|