Home
last modified time | relevance | path

Searched refs:pointer_to (Results 1 – 25 of 45) sorted by relevance

12

/third_party/boost/libs/intrusive/test/
Dnonhook_node.hpp41 node_algorithms::init(pointer_traits<node_ptr>::pointer_to(static_cast< node& >(*this))); in nonhook_node_member()
47 node_algorithms::init(pointer_traits<node_ptr>::pointer_to(static_cast< node& >(*this))); in nonhook_node_member()
59 node_algorithms::init(pointer_traits<node_ptr>::pointer_to(static_cast< node& >(*this))); in ~nonhook_node_member()
64 node_algorithms::swap_nodes(pointer_traits<node_ptr>::pointer_to(static_cast< node& >(*this)), in swap_nodes()
65 … pointer_traits<node_ptr>::pointer_to(static_cast< node& >(other))); in swap_nodes()
70 …return !node_algorithms::unique(pointer_traits<const_node_ptr>::pointer_to(static_cast< const node… in is_linked()
95 return pointer_traits<node_ptr>::pointer_to(static_cast<node&>(value.*P)); in to_node_ptr()
100 return pointer_traits<const_node_ptr>::pointer_to(static_cast<const node&>(value.*P)); in to_node_ptr()
105 return pointer_traits<pointer>::pointer_to in to_value_ptr()
112 return pointer_traits<const_pointer>::pointer_to in to_value_ptr()
Dunordered_test.hpp58 (bucket_traits(pointer_traits<bucket_ptr>::pointer_to(buckets[0]), BucketSize)); in test_all()
79 pointer_traits<bucket_ptr>::pointer_to(buckets[0]), BucketSize)); in test_all()
107 pointer_traits<bucket_ptr>::pointer_to(buckets[0]), BucketSize)); in test_impl()
132 (pointer_traits<bucket_ptr>::pointer_to(buckets[0]), BucketSize)); in test_sort()
159 pointer_to(buckets[0]), BucketSize)); in test_insert()
217 pointer_traits<bucket_ptr>::pointer_to(buckets[0]), BucketSize)); in test_insert()
256 pointer_traits<bucket_ptr>::pointer_to(single_bucket[0]), 1)); in test_insert()
299 pointer_traits<bucket_ptr>::pointer_to(single_bucket[0]), 1)); in test_insert()
319 pointer_traits<bucket_ptr>::pointer_to(single_bucket[0]), 1)); in test_insert()
339 bucket_traits btraits(pointer_traits<bucket_ptr>::pointer_to(buckets[0]), BucketSize); in test_insert()
[all …]
Dpointer_traits_test.cpp69 static CompleteSmartPtr pointer_to(T &r) in pointer_to() function in CompleteSmartPtr
174 BOOST_TEST(boost::intrusive::pointer_traits<int*>::pointer_to(dummy) == &dummy); in main()
191 …BOOST_TEST(boost::intrusive::pointer_traits< CompleteSmartPtr<int> >::pointer_to(dummy) == Complet… in main()
217 …BOOST_TEST(boost::intrusive::pointer_traits< SimpleSmartPtr<int> >::pointer_to(dummy) == SimpleSma… in main()
Dbptr_value.hpp126 boost::intrusive::pointer_traits< bounded_pointer< BPtr_Value > >::pointer_to(lhs), in swap_nodes()
127 boost::intrusive::pointer_traits< bounded_pointer< BPtr_Value > >::pointer_to(rhs)); in swap_nodes()
/third_party/boost/libs/core/test/
Dpointer_traits_pointer_to_test.cpp20 static pointer<T> pointer_to(element_type& value) { in pointer_to() function in pointer
40 BOOST_TEST(boost::pointer_traits<type>::pointer_to(i) == p); in main()
45 BOOST_TEST(boost::pointer_traits<type>::pointer_to(i) == p); in main()
50 BOOST_TEST(boost::pointer_traits<type>::pointer_to(i) == p); in main()
55 BOOST_TEST(boost::pointer_traits<type>::pointer_to(i) == p); in main()
60 BOOST_TEST(boost::pointer_traits<type>::pointer_to(i) == p); in main()
/third_party/boost/boost/intrusive/detail/
Dhook_traits.hpp60 pointer p = pointer_traits<pointer>::pointer_to in to_value_ptr()
68 const_pointer p = pointer_traits<const_pointer>::pointer_to in to_value_ptr()
76 node_ptr p = pointer_traits<node_ptr>::pointer_to in to_node_ptr()
84 const_node_ptr p = pointer_traits<const_node_ptr>::pointer_to in to_node_ptr()
125 return pointer_traits<node_ptr>::pointer_to in to_node_ptr()
131 return pointer_traits<const_node_ptr>::pointer_to in to_node_ptr()
137 return pointer_traits<pointer>::pointer_to in to_value_ptr()
144 return pointer_traits<const_pointer>::pointer_to in to_value_ptr()
Ddefault_header_holder.hpp44 { return pointer_traits< const_node_ptr >::pointer_to(*static_cast< const node* >(this)); } in get_node()
47 { return pointer_traits< node_ptr >::pointer_to(*static_cast< node* >(this)); } in get_node()
Dnode_to_value.hpp117 { return *(value_traits::to_value_ptr(pointer_traits<npointer>::pointer_to(arg))); } in to_value()
120 { return *(this->get_value_traits()->to_value_ptr(pointer_traits<npointer>::pointer_to(arg))); } in to_value()
Dgeneric_hook.hpp165 { return pointer_traits<node_ptr>::pointer_to(static_cast<node&>(*this)); } in this_ptr()
168 { return pointer_traits<const_node_ptr>::pointer_to(static_cast<const node&>(*this)); } in this_ptr()
Dhashtable_node.hpp189 pointer_to(static_cast<typename node_traits::node&>(*p)); in downcast_bucket()
200 …, traitsptr_ (cont ? pointer_traits<const_bucketvaltraits_ptr>::pointer_to(*cont) : const_bucketva… in hashtable_iterator()
/third_party/boost/boost/intrusive/
Dpointer_traits.hpp36 …NTRUSIVE_HAS_STATIC_MEMBER_FUNC_SIGNATURE(has_member_function_callable_with_pointer_to, pointer_to)
41 …E_HAS_MEMBER_FUNC_CALLED_IGNORE_SIGNATURE(has_member_function_callable_with_pointer_to, pointer_to)
126 BOOST_INTRUSIVE_FORCEINLINE static pointer pointer_to(reference r) in pointer_to() function
214 { return Ptr::pointer_to(r); } in priv_pointer_to()
226 { return uptr ? pointer_to(*static_cast<element_type*>(to_raw_pointer(uptr))) : pointer(); } in priv_static_cast_from()
235 { return uptr ? pointer_to(const_cast<element_type&>(*uptr)) : pointer(); } in priv_const_cast_from()
244 { return uptr ? pointer_to(dynamic_cast<element_type&>(*uptr)) : pointer(); } in priv_dynamic_cast_from()
291 BOOST_INTRUSIVE_FORCEINLINE static pointer pointer_to(reference r) in pointer_to() function
Dmember_value_traits.hpp61 { return pointer_traits<node_ptr>::pointer_to(value.*PtrToMember); } in to_node_ptr()
64 { return pointer_traits<const_node_ptr>::pointer_to(value.*PtrToMember); } in to_node_ptr()
68 return pointer_traits<pointer>::pointer_to(*detail::parent_from_member<value_type, node> in to_value_ptr()
74 return pointer_traits<const_pointer>::pointer_to(*detail::parent_from_member<value_type, node> in to_value_ptr()
Dtrivial_value_traits.hpp47 { return pointer_traits<node_ptr>::pointer_to(value); } in to_node_ptr()
49 { return pointer_traits<const_node_ptr>::pointer_to(value); } in to_node_ptr()
Dderivation_value_traits.hpp63 return pointer_traits<pointer>::pointer_to(static_cast<reference>(*n)); in to_value_ptr()
68 return pointer_traits<const_pointer>::pointer_to(static_cast<const_reference>(*n)); in to_value_ptr()
/third_party/boost/libs/core/doc/
Dpointer_traits.qbk58 static pointer pointer_to(``['see below]`` v);
69 static pointer pointer_to(``['see below]`` v) noexcept;
100 [[`static pointer pointer_traits::pointer_to(`['see below] `v);`]
106 [A pointer to `v` obtained by calling `T::pointer_to(v)`.]]]]]
107 [[`static pointer pointer_traits<T*>::pointer_to(`['see below] `v) noexcept;`]
125 [This function should be the inverse of `pointer_to`. If defined, it
/third_party/boost/boost/smart_ptr/
Dallocate_unique.hpp113 static sp_alloc_ptr pointer_to(T& v) { in pointer_to() function in boost::detail::sp_alloc_ptr
115 std::pointer_traits<P>::pointer_to(const_cast<typename in pointer_to()
164 static sp_alloc_ptr pointer_to(T& v) { in pointer_to() function in boost::detail::sp_alloc_ptr
166 std::pointer_traits<P>::pointer_to(const_cast<typename in pointer_to()
215 static sp_alloc_ptr pointer_to(T& v) { in pointer_to() function in boost::detail::sp_alloc_ptr
217 std::pointer_traits<P>::pointer_to(const_cast<typename in pointer_to()
/third_party/boost/boost/core/
Dpointer_traits.hpp158 pointer_to(typename detail::ptr_value<element_type>::type& v) {
159 return pointer::pointer_to(v);
177 pointer_to(typename detail::ptr_value<T>::type& v) BOOST_NOEXCEPT {
/third_party/abseil-cpp/absl/memory/
Dmemory.h394 static pointer pointer_to(element_type& r) { // NOLINT(runtime/references)
395 return Ptr::pointer_to(r);
411 static pointer pointer_to(
Dmemory_test.cc301 static PointerWith pointer_to( in pointer_to() function
339 EXPECT_EQ(&i, absl::pointer_traits<PointerWith>::pointer_to(i).ptr); in TEST()
340 EXPECT_EQ(&i, absl::pointer_traits<int*>::pointer_to(i)); in TEST()
/third_party/skia/third_party/externals/abseil-cpp/absl/memory/
Dmemory.h394 static pointer pointer_to(element_type& r) { // NOLINT(runtime/references)
395 return Ptr::pointer_to(r);
411 static pointer pointer_to(
Dmemory_test.cc301 static PointerWith pointer_to( in pointer_to() function
339 EXPECT_EQ(&i, absl::pointer_traits<PointerWith>::pointer_to(i).ptr); in TEST()
340 EXPECT_EQ(&i, absl::pointer_traits<int*>::pointer_to(i)); in TEST()
/third_party/boost/boost/interprocess/smart_ptr/detail/
Dsp_counted_impl.hpp126 this_pointer this_ptr(this_pointer_traits::pointer_to(*this)); in destroy()
/third_party/boost/libs/interprocess/test/
Dheap_allocator_v1.hpp118 …return boost::intrusive::pointer_traits<pointer>::pointer_to(reinterpret_cast<value_type &>(*raw_m… in allocate()
/third_party/boost/boost/container/
Dstable_vector.hpp224 { return node_base_ptr_ptr_traits::pointer_to(n); } in ptr_to_node_base_ptr()
247 end_node_idx_ref = node_base_ptr_traits::pointer_to(end_node); in readjust_end_node()
248 end_node.up = node_base_ptr_ptr_traits::pointer_to(end_node_idx_ref); in readjust_end_node()
261 end_node_ref = node_base_ptr_traits::pointer_to(end_node); in initialize_end_node()
356 { return ptr_traits::pointer_to(this->operator*()); } in operator ->()
1715 holder.push_back(node_ptr_traits::pointer_to(n)); in erase()
2016 …{ return node_base_ptr_traits::pointer_to(const_cast<node_base_type&>(this->internal_data.end_nod… in priv_get_end_node()
/third_party/boost/boost/container/detail/
Dallocator_version_traits.hpp98 pointer p = boost::intrusive::pointer_traits<pointer>::pointer_to(*it); in deallocate_individual()

12