/third_party/boost/libs/thread/test/sync/futures/ |
D | test_allocator.hpp | 37 class test_allocator class 42 template <class U> friend class test_allocator; 53 template <class U> struct rebind {typedef test_allocator<U> other;}; 55 test_allocator() throw() : data_(-1) {} in test_allocator() function in test_allocator 56 explicit test_allocator(int i) throw() : data_(i) {} in test_allocator() function in test_allocator 57 test_allocator(const test_allocator& a) throw() in test_allocator() function in test_allocator 59 template <class U> test_allocator(const test_allocator<U>& a) throw() in test_allocator() function in test_allocator 61 ~test_allocator() throw() {data_ = 0;} in ~test_allocator() 83 friend bool operator==(const test_allocator& x, const test_allocator& y) in operator ==() 85 friend bool operator!=(const test_allocator& x, const test_allocator& y) in operator !=() [all …]
|
/third_party/boost/libs/smart_ptr/test/ |
D | shared_ptr_alloc2_test.cpp | 34 template<class T> class test_allocator: public test_allocator_base class 56 typedef test_allocator<U> other; 69 explicit test_allocator( int id = 0 ): test_allocator_base( id ) in test_allocator() function in test_allocator 73 template<class U> test_allocator( test_allocator<U> const & r ): test_allocator_base( r ) in test_allocator() function in test_allocator 77 template<class U> test_allocator & operator=( test_allocator<U> const & r ) in operator =() 124 template<class T> T * test_allocator<T>::last_pointer_ = 0; 125 template<class T> std::size_t test_allocator<T>::last_n_ = 0; 126 template<class T> int test_allocator<T>::last_id_ = 0; 128 template<class T, class U> inline bool operator==( test_allocator<T> const & a1, test_allocator<U> … in operator ==() 133 template<class T, class U> inline bool operator!=( test_allocator<T> const & a1, test_allocator<U> … in operator !=() [all …]
|
/third_party/boost/libs/beast/test/extras/include/boost/beast/test/ |
D | test_allocator.hpp | 50 class test_allocator; 74 test_allocator<T, Equal, Assign, Move, Swap, true> 75 select_on_container_copy_construction(test_allocator< in select_on_container_copy_construction() 78 return test_allocator<T, in select_on_container_copy_construction() 90 class test_allocator class 97 friend class test_allocator; 114 using other = test_allocator<U, Equal, Assign, Move, Swap, Select>; 117 test_allocator() in test_allocator() function in boost::beast::test::test_allocator 123 test_allocator(test_allocator const& u) noexcept in test_allocator() function in boost::beast::test::test_allocator 130 test_allocator(test_allocator<U, in test_allocator() function in boost::beast::test::test_allocator [all …]
|
/third_party/boost/libs/unordered/test/unordered/ |
D | deduction_tests.cpp | 26 template <typename T> struct test_allocator struct 29 test_allocator() = default; argument 30 template <typename T2> test_allocator(test_allocator<T2> const&) {} in test_allocator() function 33 bool operator==(test_allocator const&) { return true; } in operator ==() argument 34 bool operator!=(test_allocator const&) { return false; } in operator !=() argument 47 test_allocator<std::pair<const int, int> > pair_allocator; in main() 91 test_allocator<std::pair<const int, int> > > >::value); in main() 131 test_allocator<std::pair<const int, int> > > >::value); in main() 216 test_allocator<std::pair<const int, int> > > >::value); in main() 265 test_allocator<std::pair<const int, int> > > >::value); in main() [all …]
|
/third_party/boost/libs/thread/test/sync/futures/promise/ |
D | move_assign_pass.cpp | 37 boost::promise<int> p0(boost::allocator_arg, test_allocator<int>()); in main() 38 boost::promise<int> p(boost::allocator_arg, test_allocator<int>()); in main() 59 boost::promise<int&> p0(boost::allocator_arg, test_allocator<int>()); in main() 60 boost::promise<int&> p(boost::allocator_arg, test_allocator<int>()); in main() 80 boost::promise<void> p0(boost::allocator_arg, test_allocator<void>()); in main() 81 boost::promise<void> p(boost::allocator_arg, test_allocator<void>()); in main()
|
D | use_allocator_pass.cpp | 33 …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()
|
D | alloc_ctor_pass.cpp | 32 boost::promise<int> p(boost::allocator_arg, test_allocator<int>()); in main() 40 boost::promise<int&> p(boost::allocator_arg, test_allocator<int>()); in main() 48 boost::promise<void> p(boost::allocator_arg, test_allocator<void>()); in main()
|
D | move_ctor_pass.cpp | 36 boost::promise<int> p0(boost::allocator_arg, test_allocator<int>()); in main() 60 boost::promise<int&> p0(boost::allocator_arg, test_allocator<int>()); in main() 79 boost::promise<void> p0(boost::allocator_arg, test_allocator<void>()); in main()
|
/third_party/boost/libs/thread/test/sync/futures/packaged_task/ |
D | alloc_ctor_pass.cpp | 106 test_allocator<A>(), BOOST_THREAD_MAKE_RV_REF(A(5))); in main() 124 test_allocator<A>(), a); in main() 140 test_allocator<A>(), a); in main() 153 test_allocator<A>(), fct); in main() 163 test_allocator<A>(), &lfct); in main()
|
D | use_allocator_pass.cpp | 41 …:uses_allocator<boost::packaged_task<BOOST_THREAD_DETAIL_SIGNATURE>, test_allocator<double> >::val… in main()
|
/third_party/boost/libs/beast/test/beast/core/ |
D | flat_buffer.cpp | 45 using a_t = test::test_allocator<char, in testSpecialMembers() 49 using a_neq_t = test::test_allocator<char, in testSpecialMembers() 170 using na_t = test::test_allocator<char, in testSpecialMembers() 182 using na_t = test::test_allocator<char, in testSpecialMembers() 195 using pocma_t = test::test_allocator<char, in testSpecialMembers() 206 using pocma_t = test::test_allocator<char, in testSpecialMembers() 232 using pocca_t = test::test_allocator<char, in testSpecialMembers() 242 using pocca_t = test::test_allocator<char, in testSpecialMembers() 341 using na_t = test::test_allocator<char, in testSpecialMembers()
|
D | multi_buffer.cpp | 176 using equal_t = test::test_allocator<char, in testMembers() 180 using unequal_t = test::test_allocator<char, in testMembers() 296 using na_t = test::test_allocator<char, in testMembers() 309 using pocma_t = test::test_allocator<char, in testMembers() 320 using pocma_t = test::test_allocator<char, in testMembers() 346 using pocca_t = test::test_allocator<char, in testMembers() 356 using pocca_t = test::test_allocator<char, in testMembers() 619 using pocs_t = test::test_allocator<char, in testMembers() 641 using pocs_t = test::test_allocator<char, in testMembers()
|
/third_party/boost/libs/thread/test/sync/futures/shared_future/ |
D | dtor_pass.cpp | 38 boost::promise<T> p(boost::allocator_arg, test_allocator<T>()); in main() 52 boost::promise<T> p(boost::allocator_arg, test_allocator<int>()); in main() 66 boost::promise<T> p(boost::allocator_arg, test_allocator<T>()); in main()
|
/third_party/boost/libs/thread/test/sync/futures/future/ |
D | dtor_pass.cpp | 38 boost::promise<T> p(boost::allocator_arg, test_allocator<T>()); in main() 52 boost::promise<T> p(boost::allocator_arg, test_allocator<int>()); in main() 66 boost::promise<T> p(boost::allocator_arg, test_allocator<T>()); in main()
|
/third_party/boost/libs/beast/test/beast/http/ |
D | fields.cpp | 32 class test_allocator class in boost::beast::http::fields_test 37 test_allocator() noexcept(false) {} in test_allocator() function in boost::beast::http::fields_test::test_allocator 40 std::enable_if<!std::is_same<test_allocator, U>::value>::type> 41 test_allocator(test_allocator<U> const&) noexcept {} in test_allocator() function in boost::beast::http::fields_test::test_allocator 58 operator==(test_allocator<T> const&, test_allocator<U> const&) noexcept in operator ==() 66 operator!=(test_allocator<T> const& x, test_allocator<U> const& y) noexcept in operator !=() 72 using test_fields = basic_fields<test_allocator<char>>; 131 using equal_t = test::test_allocator<char, in testMembers() 135 using unequal_t = test::test_allocator<char, in testMembers() 232 using pocma_t = test::test_allocator<char, in testMembers() [all …]
|
/third_party/boost/libs/config/test/ |
D | boost_has_part_alloc.ipp | 28 int test_allocator(const T& i) 61 return test_allocator(0);
|
D | boost_no_std_allocator.ipp | 28 int test_allocator(const T& i) 80 return test_allocator(0);
|
/third_party/boost/libs/lexical_cast/test/ |
D | lexical_cast_test.cpp | 86 void test_allocator(); 122 suite->add(BOOST_TEST_CASE(&test_allocator)); in init_unit_test_suite() 501 void test_allocator() in test_allocator() function
|
/third_party/boost/libs/beast/ |
D | CHANGELOG.md | 3376 * Add test_allocator to extras/test
|