Home
last modified time | relevance | path

Searched refs:p2 (Results 1 – 25 of 1121) sorted by relevance

12345678910>>...45

/external/libnfc-nci/src/include/
Dbt_trace.h168 extern void LogMsg_2 (UINT32 trace_set_mask, const char *fmt_str, UINT32 p1, UINT32 p2);
169 extern void LogMsg_3 (UINT32 trace_set_mask, const char *fmt_str, UINT32 p1, UINT32 p2,
171 extern void LogMsg_4 (UINT32 trace_set_mask, const char *fmt_str, UINT32 p1, UINT32 p2,
173 extern void LogMsg_5 (UINT32 trace_set_mask, const char *fmt_str, UINT32 p1, UINT32 p2,
175 extern void LogMsg_6 (UINT32 trace_set_mask, const char *fmt_str, UINT32 p1, UINT32 p2,
591 #define BT_TRACE_2(l,t,m,p1,p2) LogMsg_2(TRACE_CTRL_GENERAL | (l) | TRACE_ORG_S… argument
592 (UINT32)(p2))
593 #define BT_TRACE_3(l,t,m,p1,p2,p3) LogMsg_3(TRACE_CTRL_GENERAL | (l) | TRACE_ORG_S… argument
594 (UINT32)(p2),(UINT32)(p3))
595 #define BT_TRACE_4(l,t,m,p1,p2,p3,p4) LogMsg_4(TRACE_CTRL_GENERAL | (l) | TRACE_ORG_S… argument
[all …]
Dgki_target.h392 …ine GKI_TRACE_2(m,p1,p2) LogMsg(TRACE_CTRL_GENERAL | TRACE_LAYER_GKI | TRACE_OR… argument
393 …ine GKI_TRACE_3(m,p1,p2,p3) LogMsg(TRACE_CTRL_GENERAL | TRACE_LAYER_GKI | TRACE_OR… argument
394 …ine GKI_TRACE_4(m,p1,p2,p3,p4) LogMsg(TRACE_CTRL_GENERAL | TRACE_LAYER_GKI | TRACE_OR… argument
395 …ine GKI_TRACE_5(m,p1,p2,p3,p4,p5) LogMsg(TRACE_CTRL_GENERAL | TRACE_LAYER_GKI | TRACE_OR… argument
396 …ine GKI_TRACE_6(m,p1,p2,p3,p4,p5,p6) LogMsg(TRACE_CTRL_GENERAL | TRACE_LAYER_GKI | TRACE_OR… argument
400 #define GKI_TRACE_2(m,p1,p2) argument
401 #define GKI_TRACE_3(m,p1,p2,p3) argument
402 #define GKI_TRACE_4(m,p1,p2,p3,p4) argument
403 #define GKI_TRACE_5(m,p1,p2,p3,p4,p5) argument
404 #define GKI_TRACE_6(m,p1,p2,p3,p4,p5,p6) argument
[all …]
/external/libcxx/test/std/utilities/utility/pairs/pairs.spec/
Dcomparison.pass.cpp29 P p2(3, 4); in main() local
30 assert( (p1 == p2)); in main()
31 assert(!(p1 != p2)); in main()
32 assert(!(p1 < p2)); in main()
33 assert( (p1 <= p2)); in main()
34 assert(!(p1 > p2)); in main()
35 assert( (p1 >= p2)); in main()
40 P p2(3, 4); in main() local
41 assert(!(p1 == p2)); in main()
42 assert( (p1 != p2)); in main()
[all …]
/external/icu/icu4c/source/test/perf/collperf2/
DCollPerf2_r.pl50 my $p1, $p2;
54 …$p2 = "cd ".$ICULatest."/bin && ".$ICUPathLatest."/collperf2/$WindowsPlatform/Release/collperf2.ex…
57 …$p2 = "LD_LIBRARY_PATH=".$ICULatest."/lib:".$ICULatest."/tools/ctestfw ".$ICULatest."/test/perf/co…
61 "ucol_strcoll/len", ["$p1,TestStrcoll", "$p2,TestStrcoll"],
62 "ucol_strcoll/null", ["$p1,TestStrcollNull", "$p2,TestStrcollNull"],
63 "ucol_strcoll/len/similar", ["$p1,TestStrcollSimilar", "$p2,TestStrcollSimilar"],
65 "ucol_strcollUTF8/len", ["$p1,TestStrcollUTF8", "$p2,TestStrcollUTF8"],
66 "ucol_strcollUTF8/null", ["$p1,TestStrcollUTF8Null", "$p2,TestStrcollUTF8Null"],
67 "ucol_strcollUTF8/len/similar", ["$p1,TestStrcollUTF8Similar", "$p2,TestStrcollUTF8Similar"],
69 "ucol_getSortKey/len", ["$p1,TestGetSortKey", "$p2,TestGetSortKey"],
[all …]
/external/libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.special/
Drel.pass.cpp60 const std::unique_ptr<A, Deleter<A> > p2(new A); in main() local
61 assert((p1 < p2) == !(p1 > p2)); in main()
62 assert((p1 < p2) == (p1 <= p2)); in main()
63 assert((p1 < p2) == !(p1 >= p2)); in main()
67 const std::unique_ptr<B, Deleter<B> > p2(new B); in main() local
68 assert((p1 < p2) == !(p1 > p2)); in main()
69 assert((p1 < p2) == (p1 <= p2)); in main()
70 assert((p1 < p2) == !(p1 >= p2)); in main()
74 const std::unique_ptr<A[], Deleter<A[]> > p2(new A[3]); in main() local
75 assert((p1 < p2) == !(p1 > p2)); in main()
[all …]
Deq.pass.cpp52 const std::unique_ptr<A, Deleter<A> > p2(new A); in main() local
53 assert(!(p1 == p2)); in main()
54 assert(p1 != p2); in main()
58 const std::unique_ptr<B, Deleter<B> > p2(new B); in main() local
59 assert(!(p1 == p2)); in main()
60 assert(p1 != p2); in main()
64 const std::unique_ptr<A[], Deleter<A[]> > p2(new A[3]); in main() local
65 assert(!(p1 == p2)); in main()
66 assert(p1 != p2); in main()
70 const std::unique_ptr<B[], Deleter<B[]> > p2(new B[3]); in main() local
[all …]
/external/valgrind/none/tests/mips64/
Dcvm_atomic_thread.c311 long long int* p2[N]; in main() local
325 p2[i] = (long long int*)(page[i]+256); in main()
328 assert( IS_8_ALIGNED(p2[i]) ); in main()
334 *p2[i] = 0; in main()
348 atomic_saad(p2[0], i+98765 ); /* ensure we hit the upper 32 bits */ in main()
350 atomic_laad(p2[1], i+98765 ); /* ensure we hit the upper 32 bits */ in main()
352 atomic_lawd(p2[2], i+98765 ); /* ensure we hit the upper 32 bits */ in main()
354 atomic_laid(p2[3]); in main()
356 atomic_ladd(p2[4]); in main()
358 atomic_lacd(p2[5]); in main()
[all …]
/external/libnfc-nci/src/hal/include/
Dnfc_hal_target.h176 #define NCI_TRACE_2(l,t,m,p1,p2) LogMsg(TRACE_CTRL_GENERAL | (l) | TRACE_ORG_ST… argument
177 (UINTPTR)(p2))
178 #define NCI_TRACE_3(l,t,m,p1,p2,p3) LogMsg(TRACE_CTRL_GENERAL | (l) | TRACE_ORG_ST… argument
179 (UINTPTR)(p2),(UINTPTR)(p3))
180 #define NCI_TRACE_4(l,t,m,p1,p2,p3,p4) LogMsg(TRACE_CTRL_GENERAL | (l) | TRACE_ORG_ST… argument
181 (UINTPTR)(p2),(UINTPTR)(p3),(UINTPTR)(p4))
182 #define NCI_TRACE_5(l,t,m,p1,p2,p3,p4,p5) LogMsg(TRACE_CTRL_GENERAL | (l) | TRACE_ORG_ST… argument
183 (UINTPTR)(p2),(UINTPTR)(p3),(UINTPTR)(p4), \
185 #define NCI_TRACE_6(l,t,m,p1,p2,p3,p4,p5,p6) LogMsg(TRACE_CTRL_GENERAL | (l) | TRACE_ORG_ST… argument
186 (UINTPTR)(p2),(UINTPTR)(p3),(UINTPTR)(p4), \
[all …]
Dgki_hal_target.h254 …ine GKI_TRACE_2(m,p1,p2) LogMsg(TRACE_CTRL_GENERAL | TRACE_LAYER_GKI | TRACE_OR… argument
255 …ine GKI_TRACE_3(m,p1,p2,p3) LogMsg(TRACE_CTRL_GENERAL | TRACE_LAYER_GKI | TRACE_OR… argument
256 …ine GKI_TRACE_4(m,p1,p2,p3,p4) LogMsg(TRACE_CTRL_GENERAL | TRACE_LAYER_GKI | TRACE_OR… argument
257 …ine GKI_TRACE_5(m,p1,p2,p3,p4,p5) LogMsg(TRACE_CTRL_GENERAL | TRACE_LAYER_GKI | TRACE_OR… argument
258 …ine GKI_TRACE_6(m,p1,p2,p3,p4,p5,p6) LogMsg(TRACE_CTRL_GENERAL | TRACE_LAYER_GKI | TRACE_OR… argument
262 #define GKI_TRACE_2(m,p1,p2) argument
263 #define GKI_TRACE_3(m,p1,p2,p3) argument
264 #define GKI_TRACE_4(m,p1,p2,p3,p4) argument
265 #define GKI_TRACE_5(m,p1,p2,p3,p4,p5) argument
266 #define GKI_TRACE_6(m,p1,p2,p3,p4,p5,p6) argument
[all …]
/external/icu/icu4c/source/test/perf/normperf/
DNormPerf_r.pl31 my $p2; # Latest
35 …$p2 = "cd ".$ICULatest."/bin && ".$ICUPathLatest."/normperf/$WindowsPlatform/Release/normperf.exe";
38 …$p2 = "LD_LIBRARY_PATH=".$ICULatest."/source/lib:".$ICULatest."/source/tools/ctestfw ".$ICUPathLat…
63 "NFC_NFD_Text", ["$p1,TestICU_NFC_NFD_Text" , "$p2,TestICU_NFC_NFD_Text" ],
64 "NFC_NFC_Text", ["$p1,TestICU_NFC_NFC_Text" , "$p2,TestICU_NFC_NFC_Text" ],
65 "NFC_Orig_Text", ["$p1,TestICU_NFC_Orig_Text" , "$p2,TestICU_NFC_Orig_Text"],
66 "NFD_NFD_Text", ["$p1,TestICU_NFD_NFD_Text" , "$p2,TestICU_NFD_NFD_Text" ],
67 "NFD_NFC_Text", ["$p1,TestICU_NFD_NFC_Text" , "$p2,TestICU_NFD_NFC_Text" ],
68 "NFD_Orig_Text", ["$p1,TestICU_NFD_Orig_Text" , "$p2,TestICU_NFD_Orig_Text"],
70 "QC_NFC_NFD_Text", ["$p1,TestQC_NFC_NFD_Text" , "$p2,TestQC_NFC_NFD_Text" ],
[all …]
/external/icu/icu4c/source/test/perf/collperf/
DCollPerf_r.pl29 my $p1, $p2;
33 …$p2 = "cd ".$ICULatest."/bin && ".$ICUPathLatest."/collperf/$WindowsPlatform/Release/collperf.exe";
36 …$p2 = "LD_LIBRARY_PATH=".$ICULatest."/source/lib:".$ICULatest."/source/tools/ctestfw ".$ICUPathLat…
41 "Key Gen ICU null", ["$p1,TestIcu_KeyGen_null", "$p2,TestIcu_KeyGen_null"],
42 "Key Gen ICU len", ["$p1,TestIcu_KeyGen_len", "$p2,TestIcu_KeyGen_len"],
43 "Iteration icu forward null", ["$p1,TestIcu_ForwardIter_null", "$p2,TestIcu_ForwardIter_null"],
44 "Iteration icu forward len", ["$p1,TestIcu_ForwardIter_len", "$p2,TestIcu_ForwardIter_len"],
45 …"Iteration icu backward null", ["$p1,TestIcu_BackwardIter_null", "$p2,TestIcu_BackwardIter_null"],
46 "Iteration icu backward len", ["$p1,TestIcu_BackwardIter_len", "$p2,TestIcu_BackwardIter_len"],
47 …"Iteration/all icu forward null", ["$p1,TestIcu_ForwardIter_all_null", "$p2,TestIcu_ForwardIter_a…
[all …]
/external/clang/test/SemaObjC/
Dprotocol-id-test-3.m11 id<MyProto1> Func(INTF <MyProto1, MyProto2> *p2) // expected-note 2{{passing argument to parameter …
13 return p2;
19 id<MyProto1> Gunc(id <MyProto1, MyProto2>p2)
21 return p2;
25 id<MyProto1> Gunc1(id <MyProto1, MyProto2>p2)
27 return p2;
30 id<MyProto1, MyProto2> Gunc2(id <MyProto1>p2)
32 …Func(p2); // expected-warning {{passing 'id<MyProto1>' to parameter of incompatible type 'INTF<MyP…
33 …return p2; // expected-warning {{returning 'id<MyProto1>' from a function with incompatible result…
38 id<MyProto1> Gunc3(id <MyProto2>p2)
[all …]
/external/libvpx/libvpx/vp8/common/mips/dspr2/
Dvp8_loopfilter_filters_dspr2.c50 uint32_t p2, in vp8_filter_mask_vec_mips() argument
119 : [limit] "r" (limit), [p3] "r" (p3), [p2] "r" (p2), in vp8_filter_mask_vec_mips()
355 uint32_t pm1, p0, p1, p2, p3, p4, p5, p6; in vp8_loop_filter_horizontal_edge_mips() local
361 p2 = 0; in vp8_loop_filter_horizontal_edge_mips()
385 p2 = *((uint32_t *)(s2)); in vp8_loop_filter_horizontal_edge_mips()
392 if (!(((p1 - p4) == 0) && ((p2 - p3) == 0))) in vp8_loop_filter_horizontal_edge_mips()
400 vp8_filter_mask_vec_mips(limit, flimit, p1, p2, pm1, p0, p3, p4, p5, p6, in vp8_loop_filter_horizontal_edge_mips()
407 vp8_filter_mips(mask, hev, &p1, &p2, &p3, &p4); in vp8_loop_filter_horizontal_edge_mips()
411 *((uint32_t *)s2) = p2; in vp8_loop_filter_horizontal_edge_mips()
430 p2 = *((uint32_t *)(s2)); in vp8_loop_filter_horizontal_edge_mips()
[all …]
/external/libvorbis/vq/
D44p2.vqs4 haux 44p2/resaux_0.vqd _44p2_short 0,42,2 8
5 haux 44p2/resaux_1.vqd _44p2_long 0,170,2 8
6 haux 44p2/resaux_2.vqd _44p2_lfe 0,2,2 2
19 :_p1_0 44p2/res_sub0_part1_pass2.vqd, 5, nonseq cull, 0 +- 1
20 :_p2_0 44p2/res_sub0_part2_pass1.vqd, 5, nonseq cull, 0 +- 1 2
22 :_p3_0 44p2/res_sub0_part3_pass0.vqd, 5, nonseq cull, 0 +- 3
23 :_p3_1 44p2/res_sub0_part3_pass1.vqd, 5, nonseq cull, 0 +- 1
25 :_p4_0 44p2/res_sub0_part4_pass0.vqd, 5, nonseq cull, 0 +- 5
26 :_p4_1 44p2/res_sub0_part4_pass1.vqd, 5, nonseq cull, 0 +- 1 2
28 :_p5_0 44p2/res_sub0_part5_pass0.vqd, 5, nonseq cull, 0 +- 7 14
[all …]
/external/icu/icu4c/source/test/perf/convperf/
DConvPerf_r.pl37 my $p2 = "cd ".$ICULatest."/bin && ".$ICUPathLatest."/convperf/$WindowsPlatform/Release/convperf.ex…
43 …"UTF-8 From Unicode", ["$p1,TestICU_UTF8_FromUnicode", "$p2,TestICU_UTF8_FromUnicode"…
44 …"UTF-8 To Unicode", ["$p1,TestICU_UTF8_ToUnicode", "$p2,TestICU_UTF8_ToUnicode" ],
46 …"ISO-8859-1 From Unicode", ["$p1,TestICU_Latin1_FromUnicode", "$p2,TestICU_Latin1_FromUnicod…
47 …"ISO-8859-1 To Unicode", ["$p1,TestICU_Latin1_ToUnicode", "$p2,TestICU_Latin1_ToUnicode"…
49 …"Shift-JIS From Unicode", ["$p1,TestICU_SJIS_FromUnicode", "$p2,TestICU_SJIS_FromUnicode"…
50 …"Shift-JIS To Unicode", ["$p1,TestICU_SJIS_ToUnicode", "$p2,TestICU_SJIS_ToUnicode" ],
52 …"EUC-JP From Unicode", ["$p1,TestICU_EUCJP_FromUnicode", "$p2,TestICU_EUCJP_FromUnicode…
53 …"EUC-JP To Unicode", ["$p1,TestICU_EUCJP_ToUnicode", "$p2,TestICU_EUCJP_ToUnicode" …
55 …"GB2312 From Unicode", ["$p1,TestICU_GB2312_FromUnicode", "$p2,TestICU_GB2312_FromUnicod…
[all …]
/external/icu/icu4c/source/test/perf/ustrperf/
DStringPerf_r.pl30 my $p2; # Latest
34 …$p2 = "cd ".$ICULatest."/bin && ".$ICUPathLatest."/ustrperf/$WindowsPlatform/Release/stringperf.ex…
37 …$p2 = "LD_LIBRARY_PATH=".$ICULatest."/source/lib:".$ICULatest."/source/tools/ctestfw ".$ICUPathLat…
62 "Object Construction(empty string)", ["$p1,TestCtor" , "$p2,TestCtor" ],
63 "Object Construction(single char)", ["$p1,TestCtor1" , "$p2,TestCtor1" ],
64 "Object Construction(another string)", ["$p1,TestCtor2" , "$p2,TestCtor2" ],
65 "Object Construction(string literal)", ["$p1,TestCtor3" , "$p2,TestCtor3" ],
66 "String Assignment(helper)", ["$p1,TestAssign" , "$p2,TestAssign" ],
67 "String Assignment(string literal)", ["$p1,TestAssign1" , "$p2,TestAssign1" ],
68 "String Assignment(another string)", ["$p1,TestAssign2" , "$p2,TestAssign2" ],
[all …]
/external/ceres-solver/include/ceres/internal/
Dscoped_ptr.h109 void swap(scoped_ptr& p2) { in swap() argument
111 ptr_ = p2.ptr_; in swap()
112 p2.ptr_ = tmp; in swap()
136 template <class C2> bool operator==(scoped_ptr<C2> const& p2) const;
137 template <class C2> bool operator!=(scoped_ptr<C2> const& p2) const;
146 inline void swap(scoped_ptr<C>& p1, scoped_ptr<C>& p2) { in swap() argument
147 p1.swap(p2); in swap()
151 inline bool operator==(const C* p1, const scoped_ptr<C>& p2) {
152 return p1 == p2.get();
156 inline bool operator==(const C* p1, const scoped_ptr<const C>& p2) {
[all …]
/external/v8/test/mjsunit/es6/
Dpromises.js196 var p2 = Promise.accept(p1)
197 var p3 = Promise.accept(p2)
208 var p2 = Promise.accept(p1)
209 var p3 = Promise.accept(p2)
219 var p2 = Promise.accept(p1)
220 var p3 = Promise.accept(p2)
230 var p2 = Promise.accept(p1)
231 var p3 = Promise.accept(p2)
241 var p2 = Promise.accept(p1)
242 var p3 = Promise.accept(p2)
[all …]
Dproxies-hash.js49 var p2 = create(handler)
55 s.add(p2);
57 assertTrue(s.has(p2));
61 fix(p2)
63 assertTrue(s.has(p2));
66 s.delete(p2);
68 assertFalse(s.has(p2));
86 var p2 = create(handler)
92 m.set(p2, 321);
94 assertTrue(m.has(p2));
[all …]
/external/icu/icu4c/source/test/perf/charperf/
DCharPerf_r.pl31 my $p2; # Latest
34 …$p2 = "cd ".$ICULatest."/bin && ".$ICUPathLatest."/charperf/$WindowsPlatform/Release/charperf.exe";
37 …$p2 = "LD_LIBRARY_PATH=".$ICULatest."/source/lib:".$ICULatest."/source/tools/ctestfw ".$ICUPathLat…
43 "isAlpha", ["$p1 TestIsAlpha" , "$p2 TestIsAlpha" ],
44 "isUpper", ["$p1 TestIsUpper" , "$p2 TestIsUpper" ],
45 "isLower", ["$p1 TestIsLower" , "$p2 TestIsLower" ],
46 "isDigit", ["$p1 TestIsDigit" , "$p2 TestIsDigit" ],
47 "isSpace", ["$p1 TestIsSpace" , "$p2 TestIsSpace" ],
48 "isAlphaNumeric", ["$p1 TestIsAlphaNumeric" , "$p2 TestIsAlphaNumeric" ],
49 "isPrint", ["$p1 TestIsPrint" , "$p2 TestIsPrint" ],
[all …]
/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_mman_test.cc24 char *p2 = (char*)internal_alloc(MBlockScopedBuf, 20); in TEST() local
25 EXPECT_NE(p2, (char*)0); in TEST()
26 EXPECT_NE(p2, p); in TEST()
31 ((char*)p2)[i] = 42; in TEST()
34 internal_free(p2); in TEST()
42 char *p2 = (char*)user_alloc(thr, pc, 20); in TEST() local
43 EXPECT_NE(p2, (char*)0); in TEST()
44 EXPECT_NE(p2, p); in TEST()
46 EXPECT_EQ(20U, user_alloc_usable_size(p2)); in TEST()
48 user_free(thr, pc, p2); in TEST()
[all …]
/external/icu/icu4c/source/test/perf/usetperf/
DUsetPerf.pl31 my $p1, $p2;
34 …$p2 = "cd ".$ICULatest."/bin && ".$ICUPathLatest."/usetperf/$WindowsPlatform/Release/usetperf.exe";
37 …$p2 = "LD_LIBRARY_PATH=".$ICULatest."/source/lib:".$ICULatest."/source/tools/ctestfw ".$ICUPathLat…
41 "titlecase_letter/add", ["$p1,titlecase_letter_add", "$p2,titlecase_letter_add"],
42 … "titlecase_letter/contains", ["$p1,titlecase_letter_contains", "$p2,titlecase_letter_contains"],
43 … "titlecase_letter/iterator", ["$p1,titlecase_letter_iterator", "$p2,titlecase_letter_iterator"],
44 "unassigned/add", ["$p1,unassigned_add", "$p2,unassigned_add"],
45 "unassigned/contains", ["$p1,unassigned_contains", "$p2,unassigned_contains"],
46 "unassigned/iterator", ["$p1,unassigned_iterator", "$p2,unassigned_iterator"],
47 "pattern1", ["$p1,pattern1", "$p2,pattern1"],
[all …]
/external/libvpx/libvpx/vpx_dsp/mips/
Dloopfilter_filters_dspr2.c31 uint32_t pm1, p0, p1, p2, p3, p4, p5, p6; in vpx_lpf_horizontal_4_dspr2() local
72 : [p1] "=&r" (p1), [p2] "=&r" (p2), [p3] "=&r" (p3), [p4] "=&r" (p4) in vpx_lpf_horizontal_4_dspr2()
78 if (!(((p1 - p4) == 0) && ((p2 - p3) == 0))) { in vpx_lpf_horizontal_4_dspr2()
90 filter_hev_mask_dspr2(limit_vec, flimit_vec, p1, p2, in vpx_lpf_horizontal_4_dspr2()
97 filter_dspr2(mask, hev, &p1, &p2, &p3, &p4); in vpx_lpf_horizontal_4_dspr2()
106 : [p1] "r" (p1), [p2] "r" (p2), [p3] "r" (p3), [p4] "r" (p4), in vpx_lpf_horizontal_4_dspr2()
124 uint32_t pm1, p0, p1, p2, p3, p4, p5, p6; in vpx_lpf_vertical_4_dspr2() local
158 p2 = *((uint32_t *)(s1 - 4)); in vpx_lpf_vertical_4_dspr2()
186 [p2] "+r" (p2), [p1] "+r" (p1), [p0] "+r" (p0), [pm1] "+r" (pm1), in vpx_lpf_vertical_4_dspr2()
218 if (!(((p1 - p4) == 0) && ((p2 - p3) == 0))) { in vpx_lpf_vertical_4_dspr2()
[all …]
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.mod/
Dswap.pass.cpp37 std::shared_ptr<A> p2(ptr2); in main() local
38 p1.swap(p2); in main()
41 assert(p2.use_count() == 1); in main()
42 assert(p2.get() == ptr1); in main()
55 std::shared_ptr<A> p2; in main() local
56 p1.swap(p2); in main()
59 assert(p2.use_count() == 1); in main()
60 assert(p2.get() == ptr1); in main()
73 std::shared_ptr<A> p2(ptr2); in main() local
74 p1.swap(p2); in main()
[all …]
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.spec/
Dswap.pass.cpp37 std::shared_ptr<A> p2(ptr2); in main() local
38 swap(p1, p2); in main()
41 assert(p2.use_count() == 1); in main()
42 assert(p2.get() == ptr1); in main()
55 std::shared_ptr<A> p2; in main() local
56 swap(p1, p2); in main()
59 assert(p2.use_count() == 1); in main()
60 assert(p2.get() == ptr1); in main()
73 std::shared_ptr<A> p2(ptr2); in main() local
74 swap(p1, p2); in main()
[all …]

12345678910>>...45