/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cast/ |
H A D | static_pointer_cast.pass.cpp | 47 std::shared_ptr<B> pB = std::static_pointer_cast<B>(pA); local 48 assert(pB.get() == pA.get()); 49 assert(!pB.owner_before(pA) && !pA.owner_before(pB)); 53 std::shared_ptr<A> pB = std::static_pointer_cast<A>(pA); local 54 assert(pB.get() == pA.get()); 55 assert(!pB.owner_before(pA) && !pA.owner_before(pB)); 59 std::shared_ptr<B> pB = std::static_pointer_cast<B>(pA); local 60 assert(pB 65 std::shared_ptr<A> pB = std::static_pointer_cast<A>(pA); local [all...] |
H A D | const_pointer_cast.pass.cpp | 47 std::shared_ptr<A> pB = std::const_pointer_cast<A>(pA); local 48 assert(pB.get() == pA.get()); 49 assert(!pB.owner_before(pA) && !pA.owner_before(pB)); 53 std::shared_ptr<A> pB = std::const_pointer_cast<A>(pA); local 54 assert(pB.get() == pA.get()); 55 assert(!pB.owner_before(pA) && !pA.owner_before(pB));
|
H A D | dynamic_pointer_cast.pass.cpp | 46 const std::shared_ptr<B> pB(new A); 47 std::shared_ptr<A> pA = std::dynamic_pointer_cast<A>(pB); 48 assert(pA.get() == pB.get()); 49 assert(!pB.owner_before(pA) && !pA.owner_before(pB)); 52 const std::shared_ptr<B> pB(new B); 53 std::shared_ptr<A> pA = std::dynamic_pointer_cast<A>(pB);
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.assign/ |
H A D | auto_ptr_Y.pass.cpp | 49 std::shared_ptr<B> pB(new B); 50 pB = std::move(pA); 53 assert(pB.use_count() == 1); 55 assert(pB.get() == ptrA); 66 std::shared_ptr<B> pB(new B); 67 pB = std::move(pA); 70 assert(pB.use_count() == 1); 72 assert(pB.get() == ptrA); 83 std::shared_ptr<B> pB; local 84 pB 100 std::shared_ptr<B> pB; local [all...] |
H A D | unique_ptr_Y.pass.cpp | 49 std::shared_ptr<B> pB(new B); 50 pB = std::move(pA); 53 assert(pB.use_count() == 1); 55 assert(pB.get() == ptrA); 66 std::shared_ptr<B> pB(new B); 67 pB = std::move(pA); 70 // assert(pB.use_count() == 1); // no longer true due to LWG 2415 72 assert(pB.get() == ptrA); 83 std::shared_ptr<B> pB; local 84 pB 100 std::shared_ptr<B> pB; local [all...] |
H A D | shared_ptr.pass.cpp | 49 std::shared_ptr<A> pB(new A); 50 pB = pA; 53 assert(pB.use_count() == 2); 55 assert(pA.get() == pB.get()); 56 assert(pB.get() == ptrA); 68 std::shared_ptr<A> pB(new A); 69 pB = pA; 72 assert(pB.use_count() == 0); 74 assert(pA.get() == pB.get()); 75 assert(pB 87 std::shared_ptr<A> pB; local 106 std::shared_ptr<A> pB; local [all...] |
H A D | shared_ptr_Y.pass.cpp | 49 std::shared_ptr<B> pB(new B); 50 pB = pA; 53 assert(pB.use_count() == 2); 55 assert(pA.get() == pB.get()); 56 assert(pB.get() == ptrA); 68 std::shared_ptr<B> pB(new B); 69 pB = pA; 72 assert(pB.use_count() == 0); 74 assert(pA.get() == pB.get()); 75 assert(pB 87 std::shared_ptr<B> pB; local 106 std::shared_ptr<B> pB; local [all...] |
H A D | shared_ptr_Y_rv.pass.cpp | 50 std::shared_ptr<B> pB(new B); 51 pB = std::move(pA); 54 assert(pB.use_count() == 1); 57 assert(pB.get() == ptrA); 69 std::shared_ptr<B> pB(new B); 70 pB = std::move(pA); 73 assert(pB.use_count() == 0); 76 assert(pB.get() == ptrA); 88 std::shared_ptr<B> pB; local 89 pB 107 std::shared_ptr<B> pB; local [all...] |
H A D | shared_ptr_rv.pass.cpp | 50 std::shared_ptr<A> pB(new A); 51 pB = std::move(pA); 54 assert(pB.use_count() == 1); 57 assert(pB.get() == ptrA); 69 std::shared_ptr<A> pB(new A); 70 pB = std::move(pA); 73 assert(pB.use_count() == 0); 76 assert(pB.get() == ptrA); 88 std::shared_ptr<A> pB; local 89 pB 107 std::shared_ptr<A> pB; local [all...] |
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.assign/ |
H A D | weak_ptr.pass.cpp | 49 std::weak_ptr<A> pB; local 50 pB = pA; 53 assert(pB.use_count() == 1); 67 std::weak_ptr<A> pB; local 68 pB = std::move(pA); 71 assert(pB.use_count() == 1);
|
H A D | weak_ptr_Y.pass.cpp | 49 std::weak_ptr<B> pB; local 50 pB = pA; 53 assert(pB.use_count() == 1); 67 std::weak_ptr<B> pB; local 68 pB = std::move(pA); 71 assert(pB.use_count() == 1);
|
H A D | shared_ptr_Y.pass.cpp | 48 std::weak_ptr<B> pB; local 49 pB = pA; 52 assert(pB.use_count() == 1);
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/ |
H A D | shared_ptr_pointer.pass.cpp | 48 std::shared_ptr<B> pB(pA, &b); 52 assert(pB.use_count() == 2); 53 assert(pB.get() == &b);
|
H A D | shared_ptr_Y_rv.pass.cpp | 66 std::shared_ptr<B> pB(std::move(pA)); 70 assert(pB.use_count() == 1); 73 assert(pB.use_count() == 2); 76 assert(p == pB.get()); 96 std::shared_ptr<B> pB(pA); 99 assert(pB.use_count() == 0); 101 assert(pA.get() == pB.get());
|
H A D | shared_ptr_Y.pass.cpp | 65 std::shared_ptr<B> pB(pA); 68 assert(pB.use_count() == 2); 70 assert(pA.get() == pB.get()); 84 std::shared_ptr<B> pB(pA); 87 assert(pB.use_count() == 0); 89 assert(pA.get() == pB.get());
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/ |
H A D | weak_ptr_Y.pass.cpp | 69 std::weak_ptr<B> pB(pA); 72 assert(pB.use_count() == 0); 87 std::weak_ptr<B> pB(pA); 90 assert(pB.use_count() == 0); 103 std::weak_ptr<B> pB(std::move(pA)); 104 assert(pB.use_count() == 1);
|
H A D | shared_ptr_Y.pass.cpp | 65 std::weak_ptr<B> pB(pA); 68 assert(pB.use_count() == 1); 83 std::weak_ptr<B> pB(pA); 86 assert(pB.use_count() == 0);
|
H A D | weak_ptr.pass.cpp | 72 std::weak_ptr<A> pB(pA); 75 assert(pB.use_count() == 1); 90 std::weak_ptr<A> pB(pA); 93 assert(pB.use_count() == 0);
|
/external/opencv/cvaux/include/ |
H A D | cvvidsurv.hpp | 441 #define CV_BLOB_ID(pB) (((CvBlob*)(pB))->ID) 442 #define CV_BLOB_CENTER(pB) cvPoint2D32f(((CvBlob*)(pB))->x,((CvBlob*)(pB))->y) 443 #define CV_BLOB_X(pB) (((CvBlob*)(pB))->x) 444 #define CV_BLOB_Y(pB) (((CvBlob*)(pB))->y) 445 #define CV_BLOB_WX(pB) (((CvBlo 499 AddBlob(CvBlob* pB) argument 525 void* pB = cvGetSeqElem( pSeq, i ); local 798 CvBlob* pB; local 820 CvBlob* pB = pBlobList->GetBlob(b); local 835 CvBlob* pB=GetBlob(i-1); local 847 CvBlob* pB=GetBlob(i-1); local 994 CvBlob* pB=GetBlob(i-1); local [all...] |
/external/opencv/cv/src/ |
H A D | cvlkpyramid.cpp | 1147 CvPoint2D32f *pA = 0, *pB = 0; local 1230 CV_CALL( pB = (CvPoint2D32f*)cvAlloc( count*sizeof(pB[0]) )); 1241 cvCalcOpticalFlowPyrLK( A, B, 0, 0, pA, pB, count, cvSize(10,10), 3, 1251 pB[k] = pB[i]; 1265 pB = (CvPoint2D32f*)B->data.ptr; 1273 CV_CALL( pB = (CvPoint2D32f*)cvAlloc( count*sizeof(pB[0]) )); 1275 _pB = cvMat( B->rows, B->cols, CV_32FC2, pB ); [all...] |
H A D | cvsubdivision2d.cpp | 521 CvSubdiv2DPoint *pA, *pB, *pC; local 548 pB = cvSubdiv2DAddPoint( subdiv, ppB, 0 ); 555 cvSubdiv2DSetEdgePoints( edge_AB, pA, pB ); 556 cvSubdiv2DSetEdgePoints( edge_BC, pB, pC );
|
/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
H A D | nv50_ir_util.cpp | 302 void BitSet::setOr(BitSet *pA, BitSet *pB) argument 304 if (!pB) { 308 data[i] = pA->data[i] | pB->data[i];
|
/external/boringssl/src/crypto/bn/ |
H A D | gcd.c | 555 BIGNUM *pA, *pB; local 592 pB = &local_B; 593 BN_with_flags(pB, B, BN_FLG_CONSTTIME); 594 if (!BN_nnmod(B, pB, A, ctx)) {
|
/external/clang/test/SemaCXX/ |
H A D | MicrosoftCompatibility.cpp | 237 const Foo::MemberFcnPtr pB; member in struct:IntToNullPtrConv::Bar
|
/external/deqp/modules/glshared/ |
H A D | glsFragOpInteractionCase.cpp | 294 const Vec2 pB (flipX ? -1.0f : 1.0f, flipY ? -1.0f : 1.0f); 297 setVertex(posPtr, 1, Vec4(pB.x(), pA.y(), depth, 1.0f)); 298 setVertex(posPtr, 2, Vec4(pA.x(), pB.y(), depth, 1.0f)); 299 setVertex(posPtr, 3, Vec4(pB.x(), pB.y(), depth, 1.0f));
|