Home
last modified time | relevance | path

Searched refs:csbl (Results 1 – 25 of 48) sorted by relevance

12

/third_party/boost/libs/thread/test/sync/futures/when_any/
Dvariadic_pass.cpp60 …boost::future<boost::csbl::tuple<boost::future<int>,boost::future<int> > > all = boost::when_any(b… in main()
64 boost::csbl::tuple<boost::future<int>,boost::future<int> > res = all.get(); in main()
65 BOOST_TEST(boost::csbl::get<0>(res).valid()); in main()
66 BOOST_TEST(boost::csbl::get<1>(res).valid()); in main()
67 BOOST_TEST(boost::csbl::get<0>(res).is_ready() || boost::csbl::get<1>(res).is_ready()); in main()
70 BOOST_TEST(boost::csbl::get<1>(res).get() == 321); in main()
79 …boost::future<boost::csbl::tuple<boost::future<int>,boost::future<int> > > all = boost::when_any(b… in main()
85 boost::csbl::tuple<boost::future<int>,boost::future<int> > res = all.get(); in main()
86 BOOST_TEST(boost::csbl::get<0>(res).valid()); in main()
87 BOOST_TEST(boost::csbl::get<1>(res).valid()); in main()
[all …]
Done_pass.cpp47 boost::future<boost::csbl::tuple<boost::future<int> > > all = boost::when_any(boost::move(f1)); in main()
50 boost::csbl::tuple<boost::future<int> > res = all.get(); in main()
51 BOOST_TEST(boost::csbl::get<0>(res).valid()); in main()
52 BOOST_TEST(boost::csbl::get<0>(res).is_ready()); in main()
60 boost::future<boost::csbl::tuple<boost::future<int> > > all = boost::when_any(boost::move(f1)); in main()
65 boost::csbl::tuple<boost::future<int> > res = all.get(); in main()
66 BOOST_TEST(boost::csbl::get<0>(res).valid()); in main()
67 BOOST_TEST(boost::csbl::get<0>(res).is_ready()); in main()
68 BOOST_TEST(boost::csbl::get<0>(res).get() == 123); in main()
74 boost::future<boost::csbl::tuple<boost::shared_future<int> > > all = boost::when_any(f1); in main()
[all …]
Diterators_pass.cpp58 boost::csbl::vector<boost::future<int> > v; in main()
65 …boost::future<boost::csbl::vector<boost::future<int> > > all = boost::when_any(v.begin(), v.end()); in main()
69 boost::csbl::vector<boost::future<int> > res = all.get(); in main()
82 boost::csbl::vector<boost::future<int> > v; in main()
89 …boost::future<boost::csbl::vector<boost::future<int> > > all = boost::when_any(v.begin(), v.end()); in main()
95 boost::csbl::vector<boost::future<int> > res = all.get(); in main()
106 boost::csbl::vector<boost::shared_future<int> > v; in main()
113 …boost::future<boost::csbl::vector<boost::shared_future<int> > > all = boost::when_any(v.begin(), v… in main()
121 boost::csbl::vector<boost::shared_future<int> > res = all.get(); in main()
136 boost::csbl::vector<boost::future<int> > v; in main()
[all …]
/third_party/boost/libs/thread/test/sync/futures/when_all/
Dvariadic_pass.cpp62 …boost::future<boost::csbl::tuple<boost::future<int>,boost::future<int> > > all = boost::when_all(b… in main()
66 boost::csbl::tuple<boost::future<int>,boost::future<int> > res = all.get(); in main()
67 BOOST_TEST(boost::csbl::get<0>(res).valid()); in main()
68 BOOST_TEST(boost::csbl::get<0>(res).is_ready()); in main()
71 BOOST_TEST(boost::csbl::get<1>(res).valid()); in main()
72 BOOST_TEST(boost::csbl::get<1>(res).is_ready()); in main()
73 BOOST_TEST(boost::csbl::get<1>(res).get() == 321); in main()
82 …boost::future<boost::csbl::tuple<boost::future<int>,boost::future<int> > > all = boost::when_all(b… in main()
88 boost::csbl::tuple<boost::future<int>,boost::future<int> > res = all.get(); in main()
89 BOOST_TEST(boost::csbl::get<0>(res).valid()); in main()
[all …]
Done_pass.cpp54 boost::future<boost::csbl::tuple<boost::future<int> > > all = boost::when_all(boost::move(f1)); in main()
57 boost::csbl::tuple<boost::future<int> > res = all.get(); in main()
58 BOOST_TEST(boost::csbl::get<0>(res).valid()); in main()
59 BOOST_TEST(boost::csbl::get<0>(res).is_ready()); in main()
67 boost::future<boost::csbl::tuple<boost::future<int> > > all = boost::when_all(boost::move(f1)); in main()
72 boost::csbl::tuple<boost::future<int> > res = all.get(); in main()
73 BOOST_TEST(boost::csbl::get<0>(res).valid()); in main()
74 BOOST_TEST(boost::csbl::get<0>(res).is_ready()); in main()
75 BOOST_TEST(boost::csbl::get<0>(res).get() == 123); in main()
81 boost::future<boost::csbl::tuple<boost::shared_future<int> > > all = boost::when_all(f1); in main()
[all …]
Diterators_pass.cpp57 boost::csbl::vector<boost::future<int> > v; in main()
64 …boost::future<boost::csbl::vector<boost::future<int> > > all = boost::when_all(v.begin(), v.end()); in main()
68 boost::csbl::vector<boost::future<int> > res = all.get(); in main()
81 boost::csbl::vector<boost::future<int> > v; in main()
88 …boost::future<boost::csbl::vector<boost::future<int> > > all = boost::when_all(v.begin(), v.end()); in main()
94 boost::csbl::vector<boost::future<int> > res = all.get(); in main()
105 boost::csbl::vector<boost::shared_future<int> > v; in main()
112 …boost::future<boost::csbl::vector<boost::shared_future<int> > > all = boost::when_all(v.begin(), v… in main()
120 boost::csbl::vector<boost::shared_future<int> > res = all.get(); in main()
135 boost::csbl::vector<boost::future<int> > v; in main()
[all …]
/third_party/boost/libs/thread/example/
Dfuture_when_all.cpp102 boost::future<boost::csbl::tuple<> > all0 = boost::when_all(); in main()
109 … boost::future<boost::csbl::tuple<boost::future<int> > > all = boost::when_all(boost::move(f1)); in main()
110 boost::csbl::tuple<boost::future<int> > res = all.get(); in main()
112 << boost::csbl::get<0>(res).get() <<" " << BOOST_THREAD_END_LOG; in main()
119 … boost::future<boost::csbl::tuple<boost::future<int> > > all = boost::when_all(boost::move(f1)); in main()
121 boost::csbl::tuple<boost::future<int> > res = all.get(); in main()
123 << boost::csbl::get<0>(res).get() <<" " << BOOST_THREAD_END_LOG; in main()
129 … boost::future<boost::csbl::tuple<boost::future<int> > > all = boost::when_all(boost::move(f1)); in main()
130 boost::csbl::tuple<boost::future<int> > res = all.get(); in main()
132 << boost::csbl::get<0>(res).get() <<" " << BOOST_THREAD_END_LOG; in main()
[all …]
/third_party/boost/libs/thread/test/sync/futures/promise/
Dset_rvalue_at_thread_exit_pass.cpp28 boost::promise<boost::csbl::unique_ptr<int> > p;
29 boost::promise<boost::csbl::unique_ptr<int> > p2;
32 boost::csbl::unique_ptr<int> uptr(new int(5)); in func()
37 p2.set_value_at_thread_exit(boost::csbl::make_unique<int>(5)); in func2()
43 boost::future<boost::csbl::unique_ptr<int> > f = p.get_future(); in main()
48 boost::future<boost::csbl::unique_ptr<int> > f = p2.get_future(); in main()
Duse_allocator_pass.cpp33 …BOOST_STATIC_ASSERT_MSG((boost::csbl::uses_allocator<boost::promise<int>, test_allocator<int> >::v… in main()
34 …BOOST_STATIC_ASSERT_MSG((boost::csbl::uses_allocator<boost::promise<int&>, test_allocator<int&> >:… in main()
35 …BOOST_STATIC_ASSERT_MSG((boost::csbl::uses_allocator<boost::promise<void>, test_allocator<void> >:… in main()
/third_party/boost/boost/thread/csbl/memory/
Dallocator_arg.hpp20 namespace csbl namespace
29 namespace csbl namespace
38 using ::boost::csbl::allocator_arg_t;
39 using ::boost::csbl::allocator_arg;
Ddefault_delete.hpp22 namespace csbl namespace
30 namespace csbl namespace
39 using ::boost::csbl::default_delete;
Dpointer_traits.hpp20 namespace csbl namespace
28 namespace csbl namespace
Dallocator_traits.hpp20 namespace csbl namespace
28 namespace csbl namespace
Dscoped_allocator.hpp20 namespace csbl namespace
28 namespace csbl namespace
Dshared_ptr.hpp21 namespace csbl namespace
34 namespace csbl namespace
Dunique_ptr.hpp21 namespace csbl namespace
/third_party/boost/libs/thread/test/sync/futures/async/
Dasync_pass.cpp125 boost::csbl::unique_ptr<int> f3_0() in f3_0()
128 boost::csbl::unique_ptr<int> r( (new int(3))); in f3_0()
138 boost::csbl::unique_ptr<int> f3(int i) in f3()
141 return boost::csbl::unique_ptr<int>(new int(i)); in f3()
144 boost::csbl::unique_ptr<int> f4( in f4()
145 BOOST_THREAD_RV_REF_BEG boost::csbl::unique_ptr<int> BOOST_THREAD_RV_REF_END p in f4()
739 boost::future<boost::csbl::unique_ptr<int> > f = boost::async(&f3_0); in main()
741 boost::csbl::unique_ptr<int> res; in main()
764 boost::future<boost::csbl::unique_ptr<int> > f = boost::async(boost::launch::async, &f3, 3); in main()
766 boost::csbl::unique_ptr<int> res; in main()
[all …]
Dasync_executor_pass.cpp122 boost::csbl::unique_ptr<int> f3_0() in f3_0()
125 boost::csbl::unique_ptr<int> r( (new int(3))); in f3_0()
135 boost::csbl::unique_ptr<int> f3(int i) in f3()
138 return boost::csbl::unique_ptr<int>(new int(i)); in f3()
141 boost::csbl::unique_ptr<int> f4( in f4()
142 BOOST_THREAD_RV_REF_BEG boost::csbl::unique_ptr<int> BOOST_THREAD_RV_REF_END p in f4()
/third_party/boost/boost/thread/csbl/
Ddevector.hpp19 namespace csbl namespace
24 typedef csbl::vector<T> vector_type;
Dmemory.hpp32 namespace csbl namespace
Dfunctional.hpp25 namespace csbl namespace
Dlist.hpp25 namespace csbl namespace
Dvector.hpp25 namespace csbl namespace
/third_party/boost/libs/thread/test/threads/container/
Dthread_ptr_list_pass.cpp61 typedef boost::csbl::list<thread_ptr > thread_ptr_list; in main()
79 typedef boost::csbl::list<thread_ptr > thread_ptr_list; in main()
/third_party/boost/boost/thread/
Dfuture.hpp563 typedef boost::csbl::unique_ptr<T> storage_type;
1594 BOOST_THREAD_FUTURE<csbl::vector<typename InputIterator::value_type> >
1598 inline BOOST_THREAD_FUTURE<csbl::tuple<> > when_all();
1602 BOOST_THREAD_FUTURE<csbl::tuple<typename decay<T0>::type, typename decay<T>::type...> >
1608 BOOST_THREAD_FUTURE<csbl::vector<typename InputIterator::value_type> >
1612 inline BOOST_THREAD_FUTURE<csbl::tuple<> > when_any();
1616 BOOST_THREAD_FUTURE<csbl::tuple<typename decay<T0>::type, typename decay<T>::type...> >
1685 BOOST_THREAD_FUTURE<csbl::vector<typename InputIterator::value_type> >
1693 friend BOOST_THREAD_FUTURE<csbl::tuple<typename decay<T0>::type, typename decay<T>::type...> >
1699 BOOST_THREAD_FUTURE<csbl::vector<typename InputIterator::value_type> >
[all …]

12