HomeSort by relevance Sort by last modified time
    Searched refs:test_allocator (Results 1 - 25 of 664) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/libcxx/test/containers/container.adaptors/queue/queue.cons.alloc/
ctor_alloc.pass.cpp 18 #include "test_allocator.h"
21 : private std::queue<int, std::deque<int, test_allocator<int> > >
23 typedef std::queue<int, std::deque<int, test_allocator<int> > > base;
25 explicit test(const test_allocator<int>& a) : base(a) {}
26 test(const container_type& c, const test_allocator<int>& a) : base(c, a) {}
28 test(container_type&& c, const test_allocator<int>& a) : base(std::move(c), a) {}
29 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {}
31 test_allocator<int> get_allocator() {return c.get_allocator();}
36 test q(test_allocator<int>(3));
37 assert(q.get_allocator() == test_allocator<int>(3))
    [all...]
  /external/libcxx/test/containers/container.adaptors/stack/stack.cons.alloc/
ctor_alloc.pass.cpp 18 #include "test_allocator.h"
21 : private std::stack<int, std::deque<int, test_allocator<int> > >
23 typedef std::stack<int, std::deque<int, test_allocator<int> > > base;
25 explicit test(const test_allocator<int>& a) : base(a) {}
26 test(const container_type& c, const test_allocator<int>& a) : base(c, a) {}
28 test(container_type&& c, const test_allocator<int>& a) : base(std::move(c), a) {}
29 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {}
31 test_allocator<int> get_allocator() {return c.get_allocator();}
36 test q(test_allocator<int>(3));
37 assert(q.get_allocator() == test_allocator<int>(3))
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/container.adaptors/queue/queue.cons.alloc/
ctor_alloc.pass.cpp 18 #include "test_allocator.h"
21 : private std::queue<int, std::deque<int, test_allocator<int> > >
23 typedef std::queue<int, std::deque<int, test_allocator<int> > > base;
25 explicit test(const test_allocator<int>& a) : base(a) {}
26 test(const container_type& c, const test_allocator<int>& a) : base(c, a) {}
28 test(container_type&& c, const test_allocator<int>& a) : base(std::move(c), a) {}
29 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {}
31 test_allocator<int> get_allocator() {return c.get_allocator();}
36 test q(test_allocator<int>(3));
37 assert(q.get_allocator() == test_allocator<int>(3))
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/container.adaptors/stack/stack.cons.alloc/
ctor_alloc.pass.cpp 18 #include "test_allocator.h"
21 : private std::stack<int, std::deque<int, test_allocator<int> > >
23 typedef std::stack<int, std::deque<int, test_allocator<int> > > base;
25 explicit test(const test_allocator<int>& a) : base(a) {}
26 test(const container_type& c, const test_allocator<int>& a) : base(c, a) {}
28 test(container_type&& c, const test_allocator<int>& a) : base(std::move(c), a) {}
29 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {}
31 test_allocator<int> get_allocator() {return c.get_allocator();}
36 test q(test_allocator<int>(3));
37 assert(q.get_allocator() == test_allocator<int>(3))
    [all...]
  /external/libcxx/test/thread/futures/futures.tas/futures.task.nonmembers/
uses_allocator.pass.cpp 19 #include "../../test_allocator.h"
23 static_assert((std::uses_allocator<std::packaged_task<double(int, char)>, test_allocator<int> >::value), "");
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.tas/futures.task.nonmembers/
uses_allocator.pass.cpp 19 #include "../../test_allocator.h"
23 static_assert((std::uses_allocator<std::packaged_task<double(int, char)>, test_allocator<int> >::value), "");
  /external/libcxx/test/thread/futures/futures.promise/
uses_allocator.pass.cpp 19 #include "../test_allocator.h"
23 static_assert((std::uses_allocator<std::promise<int>, test_allocator<int> >::value), "");
24 static_assert((std::uses_allocator<std::promise<int&>, test_allocator<int> >::value), "");
25 static_assert((std::uses_allocator<std::promise<void>, test_allocator<void> >::value), "");
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.promise/
uses_allocator.pass.cpp 19 #include "../test_allocator.h"
23 static_assert((std::uses_allocator<std::promise<int>, test_allocator<int> >::value), "");
24 static_assert((std::uses_allocator<std::promise<int&>, test_allocator<int> >::value), "");
25 static_assert((std::uses_allocator<std::promise<void>, test_allocator<void> >::value), "");
  /external/libcxx/test/containers/container.adaptors/priority.queue/priqueue.cons.alloc/
ctor_comp_cont_alloc.pass.cpp 19 #include "test_allocator.h"
33 : public std::priority_queue<T, std::vector<T, test_allocator<T> > >
35 typedef std::priority_queue<T, std::vector<T, test_allocator<T> > > base;
39 explicit test(const test_allocator<int>& a) : base(a) {}
40 test(const value_compare& comp, const test_allocator<int>& a)
43 const test_allocator<int>& a) : base(comp, c, a) {}
46 const test_allocator<int>& a) : base(comp, std::move(c), a) {}
47 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {}
49 test_allocator<int> get_allocator() {return c.get_allocator();}
56 typedef std::vector<int, test_allocator<int> > C
    [all...]
ctor_comp_rcont_alloc.pass.cpp 19 #include "test_allocator.h"
33 : public std::priority_queue<T, std::vector<T, test_allocator<T> > >
35 typedef std::priority_queue<T, std::vector<T, test_allocator<T> > > base;
39 explicit test(const test_allocator<int>& a) : base(a) {}
40 test(const value_compare& comp, const test_allocator<int>& a)
43 const test_allocator<int>& a) : base(comp, c, a) {}
46 const test_allocator<int>& a) : base(comp, std::move(c), a) {}
47 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {}
49 test_allocator<int> get_allocator() {return c.get_allocator();}
56 typedef std::vector<int, test_allocator<int> > C
    [all...]
ctor_copy_alloc.pass.cpp 28 #include "test_allocator.h"
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) {}
39 test(const value_compare& comp, const test_allocator<int>& a)
42 const test_allocator<int>& a) : base(comp, c, a) {}
43 test(const test& q, const test_allocator<int>& a) : base(q, a) {}
44 test_allocator<int> get_allocator() {return c.get_allocator();}
52 make<std::vector<int, test_allocator<int> > >(5),
53 test_allocator<int>(2))
    [all...]
ctor_alloc.pass.cpp 18 #include "test_allocator.h"
22 : public std::priority_queue<T, std::vector<T, test_allocator<T> > >
24 typedef std::priority_queue<T, std::vector<T, test_allocator<T> > > base;
28 explicit test(const test_allocator<int>& a) : base(a) {}
29 test(const value_compare& comp, const test_allocator<int>& a)
32 const test_allocator<int>& a) : base(comp, c, a) {}
35 const test_allocator<int>& a) : base(comp, std::move(c), a) {}
36 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {}
38 test_allocator<int> get_allocator() {return c.get_allocator();}
45 test<int> q((test_allocator<int>(3)))
    [all...]
ctor_comp_alloc.pass.cpp 18 #include "test_allocator.h"
22 : public std::priority_queue<T, std::vector<T, test_allocator<T> > >
24 typedef std::priority_queue<T, std::vector<T, test_allocator<T> > > base;
28 explicit test(const test_allocator<int>& a) : base(a) {}
29 test(const value_compare& comp, const test_allocator<int>& a)
32 const test_allocator<int>& a) : base(comp, c, a) {}
35 const test_allocator<int>& a) : base(comp, std::move(c), a) {}
36 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {}
38 test_allocator<int> get_allocator() {return c.get_allocator();}
45 test<int> q(std::less<int>(), test_allocator<int>(3))
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/container.adaptors/priority.queue/priqueue.cons.alloc/
ctor_comp_cont_alloc.pass.cpp 19 #include "test_allocator.h"
33 : public std::priority_queue<T, std::vector<T, test_allocator<T> > >
35 typedef std::priority_queue<T, std::vector<T, test_allocator<T> > > base;
39 explicit test(const test_allocator<int>& a) : base(a) {}
40 test(const value_compare& comp, const test_allocator<int>& a)
43 const test_allocator<int>& a) : base(comp, c, a) {}
46 const test_allocator<int>& a) : base(comp, std::move(c), a) {}
47 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {}
49 test_allocator<int> get_allocator() {return c.get_allocator();}
56 typedef std::vector<int, test_allocator<int> > C
    [all...]
ctor_comp_rcont_alloc.pass.cpp 19 #include "test_allocator.h"
33 : public std::priority_queue<T, std::vector<T, test_allocator<T> > >
35 typedef std::priority_queue<T, std::vector<T, test_allocator<T> > > base;
39 explicit test(const test_allocator<int>& a) : base(a) {}
40 test(const value_compare& comp, const test_allocator<int>& a)
43 const test_allocator<int>& a) : base(comp, c, a) {}
46 const test_allocator<int>& a) : base(comp, std::move(c), a) {}
47 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {}
49 test_allocator<int> get_allocator() {return c.get_allocator();}
56 typedef std::vector<int, test_allocator<int> > C
    [all...]
ctor_copy_alloc.pass.cpp 28 #include "test_allocator.h"
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) {}
39 test(const value_compare& comp, const test_allocator<int>& a)
42 const test_allocator<int>& a) : base(comp, c, a) {}
43 test(const test& q, const test_allocator<int>& a) : base(q, a) {}
44 test_allocator<int> get_allocator() {return c.get_allocator();}
52 make<std::vector<int, test_allocator<int> > >(5),
53 test_allocator<int>(2))
    [all...]
ctor_alloc.pass.cpp 18 #include "test_allocator.h"
22 : public std::priority_queue<T, std::vector<T, test_allocator<T> > >
24 typedef std::priority_queue<T, std::vector<T, test_allocator<T> > > base;
28 explicit test(const test_allocator<int>& a) : base(a) {}
29 test(const value_compare& comp, const test_allocator<int>& a)
32 const test_allocator<int>& a) : base(comp, c, a) {}
35 const test_allocator<int>& a) : base(comp, std::move(c), a) {}
36 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {}
38 test_allocator<int> get_allocator() {return c.get_allocator();}
45 test<int> q((test_allocator<int>(3)))
    [all...]
ctor_comp_alloc.pass.cpp 18 #include "test_allocator.h"
22 : public std::priority_queue<T, std::vector<T, test_allocator<T> > >
24 typedef std::priority_queue<T, std::vector<T, test_allocator<T> > > base;
28 explicit test(const test_allocator<int>& a) : base(a) {}
29 test(const value_compare& comp, const test_allocator<int>& a)
32 const test_allocator<int>& a) : base(comp, c, a) {}
35 const test_allocator<int>& a) : base(comp, std::move(c), a) {}
36 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {}
38 test_allocator<int> get_allocator() {return c.get_allocator();}
45 test<int> q(std::less<int>(), test_allocator<int>(3))
    [all...]
  /external/libcxx/test/support/
test_allocator.h 36 class test_allocator class in inherits:test_alloc_base
41 template <class U> friend class test_allocator;
52 template <class U> struct rebind {typedef test_allocator<U> other;};
54 test_allocator() throw() : data_(0) {++count;} function in class:test_allocator
55 explicit test_allocator(int i) throw() : data_(i) {++count;} function in class:test_allocator
56 test_allocator(const test_allocator& a) throw() function in class:test_allocator
58 template <class U> test_allocator(const test_allocator<U>& a) throw() function in class:test_allocator
60 ~test_allocator() throw() {assert(data_ >= 0); --count; data_ = -1;
96 class test_allocator<void> class in inherits:test_alloc_base
112 test_allocator() throw() : data_(-1) {} function in class:test_allocator
113 explicit test_allocator(int i) throw() : data_(i) {} function in class:test_allocator
114 test_allocator(const test_allocator& a) throw() function in class:test_allocator
116 template <class U> test_allocator(const test_allocator<U>& a) throw() function in class:test_allocator
    [all...]
  /external/libcxx/test/thread/futures/
test_allocator.h 31 class test_allocator class in inherits:test_alloc_base
36 template <class U> friend class test_allocator;
47 template <class U> struct rebind {typedef test_allocator<U> other;};
49 test_allocator() throw() : data_(-1) {} function in class:test_allocator
50 explicit test_allocator(int i) throw() : data_(i) {} function in class:test_allocator
51 test_allocator(const test_allocator& a) throw() function in class:test_allocator
53 template <class U> test_allocator(const test_allocator<U>& a) throw() function in class:test_allocator
55 ~test_allocator() throw() {data_ = 0;
89 class test_allocator<void> class in inherits:test_alloc_base
105 test_allocator() throw() : data_(-1) {} function in class:test_allocator
106 explicit test_allocator(int i) throw() : data_(i) {} function in class:test_allocator
107 test_allocator(const test_allocator& a) throw() function in class:test_allocator
109 template <class U> test_allocator(const test_allocator<U>& a) throw() function in class:test_allocator
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/
test_allocator.h 31 class test_allocator class in inherits:test_alloc_base
36 template <class U> friend class test_allocator;
47 template <class U> struct rebind {typedef test_allocator<U> other;};
49 test_allocator() throw() : data_(-1) {} function in class:test_allocator
50 explicit test_allocator(int i) throw() : data_(i) {} function in class:test_allocator
51 test_allocator(const test_allocator& a) throw() function in class:test_allocator
53 template <class U> test_allocator(const test_allocator<U>& a) throw() function in class:test_allocator
55 ~test_allocator() throw() {data_ = 0;
89 class test_allocator<void> class in inherits:test_alloc_base
105 test_allocator() throw() : data_(-1) {} function in class:test_allocator
106 explicit test_allocator(int i) throw() : data_(i) {} function in class:test_allocator
107 test_allocator(const test_allocator& a) throw() function in class:test_allocator
109 template <class U> test_allocator(const test_allocator<U>& a) throw() function in class:test_allocator
    [all...]
  /external/libcxx/test/containers/sequences/vector.bool/
move_alloc.pass.cpp 16 #include "test_allocator.h"
23 std::vector<bool, test_allocator<bool> > l(test_allocator<bool>(5));
24 std::vector<bool, test_allocator<bool> > lo(test_allocator<bool>(5));
30 std::vector<bool, test_allocator<bool> > l2(std::move(l), test_allocator<bool>(6));
33 assert(l2.get_allocator() == test_allocator<bool>(6));
36 std::vector<bool, test_allocator<bool> > l(test_allocator<bool>(5))
    [all...]
assign_move.pass.cpp 16 #include "test_allocator.h"
23 std::vector<bool, test_allocator<bool> > l(test_allocator<bool>(5));
24 std::vector<bool, test_allocator<bool> > lo(test_allocator<bool>(5));
30 std::vector<bool, test_allocator<bool> > l2(test_allocator<bool>(5));
37 std::vector<bool, test_allocator<bool> > l(test_allocator<bool>(5));
38 std::vector<bool, test_allocator<bool> > lo(test_allocator<bool>(5))
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/vector.bool/
move_alloc.pass.cpp 16 #include "test_allocator.h"
23 std::vector<bool, test_allocator<bool> > l(test_allocator<bool>(5));
24 std::vector<bool, test_allocator<bool> > lo(test_allocator<bool>(5));
30 std::vector<bool, test_allocator<bool> > l2(std::move(l), test_allocator<bool>(6));
33 assert(l2.get_allocator() == test_allocator<bool>(6));
36 std::vector<bool, test_allocator<bool> > l(test_allocator<bool>(5))
    [all...]
assign_move.pass.cpp 16 #include "test_allocator.h"
23 std::vector<bool, test_allocator<bool> > l(test_allocator<bool>(5));
24 std::vector<bool, test_allocator<bool> > lo(test_allocator<bool>(5));
30 std::vector<bool, test_allocator<bool> > l2(test_allocator<bool>(5));
37 std::vector<bool, test_allocator<bool> > l(test_allocator<bool>(5));
38 std::vector<bool, test_allocator<bool> > lo(test_allocator<bool>(5))
    [all...]

Completed in 1112 milliseconds

1 2 3 4 5 6 7 8 91011>>