/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cast/ |
const_pointer_cast.pass.cpp | 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)); 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.owner_before(pB));
|
static_pointer_cast.pass.cpp | 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)); 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.owner_before(pB)); 59 std::shared_ptr<B> pB = std::static_pointer_cast<B>(pA); 60 assert(pB.get() == pA.get()) [all...] |
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.assign/ |
shared_ptr_Y.pass.cpp | 48 std::weak_ptr<B> pB; 49 pB = pA; 52 assert(pB.use_count() == 1);
|
weak_ptr.pass.cpp | 49 std::weak_ptr<A> pB; 50 pB = pA; 53 assert(pB.use_count() == 1); 67 std::weak_ptr<A> pB; 68 pB = std::move(pA); 71 assert(pB.use_count() == 1);
|
weak_ptr_Y.pass.cpp | 49 std::weak_ptr<B> pB; 50 pB = pA; 53 assert(pB.use_count() == 1); 67 std::weak_ptr<B> pB; 68 pB = std::move(pA); 71 assert(pB.use_count() == 1);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cast/ |
const_pointer_cast.pass.cpp | 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)); 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.owner_before(pB));
|
static_pointer_cast.pass.cpp | 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)); 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.owner_before(pB)); 59 std::shared_ptr<B> pB = std::static_pointer_cast<B>(pA); 60 assert(pB.get() == pA.get()) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.assign/ |
shared_ptr_Y.pass.cpp | 48 std::weak_ptr<B> pB; 49 pB = pA; 52 assert(pB.use_count() == 1);
|
weak_ptr.pass.cpp | 49 std::weak_ptr<A> pB; 50 pB = pA; 53 assert(pB.use_count() == 1); 67 std::weak_ptr<A> pB; 68 pB = std::move(pA); 71 assert(pB.use_count() == 1);
|
weak_ptr_Y.pass.cpp | 49 std::weak_ptr<B> pB; 50 pB = pA; 53 assert(pB.use_count() == 1); 67 std::weak_ptr<B> pB; 68 pB = std::move(pA); 71 assert(pB.use_count() == 1);
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.assign/ |
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; 84 pB = std::move(pA) [all...] |
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.get() == ptrA) [all...] |
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.get() == ptrA) [all...] |
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; 89 pB = std::move(pA) [all...] |
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; 89 pB = std::move(pA) [all...] |
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; 84 pB = std::move(pA) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.assign/ |
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; 84 pB = std::move(pA) [all...] |
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.get() == ptrA) [all...] |
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.get() == ptrA) [all...] |
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; 89 pB = std::move(pA) [all...] |
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; 89 pB = std::move(pA) [all...] |
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); 72 assert(pB.get() == ptrA); 83 std::shared_ptr<B> pB; 84 pB = std::move(pA) [all...] |
/external/boringssl/src/crypto/bn/ |
gcd.c | 555 BIGNUM *pA, *pB; 592 pB = &local_B; 593 BN_with_flags(pB, B, BN_FLG_CONSTTIME); 594 if (!BN_nnmod(B, pB, A, ctx)) {
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Collision/ |
b2CollideCircle.cpp | 31 b2Vec2 pB = b2Mul(xfB, circleB->m_p); 33 b2Vec2 d = pB - pA;
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/Joints/ |
b2GearJoint.cpp | 120 b2Vec2 pB = b2MulT(xfD.q, b2Mul(xfB.q, m_localAnchorB) + (xfB.p - xfD.p)); 121 coordinateB = b2Dot(pB - pD, m_localAxisD); 336 b2Vec2 pB = b2MulT(qD, rB + (cB - cD)); 337 coordinateB = b2Dot(pB - pD, m_localAxisD);
|