/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/ |
shared_ptr_pointer.pass.cpp | 44 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);
|
shared_ptr_Y.pass.cpp | 60 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; 80 assert(pA.use_count() == 0); 84 std::shared_ptr<B> pB(pA); 88 assert(pA.use_count() == 0) [all...] |
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/ |
shared_ptr_Y.pass.cpp | 60 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; 79 assert(pA.use_count() == 0); 83 std::weak_ptr<B> pB(pA); 87 assert(pA.use_count() == 0); 89 assert(pA.use_count() == 0) [all...] |
weak_ptr.pass.cpp | 67 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; 86 assert(pA.use_count() == 0); 90 std::weak_ptr<A> pB(pA); 94 assert(pA.use_count() == 0); 96 assert(pA.use_count() == 0) [all...] |
weak_ptr_Y.pass.cpp | 64 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; 83 assert(pA.use_count() == 0); 87 std::weak_ptr<B> pB(pA); 91 assert(pA.use_count() == 0); 93 assert(pA.use_count() == 0) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/ |
shared_ptr_Y.pass.cpp | 60 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; 79 assert(pA.use_count() == 0); 83 std::weak_ptr<B> pB(pA); 87 assert(pA.use_count() == 0); 89 assert(pA.use_count() == 0) [all...] |
weak_ptr.pass.cpp | 65 const std::weak_ptr<A> pA(ps); 66 assert(pA.use_count() == 1); 70 std::weak_ptr<A> pB(pA); 74 assert(pA.use_count() == 1); 76 assert(pA.use_count() == 1); 83 std::weak_ptr<A> pA; 84 assert(pA.use_count() == 0); 88 std::weak_ptr<A> pB(pA); 92 assert(pA.use_count() == 0); 94 assert(pA.use_count() == 0) [all...] |
weak_ptr_Y.pass.cpp | 67 const std::weak_ptr<A> pA(std::shared_ptr<A>(new A)); 68 assert(pA.use_count() == 0); 72 std::weak_ptr<B> pB(pA); 76 assert(pA.use_count() == 0); 78 assert(pA.use_count() == 0); 85 std::weak_ptr<A> pA; 86 assert(pA.use_count() == 0); 90 std::weak_ptr<B> pB(pA); 94 assert(pA.use_count() == 0); 96 assert(pA.use_count() == 0) [all...] |
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/ |
shared_ptr_Y.pass.cpp | 60 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; 80 assert(pA.use_count() == 0); 84 std::shared_ptr<B> pB(pA); 88 assert(pA.use_count() == 0) [all...] |
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.assign/ |
shared_ptr_Y.pass.cpp | 46 const std::shared_ptr<A> pA(new A); 49 pB = pA; 53 assert(pA.use_count() == 1); 55 assert(pA.use_count() == 1);
|
weak_ptr.pass.cpp | 47 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);
|
weak_ptr_Y.pass.cpp | 47 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);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.assign/ |
shared_ptr_Y.pass.cpp | 46 const std::shared_ptr<A> pA(new A); 49 pB = pA; 53 assert(pA.use_count() == 1); 55 assert(pA.use_count() == 1);
|
weak_ptr.pass.cpp | 47 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);
|
weak_ptr_Y.pass.cpp | 47 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/ |
PWL_Icon.cpp | 163 CPDF_Array* pA = m_pIconFit->m_pDict ? m_pIconFit->m_pDict->GetArray("A") : NULL; 164 if (pA != NULL) 166 FX_DWORD dwCount = pA->GetCount(); 167 if (dwCount > 0) fLeft = pA->GetNumber(0); 168 if (dwCount > 1) fBottom = pA->GetNumber(1);
|
/external/opencv/cv/src/ |
cvlkpyramid.cpp | [all...] |
cvsubdivision2d.cpp | 521 CvSubdiv2DPoint *pA, *pB, *pC; 547 pA = cvSubdiv2DAddPoint( subdiv, ppA, 0 ); 555 cvSubdiv2DSetEdgePoints( edge_AB, pA, pB ); 557 cvSubdiv2DSetEdgePoints( edge_CA, pC, pA );
|
/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
nv50_ir_util.cpp | 302 void BitSet::setOr(BitSet *pA, BitSet *pB) 305 *this = *pA; 308 data[i] = pA->data[i] | pB->data[i];
|
/external/boringssl/src/crypto/bn/ |
gcd.c | 544 BIGNUM *pA, *pB; 605 pA = &local_A; 606 BN_with_flags(pA, A, BN_FLG_CONSTTIME); 609 if (!BN_div(D, M, pA, B, ctx)) {
|
/frameworks/compile/mclinker/unittests/ |
HashTableTest.cpp | 62 int* pA = &A; 70 hashTable->insert(pA, exist);
|
/external/deqp/modules/glshared/ |
glsFragOpInteractionCase.cpp | 293 const Vec2 pA (flipX ? 1.0f : -1.0f, flipY ? 1.0f : -1.0f); 296 setVertex(posPtr, 0, Vec4(pA.x(), pA.y(), depth, 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));
|
/external/pdfium/core/src/fpdfdoc/ |
doc_utils.cpp | 684 CPDF_Array* pA = m_pDict->GetArray("A"); 685 if (pA != NULL) { 686 FX_DWORD dwCount = pA->GetCount(); 688 fLeft = pA->GetNumber(0); 691 fBottom = pA->GetNumber(1);
|
doc_tagged.cpp | 358 CPDF_Object* pA = m_pDict->GetElementValue(FX_BSTRC("A")); 359 if (pA) { 360 CPDF_Dictionary* pAttrDict = FindAttrDict(pA, owner);
|
/hardware/qcom/display/msm8084/liboverlay/ |
overlayUtils.h | 363 int pA = DEFAULT_PLANE_ALPHA, eBlending b = OVERLAY_BLENDING_COVERAGE) : 369 planeAlpha(pA),
|