Home
last modified time | relevance | path

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

/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/swiftshader/third_party/LLVM/lib/Support/
DSmallPtrSet.cpp42 for (const void **APtr = SmallArray, **E = SmallArray+NumElements; in insert_imp() local
43 APtr != E; ++APtr) in insert_imp()
44 if (*APtr == Ptr) in insert_imp()
79 for (const void **APtr = SmallArray, **E = SmallArray+NumElements; in erase_imp() local
80 APtr != E; ++APtr) in erase_imp()
81 if (*APtr == Ptr) { in erase_imp()
83 *APtr = E[-1]; in erase_imp()
/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-7.0/llvm/include/llvm/ADT/
DSmallPtrSet.h130 for (const void **APtr = SmallArray, **E = SmallArray + NumNonEmpty; in insert_imp() local
131 APtr != E; ++APtr) { in insert_imp()
132 const void *Value = *APtr; in insert_imp()
134 return std::make_pair(APtr, false); in insert_imp()
136 LastTombstone = APtr; in insert_imp()
180 for (const void *const *APtr = SmallArray, in find_imp() local
181 *const *E = SmallArray + NumNonEmpty; APtr != E; ++APtr) in find_imp()
182 if (*APtr == Ptr) in find_imp()
183 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/swiftshader/third_party/LLVM/include/llvm/ADT/
DSmallPtrSet.h115 for (const void *const *APtr = SmallArray, in count_imp() local
116 *const *E = SmallArray+NumElements; APtr != E; ++APtr) in count_imp()
117 if (*APtr == Ptr) in count_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/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/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/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/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/swiftshader/third_party/llvm-7.0/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/lib/Analysis/
DLoopAccessAnalysis.cpp1185 Value *APtr = A.getPointer(); in isDependent() local
1195 if (APtr->getType()->getPointerAddressSpace() != in isDependent()
1199 int64_t StrideAPtr = getPtrStride(PSE, APtr, InnermostLoop, Strides, true); in isDependent()
1202 const SCEV *Src = PSE.getSCEV(APtr); in isDependent()
1208 std::swap(APtr, BPtr); in isDependent()
1237 Type *ATy = APtr->getType()->getPointerElementType(); in isDependent()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DLoopAccessAnalysis.cpp1429 Value *APtr = A.getPointer(); in isDependent() local
1439 if (APtr->getType()->getPointerAddressSpace() != in isDependent()
1443 int64_t StrideAPtr = getPtrStride(PSE, APtr, InnermostLoop, Strides, true); in isDependent()
1446 const SCEV *Src = PSE.getSCEV(APtr); in isDependent()
1452 std::swap(APtr, BPtr); in isDependent()
1474 Type *ATy = APtr->getType()->getPointerElementType(); in isDependent()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Drequired-vector-width.ll83 define void @pmaddwd_32_256(<32 x i16>* %APtr, <32 x i16>* %BPtr, <16 x i32>* %CPtr) "required-vect…
94 %A = load <32 x i16>, <32 x i16>* %APtr
106 define void @pmaddwd_32_512(<32 x i16>* %APtr, <32 x i16>* %BPtr, <16 x i32>* %CPtr) "required-vect…
114 %A = load <32 x i16>, <32 x i16>* %APtr
/external/libchrome/mojo/public/cpp/bindings/tests/
Dinterface_ptr_unittest.cc685 APtr a; in TEST_P()
/external/clang/lib/Sema/
DSemaTemplateDeduction.cpp2728 if (const PointerType *APtr = A->getAs<PointerType>()) { in CheckOriginalCallArgDeduction() local
2732 A = APtr->getPointeeType(); in CheckOriginalCallArgDeduction()