/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cast/ |
D | static_pointer_cast.pass.cpp | 46 const std::shared_ptr<A> pA(new A); in main() local 47 std::shared_ptr<B> pB = std::static_pointer_cast<B>(pA); in main() 48 assert(pB.get() == pA.get()); in main() 49 assert(!pB.owner_before(pA) && !pA.owner_before(pB)); in main() 52 const std::shared_ptr<B> pA(new A); in main() local 53 std::shared_ptr<A> pB = std::static_pointer_cast<A>(pA); in main() 54 assert(pB.get() == pA.get()); in main() 55 assert(!pB.owner_before(pA) && !pA.owner_before(pB)); in main() 58 const std::shared_ptr<A> pA; in main() local 59 std::shared_ptr<B> pB = std::static_pointer_cast<B>(pA); in main() [all …]
|
D | const_pointer_cast.pass.cpp | 46 const std::shared_ptr<const A> pA(new A); in main() local 47 std::shared_ptr<A> pB = std::const_pointer_cast<A>(pA); in main() 48 assert(pB.get() == pA.get()); in main() 49 assert(!pB.owner_before(pA) && !pA.owner_before(pB)); in main() 52 const std::shared_ptr<const A> pA; in main() local 53 std::shared_ptr<A> pB = std::const_pointer_cast<A>(pA); in main() 54 assert(pB.get() == pA.get()); in main() 55 assert(!pB.owner_before(pA) && !pA.owner_before(pB)); in main()
|
D | dynamic_pointer_cast.pass.cpp | 47 std::shared_ptr<A> pA = std::dynamic_pointer_cast<A>(pB); in main() local 48 assert(pA.get() == pB.get()); in main() 49 assert(!pB.owner_before(pA) && !pA.owner_before(pB)); in main() 53 std::shared_ptr<A> pA = std::dynamic_pointer_cast<A>(pB); in main() local 54 assert(pA.get() == 0); in main() 55 assert(pA.use_count() == 0); in main()
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.assign/ |
D | shared_ptr.pass.cpp | 46 const std::shared_ptr<A> pA(new A); in main() local 47 A* ptrA = pA.get(); in main() 50 pB = pA; in main() 54 assert(pA.use_count() == 2); in main() 55 assert(pA.get() == pB.get()); in main() 58 assert(pA.use_count() == 1); in main() 65 const std::shared_ptr<A> pA; in main() local 66 A* ptrA = pA.get(); in main() 69 pB = pA; in main() 73 assert(pA.use_count() == 0); in main() [all …]
|
D | shared_ptr_Y_rv.pass.cpp | 47 std::shared_ptr<A> pA(new A); in main() local 48 A* ptrA = pA.get(); in main() 51 pB = std::move(pA); in main() 55 assert(pA.use_count() == 0); in main() 56 assert(pA.get() == 0); in main() 59 assert(pA.use_count() == 0); in main() 66 std::shared_ptr<A> pA; in main() local 67 A* ptrA = pA.get(); in main() 70 pB = std::move(pA); in main() 74 assert(pA.use_count() == 0); in main() [all …]
|
D | shared_ptr_Y.pass.cpp | 46 const std::shared_ptr<A> pA(new A); in main() local 47 A* ptrA = pA.get(); in main() 50 pB = pA; in main() 54 assert(pA.use_count() == 2); in main() 55 assert(pA.get() == pB.get()); in main() 58 assert(pA.use_count() == 1); in main() 65 const std::shared_ptr<A> pA; in main() local 66 A* ptrA = pA.get(); in main() 69 pB = pA; in main() 73 assert(pA.use_count() == 0); in main() [all …]
|
D | shared_ptr_rv.pass.cpp | 47 std::shared_ptr<A> pA(new A); in main() local 48 A* ptrA = pA.get(); in main() 51 pB = std::move(pA); in main() 55 assert(pA.use_count() == 0); in main() 56 assert(pA.get() == 0); in main() 59 assert(pA.use_count() == 0); in main() 66 std::shared_ptr<A> pA; in main() local 67 A* ptrA = pA.get(); in main() 70 pB = std::move(pA); in main() 74 assert(pA.use_count() == 0); in main() [all …]
|
D | unique_ptr_Y.pass.cpp | 46 std::unique_ptr<A> pA(new A); in main() local 47 A* ptrA = pA.get(); in main() 50 pB = std::move(pA); in main() 54 assert(pA.get() == 0); in main() 63 std::unique_ptr<A> pA; in main() local 64 A* ptrA = pA.get(); in main() 67 pB = std::move(pA); in main() 71 assert(pA.get() == 0); in main() 80 std::unique_ptr<A> pA(new A); in main() local 81 A* ptrA = pA.get(); in main() [all …]
|
D | auto_ptr_Y.pass.cpp | 46 std::auto_ptr<A> pA(new A); in main() local 47 A* ptrA = pA.get(); in main() 50 pB = std::move(pA); in main() 54 assert(pA.get() == 0); in main() 63 std::auto_ptr<A> pA; in main() local 64 A* ptrA = pA.get(); in main() 67 pB = std::move(pA); in main() 71 assert(pA.get() == 0); in main() 80 std::auto_ptr<A> pA(new A); in main() local 81 A* ptrA = pA.get(); in main() [all …]
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/ |
D | shared_ptr_rv.pass.cpp | 33 std::shared_ptr<A> pA(new A); in main() local 34 assert(pA.use_count() == 1); in main() 37 A* p = pA.get(); in main() 38 std::shared_ptr<A> pA2(std::move(pA)); in main() 41 assert(pA.use_count() == 0); in main() 44 assert(pA.use_count() == 2); in main() 50 assert(pA.use_count() == 0); in main() 53 assert(pA.use_count() == 1); in main() 59 std::shared_ptr<A> pA; in main() local 60 assert(pA.use_count() == 0); in main() [all …]
|
D | shared_ptr.pass.cpp | 33 std::shared_ptr<A> pA(new A); in main() local 34 assert(pA.use_count() == 1); in main() 37 std::shared_ptr<A> pA2(pA); in main() 39 assert(pA.use_count() == 2); in main() 41 assert(pA2.get() == pA.get()); in main() 43 assert(pA.use_count() == 1); in main() 48 std::shared_ptr<A> pA; in main() local 49 assert(pA.use_count() == 0); in main() 52 std::shared_ptr<A> pA2(pA); in main() 54 assert(pA.use_count() == 0); in main() [all …]
|
D | shared_ptr_Y_rv.pass.cpp | 60 std::shared_ptr<A> pA(new A); in main() local 61 assert(pA.use_count() == 1); in main() 65 B* p = pA.get(); in main() 66 std::shared_ptr<B> pB(std::move(pA)); in main() 71 assert(pA.use_count() == 0); in main() 74 assert(pA.use_count() == 2); in main() 79 assert(pA.use_count() == 0); in main() 83 assert(pA.use_count() == 1); in main() 91 std::shared_ptr<A> pA; in main() local 92 assert(pA.use_count() == 0); in main() [all …]
|
D | shared_ptr_Y.pass.cpp | 60 const std::shared_ptr<A> pA(new A); in main() local 61 assert(pA.use_count() == 1); in main() 65 std::shared_ptr<B> pB(pA); in main() 69 assert(pA.use_count() == 2); in main() 70 assert(pA.get() == pB.get()); in main() 72 assert(pA.use_count() == 1); in main() 79 std::shared_ptr<A> pA; in main() local 80 assert(pA.use_count() == 0); in main() 84 std::shared_ptr<B> pB(pA); in main() 88 assert(pA.use_count() == 0); in main() [all …]
|
D | shared_ptr_pointer.pass.cpp | 44 std::shared_ptr<A> pA(new A); in main() local 45 assert(pA.use_count() == 1); in main() 48 std::shared_ptr<B> pB(pA, &b); in main() 51 assert(pA.use_count() == 2); in main() 55 assert(pA.use_count() == 1); in main()
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/ |
D | weak_ptr.pass.cpp | 67 const std::weak_ptr<A> pA(ps); in main() local 68 assert(pA.use_count() == 1); in main() 72 std::weak_ptr<A> pB(pA); in main() 76 assert(pA.use_count() == 1); in main() 78 assert(pA.use_count() == 1); in main() 85 std::weak_ptr<A> pA; in main() local 86 assert(pA.use_count() == 0); in main() 90 std::weak_ptr<A> pB(pA); in main() 94 assert(pA.use_count() == 0); in main() 96 assert(pA.use_count() == 0); in main() [all …]
|
D | weak_ptr_Y.pass.cpp | 64 const std::weak_ptr<A> pA(std::shared_ptr<A>(new A)); in main() local 65 assert(pA.use_count() == 0); in main() 69 std::weak_ptr<B> pB(pA); in main() 73 assert(pA.use_count() == 0); in main() 75 assert(pA.use_count() == 0); in main() 82 std::weak_ptr<A> pA; in main() local 83 assert(pA.use_count() == 0); in main() 87 std::weak_ptr<B> pB(pA); in main() 91 assert(pA.use_count() == 0); in main() 93 assert(pA.use_count() == 0); in main() [all …]
|
D | shared_ptr_Y.pass.cpp | 60 const std::shared_ptr<A> pA(new A); in main() local 61 assert(pA.use_count() == 1); in main() 65 std::weak_ptr<B> pB(pA); in main() 69 assert(pA.use_count() == 1); in main() 71 assert(pA.use_count() == 1); in main() 78 std::shared_ptr<A> pA; in main() local 79 assert(pA.use_count() == 0); in main() 83 std::weak_ptr<B> pB(pA); in main() 87 assert(pA.use_count() == 0); in main() 89 assert(pA.use_count() == 0); in main()
|
/external/llvm/test/CodeGen/X86/ |
D | SwizzleShuff.ll | 8 define void @pull_bitcast (<4 x i8>* %pA, <4 x i8>* %pB) { 9 %A = load <4 x i8>, <4 x i8>* %pA 12 store <4 x i8> %C, <4 x i8>* %pA 24 define <4 x i32> @multi_use_swizzle (<4 x i32>* %pA, <4 x i32>* %pB) { 25 %A = load <4 x i32>, <4 x i32>* %pA 37 define <4 x i8> @pull_bitcast2 (<4 x i8>* %pA, <4 x i8>* %pB, <4 x i8>* %pC) { 38 %A = load <4 x i8>, <4 x i8>* %pA 42 store <4 x i8> %C, <4 x i8>* %pA 51 define <4 x i32> @reverse_1 (<4 x i32>* %pA, <4 x i32>* %pB) { 52 %A = load <4 x i32>, <4 x i32>* %pA [all …]
|
D | 2011-10-27-tstore.ll | 9 define void @ltstore(<4 x i32>* %pA, <2 x i32>* %pB) { 11 %in = load <4 x i32>, <4 x i32>* %pA
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.assign/ |
D | weak_ptr.pass.cpp | 47 const std::weak_ptr<A> pA(ps); in main() local 50 pB = pA; in main() 54 assert(pA.use_count() == 1); in main() 56 assert(pA.use_count() == 1); in main() 65 std::weak_ptr<A> pA(ps); in main() local 68 pB = std::move(pA); in main()
|
D | weak_ptr_Y.pass.cpp | 47 const std::weak_ptr<A> pA(ps); in main() local 50 pB = pA; in main() 54 assert(pA.use_count() == 1); in main() 56 assert(pA.use_count() == 1); in main() 65 std::weak_ptr<A> pA(ps); in main() local 68 pB = std::move(pA); in main()
|
D | shared_ptr_Y.pass.cpp | 46 const std::shared_ptr<A> pA(new A); in main() local 49 pB = pA; in main() 53 assert(pA.use_count() == 1); in main() 55 assert(pA.use_count() == 1); in main()
|
/external/opencv/cv/src/ |
D | cvlkpyramid.cpp | 1147 CvPoint2D32f *pA = 0, *pB = 0; in cvEstimateRigidTransform() local 1229 CV_CALL( pA = (CvPoint2D32f*)cvAlloc( count*sizeof(pA[0]) )); in cvEstimateRigidTransform() 1236 pA[k].x = (j+0.5f)*sz1.width/count_x; in cvEstimateRigidTransform() 1237 pA[k].y = (i+0.5f)*sz1.height/count_y; in cvEstimateRigidTransform() 1241 cvCalcOpticalFlowPyrLK( A, B, 0, 0, pA, pB, count, cvSize(10,10), 3, in cvEstimateRigidTransform() 1250 pA[k] = pA[i]; in cvEstimateRigidTransform() 1264 pA = (CvPoint2D32f*)A->data.ptr; in cvEstimateRigidTransform() 1272 CV_CALL( pA = (CvPoint2D32f*)cvAlloc( count*sizeof(pA[0]) )); in cvEstimateRigidTransform() 1274 _pA = cvMat( A->rows, A->cols, CV_32FC2, pA ); in cvEstimateRigidTransform() 1311 if( fabs(pA[idx[i]].x - pA[idx[j]].x) + in cvEstimateRigidTransform() [all …]
|
/external/pdfium/fpdfsdk/src/pdfwindow/ |
D | PWL_Icon.cpp | 130 CPDF_Array* pA = in GetIconPosition() local 132 if (pA) { in GetIconPosition() 133 FX_DWORD dwCount = pA->GetCount(); in GetIconPosition() 135 fLeft = pA->GetNumber(0); in GetIconPosition() 137 fBottom = pA->GetNumber(1); in GetIconPosition()
|
/external/opencv3/modules/video/src/ |
D | lkpyramid.cpp | 1360 std::vector<Point2f> pA, pB; in estimateRigidTransform() local 1380 A.reshape(2, count).convertTo(pA, CV_32F); in estimateRigidTransform() 1423 pA.resize(count); in estimateRigidTransform() 1430 pA[k].x = (j+0.5f)*sz1.width/count_x; in estimateRigidTransform() 1431 pA[k].y = (i+0.5f)*sz1.height/count_y; in estimateRigidTransform() 1435 calcOpticalFlowPyrLK(A, B, pA, pB, status, noArray(), Size(21, 21), 3, in estimateRigidTransform() 1444 pA[k] = pA[i]; in estimateRigidTransform() 1450 pA.resize(count); in estimateRigidTransform() 1483 if( fabs(pA[idx[i]].x - pA[idx[j]].x) + in estimateRigidTransform() 1484 fabs(pA[idx[i]].y - pA[idx[j]].y) < FLT_EPSILON ) in estimateRigidTransform() [all …]
|