Searched refs:pA (Results 1 - 25 of 53) sorted by relevance

123

/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cast/
H A Dstatic_pointer_cast.pass.cpp46 const std::shared_ptr<A> pA(new A);
47 std::shared_ptr<B> pB = std::static_pointer_cast<B>(pA);
48 assert(pB.get() == pA.get());
49 assert(!pB.owner_before(pA) && !pA.owner_before(pB));
52 const std::shared_ptr<B> pA(new A);
53 std::shared_ptr<A> pB = std::static_pointer_cast<A>(pA);
54 assert(pB.get() == pA.get());
55 assert(!pB.owner_before(pA) && !pA
58 const std::shared_ptr<A> pA; local
64 const std::shared_ptr<B> pA; local
[all...]
H A Dconst_pointer_cast.pass.cpp46 const std::shared_ptr<const A> pA(new A);
47 std::shared_ptr<A> pB = std::const_pointer_cast<A>(pA);
48 assert(pB.get() == pA.get());
49 assert(!pB.owner_before(pA) && !pA.owner_before(pB));
52 const std::shared_ptr<const A> pA; local
53 std::shared_ptr<A> pB = std::const_pointer_cast<A>(pA);
54 assert(pB.get() == pA.get());
55 assert(!pB.owner_before(pA) && !pA
[all...]
H A Ddynamic_pointer_cast.pass.cpp47 std::shared_ptr<A> pA = std::dynamic_pointer_cast<A>(pB); local
48 assert(pA.get() == pB.get());
49 assert(!pB.owner_before(pA) && !pA.owner_before(pB));
53 std::shared_ptr<A> pA = std::dynamic_pointer_cast<A>(pB); local
54 assert(pA.get() == 0);
55 assert(pA.use_count() == 0);
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/
H A Dshared_ptr_rv.pass.cpp33 std::shared_ptr<A> pA(new A);
34 assert(pA.use_count() == 1);
37 A* p = pA.get();
38 std::shared_ptr<A> pA2(std::move(pA));
41 assert(pA.use_count() == 0);
44 assert(pA.use_count() == 2);
50 assert(pA.use_count() == 0);
53 assert(pA.use_count() == 1);
59 std::shared_ptr<A> pA; local
60 assert(pA
[all...]
H A Dshared_ptr.pass.cpp33 std::shared_ptr<A> pA(new A);
34 assert(pA.use_count() == 1);
37 std::shared_ptr<A> pA2(pA);
39 assert(pA.use_count() == 2);
41 assert(pA2.get() == pA.get());
43 assert(pA.use_count() == 1);
48 std::shared_ptr<A> pA; local
49 assert(pA.use_count() == 0);
52 std::shared_ptr<A> pA2(pA);
54 assert(pA
[all...]
H A Dshared_ptr_Y_rv.pass.cpp60 std::shared_ptr<A> pA(new A);
61 assert(pA.use_count() == 1);
65 B* p = pA.get();
66 std::shared_ptr<B> pB(std::move(pA));
71 assert(pA.use_count() == 0);
74 assert(pA.use_count() == 2);
79 assert(pA.use_count() == 0);
83 assert(pA.use_count() == 1);
91 std::shared_ptr<A> pA; local
92 assert(pA
[all...]
H A Dshared_ptr_pointer.pass.cpp44 std::shared_ptr<A> pA(new A);
45 assert(pA.use_count() == 1);
48 std::shared_ptr<B> pB(pA, &b);
51 assert(pA.use_count() == 2);
55 assert(pA.use_count() == 1);
H A Dshared_ptr_Y.pass.cpp60 const std::shared_ptr<A> pA(new A);
61 assert(pA.use_count() == 1);
65 std::shared_ptr<B> pB(pA);
69 assert(pA.use_count() == 2);
70 assert(pA.get() == pB.get());
72 assert(pA.use_count() == 1);
79 std::shared_ptr<A> pA; local
80 assert(pA.use_count() == 0);
84 std::shared_ptr<B> pB(pA);
88 assert(pA
[all...]
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.assign/
H A Dshared_ptr.pass.cpp46 const std::shared_ptr<A> pA(new A);
47 A* ptrA = pA.get();
50 pB = pA;
54 assert(pA.use_count() == 2);
55 assert(pA.get() == pB.get());
58 assert(pA.use_count() == 1);
65 const std::shared_ptr<A> pA; local
66 A* ptrA = pA.get();
69 pB = pA;
73 assert(pA
103 const std::shared_ptr<A> pA; local
[all...]
H A Dshared_ptr_Y.pass.cpp46 const std::shared_ptr<A> pA(new A);
47 A* ptrA = pA.get();
50 pB = pA;
54 assert(pA.use_count() == 2);
55 assert(pA.get() == pB.get());
58 assert(pA.use_count() == 1);
65 const std::shared_ptr<A> pA; local
66 A* ptrA = pA.get();
69 pB = pA;
73 assert(pA
103 const std::shared_ptr<A> pA; local
[all...]
H A Dshared_ptr_Y_rv.pass.cpp47 std::shared_ptr<A> pA(new A);
48 A* ptrA = pA.get();
51 pB = std::move(pA);
55 assert(pA.use_count() == 0);
56 assert(pA.get() == 0);
59 assert(pA.use_count() == 0);
66 std::shared_ptr<A> pA; local
67 A* ptrA = pA.get();
70 pB = std::move(pA);
74 assert(pA
104 std::shared_ptr<A> pA; local
[all...]
H A Dshared_ptr_rv.pass.cpp47 std::shared_ptr<A> pA(new A);
48 A* ptrA = pA.get();
51 pB = std::move(pA);
55 assert(pA.use_count() == 0);
56 assert(pA.get() == 0);
59 assert(pA.use_count() == 0);
66 std::shared_ptr<A> pA; local
67 A* ptrA = pA.get();
70 pB = std::move(pA);
74 assert(pA
104 std::shared_ptr<A> pA; local
[all...]
H A Dauto_ptr_Y.pass.cpp46 std::auto_ptr<A> pA(new A);
47 A* ptrA = pA.get();
50 pB = std::move(pA);
54 assert(pA.get() == 0);
63 std::auto_ptr<A> pA; local
64 A* ptrA = pA.get();
67 pB = std::move(pA);
71 assert(pA.get() == 0);
80 std::auto_ptr<A> pA(new A);
81 A* ptrA = pA
97 std::auto_ptr<A> pA; local
[all...]
H A Dunique_ptr_Y.pass.cpp46 std::unique_ptr<A> pA(new A);
47 A* ptrA = pA.get();
50 pB = std::move(pA);
54 assert(pA.get() == 0);
63 std::unique_ptr<A> pA; local
64 A* ptrA = pA.get();
67 pB = std::move(pA);
71 assert(pA.get() == 0);
80 std::unique_ptr<A> pA(new A);
81 A* ptrA = pA
97 std::unique_ptr<A> pA; local
[all...]
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/
H A Dshared_ptr_Y.pass.cpp60 const std::shared_ptr<A> pA(new A);
61 assert(pA.use_count() == 1);
65 std::weak_ptr<B> pB(pA);
69 assert(pA.use_count() == 1);
71 assert(pA.use_count() == 1);
78 std::shared_ptr<A> pA; local
79 assert(pA.use_count() == 0);
83 std::weak_ptr<B> pB(pA);
87 assert(pA.use_count() == 0);
89 assert(pA
[all...]
H A Dweak_ptr.pass.cpp67 const std::weak_ptr<A> pA(ps);
68 assert(pA.use_count() == 1);
72 std::weak_ptr<A> pB(pA);
76 assert(pA.use_count() == 1);
78 assert(pA.use_count() == 1);
85 std::weak_ptr<A> pA; local
86 assert(pA.use_count() == 0);
90 std::weak_ptr<A> pB(pA);
94 assert(pA.use_count() == 0);
96 assert(pA
106 std::weak_ptr<A> pA = source(ps); local
[all...]
H A Dweak_ptr_Y.pass.cpp64 const std::weak_ptr<A> pA(std::shared_ptr<A>(new A));
65 assert(pA.use_count() == 0);
69 std::weak_ptr<B> pB(pA);
73 assert(pA.use_count() == 0);
75 assert(pA.use_count() == 0);
82 std::weak_ptr<A> pA; local
83 assert(pA.use_count() == 0);
87 std::weak_ptr<B> pB(pA);
91 assert(pA.use_count() == 0);
93 assert(pA
102 std::weak_ptr<A> pA = source(ps); local
[all...]
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.assign/
H A Dshared_ptr_Y.pass.cpp46 const std::shared_ptr<A> pA(new A);
49 pB = pA;
53 assert(pA.use_count() == 1);
55 assert(pA.use_count() == 1);
H A Dweak_ptr.pass.cpp47 const std::weak_ptr<A> pA(ps);
50 pB = pA;
54 assert(pA.use_count() == 1);
56 assert(pA.use_count() == 1);
65 std::weak_ptr<A> pA(ps);
68 pB = std::move(pA);
H A Dweak_ptr_Y.pass.cpp47 const std::weak_ptr<A> pA(ps);
50 pB = pA;
54 assert(pA.use_count() == 1);
56 assert(pA.use_count() == 1);
65 std::weak_ptr<A> pA(ps);
68 pB = std::move(pA);
/external/pdfium/fpdfsdk/src/pdfwindow/
H A DPWL_Icon.cpp130 CPDF_Array* pA = local
132 if (pA) {
133 FX_DWORD dwCount = pA->GetCount();
135 fLeft = pA->GetNumber(0);
137 fBottom = pA->GetNumber(1);
/external/opencv/cv/src/
H A Dcvlkpyramid.cpp1147 CvPoint2D32f *pA = 0, *pB = 0; local
1229 CV_CALL( pA = (CvPoint2D32f*)cvAlloc( count*sizeof(pA[0]) ));
1236 pA[k].x = (j+0.5f)*sz1.width/count_x;
1237 pA[k].y = (i+0.5f)*sz1.height/count_y;
1241 cvCalcOpticalFlowPyrLK( A, B, 0, 0, pA, pB, count, cvSize(10,10), 3,
1250 pA[k] = pA[i];
1264 pA = (CvPoint2D32f*)A->data.ptr;
1272 CV_CALL( pA
[all...]
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Collision/
H A Db2CollideCircle.cpp30 b2Vec2 pA = b2Mul(xfA, circleA->m_p); local
33 b2Vec2 d = pB - pA;
H A Db2Distance.cpp213 void GetWitnessPoints(b2Vec2* pA, b2Vec2* pB) const argument
222 *pA = m_v1.wA;
227 *pA = m_v1.a * m_v1.wA + m_v2.a * m_v2.wA;
232 *pA = m_v1.a * m_v1.wA + m_v2.a * m_v2.wA + m_v3.a * m_v3.wA;
233 *pB = *pA;
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/collision/
H A DDistance.java232 public void getWitnessPoints(Vec2 pA, Vec2 pB) { argument
239 pA.set(m_v1.wA);
245 pA.set(m_v2.wA).mulLocal(m_v2.a).addLocal(case2);
254 pA.set(m_v1.wA).mulLocal(m_v1.a);
257 pA.addLocal(case3).addLocal(case33);
258 pB.set(pA);
259 // *pA = m_v1.a * m_v1.wA + m_v2.a * m_v2.wA + m_v3.a * m_v3.wA;
260 // *pB = *pA;

Completed in 1107 milliseconds

123