Home
last modified time | relevance | path

Searched refs:allocator_traits (Results 1 – 25 of 209) sorted by relevance

123456789

/third_party/boost/libs/container/test/
Dallocator_traits_test.cpp242 boost::container::allocator_traits<std::allocator<void> > stdtraits; (void)stdtraits; in test_void_allocator()
243 boost::container::allocator_traits<SimpleAllocator<void> > simtraits; (void)simtraits; in test_void_allocator()
244 boost::container::allocator_traits<ComplexAllocator<void> > comtraits; (void)comtraits; in test_void_allocator()
253 BOOST_STATIC_ASSERT(( is_same<boost::container::allocator_traits in main()
255 BOOST_STATIC_ASSERT(( is_same<boost::container::allocator_traits in main()
257 BOOST_STATIC_ASSERT(( is_same<boost::container::allocator_traits in main()
259 BOOST_STATIC_ASSERT(( is_same<boost::container::allocator_traits in main()
261 BOOST_STATIC_ASSERT(( is_same<boost::container::allocator_traits in main()
263 BOOST_STATIC_ASSERT(( is_same<boost::container::allocator_traits in main()
265 BOOST_STATIC_ASSERT(( is_same<boost::container::allocator_traits in main()
[all …]
/third_party/boost/boost/container/detail/
Dadvanced_insert_int.hpp49 typedef typename allocator_traits<Allocator>::size_type size_type;
50 typedef typename allocator_traits<Allocator>::value_type value_type;
74 typedef typename allocator_traits<Allocator>::size_type size_type;
75 typedef typename allocator_traits<Allocator>::value_type value_type;
98 typedef typename allocator_traits<Allocator>::size_type size_type;
99 typedef typename allocator_traits<Allocator>::value_type value_type;
121 typedef ::boost::container::allocator_traits<Allocator> alloc_traits;
122 typedef typename allocator_traits<Allocator>::size_type size_type;
123 typedef typename allocator_traits<Allocator>::value_type value_type;
143 typedef ::boost::container::allocator_traits<Allocator> alloc_traits;
[all …]
Dcopy_move_algo.hpp300allocator_traits<Allocator>::construct(a, boost::movelib::iterator_to_raw_pointer(r), boost::move(… in uninitialized_move_alloc()
306 allocator_traits<Allocator>::destroy(a, boost::movelib::iterator_to_raw_pointer(back)); in uninitialized_move_alloc()
340 …uninitialized_move_alloc_n(Allocator &a, I f, typename boost::container::allocator_traits<Allocato… in uninitialized_move_alloc_n()
345allocator_traits<Allocator>::construct(a, boost::movelib::iterator_to_raw_pointer(r), boost::move(… in uninitialized_move_alloc_n()
351 allocator_traits<Allocator>::destroy(a, boost::movelib::iterator_to_raw_pointer(back)); in uninitialized_move_alloc_n()
364 …uninitialized_move_alloc_n(Allocator &, I f, typename boost::container::allocator_traits<Allocator… in uninitialized_move_alloc_n()
385 …uninitialized_move_alloc_n_source(Allocator &a, I f, typename boost::container::allocator_traits<A… in uninitialized_move_alloc_n_source()
390allocator_traits<Allocator>::construct(a, boost::movelib::iterator_to_raw_pointer(r), boost::move(… in uninitialized_move_alloc_n_source()
396 allocator_traits<Allocator>::destroy(a, boost::movelib::iterator_to_raw_pointer(back)); in uninitialized_move_alloc_n_source()
409 …uninitialized_move_alloc_n_source(Allocator &, I f, typename boost::container::allocator_traits<Al… in uninitialized_move_alloc_n_source()
[all …]
Dcontainer_rebind.hpp37 …typedef Cont<U, typename allocator_traits<typename real_allocator<V, A>::type>::template portable_…
44 …typedef Cont<U, typename allocator_traits<typename real_allocator<V, A>::type>::template portable_…
68 …typedef Cont<U, typename allocator_traits<typename real_allocator<V, A>::type>::template portable_…
76 …typedef Cont<U, typename allocator_traits<typename real_allocator<V, A>::type>::template portable_…
84 …typedef Cont<U, typename allocator_traits<typename real_allocator<V, A>::type>::template portable_…
92 …typedef Cont<U, typename allocator_traits<typename real_allocator<V, A>::type>::template portable_…
100 …typedef Cont<U, typename allocator_traits<typename real_allocator<V, A>::type>::template portable_…
108 …typedef Cont<U, typename allocator_traits<typename real_allocator<V, A>::type>::template portable_…
116 …typedef Cont<U, typename allocator_traits<typename real_allocator<V, A>::type>::template portable_…
124 …typedef Cont<U, typename allocator_traits<typename real_allocator<V, A>::type>::template portable_…
[all …]
Ddestroyers.hpp40 typedef allocator_traits<Allocator> allocator_traits_type;
84 typedef boost::container::allocator_traits<Allocator> AllocTraits;
106 typedef boost::container::allocator_traits<Allocator> AllocTraits;
128 typedef boost::container::allocator_traits<Allocator> AllocTraits;
142 typedef boost::container::allocator_traits<Allocator> AllocTraits;
181 typedef boost::container::allocator_traits<Allocator> AllocTraits;
222 typedef boost::container::allocator_traits<Allocator> AllocTraits;
245 typedef boost::container::allocator_traits<Allocator> AllocTraits;
276 typedef boost::container::allocator_traits<Allocator> AllocTraits;
296 typedef boost::container::allocator_traits<Allocator> AllocTraits;
[all …]
Ddispatch_uses_allocator.hpp121 allocator_traits<ConstructAlloc>::construct(construct_alloc, p, ::boost::forward<Args>(args)...); in dispatch_uses_allocator()
138 allocator_traits<ConstructAlloc>::construct in dispatch_uses_allocator()
157 allocator_traits<ConstructAlloc>::construct in dispatch_uses_allocator()
174allocator_traits<ConstructAlloc>::construct(construct_alloc, p BOOST_MOVE_I##N BOOST_MOVE_FWD##N);\
191 allocator_traits<ConstructAlloc>::construct\
209 allocator_traits<ConstructAlloc>::construct\ in BOOST_MOVE_ITERATE_0TO9()
233 allocator_traits<ConstructAlloc>::destroy(construct_alloc, dtl::addressof(p->first));
254 allocator_traits<ConstructAlloc>::destroy(construct_alloc, dtl::addressof(p->first)); in BOOST_CONTAINER_DOC1ST()
302 allocator_traits<ConstructAlloc>::destroy(construct_alloc, dtl::addressof(pair->first));\
325 allocator_traits<ConstructAlloc>::destroy(construct_alloc, dtl::addressof(pair->first)); in dispatch_uses_allocator_index()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/memory/
Dmemory_test.cc349 typename absl::allocator_traits<A>::allocator_type>::value)); in TEST()
352 typename absl::allocator_traits<A>::value_type>::value)); in TEST()
359 EXPECT_TRUE((std::is_same<SmartPointer<X>, typename absl::allocator_traits< in TEST()
363 typename absl::allocator_traits<A>::pointer>::value)); in TEST()
368 typename absl::allocator_traits<HasPointer>::const_pointer>::value)); in TEST()
371 typename absl::allocator_traits<A>::const_pointer>::value)); in TEST()
379 typename absl::allocator_traits< in TEST()
382 (std::is_same<SmartPointer<void>, typename absl::allocator_traits< in TEST()
392 typename absl::allocator_traits< in TEST()
395 typename absl::allocator_traits< in TEST()
[all …]
/third_party/abseil-cpp/absl/memory/
Dmemory_test.cc349 typename absl::allocator_traits<A>::allocator_type>::value)); in TEST()
352 typename absl::allocator_traits<A>::value_type>::value)); in TEST()
359 EXPECT_TRUE((std::is_same<SmartPointer<X>, typename absl::allocator_traits< in TEST()
363 typename absl::allocator_traits<A>::pointer>::value)); in TEST()
368 typename absl::allocator_traits<HasPointer>::const_pointer>::value)); in TEST()
371 typename absl::allocator_traits<A>::const_pointer>::value)); in TEST()
379 typename absl::allocator_traits< in TEST()
382 (std::is_same<SmartPointer<void>, typename absl::allocator_traits< in TEST()
392 typename absl::allocator_traits< in TEST()
395 typename absl::allocator_traits< in TEST()
[all …]
/third_party/boost/boost/fiber/future/detail/
Dtask_object.hpp37 typedef std::allocator_traits< Allocator > allocator_traits; typedef in boost::fibers::detail::task_object
40 typedef typename allocator_traits::template rebind_alloc<
77 typedef std::allocator_traits< allocator_type > traity_type; in reset()
102 typedef std::allocator_traits< allocator_type > traity_type; in destroy_()
112 typedef std::allocator_traits< Allocator > allocator_traits; typedef in boost::fibers::detail::task_object
115 typedef typename allocator_traits::template rebind_alloc<
151 typedef std::allocator_traits< allocator_type > traity_type; in reset()
176 typedef std::allocator_traits< allocator_type > traity_type; in destroy_()
/third_party/boost/boost/multi_index/detail/
Dallocator_traits.hpp50 typename std::allocator_traits<Allocator>::is_always_equal
52 >:std::allocator_traits<Allocator>::is_always_equal{};
55 struct allocator_traits:std::allocator_traits<Allocator> struct
59 typedef std::allocator_traits<Allocator> super; argument
83 struct allocator_traits
112 typedef allocator_traits<typename rebind_alloc<T>::type> type;
163 typedef typename allocator_traits<Allocator>::
/third_party/boost/boost/container/
Dsmall_vector.hpp86 …, typename allocator_traits<typename real_allocator<T, SecondaryAllocator>::type>::template portab…
122 …: public allocator_traits<typename real_allocator<T, VoidAllocator>::type>::template portable_rebi…
128 …typedef typename allocator_traits<typename real_allocator<T, VoidAllocator>::type>::template porta…
142 typedef allocator_traits<allocator_type> allocator_traits_type;
145 typedef typename allocator_traits<allocator_type>::value_type value_type;
146 typedef typename allocator_traits<allocator_type>::pointer pointer;
147 typedef typename allocator_traits<allocator_type>::const_pointer const_pointer;
148 typedef typename allocator_traits<allocator_type>::reference reference;
149 typedef typename allocator_traits<allocator_type>::const_reference const_reference;
150 typedef typename allocator_traits<allocator_type>::size_type size_type;
[all …]
Dallocator_traits.hpp131 struct allocator_traits struct
190 template <class T> using rebind_traits = allocator_traits<rebind_alloc<T> >; argument
258 template <typename T> using rebind_traits = allocator_traits< rebind_alloc<T> >; argument
280 : allocator_traits<typename boost::intrusive::pointer_rebind<Allocator, T>::type>
309 return allocator_traits::priv_allocate(flag, a, n, p); in allocate()
322 allocator_traits::priv_destroy(flag, a, p); in destroy()
331 return allocator_traits::priv_max_size(flag, a); in max_size()
345 return allocator_traits::priv_select_on_container_copy_construction(flag, a); in BOOST_CONTAINER_DOC1ST()
360 allocator_traits::priv_construct(flag, a, p, ::boost::forward<Args>(args)...); in construct()
369 return allocator_traits::priv_storage_is_unpropagable(flag, a, p); in storage_is_unpropagable()
[all …]
/third_party/boost/libs/beast/include/boost/beast/core/detail/
Dallocator.hpp30 using allocator_traits = boost::container::allocator_traits<Alloc>; typedef
34 using allocator_traits = std::allocator_traits<Alloc>;
/third_party/boost/boost/beast/core/detail/
Dallocator.hpp30 using allocator_traits = boost::container::allocator_traits<Alloc>; typedef
34 using allocator_traits = std::allocator_traits<Alloc>;
/third_party/abseil-cpp/absl/container/internal/
Dcontainer_memory.h58 using A = typename absl::allocator_traits<Alloc>::template rebind_alloc<M>; in Allocate()
59 using AT = typename absl::allocator_traits<Alloc>::template rebind_traits<M>; in Allocate()
77 using A = typename absl::allocator_traits<Alloc>::template rebind_alloc<M>; in Deallocate()
78 using AT = typename absl::allocator_traits<Alloc>::template rebind_traits<M>; in Deallocate()
94 absl::allocator_traits<Alloc>::construct( in ConstructFromTupleImpl()
384 absl::allocator_traits<Allocator>::construct(*alloc, &slot->mutable_value,
387 absl::allocator_traits<Allocator>::construct(*alloc, &slot->value,
397 absl::allocator_traits<Allocator>::construct(
400 absl::allocator_traits<Allocator>::construct(*alloc, &slot->value,
408 absl::allocator_traits<Allocator>::destroy(*alloc, &slot->mutable_value);
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
Dcontainer_memory.h58 using A = typename absl::allocator_traits<Alloc>::template rebind_alloc<M>; in Allocate()
59 using AT = typename absl::allocator_traits<Alloc>::template rebind_traits<M>; in Allocate()
77 using A = typename absl::allocator_traits<Alloc>::template rebind_alloc<M>; in Deallocate()
78 using AT = typename absl::allocator_traits<Alloc>::template rebind_traits<M>; in Deallocate()
94 absl::allocator_traits<Alloc>::construct( in ConstructFromTupleImpl()
384 absl::allocator_traits<Allocator>::construct(*alloc, &slot->mutable_value,
387 absl::allocator_traits<Allocator>::construct(*alloc, &slot->value,
397 absl::allocator_traits<Allocator>::construct(
400 absl::allocator_traits<Allocator>::construct(*alloc, &slot->value,
408 absl::allocator_traits<Allocator>::destroy(*alloc, &slot->mutable_value);
[all …]
/third_party/boost/boost/log/detail/
Dallocator_traits.hpp38 using std::allocator_traits;
40 using boost::container::allocator_traits;
57 … typedef typename std::allocator_traits< Allocator >::BOOST_NESTED_TEMPLATE rebind_alloc< U > type;
59 …typedef typename boost::container::allocator_traits< Allocator >::BOOST_NESTED_TEMPLATE portable_r…
/third_party/boost/libs/core/doc/
Dalloc_construct.qbk82 [[Effects][`std::allocator_traits<A>::destroy(a, p)`.]]]]]
89 `std::allocator_traits<A>::destroy(a, &p[i])`.]]]]]
95 [`std::allocator_traits<A>::construct(a, p, std::forward<Args>(args)...)`.]]]]]
102 `std::allocator_traits<A>::construct(a, &p[i])`.]]
105 reverse order by calling `std::allocator_traits<A>::destroy(a, &p[j])`.]]]]]
112 `std::allocator_traits<A>::construct(a, &p[i], l[i % m])`.]]
115 reverse order by calling `std::allocator_traits<A>::destroy(a, &p[j])`.]]]]]
124 `std::allocator_traits<A>::construct(a, &p[i], *begin++])`.]]
127 reverse order by calling `std::allocator_traits<A>::destroy(a, &p[j])`.]]]]]]
/third_party/boost/boost/geometry/index/detail/rtree/node/
Dvariant_dynamic.hpp26 typedef typename boost::container::allocator_traits
44 typedef typename boost::container::allocator_traits
102 typedef typename boost::container::allocator_traits
107 typedef boost::container::allocator_traits<type> traits;
128 typedef typename boost::container::allocator_traits
132 typedef boost::container::allocator_traits<value_allocator_type> value_allocator_traits;
196 typedef boost::container::allocator_traits<AllocNode> Al; in apply()
221 typedef boost::container::allocator_traits<AllocNode> Al; in apply()
Dweak_dynamic.hpp23 typedef typename boost::container::allocator_traits
42 typedef typename boost::container::allocator_traits
97 typedef typename boost::container::allocator_traits
113 typedef typename ::boost::container::allocator_traits
145 typedef typename boost::container::allocator_traits
149 typedef boost::container::allocator_traits<value_allocator_type> value_allocator_traits;
220 typedef boost::container::allocator_traits<AllocNode> Al; in apply()
245 typedef boost::container::allocator_traits<AllocNode> Al; in apply()
/third_party/abseil-cpp/absl/container/
Dnode_hash_set.h453 typename absl::allocator_traits<Allocator>::template rebind_alloc<T>; in new_element()
455 T* res = absl::allocator_traits<ValueAlloc>::allocate(value_alloc, 1); in new_element()
456 absl::allocator_traits<ValueAlloc>::construct(value_alloc, res, in new_element()
464 typename absl::allocator_traits<Allocator>::template rebind_alloc<T>; in delete_element()
466 absl::allocator_traits<ValueAlloc>::destroy(value_alloc, elem); in delete_element()
467 absl::allocator_traits<ValueAlloc>::deallocate(value_alloc, elem, 1); in delete_element()
Dnode_hash_map.h549 using PairAlloc = typename absl::allocator_traits< in new_element()
553 absl::allocator_traits<PairAlloc>::allocate(pair_alloc, 1); in new_element()
554 absl::allocator_traits<PairAlloc>::construct(pair_alloc, res, in new_element()
561 using PairAlloc = typename absl::allocator_traits< in delete_element()
564 absl::allocator_traits<PairAlloc>::destroy(pair_alloc, pair); in delete_element()
565 absl::allocator_traits<PairAlloc>::deallocate(pair_alloc, pair, 1); in delete_element()
/third_party/skia/third_party/externals/abseil-cpp/absl/container/
Dnode_hash_set.h453 typename absl::allocator_traits<Allocator>::template rebind_alloc<T>; in new_element()
455 T* res = absl::allocator_traits<ValueAlloc>::allocate(value_alloc, 1); in new_element()
456 absl::allocator_traits<ValueAlloc>::construct(value_alloc, res, in new_element()
464 typename absl::allocator_traits<Allocator>::template rebind_alloc<T>; in delete_element()
466 absl::allocator_traits<ValueAlloc>::destroy(value_alloc, elem); in delete_element()
467 absl::allocator_traits<ValueAlloc>::deallocate(value_alloc, elem, 1); in delete_element()
/third_party/boost/boost/iostreams/detail/
Dbuffer.hpp45 typedef typename std::allocator_traits<Alloc>::template rebind_alloc<Ch> allocator_type;
46 typedef std::allocator_traits<allocator_type> allocator_traits;
161 return static_cast<Ch*>(allocator_traits::allocate(alloc, in allocate()
162 static_cast<BOOST_DEDUCED_TYPENAME allocator_traits::size_type>(buffer_size))); in allocate()
181 allocator_traits::deallocate(alloc, buf_, in ~basic_buffer()
182 static_cast<BOOST_DEDUCED_TYPENAME allocator_traits::size_type>(size_)); in ~basic_buffer()
/third_party/boost/libs/log/src/
Dattribute_set_impl.hpp66 typedef typename log::aux::allocator_traits< base_type >::value_type value_type;
67 typedef typename log::aux::allocator_traits< base_type >::size_type size_type;
68 typedef typename log::aux::allocator_traits< base_type >::difference_type difference_type;
69 typedef typename log::aux::allocator_traits< base_type >::pointer pointer;
70 typedef typename log::aux::allocator_traits< base_type >::const_pointer const_pointer;
100 …log::aux::allocator_traits< base_type >::deallocate(*static_cast< base_type* >(this), m_Pool[i], 1… in ~pool_allocator()
127 …return log::aux::allocator_traits< base_type >::allocate(*static_cast< base_type* >(this), n, hint… in allocate()
140 … log::aux::allocator_traits< base_type >::deallocate(*static_cast< base_type* >(this), p, n); in deallocate()

123456789