Home
last modified time | relevance | path

Searched refs:set_capacity (Results 1 – 16 of 16) sorted by relevance

/third_party/boost/libs/ptr_container/test/
Dsequence_test_data.hpp36 set_capacity<C>()( c ); in reversible_container_test()
47 set_capacity<C>()( c3 ); in reversible_container_test()
54 set_capacity<C>()( c ); in reversible_container_test()
219 set_capacity<CDerived>()( from ); in test_transfer()
220 set_capacity<CBase>()( to ); in test_transfer()
280 set_capacity<IntContainer>()( c ); in random_access_algorithms_test()
325 set_capacity<IntContainer>()( c2 ); in random_access_algorithms_test()
Dptr_circular_buffer.cpp19 struct set_capacity< ptr_circular_buffer<T> > struct
23 c.set_capacity( 100u ); in operator ()() argument
112 vec3.set_capacity( 2u ); in test_ptr_circular_buffer()
142 vec3.set_capacity(1u); in test_ptr_circular_buffer()
Dserialization.cpp46 struct set_capacity struct
53 struct set_capacity< boost::ptr_circular_buffer<T> > struct
57 c.set_capacity( 100u ); in operator ()() argument
144 set_capacity<Cont>()( vec ); in test_serialization_helper()
182 set_capacity<Cont>()( vec ); in test_serialization_unordered_set_helper()
Dtest_data.hpp288 struct set_capacity struct
319 set_capacity<DerivedContainer>()( derived ); in container_assignment_test()
/third_party/boost/boost/multi_index/detail/
Drnd_index_ptr_array.hpp72 if(c>capacity_)set_capacity(c); in reserve()
77 if(capacity_>size_)set_capacity(size_); in shrink_to_fit()
131 void set_capacity(size_type c) in set_capacity() function in boost::multi_index::detail::random_access_index_ptr_array
/third_party/boost/boost/accumulators/statistics/
Drolling_window.hpp47 b.set_capacity(capacity); in load()
97 this->buffer_.set_capacity(that.buffer_.capacity()); in rolling_window_plus1_impl()
103 this->buffer_.set_capacity(that.buffer_.capacity()); in operator =()
/third_party/boost/boost/circular_buffer/
Dspace_optimized.hpp225 void set_capacity(const capacity_type& capacity_ctrl) { in set_capacity() function in boost::circular_buffer_space_optimized
1528 circular_buffer<T, Alloc>::set_capacity(m_capacity_ctrl.min_capacity()); in adjust_min_capacity()
1550 circular_buffer<T, Alloc>::set_capacity( in check_low_capacity()
1568 circular_buffer<T, Alloc>::set_capacity( in check_high_capacity()
1577 circular_buffer<T, Alloc>::set_capacity((std::max)(m_capacity_ctrl.min_capacity(), size())); in reduce_capacity()
Dbase.hpp876 void set_capacity(capacity_type new_capacity) { in set_capacity() function in boost::circular_buffer
922 set_capacity(new_size); in resize()
997 set_capacity(new_size); in rresize()
/third_party/boost/boost/ptr_container/
Dptr_circular_buffer.hpp163 set_capacity( n ); in reserve()
171 void set_capacity( capacity_type new_capacity ) // strong in set_capacity() function in boost::ptr_circular_buffer
177 this->base().set_capacity( new_capacity ); in set_capacity()
290 this->set_capacity( capacity ); in assign()
/third_party/boost/libs/circular_buffer/test/
Dbase_test.cpp370 cb7.set_capacity(10); in iterator_invalidation_test()
374 cb7.set_capacity(20); in iterator_invalidation_test()
382 cb7.set_capacity(10); in iterator_invalidation_test()
434 cb8.set_capacity(10); in iterator_invalidation_test()
580 BOOST_TEST_THROWS(cb1.set_capacity(5), std::exception); in exception_safety_test()
Dspace_optimized_test.cpp138 cb1.set_capacity(10); in iterator_invalidation_test()
Dcommon.ipp742 cb1.set_capacity(5);
747 cb2.set_capacity(10);
752 cb3.set_capacity(2);
767 cb3.set_capacity(2);
774 cb3.set_capacity(0);
2378 cb1.set_capacity(100);
2414 cb1.set_capacity(2);
/third_party/boost/libs/msm/doc/PDF/examples/
DExampleCircularBuffer.cpp269 p.get_message_queue().set_capacity(1); in test()
/third_party/boost/libs/msm/doc/HTML/examples/
DExampleCircularBuffer.cpp269 p.get_message_queue().set_capacity(1); in test()
/third_party/ltp/testcases/kernel/device-drivers/tbio/tbio_kernel/
Dltp_tbio.c548 set_capacity(tbio_dev.gd, nsectors); in tbio_init()
/third_party/boost/libs/circular_buffer/doc/
Dcircular_buffer.qbk103 or the function `set_capacity`.