| /external/sdv/vsomeip/third_party/boost/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 …]
|
| /external/sdv/vsomeip/third_party/boost/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 …]
|
| /external/cronet/tot/third_party/libc++/src/test/std/input.output/syncstream/osyncstream/ |
| D | types.compile.pass.cpp | 41 …std::same_as<std::basic_osyncstream<char, constexpr_char_traits<char>, test_allocator<char>>::char… 42 static_assert(std::same_as<std::basic_osyncstream<char, constexpr_char_traits<char>, test_allocator… 44 static_assert(std::same_as<std::basic_osyncstream<char, constexpr_char_traits<char>, test_allocator… 46 static_assert(std::same_as<std::basic_osyncstream<char, constexpr_char_traits<char>, test_allocator… 48 static_assert(std::same_as<std::basic_osyncstream<char, constexpr_char_traits<char>, test_allocator… 51 …std::same_as<std::basic_osyncstream<char, constexpr_char_traits<char>, test_allocator<char>>::allo… 52 test_allocator<char>>); 54 …std::same_as<std::basic_osyncstream<char, constexpr_char_traits<char>, test_allocator<char>>::stre… 57 …std::same_as<std::basic_osyncstream<char, constexpr_char_traits<char>, test_allocator<char>>::sync… 58 std::basic_syncbuf<char, constexpr_char_traits<char>, test_allocator<char>>>); [all …]
|
| /external/cronet/stable/third_party/libc++/src/test/std/input.output/syncstream/osyncstream/ |
| D | types.compile.pass.cpp | 41 …std::same_as<std::basic_osyncstream<char, constexpr_char_traits<char>, test_allocator<char>>::char… 42 static_assert(std::same_as<std::basic_osyncstream<char, constexpr_char_traits<char>, test_allocator… 44 static_assert(std::same_as<std::basic_osyncstream<char, constexpr_char_traits<char>, test_allocator… 46 static_assert(std::same_as<std::basic_osyncstream<char, constexpr_char_traits<char>, test_allocator… 48 static_assert(std::same_as<std::basic_osyncstream<char, constexpr_char_traits<char>, test_allocator… 51 …std::same_as<std::basic_osyncstream<char, constexpr_char_traits<char>, test_allocator<char>>::allo… 52 test_allocator<char>>); 54 …std::same_as<std::basic_osyncstream<char, constexpr_char_traits<char>, test_allocator<char>>::stre… 57 …std::same_as<std::basic_osyncstream<char, constexpr_char_traits<char>, test_allocator<char>>::sync… 58 std::basic_syncbuf<char, constexpr_char_traits<char>, test_allocator<char>>>); [all …]
|
| /external/cronet/tot/third_party/libc++/src/test/std/input.output/syncstream/syncbuf/ |
| D | types.compile.pass.cpp | 43 …std::same_as<std::basic_syncbuf<char, constexpr_char_traits<char>, test_allocator<char>>::char_typ… 44 static_assert(std::same_as<std::basic_syncbuf<char, constexpr_char_traits<char>, test_allocator<cha… 46 static_assert(std::same_as<std::basic_syncbuf<char, constexpr_char_traits<char>, test_allocator<cha… 48 static_assert(std::same_as<std::basic_syncbuf<char, constexpr_char_traits<char>, test_allocator<cha… 50 static_assert(std::same_as<std::basic_syncbuf<char, constexpr_char_traits<char>, test_allocator<cha… 52 static_assert(std::same_as<std::basic_syncbuf<char, constexpr_char_traits<char>, test_allocator<cha… 53 test_allocator<char>>); 54 static_assert(std::same_as<std::basic_syncbuf<char, constexpr_char_traits<char>, test_allocator<cha… 64 …std::same_as<std::basic_syncbuf<wchar_t, constexpr_char_traits<wchar_t>, test_allocator<wchar_t>>:… 67 …std::same_as<std::basic_syncbuf<wchar_t, constexpr_char_traits<wchar_t>, test_allocator<wchar_t>>:… [all …]
|
| /external/cronet/stable/third_party/libc++/src/test/std/input.output/syncstream/syncbuf/ |
| D | types.compile.pass.cpp | 43 …std::same_as<std::basic_syncbuf<char, constexpr_char_traits<char>, test_allocator<char>>::char_typ… 44 static_assert(std::same_as<std::basic_syncbuf<char, constexpr_char_traits<char>, test_allocator<cha… 46 static_assert(std::same_as<std::basic_syncbuf<char, constexpr_char_traits<char>, test_allocator<cha… 48 static_assert(std::same_as<std::basic_syncbuf<char, constexpr_char_traits<char>, test_allocator<cha… 50 static_assert(std::same_as<std::basic_syncbuf<char, constexpr_char_traits<char>, test_allocator<cha… 52 static_assert(std::same_as<std::basic_syncbuf<char, constexpr_char_traits<char>, test_allocator<cha… 53 test_allocator<char>>); 54 static_assert(std::same_as<std::basic_syncbuf<char, constexpr_char_traits<char>, test_allocator<cha… 64 …std::same_as<std::basic_syncbuf<wchar_t, constexpr_char_traits<wchar_t>, test_allocator<wchar_t>>:… 67 …std::same_as<std::basic_syncbuf<wchar_t, constexpr_char_traits<wchar_t>, test_allocator<wchar_t>>:… [all …]
|
| /external/libcxx/test/std/strings/basic.string/string.cons/ |
| D | implicit_deduction_guides.pass.cpp | 52 using TestSizeT = test_allocator<char>::size_type; in main() 72 std::basic_string s(6ull, 'a', test_allocator<char>{}); in main() 73 ASSERT_SAME_TYPE(decltype(s), BStr<char,test_allocator<char>>); in main() 76 std::basic_string w(2ull, L'b', test_allocator<wchar_t>{}); in main() 77 ASSERT_SAME_TYPE(decltype(w), BStr<wchar_t, test_allocator<wchar_t>>); in main() 88 test_allocator<wchar_t>>; in main() 102 test_allocator<wchar_t>>; in main() 104 std::basic_string w(win, (TestSizeT)3, test_allocator<wchar_t>{}); in main() 116 test_allocator<wchar_t>>; in main() 130 test_allocator<wchar_t>>; in main() [all …]
|
| /external/cronet/tot/third_party/libc++/src/test/std/strings/basic.string/string.cons/ |
| D | implicit_deduction_guides.pass.cpp | 49 using TestSizeT = test_allocator<char>::size_type; in test() 73 std::basic_string s(6ull, 'a', test_allocator<char>{}); in test() 74 ASSERT_SAME_TYPE(decltype(s), BStr<char, test_allocator<char>>); in test() 78 std::basic_string w(2ull, L'b', test_allocator<wchar_t>{}); in test() 79 ASSERT_SAME_TYPE(decltype(w), BStr<wchar_t, test_allocator<wchar_t>>); in test() 90 … using WStr = std::basic_string<wchar_t, constexpr_char_traits<wchar_t>, test_allocator<wchar_t>>; in test() 104 … using WStr = std::basic_string<wchar_t, constexpr_char_traits<wchar_t>, test_allocator<wchar_t>>; in test() 106 std::basic_string w(win, (TestSizeT)3, test_allocator<wchar_t>{}); in test() 118 … using WStr = std::basic_string<wchar_t, constexpr_char_traits<wchar_t>, test_allocator<wchar_t>>; in test() 132 … using WStr = std::basic_string<wchar_t, constexpr_char_traits<wchar_t>, test_allocator<wchar_t>>; in test() [all …]
|
| /external/cronet/stable/third_party/libc++/src/test/std/strings/basic.string/string.cons/ |
| D | implicit_deduction_guides.pass.cpp | 49 using TestSizeT = test_allocator<char>::size_type; in test() 73 std::basic_string s(6ull, 'a', test_allocator<char>{}); in test() 74 ASSERT_SAME_TYPE(decltype(s), BStr<char, test_allocator<char>>); in test() 78 std::basic_string w(2ull, L'b', test_allocator<wchar_t>{}); in test() 79 ASSERT_SAME_TYPE(decltype(w), BStr<wchar_t, test_allocator<wchar_t>>); in test() 90 … using WStr = std::basic_string<wchar_t, constexpr_char_traits<wchar_t>, test_allocator<wchar_t>>; in test() 104 … using WStr = std::basic_string<wchar_t, constexpr_char_traits<wchar_t>, test_allocator<wchar_t>>; in test() 106 std::basic_string w(win, (TestSizeT)3, test_allocator<wchar_t>{}); in test() 118 … using WStr = std::basic_string<wchar_t, constexpr_char_traits<wchar_t>, test_allocator<wchar_t>>; in test() 132 … using WStr = std::basic_string<wchar_t, constexpr_char_traits<wchar_t>, test_allocator<wchar_t>>; in test() [all …]
|
| /external/libcxx/test/std/containers/sequences/vector.bool/ |
| D | move_alloc.pass.cpp | 24 std::vector<bool, test_allocator<bool> > l(test_allocator<bool>(5)); in main() 25 std::vector<bool, test_allocator<bool> > lo(test_allocator<bool>(5)); in main() 31 std::vector<bool, test_allocator<bool> > l2(std::move(l), test_allocator<bool>(6)); in main() 34 assert(l2.get_allocator() == test_allocator<bool>(6)); in main() 37 std::vector<bool, test_allocator<bool> > l(test_allocator<bool>(5)); in main() 38 std::vector<bool, test_allocator<bool> > lo(test_allocator<bool>(5)); in main() 44 std::vector<bool, test_allocator<bool> > l2(std::move(l), test_allocator<bool>(5)); in main() 47 assert(l2.get_allocator() == test_allocator<bool>(5)); in main()
|
| D | assign_move.pass.cpp | 24 std::vector<bool, test_allocator<bool> > l(test_allocator<bool>(5)); in main() 25 std::vector<bool, test_allocator<bool> > lo(test_allocator<bool>(5)); in main() 31 std::vector<bool, test_allocator<bool> > l2(test_allocator<bool>(5)); in main() 38 std::vector<bool, test_allocator<bool> > l(test_allocator<bool>(5)); in main() 39 std::vector<bool, test_allocator<bool> > lo(test_allocator<bool>(5)); in main() 45 std::vector<bool, test_allocator<bool> > l2(test_allocator<bool>(6)); in main() 49 assert(l2.get_allocator() == test_allocator<bool>(6)); in main()
|
| /external/cronet/tot/third_party/libc++/src/test/std/containers/sequences/vector.bool/ |
| D | move_alloc.pass.cpp | 24 std::vector<bool, test_allocator<bool> > l(test_allocator<bool>(5)); in tests() 25 std::vector<bool, test_allocator<bool> > lo(test_allocator<bool>(5)); in tests() 31 std::vector<bool, test_allocator<bool> > l2(std::move(l), test_allocator<bool>(6)); in tests() 34 assert(l2.get_allocator() == test_allocator<bool>(6)); in tests() 37 std::vector<bool, test_allocator<bool> > l(test_allocator<bool>(5)); in tests() 38 std::vector<bool, test_allocator<bool> > lo(test_allocator<bool>(5)); in tests() 44 std::vector<bool, test_allocator<bool> > l2(std::move(l), test_allocator<bool>(5)); in tests() 47 assert(l2.get_allocator() == test_allocator<bool>(5)); in tests()
|
| D | assign_move.pass.cpp | 24 std::vector<bool, test_allocator<bool> > l(test_allocator<bool>(5)); in tests() 25 std::vector<bool, test_allocator<bool> > lo(test_allocator<bool>(5)); in tests() 31 std::vector<bool, test_allocator<bool> > l2(test_allocator<bool>(5)); in tests() 38 std::vector<bool, test_allocator<bool> > l(test_allocator<bool>(5)); in tests() 39 std::vector<bool, test_allocator<bool> > lo(test_allocator<bool>(5)); in tests() 45 std::vector<bool, test_allocator<bool> > l2(test_allocator<bool>(6)); in tests() 49 assert(l2.get_allocator() == test_allocator<bool>(6)); in tests()
|
| /external/cronet/stable/third_party/libc++/src/test/std/containers/sequences/vector.bool/ |
| D | move_alloc.pass.cpp | 24 std::vector<bool, test_allocator<bool> > l(test_allocator<bool>(5)); in tests() 25 std::vector<bool, test_allocator<bool> > lo(test_allocator<bool>(5)); in tests() 31 std::vector<bool, test_allocator<bool> > l2(std::move(l), test_allocator<bool>(6)); in tests() 34 assert(l2.get_allocator() == test_allocator<bool>(6)); in tests() 37 std::vector<bool, test_allocator<bool> > l(test_allocator<bool>(5)); in tests() 38 std::vector<bool, test_allocator<bool> > lo(test_allocator<bool>(5)); in tests() 44 std::vector<bool, test_allocator<bool> > l2(std::move(l), test_allocator<bool>(5)); in tests() 47 assert(l2.get_allocator() == test_allocator<bool>(5)); in tests()
|
| D | assign_move.pass.cpp | 24 std::vector<bool, test_allocator<bool> > l(test_allocator<bool>(5)); in tests() 25 std::vector<bool, test_allocator<bool> > lo(test_allocator<bool>(5)); in tests() 31 std::vector<bool, test_allocator<bool> > l2(test_allocator<bool>(5)); in tests() 38 std::vector<bool, test_allocator<bool> > l(test_allocator<bool>(5)); in tests() 39 std::vector<bool, test_allocator<bool> > lo(test_allocator<bool>(5)); in tests() 45 std::vector<bool, test_allocator<bool> > l2(test_allocator<bool>(6)); in tests() 49 assert(l2.get_allocator() == test_allocator<bool>(6)); in tests()
|
| /external/libcxx/test/std/containers/sequences/list/list.cons/ |
| D | move_alloc.pass.cpp | 25 std::list<MoveOnly, test_allocator<MoveOnly> > l(test_allocator<MoveOnly>(5)); in main() 26 std::list<MoveOnly, test_allocator<MoveOnly> > lo(test_allocator<MoveOnly>(5)); in main() 32 … std::list<MoveOnly, test_allocator<MoveOnly> > l2(std::move(l), test_allocator<MoveOnly>(6)); in main() 35 assert(l2.get_allocator() == test_allocator<MoveOnly>(6)); in main() 38 std::list<MoveOnly, test_allocator<MoveOnly> > l(test_allocator<MoveOnly>(5)); in main() 39 std::list<MoveOnly, test_allocator<MoveOnly> > lo(test_allocator<MoveOnly>(5)); in main() 45 … std::list<MoveOnly, test_allocator<MoveOnly> > l2(std::move(l), test_allocator<MoveOnly>(5)); in main() 48 assert(l2.get_allocator() == test_allocator<MoveOnly>(5)); in main()
|
| /external/cronet/stable/third_party/libc++/src/test/std/containers/sequences/list/list.cons/ |
| D | move_alloc.pass.cpp | 25 std::list<MoveOnly, test_allocator<MoveOnly> > l(test_allocator<MoveOnly>(5)); in main() 26 std::list<MoveOnly, test_allocator<MoveOnly> > lo(test_allocator<MoveOnly>(5)); in main() 32 … std::list<MoveOnly, test_allocator<MoveOnly> > l2(std::move(l), test_allocator<MoveOnly>(6)); in main() 35 assert(l2.get_allocator() == test_allocator<MoveOnly>(6)); in main() 38 std::list<MoveOnly, test_allocator<MoveOnly> > l(test_allocator<MoveOnly>(5)); in main() 39 std::list<MoveOnly, test_allocator<MoveOnly> > lo(test_allocator<MoveOnly>(5)); in main() 45 … std::list<MoveOnly, test_allocator<MoveOnly> > l2(std::move(l), test_allocator<MoveOnly>(5)); in main() 48 assert(l2.get_allocator() == test_allocator<MoveOnly>(5)); in main()
|
| /external/cronet/tot/third_party/libc++/src/test/std/containers/sequences/list/list.cons/ |
| D | move_alloc.pass.cpp | 25 std::list<MoveOnly, test_allocator<MoveOnly> > l(test_allocator<MoveOnly>(5)); in main() 26 std::list<MoveOnly, test_allocator<MoveOnly> > lo(test_allocator<MoveOnly>(5)); in main() 32 … std::list<MoveOnly, test_allocator<MoveOnly> > l2(std::move(l), test_allocator<MoveOnly>(6)); in main() 35 assert(l2.get_allocator() == test_allocator<MoveOnly>(6)); in main() 38 std::list<MoveOnly, test_allocator<MoveOnly> > l(test_allocator<MoveOnly>(5)); in main() 39 std::list<MoveOnly, test_allocator<MoveOnly> > lo(test_allocator<MoveOnly>(5)); in main() 45 … std::list<MoveOnly, test_allocator<MoveOnly> > l2(std::move(l), test_allocator<MoveOnly>(5)); in main() 48 assert(l2.get_allocator() == test_allocator<MoveOnly>(5)); in main()
|
| /external/cronet/stable/third_party/libc++/src/test/std/containers/container.adaptors/priority.queue/priqueue.cons.alloc/ |
| D | ctor_copy_alloc.pass.cpp | 32 : public std::priority_queue<T, std::vector<T, test_allocator<T> > > 34 typedef std::priority_queue<T, std::vector<T, test_allocator<T> > > base; 38 explicit test(const test_allocator<int>& a) : base(a) {} in test() 39 test(const value_compare& compare, const test_allocator<int>& a) in test() 42 const test_allocator<int>& a) : base(compare, container, a) {} in test() 43 test(const test& q, const test_allocator<int>& a) : base(q, a) {} in test() 44 test_allocator<int> get_allocator() {return c.get_allocator();} in get_allocator() 52 make<std::vector<int, test_allocator<int> > >(5), in main() 53 test_allocator<int>(2)); in main() 54 test<int> q(qo, test_allocator<int>(6)); in main() [all …]
|
| D | ctor_move_alloc.pass.cpp | 37 : public std::priority_queue<T, std::vector<T, test_allocator<T> > > 39 typedef std::priority_queue<T, std::vector<T, test_allocator<T> > > base; 43 explicit test(const test_allocator<int>& a) : base(a) {} in test() 44 test(const value_compare& compare, const test_allocator<int>& a) in test() 47 const test_allocator<int>& a) : base(compare, container, a) {} in test() 49 const test_allocator<int>& a) : base(compare, std::move(container), a) {} in test() 50 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {} in test() 51 test_allocator<int> get_allocator() {return c.get_allocator();} in get_allocator() 60 make<std::vector<MoveOnly, test_allocator<MoveOnly> > >(5), in main() 61 test_allocator<MoveOnly>(2)); in main() [all …]
|
| /external/cronet/tot/third_party/libc++/src/test/std/containers/container.adaptors/priority.queue/priqueue.cons.alloc/ |
| D | ctor_copy_alloc.pass.cpp | 32 : public std::priority_queue<T, std::vector<T, test_allocator<T> > > 34 typedef std::priority_queue<T, std::vector<T, test_allocator<T> > > base; 38 explicit test(const test_allocator<int>& a) : base(a) {} in test() 39 test(const value_compare& compare, const test_allocator<int>& a) in test() 42 const test_allocator<int>& a) : base(compare, container, a) {} in test() 43 test(const test& q, const test_allocator<int>& a) : base(q, a) {} in test() 44 test_allocator<int> get_allocator() {return c.get_allocator();} in get_allocator() 52 make<std::vector<int, test_allocator<int> > >(5), in main() 53 test_allocator<int>(2)); in main() 54 test<int> q(qo, test_allocator<int>(6)); in main() [all …]
|
| D | ctor_move_alloc.pass.cpp | 37 : public std::priority_queue<T, std::vector<T, test_allocator<T> > > 39 typedef std::priority_queue<T, std::vector<T, test_allocator<T> > > base; 43 explicit test(const test_allocator<int>& a) : base(a) {} in test() 44 test(const value_compare& compare, const test_allocator<int>& a) in test() 47 const test_allocator<int>& a) : base(compare, container, a) {} in test() 49 const test_allocator<int>& a) : base(compare, std::move(container), a) {} in test() 50 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {} in test() 51 test_allocator<int> get_allocator() {return c.get_allocator();} in get_allocator() 60 make<std::vector<MoveOnly, test_allocator<MoveOnly> > >(5), in main() 61 test_allocator<MoveOnly>(2)); in main() [all …]
|
| /external/libcxx/test/std/containers/container.adaptors/priority.queue/priqueue.cons.alloc/ |
| D | ctor_copy_alloc.pass.cpp | 32 : public std::priority_queue<T, std::vector<T, test_allocator<T> > > 34 typedef std::priority_queue<T, std::vector<T, test_allocator<T> > > base; 38 explicit test(const test_allocator<int>& a) : base(a) {} in test() 39 test(const value_compare& comp, const test_allocator<int>& a) in test() 42 const test_allocator<int>& a) : base(comp, c, a) {} in test() 43 test(const test& q, const test_allocator<int>& a) : base(q, a) {} in test() 44 test_allocator<int> get_allocator() {return c.get_allocator();} in get_allocator() 52 make<std::vector<int, test_allocator<int> > >(5), in main() 53 test_allocator<int>(2)); in main() 54 test<int> q(qo, test_allocator<int>(6)); in main() [all …]
|
| D | ctor_move_alloc.pass.cpp | 37 : public std::priority_queue<T, std::vector<T, test_allocator<T> > > 39 typedef std::priority_queue<T, std::vector<T, test_allocator<T> > > base; 43 explicit test(const test_allocator<int>& a) : base(a) {} in test() 44 test(const value_compare& comp, const test_allocator<int>& a) in test() 47 const test_allocator<int>& a) : base(comp, c, a) {} in test() 49 const test_allocator<int>& a) : base(comp, std::move(c), a) {} in test() 50 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {} in test() 51 test_allocator<int> get_allocator() {return c.get_allocator();} in get_allocator() 60 make<std::vector<MoveOnly, test_allocator<MoveOnly> > >(5), in main() 61 test_allocator<MoveOnly>(2)); in main() [all …]
|
| /external/libcxx/test/std/containers/container.requirements/container.requirements.general/ |
| D | allocator_move.pass.cpp | 67 test<std::vector<int, test_allocator<int> > >(); in main() 68 test<std::vector<bool, test_allocator<bool> > >(); in main() 69 test<std::list<int, test_allocator<int> > >(); in main() 70 test<std::forward_list<int, test_allocator<int> > >(); in main() 78 test<std::deque<int, test_allocator<int> > >(stored_allocators); in main() 81 test<std::set<int, std::less<int>, test_allocator<int> > >(); in main() 82 test<std::multiset<int, std::less<int>, test_allocator<int> > >(); in main() 85 test<std::map<int, int, std::less<int>, test_allocator<KV> > >(); in main() 86 test<std::multimap<int, int, std::less<int>, test_allocator<KV> > >(); in main() 96 test_allocator<int> > >(stored_allocators); in main() [all …]
|