Home
last modified time | relevance | path

Searched refs:APtr (Results 1 – 25 of 33) sorted by relevance

12

/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/
Dmove_convert.single.pass.cpp140 typedef std::unique_ptr<A> APtr; in test_noexcept() typedef
142 static_assert(std::is_nothrow_constructible<APtr, BPtr>::value, ""); in test_noexcept()
145 typedef std::unique_ptr<A, Deleter<A> > APtr; in test_noexcept() typedef
147 static_assert(std::is_nothrow_constructible<APtr, BPtr>::value, ""); in test_noexcept()
150 typedef std::unique_ptr<A, NCDeleter<A>&> APtr; in test_noexcept() typedef
152 static_assert(std::is_nothrow_constructible<APtr, BPtr>::value, ""); in test_noexcept()
155 typedef std::unique_ptr<A, const NCConstDeleter<A>&> APtr; in test_noexcept() typedef
157 static_assert(std::is_nothrow_constructible<APtr, BPtr>::value, ""); in test_noexcept()
167 typedef std::unique_ptr<A> APtr; in main() typedef
172 APtr a(std::move(b)); in main()
[all …]
Dmove.pass.cpp89 typedef std::unique_ptr<VT> APtr; in test_basic() typedef
90 APtr s(newValue<VT>(expect_alive)); in test_basic()
92 APtr s2 = std::move(s); in test_basic()
100 typedef std::unique_ptr<VT, MoveDel> APtr; in test_basic() typedef
102 APtr s(newValue<VT>(expect_alive), std::move(d)); in test_basic()
106 APtr s2 = std::move(s); in test_basic()
116 typedef std::unique_ptr<VT, NonCopyDel&> APtr; in test_basic() typedef
119 APtr s(newValue<VT>(expect_alive), d); in test_basic()
121 APtr s2 = std::move(s); in test_basic()
Dmove_convert.pass.cpp153 typedef std::unique_ptr<const VT> APtr; in test_noexcept() typedef
155 static_assert(std::is_nothrow_constructible<APtr, BPtr>::value, ""); in test_noexcept()
158 typedef std::unique_ptr<const VT, CDeleter<const VT> > APtr; in test_noexcept() typedef
160 static_assert(std::is_nothrow_constructible<APtr, BPtr>::value, ""); in test_noexcept()
163 typedef std::unique_ptr<const VT, NCDeleter<const VT>&> APtr; in test_noexcept() typedef
165 static_assert(std::is_nothrow_constructible<APtr, BPtr>::value, ""); in test_noexcept()
168 typedef std::unique_ptr<const VT, const NCConstDeleter<const VT>&> APtr; in test_noexcept() typedef
170 static_assert(std::is_nothrow_constructible<APtr, BPtr>::value, ""); in test_noexcept()
/external/llvm-project/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/
Dmove_convert.single.pass.cpp139 typedef std::unique_ptr<A> APtr; in test_noexcept() typedef
141 static_assert(std::is_nothrow_constructible<APtr, BPtr>::value, ""); in test_noexcept()
144 typedef std::unique_ptr<A, Deleter<A> > APtr; in test_noexcept() typedef
146 static_assert(std::is_nothrow_constructible<APtr, BPtr>::value, ""); in test_noexcept()
149 typedef std::unique_ptr<A, NCDeleter<A>&> APtr; in test_noexcept() typedef
151 static_assert(std::is_nothrow_constructible<APtr, BPtr>::value, ""); in test_noexcept()
154 typedef std::unique_ptr<A, const NCConstDeleter<A>&> APtr; in test_noexcept() typedef
156 static_assert(std::is_nothrow_constructible<APtr, BPtr>::value, ""); in test_noexcept()
166 typedef std::unique_ptr<A> APtr; in main() typedef
171 APtr a(std::move(b)); in main()
[all …]
Dmove.pass.cpp88 typedef std::unique_ptr<VT> APtr; in test_basic() typedef
89 APtr s(newValue<VT>(expect_alive)); in test_basic()
91 APtr s2 = std::move(s); in test_basic()
99 typedef std::unique_ptr<VT, MoveDel> APtr; in test_basic() typedef
101 APtr s(newValue<VT>(expect_alive), std::move(d)); in test_basic()
105 APtr s2 = std::move(s); in test_basic()
115 typedef std::unique_ptr<VT, NonCopyDel&> APtr; in test_basic() typedef
118 APtr s(newValue<VT>(expect_alive), d); in test_basic()
120 APtr s2 = std::move(s); in test_basic()
Dmove_convert.pass.cpp152 typedef std::unique_ptr<const VT> APtr; in test_noexcept() typedef
154 static_assert(std::is_nothrow_constructible<APtr, BPtr>::value, ""); in test_noexcept()
157 typedef std::unique_ptr<const VT, CDeleter<const VT> > APtr; in test_noexcept() typedef
159 static_assert(std::is_nothrow_constructible<APtr, BPtr>::value, ""); in test_noexcept()
162 typedef std::unique_ptr<const VT, NCDeleter<const VT>&> APtr; in test_noexcept() typedef
164 static_assert(std::is_nothrow_constructible<APtr, BPtr>::value, ""); in test_noexcept()
167 typedef std::unique_ptr<const VT, const NCConstDeleter<const VT>&> APtr; in test_noexcept() typedef
169 static_assert(std::is_nothrow_constructible<APtr, BPtr>::value, ""); in test_noexcept()
/external/llvm/include/llvm/ADT/
DSmallPtrSet.h123 for (const void **APtr = SmallArray, **E = SmallArray + NumNonEmpty; in insert_imp() local
124 APtr != E; ++APtr) { in insert_imp()
125 const void *Value = *APtr; in insert_imp()
127 return std::make_pair(APtr, false); in insert_imp()
129 LastTombstone = APtr; in insert_imp()
158 for (const void *const *APtr = SmallArray, in count_imp() local
159 *const *E = SmallArray + NumNonEmpty; APtr != E; ++APtr) in count_imp()
160 if (*APtr == Ptr) in count_imp()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DSmallPtrSet.h129 for (const void **APtr = SmallArray, **E = SmallArray + NumNonEmpty; in insert_imp() local
130 APtr != E; ++APtr) { in insert_imp()
131 const void *Value = *APtr; in insert_imp()
133 return std::make_pair(APtr, false); in insert_imp()
135 LastTombstone = APtr; in insert_imp()
179 for (const void *const *APtr = SmallArray, in find_imp() local
180 *const *E = SmallArray + NumNonEmpty; APtr != E; ++APtr) in find_imp()
181 if (*APtr == Ptr) in find_imp()
182 return APtr; in find_imp()
/external/llvm-project/llvm/include/llvm/ADT/
DSmallPtrSet.h129 for (const void **APtr = SmallArray, **E = SmallArray + NumNonEmpty; in insert_imp() local
130 APtr != E; ++APtr) { in insert_imp()
131 const void *Value = *APtr; in insert_imp()
133 return std::make_pair(APtr, false); in insert_imp()
135 LastTombstone = APtr; in insert_imp()
179 for (const void *const *APtr = SmallArray, in find_imp() local
180 *const *E = SmallArray + NumNonEmpty; APtr != E; ++APtr) in find_imp()
181 if (*APtr == Ptr) in find_imp()
182 return APtr; in find_imp()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DSmallPtrSet.h135 for (const void **APtr = SmallArray, **E = SmallArray + NumNonEmpty; in insert_imp() local
136 APtr != E; ++APtr) { in insert_imp()
137 const void *Value = *APtr; in insert_imp()
139 return std::make_pair(APtr, false); in insert_imp()
141 LastTombstone = APtr; in insert_imp()
170 for (const void *const *APtr = SmallArray, in count_imp() local
171 *const *E = SmallArray + NumNonEmpty; APtr != E; ++APtr) in count_imp()
172 if (*APtr == Ptr) in count_imp()
/external/llvm/lib/Support/
DSmallPtrSet.cpp66 for (const void **APtr = CurArray, **E = CurArray + NumNonEmpty; APtr != E; in erase_imp() local
67 ++APtr) in erase_imp()
68 if (*APtr == Ptr) { in erase_imp()
70 *APtr = getTombstoneMarker(); in erase_imp()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DSmallPtrSet.cpp67 for (const void **APtr = CurArray, **E = CurArray + NumNonEmpty; APtr != E; in erase_imp() local
68 ++APtr) in erase_imp()
69 if (*APtr == Ptr) { in erase_imp()
71 *APtr = getTombstoneMarker(); in erase_imp()
/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.asgn/
Dmove_convert.pass.cpp290 typedef std::unique_ptr<const VT> APtr; in test_noexcept() typedef
292 static_assert(std::is_nothrow_assignable<APtr, BPtr>::value, ""); in test_noexcept()
295 typedef std::unique_ptr<const VT, CDeleter<const VT> > APtr; in test_noexcept() typedef
297 static_assert(std::is_nothrow_assignable<APtr, BPtr>::value, ""); in test_noexcept()
300 typedef std::unique_ptr<const VT, NCDeleter<const VT>&> APtr; in test_noexcept() typedef
302 static_assert(std::is_nothrow_assignable<APtr, BPtr>::value, ""); in test_noexcept()
305 typedef std::unique_ptr<const VT, const NCConstDeleter<const VT>&> APtr; in test_noexcept() typedef
307 static_assert(std::is_nothrow_assignable<APtr, BPtr>::value, ""); in test_noexcept()
Dmove_convert.runtime.pass.cpp24 template <class APtr, class BPtr>
25 void testAssign(APtr& aptr, BPtr& bptr) { in testAssign()
Dmove_convert.single.pass.cpp25 template <class APtr, class BPtr>
26 void testAssign(APtr& aptr, BPtr& bptr) { in testAssign()
/external/llvm-project/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.asgn/
Dmove_convert.pass.cpp289 typedef std::unique_ptr<const VT> APtr; in test_noexcept() typedef
291 static_assert(std::is_nothrow_assignable<APtr, BPtr>::value, ""); in test_noexcept()
294 typedef std::unique_ptr<const VT, CDeleter<const VT> > APtr; in test_noexcept() typedef
296 static_assert(std::is_nothrow_assignable<APtr, BPtr>::value, ""); in test_noexcept()
299 typedef std::unique_ptr<const VT, NCDeleter<const VT>&> APtr; in test_noexcept() typedef
301 static_assert(std::is_nothrow_assignable<APtr, BPtr>::value, ""); in test_noexcept()
304 typedef std::unique_ptr<const VT, const NCConstDeleter<const VT>&> APtr; in test_noexcept() typedef
306 static_assert(std::is_nothrow_assignable<APtr, BPtr>::value, ""); in test_noexcept()
Dmove_convert.runtime.pass.cpp24 template <class APtr, class BPtr>
25 void testAssign(APtr& aptr, BPtr& bptr) { in testAssign()
Dmove_convert.single.pass.cpp25 template <class APtr, class BPtr>
26 void testAssign(APtr& aptr, BPtr& bptr) { in testAssign()
/external/llvm-project/clang/test/Analysis/
Dpointer-to-member.cpp106 A *APtr = &a; in testPointerToMemberVirtualCall() local
109 clang_analyzer_eval((APtr->*AFP)() == 1); // expected-warning{{TRUE}} in testPointerToMemberVirtualCall()
111 APtr = &b; in testPointerToMemberVirtualCall()
113 clang_analyzer_eval((APtr->*AFP)() == 3); // expected-warning{{TRUE}} in testPointerToMemberVirtualCall()
/external/clang/test/SemaCXX/
Dusing-decl-templates.cpp91 template<typename T> using APtr = A<T*>; // expected-note{{previous use is here}} typedef
93 template struct APtr<int>; // expected-error{{elaborated type refers to a type alias template}} variable
/external/llvm-project/clang/test/SemaCXX/
Dusing-decl-templates.cpp91 template<typename T> using APtr = A<T*>; // expected-note{{previous use is here}} typedef
93 …template struct APtr<int>; // expected-error{{type alias template 'APtr' cannot be referenced with… variable
/external/llvm-project/llvm/test/Transforms/LoopVectorize/ARM/
Dvector_cast.ll13 define void @test0(%class.A* %StartPtr, %class.A* %APtr) {
24 %cmp.i = icmp eq %class.A* %incdec.ptr.i, %APtr
/external/llvm/test/Transforms/LoopVectorize/ARM/
Dvector_cast.ll13 define void @test0(%class.A* %StartPtr, %class.A* %APtr) {
24 %cmp.i = icmp eq %class.A* %incdec.ptr.i, %APtr
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.enab/
Denable_shared_from_this.pass.cpp82 typedef std::shared_ptr<PrivateBase> APtr; in main() typedef
83 APtr a1 = std::make_shared<PrivateBase>(); in main()
/external/llvm-project/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.enab/
Denable_shared_from_this.pass.cpp82 typedef std::shared_ptr<PrivateBase> APtr; in main() typedef
83 APtr a1 = std::make_shared<PrivateBase>(); in main()

12