Home
last modified time | relevance | path

Searched refs:checkConstruct (Results 1 – 25 of 28) sorted by relevance

12

/external/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/
Dconstruct_pair.pass.cpp46 assert(checkConstruct<>(ptr->first, UA_AllocArg, CA)); in test_no_inner_alloc()
47 assert(checkConstruct<>(ptr->second, UA_AllocLast, CA)); in test_no_inner_alloc()
48 assert((P.checkConstruct<std::piecewise_construct_t const&, in test_no_inner_alloc()
69 assert(checkConstruct<>(ptr->first, UA_AllocArg, CA)); in test_no_inner_alloc()
70 assert(checkConstruct<>(ptr->second, UA_None)); in test_no_inner_alloc()
71 assert((P.checkConstruct<std::piecewise_construct_t const&, in test_no_inner_alloc()
102 assert(checkConstruct<>(ptr->first, UA_AllocArg, I)); in test_with_inner_alloc()
103 assert(checkConstruct<>(ptr->second, UA_AllocLast)); in test_with_inner_alloc()
104 assert((POuter.checkConstruct<std::piecewise_construct_t const&, in test_with_inner_alloc()
129 assert(checkConstruct<>(ptr->first, UA_AllocArg, I)); in test_with_inner_alloc()
[all …]
Dconstruct_pair_rvalue.pass.cpp50 assert(checkConstruct<int&>(ptr->first, UA_AllocArg, CA)); in test_no_inner_alloc()
51 assert(checkConstruct<int const&&>(ptr->second, UA_AllocLast, CA)); in test_no_inner_alloc()
52 assert((P.checkConstruct<std::piecewise_construct_t const&, in test_no_inner_alloc()
77 assert(checkConstruct<int&&>(ptr->first, UA_AllocArg, CA)); in test_no_inner_alloc()
78 assert(checkConstruct<int const&>(ptr->second, UA_None)); in test_no_inner_alloc()
79 assert((P.checkConstruct<std::piecewise_construct_t const&, in test_no_inner_alloc()
114 assert(checkConstruct<int&>(ptr->first, UA_AllocArg, I)); in test_with_inner_alloc()
115 assert(checkConstruct<int const&&>(ptr->second, UA_AllocLast)); in test_with_inner_alloc()
116 assert((POuter.checkConstruct<std::piecewise_construct_t const&, in test_with_inner_alloc()
145 assert(checkConstruct<int&&>(ptr->first, UA_AllocArg, I)); in test_with_inner_alloc()
[all …]
Dconstruct_pair_const_lvalue_pair.pass.cpp50 assert(checkConstruct<int&>(ptr->first, UA_AllocArg, CA)); in test_no_inner_alloc()
51 assert(checkConstruct<int const&>(ptr->second, UA_AllocLast, CA)); in test_no_inner_alloc()
52 assert((P.checkConstruct<std::piecewise_construct_t const&, in test_no_inner_alloc()
77 assert(checkConstruct<int const&>(ptr->first, UA_AllocArg, CA)); in test_no_inner_alloc()
78 assert(checkConstruct<int const&>(ptr->second, UA_None)); in test_no_inner_alloc()
79 assert((P.checkConstruct<std::piecewise_construct_t const&, in test_no_inner_alloc()
114 assert(checkConstruct<int&>(ptr->first, UA_AllocArg, I)); in test_with_inner_alloc()
115 assert(checkConstruct<int const&>(ptr->second, UA_AllocLast)); in test_with_inner_alloc()
116 assert((POuter.checkConstruct<std::piecewise_construct_t const&, in test_with_inner_alloc()
145 assert(checkConstruct<int const&>(ptr->first, UA_AllocArg, I)); in test_with_inner_alloc()
[all …]
Dconstruct_pair_piecewise.pass.cpp51 assert(checkConstruct<int&>(ptr->first, UA_AllocArg, CA)); in test_no_inner_alloc()
52 assert(checkConstruct<int const&&>(ptr->second, UA_AllocLast, CA)); in test_no_inner_alloc()
53 assert((P.checkConstruct<std::piecewise_construct_t const&, in test_no_inner_alloc()
78 assert(checkConstruct<int&&>(ptr->first, UA_AllocArg, CA)); in test_no_inner_alloc()
79 assert(checkConstruct<int const&>(ptr->second, UA_None)); in test_no_inner_alloc()
80 assert((P.checkConstruct<std::piecewise_construct_t const&, in test_no_inner_alloc()
115 assert(checkConstruct<int&>(ptr->first, UA_AllocArg, I)); in test_with_inner_alloc()
116 assert(checkConstruct<int &&>(ptr->second, UA_AllocLast)); in test_with_inner_alloc()
117 assert((POuter.checkConstruct<std::piecewise_construct_t const&, in test_with_inner_alloc()
146 assert(checkConstruct<int&&>(ptr->first, UA_AllocArg, I)); in test_with_inner_alloc()
[all …]
Dconstruct_pair_values.pass.cpp48 assert(checkConstruct<int&>(ptr->first, UA_AllocArg, CA)); in test_no_inner_alloc()
49 assert(checkConstruct<int const&&>(ptr->second, UA_AllocLast, CA)); in test_no_inner_alloc()
50 assert((P.checkConstruct<std::piecewise_construct_t const&, in test_no_inner_alloc()
73 assert(checkConstruct<int&&>(ptr->first, UA_AllocArg, CA)); in test_no_inner_alloc()
74 assert(checkConstruct<int const&>(ptr->second, UA_None)); in test_no_inner_alloc()
75 assert((P.checkConstruct<std::piecewise_construct_t const&, in test_no_inner_alloc()
108 assert(checkConstruct<int&>(ptr->first, UA_AllocArg, I)); in test_with_inner_alloc()
109 assert(checkConstruct<int &&>(ptr->second, UA_AllocLast)); in test_with_inner_alloc()
110 assert((POuter.checkConstruct<std::piecewise_construct_t const&, in test_with_inner_alloc()
137 assert(checkConstruct<int&&>(ptr->first, UA_AllocArg, I)); in test_with_inner_alloc()
[all …]
Dconstruct_type.pass.cpp52 assert((checkConstruct<int&, int const&, int&&>(*ptr, UA_None))); in test_bullet_one()
53 assert((POuter.checkConstruct<int&, int const&, int&&>(O, ptr))); in test_bullet_one()
85 assert((checkConstruct<int&, int const&, int&&>(*ptr, UA_AllocArg, I))); in test_bullet_two()
86 assert((POuter.checkConstruct<std::allocator_arg_t const&, in test_bullet_two()
118 assert((checkConstruct<int&, int const&, int&&>(*ptr, UA_AllocLast, I))); in test_bullet_three()
119 assert((POuter.checkConstruct< in test_bullet_three()
/external/llvm-project/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/
Dconstruct_pair.pass.cpp47 assert(checkConstruct<>(ptr->first, UA_AllocArg, CA)); in test_no_inner_alloc()
48 assert(checkConstruct<>(ptr->second, UA_AllocLast, CA)); in test_no_inner_alloc()
49 assert((P.checkConstruct<std::piecewise_construct_t const&, in test_no_inner_alloc()
70 assert(checkConstruct<>(ptr->first, UA_AllocArg, CA)); in test_no_inner_alloc()
71 assert(checkConstruct<>(ptr->second, UA_None)); in test_no_inner_alloc()
72 assert((P.checkConstruct<std::piecewise_construct_t const&, in test_no_inner_alloc()
103 assert(checkConstruct<>(ptr->first, UA_AllocArg, I)); in test_with_inner_alloc()
104 assert(checkConstruct<>(ptr->second, UA_AllocLast)); in test_with_inner_alloc()
105 assert((POuter.checkConstruct<std::piecewise_construct_t const&, in test_with_inner_alloc()
130 assert(checkConstruct<>(ptr->first, UA_AllocArg, I)); in test_with_inner_alloc()
[all …]
Dconstruct_pair_const_lvalue_pair.pass.cpp51 assert(checkConstruct<int&>(ptr->first, UA_AllocArg, CA)); in test_no_inner_alloc()
52 assert(checkConstruct<int const&>(ptr->second, UA_AllocLast, CA)); in test_no_inner_alloc()
53 assert((P.checkConstruct<std::piecewise_construct_t const&, in test_no_inner_alloc()
78 assert(checkConstruct<int const&>(ptr->first, UA_AllocArg, CA)); in test_no_inner_alloc()
79 assert(checkConstruct<int const&>(ptr->second, UA_None)); in test_no_inner_alloc()
80 assert((P.checkConstruct<std::piecewise_construct_t const&, in test_no_inner_alloc()
115 assert(checkConstruct<int&>(ptr->first, UA_AllocArg, I)); in test_with_inner_alloc()
116 assert(checkConstruct<int const&>(ptr->second, UA_AllocLast)); in test_with_inner_alloc()
117 assert((POuter.checkConstruct<std::piecewise_construct_t const&, in test_with_inner_alloc()
146 assert(checkConstruct<int const&>(ptr->first, UA_AllocArg, I)); in test_with_inner_alloc()
[all …]
Dconstruct_pair_piecewise.pass.cpp52 assert(checkConstruct<int&>(ptr->first, UA_AllocArg, CA)); in test_no_inner_alloc()
53 assert(checkConstruct<int const&&>(ptr->second, UA_AllocLast, CA)); in test_no_inner_alloc()
54 assert((P.checkConstruct<std::piecewise_construct_t const&, in test_no_inner_alloc()
79 assert(checkConstruct<int&&>(ptr->first, UA_AllocArg, CA)); in test_no_inner_alloc()
80 assert(checkConstruct<int const&>(ptr->second, UA_None)); in test_no_inner_alloc()
81 assert((P.checkConstruct<std::piecewise_construct_t const&, in test_no_inner_alloc()
116 assert(checkConstruct<int&>(ptr->first, UA_AllocArg, I)); in test_with_inner_alloc()
117 assert(checkConstruct<int &&>(ptr->second, UA_AllocLast)); in test_with_inner_alloc()
118 assert((POuter.checkConstruct<std::piecewise_construct_t const&, in test_with_inner_alloc()
147 assert(checkConstruct<int&&>(ptr->first, UA_AllocArg, I)); in test_with_inner_alloc()
[all …]
Dconstruct_pair_values.pass.cpp49 assert(checkConstruct<int&>(ptr->first, UA_AllocArg, CA)); in test_no_inner_alloc()
50 assert(checkConstruct<int const&&>(ptr->second, UA_AllocLast, CA)); in test_no_inner_alloc()
51 assert((P.checkConstruct<std::piecewise_construct_t const&, in test_no_inner_alloc()
74 assert(checkConstruct<int&&>(ptr->first, UA_AllocArg, CA)); in test_no_inner_alloc()
75 assert(checkConstruct<int const&>(ptr->second, UA_None)); in test_no_inner_alloc()
76 assert((P.checkConstruct<std::piecewise_construct_t const&, in test_no_inner_alloc()
109 assert(checkConstruct<int&>(ptr->first, UA_AllocArg, I)); in test_with_inner_alloc()
110 assert(checkConstruct<int &&>(ptr->second, UA_AllocLast)); in test_with_inner_alloc()
111 assert((POuter.checkConstruct<std::piecewise_construct_t const&, in test_with_inner_alloc()
138 assert(checkConstruct<int&&>(ptr->first, UA_AllocArg, I)); in test_with_inner_alloc()
[all …]
Dconstruct_pair_rvalue.pass.cpp51 assert(checkConstruct<int&>(ptr->first, UA_AllocArg, CA)); in test_no_inner_alloc()
52 assert(checkConstruct<int const&&>(ptr->second, UA_AllocLast, CA)); in test_no_inner_alloc()
53 assert((P.checkConstruct<std::piecewise_construct_t const&, in test_no_inner_alloc()
78 assert(checkConstruct<int&&>(ptr->first, UA_AllocArg, CA)); in test_no_inner_alloc()
79 assert(checkConstruct<int const&>(ptr->second, UA_None)); in test_no_inner_alloc()
80 assert((P.checkConstruct<std::piecewise_construct_t const&, in test_no_inner_alloc()
115 assert(checkConstruct<int&>(ptr->first, UA_AllocArg, I)); in test_with_inner_alloc()
116 assert(checkConstruct<int const&&>(ptr->second, UA_AllocLast)); in test_with_inner_alloc()
117 assert((POuter.checkConstruct<std::piecewise_construct_t const&, in test_with_inner_alloc()
146 assert(checkConstruct<int&&>(ptr->first, UA_AllocArg, I)); in test_with_inner_alloc()
[all …]
Dconstruct_type.pass.cpp53 assert((checkConstruct<int&, int const&, int&&>(*ptr, UA_None))); in test_bullet_one()
54 assert((POuter.checkConstruct<int&, int const&, int&&>(O, ptr))); in test_bullet_one()
86 assert((checkConstruct<int&, int const&, int&&>(*ptr, UA_AllocArg, I))); in test_bullet_two()
87 assert((POuter.checkConstruct<std::allocator_arg_t const&, in test_bullet_two()
119 assert((checkConstruct<int&, int const&, int&&>(*ptr, UA_AllocLast, I))); in test_bullet_three()
120 assert((POuter.checkConstruct< in test_bullet_three()
/external/libcxx/test/support/
Duses_alloc_types.hpp87 bool checkConstruct(TestType& value, UsesAllocatorType form, in checkConstruct() function
94 return value.template checkConstruct<ArgTypes&&...>(form); in checkConstruct()
96 return value.template checkConstruct<ArgTypes&&...>(form, alloc); in checkConstruct()
102 bool checkConstruct(TestType& value, UsesAllocatorType form) { in checkConstruct() function
103 return value.template checkConstruct<ArgTypes&&...>(form); in checkConstruct()
192 bool checkConstruct(UsesAllocatorType expectType) const { in checkConstruct() function
199 bool checkConstruct(UsesAllocatorType expectType, in checkConstruct() function
/external/llvm-project/libcxx/test/support/
Duses_alloc_types.h86 bool checkConstruct(TestType& value, UsesAllocatorType form, in checkConstruct() function
93 return value.template checkConstruct<ArgTypes&&...>(form); in checkConstruct()
95 return value.template checkConstruct<ArgTypes&&...>(form, alloc); in checkConstruct()
101 bool checkConstruct(TestType& value, UsesAllocatorType form) { in checkConstruct() function
102 return value.template checkConstruct<ArgTypes&&...>(form); in checkConstruct()
191 bool checkConstruct(UsesAllocatorType expectType) const {
198 bool checkConstruct(UsesAllocatorType expectType,
/external/llvm-project/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/
Dconstruct_types.pass.cpp58 return checkConstruct<Args&&...>(*TH.ptr, UAExpect, &TH.R); in doTest()
69 return checkConstruct<Args&&...>(*TH.ptr, UA_None); in doTestUsesAllocV0()
80 return checkConstruct<Args&&...>(*TH.ptr, UA_AllocArg, ealloc); in doTestUsesAllocV1()
90 return checkConstruct<Args&&...>(*TH.ptr, UA_AllocLast, ealloc); in doTestUsesAllocV2()
Dconstruct_pair_const_lvalue_pair.pass.cpp53 bool tres = checkConstruct<decltype((p.first))>(ptr->first, TExpect, M) && in doTest()
56 bool ures = checkConstruct<decltype((p.second))>(ptr->second, UExpect, M) && in doTest()
Dconstruct_pair_rvalue.pass.cpp54 bool tres = checkConstruct<TT&&>(ptr->first, TExpect, M) && in doTest()
57 bool ures = checkConstruct<UU&&>(ptr->second, UExpect, M) && in doTest()
Dconstruct_pair_values.pass.cpp52 bool tres = checkConstruct<TT&&>(ptr->first, TExpect, M) && in doTest()
55 bool ures = checkConstruct<UU&&>(ptr->second, UExpect, M) && in doTest()
Dconstruct_piecewise_pair.pass.cpp47 bool tres = checkConstruct<TTuple&&...>(ptr->first, TExpect, M); in doTest()
48 bool ures = checkConstruct<UTuple&&...>(ptr->second, UExpect, M); in doTest()
/external/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/
Dconstruct_types.pass.cpp60 return checkConstruct<Args&&...>(*TH.ptr, UAExpect, &TH.R); in doTest()
71 return checkConstruct<Args&&...>(*TH.ptr, UA_None); in doTestUsesAllocV0()
82 return checkConstruct<Args&&...>(*TH.ptr, UA_AllocArg, ealloc); in doTestUsesAllocV1()
92 return checkConstruct<Args&&...>(*TH.ptr, UA_AllocLast, ealloc); in doTestUsesAllocV2()
Dconstruct_pair_const_lvalue_pair.pass.cpp55 bool tres = checkConstruct<decltype((p.first))>(ptr->first, TExpect, M) && in doTest()
58 bool ures = checkConstruct<decltype((p.second))>(ptr->second, UExpect, M) && in doTest()
Dconstruct_pair_rvalue.pass.cpp56 bool tres = checkConstruct<TT&&>(ptr->first, TExpect, M) && in doTest()
59 bool ures = checkConstruct<UU&&>(ptr->second, UExpect, M) && in doTest()
Dconstruct_pair_values.pass.cpp54 bool tres = checkConstruct<TT&&>(ptr->first, TExpect, M) && in doTest()
57 bool ures = checkConstruct<UU&&>(ptr->second, UExpect, M) && in doTest()
Dconstruct_piecewise_pair.pass.cpp49 bool tres = checkConstruct<TTuple&&...>(ptr->first, TExpect, M); in doTest()
50 bool ures = checkConstruct<UTuple&&...>(ptr->second, UExpect, M); in doTest()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DMakeSmartPtrCheck.h55 void checkConstruct(SourceManager &SM, ASTContext *Ctx,

12