Home
last modified time | relevance | path

Searched refs:pB (Results 1 – 25 of 37) sorted by relevance

12

/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cast/
Dstatic_pointer_cast.pass.cpp47 std::shared_ptr<B> pB = std::static_pointer_cast<B>(pA); in main() local
48 assert(pB.get() == pA.get()); in main()
49 assert(!pB.owner_before(pA) && !pA.owner_before(pB)); in main()
53 std::shared_ptr<A> pB = std::static_pointer_cast<A>(pA); in main() local
54 assert(pB.get() == pA.get()); in main()
55 assert(!pB.owner_before(pA) && !pA.owner_before(pB)); in main()
59 std::shared_ptr<B> pB = std::static_pointer_cast<B>(pA); in main() local
60 assert(pB.get() == pA.get()); in main()
61 assert(!pB.owner_before(pA) && !pA.owner_before(pB)); in main()
65 std::shared_ptr<A> pB = std::static_pointer_cast<A>(pA); in main() local
[all …]
Dconst_pointer_cast.pass.cpp47 std::shared_ptr<A> pB = std::const_pointer_cast<A>(pA); in main() local
48 assert(pB.get() == pA.get()); in main()
49 assert(!pB.owner_before(pA) && !pA.owner_before(pB)); in main()
53 std::shared_ptr<A> pB = std::const_pointer_cast<A>(pA); in main() local
54 assert(pB.get() == pA.get()); in main()
55 assert(!pB.owner_before(pA) && !pA.owner_before(pB)); in main()
Ddynamic_pointer_cast.pass.cpp46 const std::shared_ptr<B> pB(new A); in main() local
47 std::shared_ptr<A> pA = std::dynamic_pointer_cast<A>(pB); in main()
48 assert(pA.get() == pB.get()); in main()
49 assert(!pB.owner_before(pA) && !pA.owner_before(pB)); in main()
52 const std::shared_ptr<B> pB(new B); in main() local
53 std::shared_ptr<A> pA = std::dynamic_pointer_cast<A>(pB); in main()
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.assign/
Dshared_ptr_Y.pass.cpp49 std::shared_ptr<B> pB(new B); in main() local
50 pB = pA; in main()
53 assert(pB.use_count() == 2); in main()
55 assert(pA.get() == pB.get()); in main()
56 assert(pB.get() == ptrA); in main()
68 std::shared_ptr<B> pB(new B); in main() local
69 pB = pA; in main()
72 assert(pB.use_count() == 0); in main()
74 assert(pA.get() == pB.get()); in main()
75 assert(pB.get() == ptrA); in main()
[all …]
Dshared_ptr.pass.cpp49 std::shared_ptr<A> pB(new A); in main() local
50 pB = pA; in main()
53 assert(pB.use_count() == 2); in main()
55 assert(pA.get() == pB.get()); in main()
56 assert(pB.get() == ptrA); in main()
68 std::shared_ptr<A> pB(new A); in main() local
69 pB = pA; in main()
72 assert(pB.use_count() == 0); in main()
74 assert(pA.get() == pB.get()); in main()
75 assert(pB.get() == ptrA); in main()
[all …]
Dunique_ptr_Y.pass.cpp49 std::shared_ptr<B> pB(new B); in main() local
50 pB = std::move(pA); in main()
53 assert(pB.use_count() == 1); in main()
55 assert(pB.get() == ptrA); in main()
66 std::shared_ptr<B> pB(new B); in main() local
67 pB = std::move(pA); in main()
70 assert(pB.use_count() == 1); in main()
72 assert(pB.get() == ptrA); in main()
83 std::shared_ptr<B> pB; in main() local
84 pB = std::move(pA); in main()
[all …]
Dauto_ptr_Y.pass.cpp49 std::shared_ptr<B> pB(new B); in main() local
50 pB = std::move(pA); in main()
53 assert(pB.use_count() == 1); in main()
55 assert(pB.get() == ptrA); in main()
66 std::shared_ptr<B> pB(new B); in main() local
67 pB = std::move(pA); in main()
70 assert(pB.use_count() == 1); in main()
72 assert(pB.get() == ptrA); in main()
83 std::shared_ptr<B> pB; in main() local
84 pB = std::move(pA); in main()
[all …]
Dshared_ptr_rv.pass.cpp50 std::shared_ptr<A> pB(new A); in main() local
51 pB = std::move(pA); in main()
54 assert(pB.use_count() == 1); in main()
57 assert(pB.get() == ptrA); in main()
69 std::shared_ptr<A> pB(new A); in main() local
70 pB = std::move(pA); in main()
73 assert(pB.use_count() == 0); in main()
76 assert(pB.get() == ptrA); in main()
88 std::shared_ptr<A> pB; in main() local
89 pB = std::move(pA); in main()
[all …]
Dshared_ptr_Y_rv.pass.cpp50 std::shared_ptr<B> pB(new B); in main() local
51 pB = std::move(pA); in main()
54 assert(pB.use_count() == 1); in main()
57 assert(pB.get() == ptrA); in main()
69 std::shared_ptr<B> pB(new B); in main() local
70 pB = std::move(pA); in main()
73 assert(pB.use_count() == 0); in main()
76 assert(pB.get() == ptrA); in main()
88 std::shared_ptr<B> pB; in main() local
89 pB = std::move(pA); in main()
[all …]
/external/opencv/cvaux/include/
Dcvvidsurv.hpp441 #define CV_BLOB_ID(pB) (((CvBlob*)(pB))->ID) argument
442 #define CV_BLOB_CENTER(pB) cvPoint2D32f(((CvBlob*)(pB))->x,((CvBlob*)(pB))->y) argument
443 #define CV_BLOB_X(pB) (((CvBlob*)(pB))->x) argument
444 #define CV_BLOB_Y(pB) (((CvBlob*)(pB))->y) argument
445 #define CV_BLOB_WX(pB) (((CvBlob*)(pB))->w) argument
446 #define CV_BLOB_WY(pB) (((CvBlob*)(pB))->h) argument
447 #define CV_BLOB_RX(pB) (0.5f*CV_BLOB_WX(pB)) argument
448 #define CV_BLOB_RY(pB) (0.5f*CV_BLOB_WY(pB)) argument
449 …RECT(pB) cvRect(cvRound(((CvBlob*)(pB))->x-CV_BLOB_RX(pB)),cvRound(((CvBlob*)(pB))->y-CV_BLOB_RY(p… argument
499 virtual void AddBlob(CvBlob* pB) in AddBlob() argument
[all …]
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.assign/
Dweak_ptr.pass.cpp49 std::weak_ptr<A> pB; in main() local
50 pB = pA; in main()
53 assert(pB.use_count() == 1); in main()
67 std::weak_ptr<A> pB; in main() local
68 pB = std::move(pA); in main()
71 assert(pB.use_count() == 1); in main()
Dweak_ptr_Y.pass.cpp49 std::weak_ptr<B> pB; in main() local
50 pB = pA; in main()
53 assert(pB.use_count() == 1); in main()
67 std::weak_ptr<B> pB; in main() local
68 pB = std::move(pA); in main()
71 assert(pB.use_count() == 1); in main()
Dshared_ptr_Y.pass.cpp48 std::weak_ptr<B> pB; in main() local
49 pB = pA; in main()
52 assert(pB.use_count() == 1); in main()
/external/llvm/test/CodeGen/X86/
DSwizzleShuff.ll8 define void @pull_bitcast (<4 x i8>* %pA, <4 x i8>* %pB) {
10 %B = load <4 x i8>, <4 x i8>* %pB
24 define <4 x i32> @multi_use_swizzle (<4 x i32>* %pA, <4 x i32>* %pB) {
26 %B = load <4 x i32>, <4 x i32>* %pB
37 define <4 x i8> @pull_bitcast2 (<4 x i8>* %pA, <4 x i8>* %pB, <4 x i8>* %pC) {
40 %B = load <4 x i8>, <4 x i8>* %pB
51 define <4 x i32> @reverse_1 (<4 x i32>* %pA, <4 x i32>* %pB) {
53 %B = load <4 x i32>, <4 x i32>* %pB
63 define <4 x i32> @no_reverse_shuff (<4 x i32>* %pA, <4 x i32>* %pB) {
65 %B = load <4 x i32>, <4 x i32>* %pB
D2011-10-27-tstore.ll9 define void @ltstore(<4 x i32>* %pA, <2 x i32>* %pB) {
13 store <2 x i32> %j, <2 x i32>* %pB
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/
Dshared_ptr_Y_rv.pass.cpp66 std::shared_ptr<B> pB(std::move(pA)); in main() local
70 assert(pB.use_count() == 1); in main()
73 assert(pB.use_count() == 2); in main()
76 assert(p == pB.get()); in main()
96 std::shared_ptr<B> pB(pA); in main() local
99 assert(pB.use_count() == 0); in main()
101 assert(pA.get() == pB.get()); in main()
Dshared_ptr_Y.pass.cpp65 std::shared_ptr<B> pB(pA); in main() local
68 assert(pB.use_count() == 2); in main()
70 assert(pA.get() == pB.get()); in main()
84 std::shared_ptr<B> pB(pA); in main() local
87 assert(pB.use_count() == 0); in main()
89 assert(pA.get() == pB.get()); in main()
Dshared_ptr_pointer.pass.cpp48 std::shared_ptr<B> pB(pA, &b); in main() local
52 assert(pB.use_count() == 2); in main()
53 assert(pB.get() == &b); in main()
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/
Dweak_ptr_Y.pass.cpp69 std::weak_ptr<B> pB(pA); in main() local
72 assert(pB.use_count() == 0); in main()
87 std::weak_ptr<B> pB(pA); in main() local
90 assert(pB.use_count() == 0); in main()
103 std::weak_ptr<B> pB(std::move(pA)); in main() local
104 assert(pB.use_count() == 1); in main()
Dshared_ptr_Y.pass.cpp65 std::weak_ptr<B> pB(pA); in main() local
68 assert(pB.use_count() == 1); in main()
83 std::weak_ptr<B> pB(pA); in main() local
86 assert(pB.use_count() == 0); in main()
Dweak_ptr.pass.cpp72 std::weak_ptr<A> pB(pA); in main() local
75 assert(pB.use_count() == 1); in main()
90 std::weak_ptr<A> pB(pA); in main() local
93 assert(pB.use_count() == 0); in main()
/external/opencv/cv/src/
Dcvlkpyramid.cpp1147 CvPoint2D32f *pA = 0, *pB = 0; in cvEstimateRigidTransform() local
1230 CV_CALL( pB = (CvPoint2D32f*)cvAlloc( count*sizeof(pB[0]) )); in cvEstimateRigidTransform()
1241 cvCalcOpticalFlowPyrLK( A, B, 0, 0, pA, pB, count, cvSize(10,10), 3, in cvEstimateRigidTransform()
1251 pB[k] = pB[i]; in cvEstimateRigidTransform()
1265 pB = (CvPoint2D32f*)B->data.ptr; in cvEstimateRigidTransform()
1273 CV_CALL( pB = (CvPoint2D32f*)cvAlloc( count*sizeof(pB[0]) )); in cvEstimateRigidTransform()
1275 _pB = cvMat( B->rows, B->cols, CV_32FC2, pB ); in cvEstimateRigidTransform()
1314 if( fabs(pB[idx[i]].x - pB[idx[j]].x) + in cvEstimateRigidTransform()
1315 fabs(pB[idx[i]].y - pB[idx[j]].y) < MIN_TRIANGLE_SIDE ) in cvEstimateRigidTransform()
1329 b[0] = pB[idx[0]]; in cvEstimateRigidTransform()
[all …]
/external/boringssl/src/crypto/bn/
Dgcd.c544 BIGNUM *pA, *pB; in BN_mod_inverse_no_branch() local
579 pB = &local_B; in BN_mod_inverse_no_branch()
580 BN_with_flags(pB, B, BN_FLG_CONSTTIME); in BN_mod_inverse_no_branch()
581 if (!BN_nnmod(B, pB, A, ctx)) { in BN_mod_inverse_no_branch()
/external/mesa3d/src/gallium/drivers/nv50/codegen/
Dnv50_ir_util.cpp302 void BitSet::setOr(BitSet *pA, BitSet *pB) in setOr() argument
304 if (!pB) { in setOr()
308 data[i] = pA->data[i] | pB->data[i]; in setOr()
/external/deqp/modules/glshared/
DglsFragOpInteractionCase.cpp294 const Vec2 pB (flipX ? -1.0f : 1.0f, flipY ? -1.0f : 1.0f); in renderQuad() local
297 setVertex(posPtr, 1, Vec4(pB.x(), pA.y(), depth, 1.0f)); in renderQuad()
298 setVertex(posPtr, 2, Vec4(pA.x(), pB.y(), depth, 1.0f)); in renderQuad()
299 setVertex(posPtr, 3, Vec4(pB.x(), pB.y(), depth, 1.0f)); in renderQuad()

12