OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:test_allocator
(Results
101 - 125
of
664
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/list.cons/
copy.pass.cpp
17
#include "
test_allocator
.h"
28
std::list<int,
test_allocator
<int> > l(3, 2,
test_allocator
<int>(5));
29
std::list<int,
test_allocator
<int> > l2 = l;
initializer_list_alloc.pass.cpp
17
#include "
test_allocator
.h"
24
std::list<int,
test_allocator
<int>> d({3, 4, 5, 6},
test_allocator
<int>(3));
25
assert(d.get_allocator() ==
test_allocator
<int>(3));
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.promise/
alloc_ctor.pass.cpp
20
#include "../
test_allocator
.h"
26
std::promise<int> p(std::allocator_arg,
test_allocator
<int>());
34
std::promise<int&> p(std::allocator_arg,
test_allocator
<int>());
42
std::promise<void> p(std::allocator_arg,
test_allocator
<void>());
copy_assign.fail.cpp
19
#include "../
test_allocator
.h"
25
std::promise<int> p0(std::allocator_arg,
test_allocator
<int>());
26
std::promise<int> p(std::allocator_arg,
test_allocator
<int>());
46
std::promise<int&> p0(std::allocator_arg,
test_allocator
<int>());
47
std::promise<int&> p(std::allocator_arg,
test_allocator
<int>());
67
std::promise<void> p0(std::allocator_arg,
test_allocator
<void>());
68
std::promise<void> p(std::allocator_arg,
test_allocator
<void>());
move_assign.pass.cpp
19
#include "../
test_allocator
.h"
26
std::promise<int> p0(std::allocator_arg,
test_allocator
<int>());
27
std::promise<int> p(std::allocator_arg,
test_allocator
<int>());
47
std::promise<int&> p0(std::allocator_arg,
test_allocator
<int>());
48
std::promise<int&> p(std::allocator_arg,
test_allocator
<int>());
68
std::promise<void> p0(std::allocator_arg,
test_allocator
<void>());
69
std::promise<void> p(std::allocator_arg,
test_allocator
<void>());
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/
allocate_shared.pass.cpp
21
#include "
test_allocator
.h"
49
std::shared_ptr<A> p = std::allocate_shared<A>(
test_allocator
<A>(54), i, c);
50
assert(
test_allocator
<A>::alloc_count == 1);
56
assert(
test_allocator
<A>::alloc_count == 0);
/external/libcxx/test/thread/futures/futures.promise/
copy_assign.fail.cpp
19
#include "../
test_allocator
.h"
25
std::promise<int> p0(std::allocator_arg,
test_allocator
<int>());
26
std::promise<int> p(std::allocator_arg,
test_allocator
<int>());
46
std::promise<int&> p0(std::allocator_arg,
test_allocator
<int>());
47
std::promise<int&> p(std::allocator_arg,
test_allocator
<int>());
67
std::promise<void> p0(std::allocator_arg,
test_allocator
<void>());
68
std::promise<void> p(std::allocator_arg,
test_allocator
<void>());
move_assign.pass.cpp
19
#include "../
test_allocator
.h"
26
std::promise<int> p0(std::allocator_arg,
test_allocator
<int>());
27
std::promise<int> p(std::allocator_arg,
test_allocator
<int>());
47
std::promise<int&> p0(std::allocator_arg,
test_allocator
<int>());
48
std::promise<int&> p(std::allocator_arg,
test_allocator
<int>());
68
std::promise<void> p0(std::allocator_arg,
test_allocator
<void>());
69
std::promise<void> p(std::allocator_arg,
test_allocator
<void>());
/external/libcxx/test/containers/associative/multiset/multiset.cons/
alloc.pass.cpp
19
#include "
test_allocator
.h"
24
typedef
test_allocator
<int> A;
compare_alloc.pass.cpp
20
#include "
test_allocator
.h"
25
typedef
test_allocator
<int> A;
/external/libcxx/test/containers/associative/set/set.cons/
alloc.pass.cpp
19
#include "
test_allocator
.h"
24
typedef
test_allocator
<int> A;
compare_alloc.pass.cpp
20
#include "
test_allocator
.h"
25
typedef
test_allocator
<int> A;
/external/libcxx/test/containers/container.adaptors/queue/queue.cons.alloc/
ctor_rcontainer_alloc.pass.cpp
18
#include "
test_allocator
.h"
33
typedef std::deque<MoveOnly,
test_allocator
<MoveOnly> > C;
40
typedef
test_allocator
<MoveOnly> allocator_type;
55
test<MoveOnly> q(make<C>(5),
test_allocator
<MoveOnly>(4));
56
assert(q.get_allocator() ==
test_allocator
<MoveOnly>(4));
/external/libcxx/test/containers/container.adaptors/stack/stack.cons.alloc/
ctor_rcontainer_alloc.pass.cpp
18
#include "
test_allocator
.h"
33
typedef std::deque<MoveOnly,
test_allocator
<MoveOnly> > C;
40
typedef
test_allocator
<MoveOnly> allocator_type;
55
test<MoveOnly> q(make<C>(5),
test_allocator
<MoveOnly>(4));
56
assert(q.get_allocator() ==
test_allocator
<MoveOnly>(4));
/external/libcxx/test/containers/sequences/deque/deque.cons/
iter_iter_alloc.pass.cpp
19
#include "
test_allocator
.h"
41
test(input_iterator<const int*>(ab), input_iterator<const int*>(an),
test_allocator
<int>(3));
42
test(forward_iterator<const int*>(ab), forward_iterator<const int*>(an),
test_allocator
<int>(4));
43
test(bidirectional_iterator<const int*>(ab), bidirectional_iterator<const int*>(an),
test_allocator
<int>(5));
44
test(random_access_iterator<const int*>(ab), random_access_iterator<const int*>(an),
test_allocator
<int>(6));
/external/libcxx/test/containers/sequences/forwardlist/forwardlist.cons/
alloc.fail.cpp
17
#include "
test_allocator
.h"
23
typedef
test_allocator
<NotConstructible> A;
/external/libcxx/test/containers/sequences/vector/vector.cons/
construct_default.pass.cpp
17
#include "
test_allocator
.h"
53
test1<std::vector<int,
test_allocator
<int> > >(
test_allocator
<int>(3));
54
test1<std::vector<NotConstructible,
test_allocator
<NotConstructible> > >
55
(
test_allocator
<NotConstructible>(5));
/external/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/
alloc_F.pass.cpp
19
#include "
test_allocator
.h"
60
std::function<int(int)> f(std::allocator_arg,
test_allocator
<A>(), A());
67
std::function<int(int)> f(std::allocator_arg,
test_allocator
<int(*)(int)>(), g);
72
std::function<int(int)> f(std::allocator_arg,
test_allocator
<int(*)(int)>(),
80
test_allocator
<int(A::*)(int)const>(),
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/multiset/multiset.cons/
alloc.pass.cpp
19
#include "
test_allocator
.h"
24
typedef
test_allocator
<int> A;
compare_alloc.pass.cpp
20
#include "
test_allocator
.h"
25
typedef
test_allocator
<int> A;
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/set/set.cons/
alloc.pass.cpp
19
#include "
test_allocator
.h"
24
typedef
test_allocator
<int> A;
compare_alloc.pass.cpp
20
#include "
test_allocator
.h"
25
typedef
test_allocator
<int> A;
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/container.adaptors/queue/queue.cons.alloc/
ctor_rcontainer_alloc.pass.cpp
18
#include "
test_allocator
.h"
33
typedef std::deque<MoveOnly,
test_allocator
<MoveOnly> > C;
40
typedef
test_allocator
<MoveOnly> allocator_type;
55
test<MoveOnly> q(make<C>(5),
test_allocator
<MoveOnly>(4));
56
assert(q.get_allocator() ==
test_allocator
<MoveOnly>(4));
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/container.adaptors/stack/stack.cons.alloc/
ctor_rcontainer_alloc.pass.cpp
18
#include "
test_allocator
.h"
33
typedef std::deque<MoveOnly,
test_allocator
<MoveOnly> > C;
40
typedef
test_allocator
<MoveOnly> allocator_type;
55
test<MoveOnly> q(make<C>(5),
test_allocator
<MoveOnly>(4));
56
assert(q.get_allocator() ==
test_allocator
<MoveOnly>(4));
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/deque/deque.cons/
iter_iter_alloc.pass.cpp
19
#include "
test_allocator
.h"
41
test(input_iterator<const int*>(ab), input_iterator<const int*>(an),
test_allocator
<int>(3));
42
test(forward_iterator<const int*>(ab), forward_iterator<const int*>(an),
test_allocator
<int>(4));
43
test(bidirectional_iterator<const int*>(ab), bidirectional_iterator<const int*>(an),
test_allocator
<int>(5));
44
test(random_access_iterator<const int*>(ab), random_access_iterator<const int*>(an),
test_allocator
<int>(6));
Completed in 1539 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>