Home
last modified time | relevance | path

Searched refs:pA (Results 1 – 25 of 70) sorted by relevance

123

/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cast/
Dstatic_pointer_cast.pass.cpp46 const std::shared_ptr<A> pA(new A); in main() local
47 std::shared_ptr<B> pB = std::static_pointer_cast<B>(pA); in main()
48 assert(pB.get() == pA.get()); in main()
49 assert(!pB.owner_before(pA) && !pA.owner_before(pB)); in main()
52 const std::shared_ptr<B> pA(new A); in main() local
53 std::shared_ptr<A> pB = std::static_pointer_cast<A>(pA); in main()
54 assert(pB.get() == pA.get()); in main()
55 assert(!pB.owner_before(pA) && !pA.owner_before(pB)); in main()
58 const std::shared_ptr<A> pA; in main() local
59 std::shared_ptr<B> pB = std::static_pointer_cast<B>(pA); in main()
[all …]
Dconst_pointer_cast.pass.cpp46 const std::shared_ptr<const A> pA(new A); in main() local
47 std::shared_ptr<A> pB = std::const_pointer_cast<A>(pA); in main()
48 assert(pB.get() == pA.get()); in main()
49 assert(!pB.owner_before(pA) && !pA.owner_before(pB)); in main()
52 const std::shared_ptr<const A> pA; in main() local
53 std::shared_ptr<A> pB = std::const_pointer_cast<A>(pA); in main()
54 assert(pB.get() == pA.get()); in main()
55 assert(!pB.owner_before(pA) && !pA.owner_before(pB)); in main()
Ddynamic_pointer_cast.pass.cpp47 std::shared_ptr<A> pA = std::dynamic_pointer_cast<A>(pB); in main() local
48 assert(pA.get() == pB.get()); in main()
49 assert(!pB.owner_before(pA) && !pA.owner_before(pB)); in main()
53 std::shared_ptr<A> pA = std::dynamic_pointer_cast<A>(pB); in main() local
54 assert(pA.get() == 0); in main()
55 assert(pA.use_count() == 0); in main()
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.assign/
Dshared_ptr_Y.pass.cpp46 const std::shared_ptr<A> pA(new A); in main() local
47 A* ptrA = pA.get(); in main()
50 pB = pA; in main()
54 assert(pA.use_count() == 2); in main()
55 assert(pA.get() == pB.get()); in main()
58 assert(pA.use_count() == 1); in main()
65 const std::shared_ptr<A> pA; in main() local
66 A* ptrA = pA.get(); in main()
69 pB = pA; in main()
73 assert(pA.use_count() == 0); in main()
[all …]
Dshared_ptr.pass.cpp46 const std::shared_ptr<A> pA(new A); in main() local
47 A* ptrA = pA.get(); in main()
50 pB = pA; in main()
54 assert(pA.use_count() == 2); in main()
55 assert(pA.get() == pB.get()); in main()
58 assert(pA.use_count() == 1); in main()
65 const std::shared_ptr<A> pA; in main() local
66 A* ptrA = pA.get(); in main()
69 pB = pA; in main()
73 assert(pA.use_count() == 0); in main()
[all …]
Dshared_ptr_Y_rv.pass.cpp47 std::shared_ptr<A> pA(new A); in main() local
48 A* ptrA = pA.get(); in main()
51 pB = std::move(pA); in main()
55 assert(pA.use_count() == 0); in main()
56 assert(pA.get() == 0); in main()
59 assert(pA.use_count() == 0); in main()
66 std::shared_ptr<A> pA; in main() local
67 A* ptrA = pA.get(); in main()
70 pB = std::move(pA); in main()
74 assert(pA.use_count() == 0); in main()
[all …]
Dshared_ptr_rv.pass.cpp47 std::shared_ptr<A> pA(new A); in main() local
48 A* ptrA = pA.get(); in main()
51 pB = std::move(pA); in main()
55 assert(pA.use_count() == 0); in main()
56 assert(pA.get() == 0); in main()
59 assert(pA.use_count() == 0); in main()
66 std::shared_ptr<A> pA; in main() local
67 A* ptrA = pA.get(); in main()
70 pB = std::move(pA); in main()
74 assert(pA.use_count() == 0); in main()
[all …]
Dunique_ptr_Y.pass.cpp46 std::unique_ptr<A> pA(new A); in main() local
47 A* ptrA = pA.get(); in main()
50 pB = std::move(pA); in main()
54 assert(pA.get() == 0); in main()
63 std::unique_ptr<A> pA; in main() local
64 A* ptrA = pA.get(); in main()
67 pB = std::move(pA); in main()
71 assert(pA.get() == 0); in main()
80 std::unique_ptr<A> pA(new A); in main() local
81 A* ptrA = pA.get(); in main()
[all …]
Dauto_ptr_Y.pass.cpp46 std::auto_ptr<A> pA(new A); in main() local
47 A* ptrA = pA.get(); in main()
50 pB = std::move(pA); in main()
54 assert(pA.get() == 0); in main()
63 std::auto_ptr<A> pA; in main() local
64 A* ptrA = pA.get(); in main()
67 pB = std::move(pA); in main()
71 assert(pA.get() == 0); in main()
80 std::auto_ptr<A> pA(new A); in main() local
81 A* ptrA = pA.get(); in main()
[all …]
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/
Dshared_ptr_rv.pass.cpp33 std::shared_ptr<A> pA(new A); in main() local
34 assert(pA.use_count() == 1); in main()
37 A* p = pA.get(); in main()
38 std::shared_ptr<A> pA2(std::move(pA)); in main()
41 assert(pA.use_count() == 0); in main()
44 assert(pA.use_count() == 2); in main()
50 assert(pA.use_count() == 0); in main()
53 assert(pA.use_count() == 1); in main()
59 std::shared_ptr<A> pA; in main() local
60 assert(pA.use_count() == 0); in main()
[all …]
Dshared_ptr.pass.cpp33 std::shared_ptr<A> pA(new A); in main() local
34 assert(pA.use_count() == 1); in main()
37 std::shared_ptr<A> pA2(pA); in main()
39 assert(pA.use_count() == 2); in main()
41 assert(pA2.get() == pA.get()); in main()
43 assert(pA.use_count() == 1); in main()
48 std::shared_ptr<A> pA; in main() local
49 assert(pA.use_count() == 0); in main()
52 std::shared_ptr<A> pA2(pA); in main()
54 assert(pA.use_count() == 0); in main()
[all …]
Dshared_ptr_Y_rv.pass.cpp60 std::shared_ptr<A> pA(new A); in main() local
61 assert(pA.use_count() == 1); in main()
65 B* p = pA.get(); in main()
66 std::shared_ptr<B> pB(std::move(pA)); in main()
71 assert(pA.use_count() == 0); in main()
74 assert(pA.use_count() == 2); in main()
79 assert(pA.use_count() == 0); in main()
83 assert(pA.use_count() == 1); in main()
91 std::shared_ptr<A> pA; in main() local
92 assert(pA.use_count() == 0); in main()
[all …]
Dshared_ptr_Y.pass.cpp60 const std::shared_ptr<A> pA(new A); in main() local
61 assert(pA.use_count() == 1); in main()
65 std::shared_ptr<B> pB(pA); in main()
69 assert(pA.use_count() == 2); in main()
70 assert(pA.get() == pB.get()); in main()
72 assert(pA.use_count() == 1); in main()
79 std::shared_ptr<A> pA; in main() local
80 assert(pA.use_count() == 0); in main()
84 std::shared_ptr<B> pB(pA); in main()
88 assert(pA.use_count() == 0); in main()
[all …]
Dshared_ptr_pointer.pass.cpp44 std::shared_ptr<A> pA(new A); in main() local
45 assert(pA.use_count() == 1); in main()
48 std::shared_ptr<B> pB(pA, &b); in main()
51 assert(pA.use_count() == 2); in main()
55 assert(pA.use_count() == 1); in main()
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/
Dweak_ptr.pass.cpp65 const std::weak_ptr<A> pA(ps); in main() local
66 assert(pA.use_count() == 1); in main()
70 std::weak_ptr<A> pB(pA); in main()
74 assert(pA.use_count() == 1); in main()
76 assert(pA.use_count() == 1); in main()
83 std::weak_ptr<A> pA; in main() local
84 assert(pA.use_count() == 0); in main()
88 std::weak_ptr<A> pB(pA); in main()
92 assert(pA.use_count() == 0); in main()
94 assert(pA.use_count() == 0); in main()
[all …]
Dweak_ptr_Y.pass.cpp67 const std::weak_ptr<A> pA(std::shared_ptr<A>(new A)); in main() local
68 assert(pA.use_count() == 0); in main()
72 std::weak_ptr<B> pB(pA); in main()
76 assert(pA.use_count() == 0); in main()
78 assert(pA.use_count() == 0); in main()
85 std::weak_ptr<A> pA; in main() local
86 assert(pA.use_count() == 0); in main()
90 std::weak_ptr<B> pB(pA); in main()
94 assert(pA.use_count() == 0); in main()
96 assert(pA.use_count() == 0); in main()
[all …]
Dshared_ptr_Y.pass.cpp60 const std::shared_ptr<A> pA(new A); in main() local
61 assert(pA.use_count() == 1); in main()
65 std::weak_ptr<B> pB(pA); in main()
69 assert(pA.use_count() == 1); in main()
71 assert(pA.use_count() == 1); in main()
78 std::shared_ptr<A> pA; in main() local
79 assert(pA.use_count() == 0); in main()
83 std::weak_ptr<B> pB(pA); in main()
87 assert(pA.use_count() == 0); in main()
89 assert(pA.use_count() == 0); in main()
/external/chromium_org/third_party/sqlite/src/src/
Drowset.c206 struct RowSetEntry *pA, /* First sorted list to be merged */ in rowSetMerge() argument
213 while( pA && pB ){ in rowSetMerge()
214 assert( pA->pRight==0 || pA->v<=pA->pRight->v ); in rowSetMerge()
216 if( pA->v<pB->v ){ in rowSetMerge()
217 pTail->pRight = pA; in rowSetMerge()
218 pA = pA->pRight; in rowSetMerge()
220 }else if( pB->v<pA->v ){ in rowSetMerge()
225 pA = pA->pRight; in rowSetMerge()
228 if( pA ){ in rowSetMerge()
229 assert( pA->pRight==0 || pA->v<=pA->pRight->v ); in rowSetMerge()
[all …]
Dtest_fuzzer.c235 static fuzzer_rule *fuzzerMergeRules(fuzzer_rule *pA, fuzzer_rule *pB){ in fuzzerMergeRules() argument
240 while( pA && pB ){ in fuzzerMergeRules()
241 if( pA->rCost<=pB->rCost ){ in fuzzerMergeRules()
242 pTail->pNext = pA; in fuzzerMergeRules()
243 pTail = pA; in fuzzerMergeRules()
244 pA = pA->pNext; in fuzzerMergeRules()
251 if( pA==0 ){ in fuzzerMergeRules()
254 pTail->pNext = pA; in fuzzerMergeRules()
467 static fuzzer_stem *fuzzerMergeStems(fuzzer_stem *pA, fuzzer_stem *pB){ in fuzzerMergeStems() argument
472 while( pA && pB ){ in fuzzerMergeStems()
[all …]
/external/llvm/test/CodeGen/X86/
DSwizzleShuff.ll8 define void @pull_bitcast (<4 x i8>* %pA, <4 x i8>* %pB) {
9 %A = load <4 x i8>* %pA
12 store <4 x i8> %C, <4 x i8>* %pA
23 define <4 x i32> @multi_use_swizzle (<4 x i32>* %pA, <4 x i32>* %pB) {
24 %A = load <4 x i32>* %pA
36 define <4 x i8> @pull_bitcast2 (<4 x i8>* %pA, <4 x i8>* %pB, <4 x i8>* %pC) {
37 %A = load <4 x i8>* %pA
41 store <4 x i8> %C, <4 x i8>* %pA
50 define <4 x i32> @reverse_1 (<4 x i32>* %pA, <4 x i32>* %pB) {
51 %A = load <4 x i32>* %pA
[all …]
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.assign/
Dweak_ptr_Y.pass.cpp47 const std::weak_ptr<A> pA(ps); in main() local
50 pB = pA; in main()
54 assert(pA.use_count() == 1); in main()
56 assert(pA.use_count() == 1); in main()
65 std::weak_ptr<A> pA(ps); in main() local
68 pB = std::move(pA); in main()
Dweak_ptr.pass.cpp47 const std::weak_ptr<A> pA(ps); in main() local
50 pB = pA; in main()
54 assert(pA.use_count() == 1); in main()
56 assert(pA.use_count() == 1); in main()
65 std::weak_ptr<A> pA(ps); in main() local
68 pB = std::move(pA); in main()
Dshared_ptr_Y.pass.cpp46 const std::shared_ptr<A> pA(new A); in main() local
49 pB = pA; in main()
53 assert(pA.use_count() == 1); in main()
55 assert(pA.use_count() == 1); in main()
/external/openssl/crypto/bn/asm/
Dmodexp512-x86_64.pl376 my ($pDst, $pA, $pB, $OP, $TMP, $X)=@_;
378 mov (+8*12)($pA), $OP
380 &MULSTEP_512_ADD($X, "(+8*0)($pDst)", $pB, $pA, $OP, $TMP);
384 mov (+8*13)($pA), $OP
390 mov (+8*14)($pA), $OP
396 mov (+8*15)($pA), $OP
627 my ($pDst, $pA, $pB, $x, $OP, $TMP, $pDst_o)=@_;
632 mov (+8*0)($pA), $OP
651 mov (+8*$i)($pA), $OP
711 my ($pDst, $pA, $x, $A, $tmp, $x7, $x6, $pDst_o)=@_;
[all …]
/external/chromium_org/third_party/boringssl/src/crypto/bn/asm/
Dmodexp512-x86_64.pl376 my ($pDst, $pA, $pB, $OP, $TMP, $X)=@_;
378 mov (+8*12)($pA), $OP
380 &MULSTEP_512_ADD($X, "(+8*0)($pDst)", $pB, $pA, $OP, $TMP);
384 mov (+8*13)($pA), $OP
390 mov (+8*14)($pA), $OP
396 mov (+8*15)($pA), $OP
627 my ($pDst, $pA, $pB, $x, $OP, $TMP, $pDst_o)=@_;
632 mov (+8*0)($pA), $OP
651 mov (+8*$i)($pA), $OP
711 my ($pDst, $pA, $x, $A, $tmp, $x7, $x6, $pDst_o)=@_;
[all …]

123