Searched defs:pA (Results 1 - 25 of 38) sorted by relevance

12

/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/
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_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_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...]
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...]
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cast/
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);
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...]
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.assign/
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 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 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/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.cpp65 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; local
84 assert(pA.use_count() == 0);
88 std::weak_ptr<A> pB(pA);
92 assert(pA.use_count() == 0);
94 assert(pA
103 std::weak_ptr<A> pA = source(ps); local
[all...]
H A Dweak_ptr_Y.pass.cpp67 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; local
86 assert(pA.use_count() == 0);
90 std::weak_ptr<B> pB(pA);
94 assert(pA.use_count() == 0);
96 assert(pA
105 std::weak_ptr<A> pA = source(ps); local
[all...]
/external/chromium_org/third_party/boringssl/src/crypto/bn/
H A Dgcd.c548 BIGNUM *pA, *pB; local
612 pA = &local_A;
613 BN_with_flags(pA, A, BN_FLG_CONSTTIME);
616 if (!BN_div(D, M, pA, B, ctx)) {
/external/openssl/crypto/bn/
H A Dbn_gcd.c512 BIGNUM *pA, *pB; local
571 pA = &local_A;
572 BN_with_flags(pA, A, BN_FLG_CONSTTIME);
575 if (!BN_div(D,M,pA,B,ctx)) goto err;
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/
H A Dnv50_ir_util.cpp302 void BitSet::setOr(BitSet *pA, BitSet *pB) argument
305 *this = *pA;
308 data[i] = pA->data[i] | pB->data[i];
/external/chromium_org/third_party/sqlite/src/src/
H A Dpcache.c454 static PgHdr *pcacheMergeDirtyList(PgHdr *pA, PgHdr *pB){ argument
457 while( pA && pB ){
458 if( pA->pgno<pB->pgno ){
459 pTail->pDirty = pA;
460 pTail = pA;
461 pA = pA->pDirty;
468 if( pA ){
469 pTail->pDirty = pA;
H A Drowset.c206 struct RowSetEntry *pA, /* First sorted list to be merged */
213 while( pA && pB ){
214 assert( pA->pRight==0 || pA->v<=pA->pRight->v );
216 if( pA->v<pB->v ){
217 pTail->pRight = pA;
218 pA = pA->pRight;
220 }else if( pB->v<pA
205 rowSetMerge( struct RowSetEntry *pA, struct RowSetEntry *pB ) argument
[all...]
/external/chromium_org/third_party/sqlite/src/tool/
H A Dmkkeywordhash.c298 const Keyword *pA = (Keyword*)a; local
300 int n = pA->len - pB->len;
302 n = strcmp(pA->zName, pB->zName);
308 const Keyword *pA = (Keyword*)a; local
310 int n = pB->longestSuffix - pA->longestSuffix;
312 n = strcmp(pA->zName, pB->zName);
318 const Keyword *pA = (Keyword*)a; local
320 int n = pA->offset - pB->offset;
321 if( n==0 ) n = pB->id - pA->id;
/external/mesa3d/src/gallium/drivers/nv50/codegen/
H A Dnv50_ir_util.cpp302 void BitSet::setOr(BitSet *pA, BitSet *pB) argument
305 *this = *pA;
308 data[i] = pA->data[i] | pB->data[i];
/external/pdfium/fpdfsdk/src/pdfwindow/
H A DPWL_Icon.cpp163 CPDF_Array* pA = m_pIconFit->m_pDict->GetArray("A"); local
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/pdfium/core/src/fpdfdoc/
H A Ddoc_tagged.cpp368 CPDF_Object* pA = m_pDict->GetElementValue(FX_BSTRC("A")); local
369 if (pA) {
370 CPDF_Dictionary* pAttrDict = FindAttrDict(pA, owner);

Completed in 422 milliseconds

12