Home
last modified time | relevance | path

Searched refs:push_front (Results 1 – 25 of 348) sorted by relevance

12345678910>>...14

/third_party/boost/libs/container/test/
Dslist_test.cpp104 …slist<int> list1; list1.push_front(3); list1.push_front(2); list1.push_front(1); list1.push_front(… in test_for_splice()
106 … slist<int> expected1; expected1.push_front(3); expected1.push_front(2); expected1.push_front(0); in test_for_splice()
107 slist<int> expected2; expected2.push_front(1); in test_for_splice()
115 …slist<int> list1; list1.push_front(3); list1.push_front(2); list1.push_front(1); list1.push_front(… in test_for_splice()
118 …slist<int> expected2; expected2.push_front(3); expected2.push_front(2); expected2.push_front(1); e… in test_for_splice()
213 vector_int a; a.push_front(2); a.push_front(1); a.push_front(0); in main()
Dlist_test.hpp67 boostlist.push_front(copy_me); in list_copyable_only()
68 stdlist.push_front(int(3)); in list_copyable_only()
69 boostlist.push_front(ccopy_me); in list_copyable_only()
70 stdlist.push_front(int(3)); in list_copyable_only()
114 boostlist.push_front(IntType(i)); in execute()
115 stdlist.push_front(int(i)); in execute()
132 boostlist.push_front(boost::move(move_me)); in execute()
133 stdlist.push_front(i); in execute()
134 boostlist.push_front(IntType(i)); in execute()
135 stdlist.push_front(int(i)); in execute()
/third_party/boost/libs/units/example/
Ddimension.cpp52 mpl::push_front< in main()
59 mpl::push_front< in main()
65 mpl::push_front< in main()
66 mpl::push_front< in main()
67 mpl::push_front< in main()
92 mpl::push_front< in main()
93 mpl::push_front< in main()
99 mpl::push_front< in main()
100 mpl::push_front< in main()
106 mpl::push_front< in main()
[all …]
/third_party/boost/boost/fusion/algorithm/transformation/
Dpush_front.hpp22 struct push_front struct
34 , result_of::push_front<Sequence const, T>
36 push_front(Sequence const& seq, T const& x) in push_front() function
38 typedef typename result_of::push_front<Sequence const, T> push_front; in push_front() typedef
39 typedef typename push_front::single_view single_view; in push_front()
40 typedef typename push_front::type result; in push_front()
/third_party/boost/libs/fusion/test/algorithm/
Dpush_front.cpp34 std::cout << push_front(t1, 123456) << std::endl; in main()
35 BOOST_TEST((push_front(t1, 123456) in main()
40 std::cout << push_front(t1, "lively") << std::endl; in main()
41 BOOST_TEST((push_front(t1, "lively") in main()
48 std::cout << boost::fusion::push_front(mpl_vec(), boost::mpl::int_<1>()) << std::endl; in main()
49 BOOST_TEST((boost::fusion::push_front(mpl_vec(), boost::mpl::int_<1>()) in main()
/third_party/boost/libs/mpl/doc/src/refmanual/
Dpush_front.rst1 .. Sequences/Intrinsic Metafunctions//push_front
3 push_front title
15 struct push_front
25 ``push_front`` performs an insertion at the beginning of the sequence with guaranteed |O(1)|
34 #include <boost/mpl/push_front.hpp>
65 typedef push_front<s,x>::type r;
97 typedef push_front< v,integral_c<int,1> >::type fibonacci;
DFrontExtensibleSequence.rst27 | ``push_front<s,x>::type`` | |Front Extensible Sequence| | Amortized constant time |
43 | ``push_front<s,x>::type`` | Equivalent to ``insert<s,begin<s>::type,x>::type``; |
44 | | see |push_front|. |
63 |Sequences|, |Extensible Sequence|, |Back Extensible Sequence|, |push_front|, |pop_front|, |front|
/third_party/boost/libs/circular_buffer/test/
Dbounded_buffer_comparison.cpp36 void push_front(param_type item) { in push_front() function in bounded_buffer
39 m_container.push_front(item); in push_front()
78 void push_front(param_type item) { in push_front() function in bounded_buffer_space_optimized
81 m_container.push_front(item); in push_front()
120 void push_front(param_type item) { in push_front() function in bounded_buffer_deque_based
123 m_container.push_front(item); in push_front()
163 void push_front(param_type item) { in push_front() function in bounded_buffer_list_based
166 m_container.push_front(item); in push_front()
223 m_container->push_front(value_type()); in operator ()()
237 buffer->push_front(Buffer::value_type()); in fifo_test()
[all …]
/third_party/boost/libs/circular_buffer/example/
Dbounded_buffer_comparison.cpp36 void push_front(param_type item) { in push_front() function in bounded_buffer
39 m_container.push_front(item); in push_front()
78 void push_front(param_type item) { in push_front() function in bounded_buffer_space_optimized
81 m_container.push_front(item); in push_front()
120 void push_front(param_type item) { in push_front() function in bounded_buffer_deque_based
123 m_container.push_front(item); in push_front()
163 void push_front(param_type item) { in push_front() function in bounded_buffer_list_based
166 m_container.push_front(item); in push_front()
223 m_container->push_front(value_type()); in operator ()()
237 buffer->push_front(Buffer::value_type()); in fifo_test()
[all …]
Dcircular_buffer_bound_example.cpp36 void push_front(typename boost::call_traits<value_type>::param_type item) in push_front() function in bounded_buffer
41 m_container.push_front(item); in push_front()
98 m_container->push_front(value_type()); in operator ()()
140 buffer->push_front(Buffer::value_type()); in fifo_test()
142 buffer->push_front(BOOST_DEDUCED_TYPENAME Buffer::value_type()); in fifo_test()
/third_party/boost/libs/range/doc/reference/algorithm_ext/
Dpush_front.qbk6 [section:push_front push_front]
15 Container& push_front(Container& target,
21 `push_front` all of the elements in the range `from` to the front of the container `target`.
25 Defined in the header file `boost/range/algorithm_ext/push_front.hpp`
/third_party/boost/boost/proto/functional/fusion/
Dpush_front.hpp25 struct push_front struct
34 : fusion::result_of::push_front<
41 typename fusion::result_of::push_front<Seq const, T>::type
44 return fusion::push_front(seq, t); in operator ()()
/third_party/boost/libs/ptr_container/doc/
Dptr_list.rst52 void push_front( T* x );
54 void push_front( compatible-smart-ptr<U> x );
73 - ``void push_front( T* x );``
83 - ``template< class U > void push_front( compatible-smart-ptr<U> x );``
85 - Effects: ``push_front( x.release() );``
88 - ``void push_front( const T& x );``
90 - Effects: push_front( allocate_clone( x ) );
Dptr_deque.rst58 void push_front( T* x );
60 void push_front( compatible-smart-ptr<U> x );
86 - ``void push_front( T* x );``
96 - ``template< class U > void push_front( compatible-smart-ptr<U> x );``
98 - Effects: ``push_front( x.release() );``
101 - ``void push_front( const T& x );``
103 - Effects: push_front( allocate_clone( x ) );
/third_party/boost/libs/spirit/classic/test/
Dfixed_size_queue_tests.cpp58 q.push_front(5); in main()
59 q.push_front(4); in main()
60 q.push_front(3); in main()
61 q.push_front(2); in main()
62 q.push_front(1); in main()
/third_party/boost/boost/fusion/container/map/detail/
Dbuild_map.hpp51 return type(push_front(rest, first)); in call()
65 push_front; typedef
67 typedef typename push_front::type type;
73 return push_front::call( in call()
/third_party/boost/libs/intrusive/test/
Dany_test.cpp65 slist_base.push_front(myclass); in instantiation_test()
69 slist_member.push_front(myclass); in instantiation_test()
73 list_base.push_front(myclass); in instantiation_test()
77 list_member.push_front(myclass); in instantiation_test()
156 baselist.push_front(*it); in simple_slist_test()
161 memberlist.push_front(*it); in simple_slist_test()
/third_party/boost/boost/mpl/
Dpush_front.hpp29 struct push_front struct
33 BOOST_MPL_AUX_LAMBDA_SUPPORT(2,push_front,(Sequence,T))
47 BOOST_MPL_AUX_NA_SPEC(2, push_front)
/third_party/boost/boost/mpl/aux_/
Dinsert_impl.hpp53 , push_front<_,_>
58 , typename push_front<half_sequence_,T>::type
59 , push_front<_,_>
Dpush_front_impl.hpp54 : aux::has_type< push_front< Seq, has_push_front_arg > >
58 typedef aux::has_type< push_front< Seq, has_push_front_arg > > type;
60 (aux::has_type< push_front< Seq, has_push_front_arg > >::value)
/third_party/boost/libs/mpl/test/
Dpush_front.cpp32 typedef push_front<list0<>,long>::type res1; in MPL_TEST_CASE()
33 typedef push_front<list1<long>,int>::type res2; in MPL_TEST_CASE()
34 typedef push_front<list2<int,long>,char>::type res3; in MPL_TEST_CASE()
/third_party/flutter/skia/tests/
DDequeTest.cpp108 *(int*)deq.push_front() = i; in TestSub()
151 *(int*)deq.push_front() = 5; in TestSub()
153 *(int*)deq.push_front() = 6; in TestSub()
155 *(int*)deq.push_front() = 7; in TestSub()
157 *(int*)deq.push_front() = 8; in TestSub()
/third_party/skia/tests/
DDequeTest.cpp108 *(int*)deq.push_front() = i; in TestSub()
151 *(int*)deq.push_front() = 5; in TestSub()
153 *(int*)deq.push_front() = 6; in TestSub()
155 *(int*)deq.push_front() = 7; in TestSub()
157 *(int*)deq.push_front() = 8; in TestSub()
/third_party/boost/boost/sort/common/
Ddeque_cnc.hpp269 void push_front(const value_type & D) in push_front() function in sort::tools::deque_cnc
272 dq.push_front(D); in push_front()
294 deque_cnc & push_front(const std::deque<value_type, Allocator2> & V1) in push_front() function in sort::tools::deque_cnc
298 dq.push_front(V1[i]); in push_front()
308 deque_cnc & push_front(std::deque<value_type, Allocator> && V1) in push_front() function in sort::tools::deque_cnc
/third_party/boost/boost/fusion/container/deque/detail/
Dbuild_deque.hpp63 push_front; typedef
65 typedef typename push_front::type type;
72 return push_front::call( in call()

12345678910>>...14