/external/libcxx/test/std/utilities/utility/pairs/pairs.spec/ |
D | comparison.pass.cpp | 31 P p2(3, static_cast<short>(4)); in main() local 32 assert( (p1 == p2)); in main() 33 assert(!(p1 != p2)); in main() 34 assert(!(p1 < p2)); in main() 35 assert( (p1 <= p2)); in main() 36 assert(!(p1 > p2)); in main() 37 assert( (p1 >= p2)); in main() 42 P p2(3, static_cast<short>(4)); in main() local 43 assert(!(p1 == p2)); in main() 44 assert( (p1 != p2)); in main() [all …]
|
/external/icu/icu4c/source/test/perf/collperf2/ |
D | CollPerf2_r.pl | 54 my $p1, $p2; 58 …$p2 = "cd ".$ICULatest."/bin && ".$ICUPathLatest."/collperf2/$WindowsPlatform/Release/collperf2.ex… 61 …$p2 = "LD_LIBRARY_PATH=".$ICULatest."/lib:".$ICULatest."/tools/ctestfw ".$ICULatest."/test/perf/co… 65 "ucol_strcoll/len", ["$p1,TestStrcoll", "$p2,TestStrcoll"], 66 "ucol_strcoll/null", ["$p1,TestStrcollNull", "$p2,TestStrcollNull"], 67 "ucol_strcoll/len/similar", ["$p1,TestStrcollSimilar", "$p2,TestStrcollSimilar"], 69 "ucol_strcollUTF8/len", ["$p1,TestStrcollUTF8", "$p2,TestStrcollUTF8"], 70 "ucol_strcollUTF8/null", ["$p1,TestStrcollUTF8Null", "$p2,TestStrcollUTF8Null"], 71 "ucol_strcollUTF8/len/similar", ["$p1,TestStrcollUTF8Similar", "$p2,TestStrcollUTF8Similar"], 73 "ucol_getSortKey/len", ["$p1,TestGetSortKey", "$p2,TestGetSortKey"], [all …]
|
/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.special/ |
D | rel.pass.cpp | 60 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 …]
|
D | eq.pass.cpp | 52 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/clang/test/SemaObjC/ |
D | protocol-id-test-3.m | 11 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/icu/icu4c/source/test/perf/collperf/ |
D | CollPerf_r.pl | 33 my $p1, $p2; 37 …$p2 = "cd ".$ICULatest."/bin && ".$ICUPathLatest."/collperf/$WindowsPlatform/Release/collperf.exe"; 40 …$p2 = "LD_LIBRARY_PATH=".$ICULatest."/source/lib:".$ICULatest."/source/tools/ctestfw ".$ICUPathLat… 45 "Key Gen ICU null", ["$p1,TestIcu_KeyGen_null", "$p2,TestIcu_KeyGen_null"], 46 "Key Gen ICU len", ["$p1,TestIcu_KeyGen_len", "$p2,TestIcu_KeyGen_len"], 47 "Iteration icu forward null", ["$p1,TestIcu_ForwardIter_null", "$p2,TestIcu_ForwardIter_null"], 48 "Iteration icu forward len", ["$p1,TestIcu_ForwardIter_len", "$p2,TestIcu_ForwardIter_len"], 49 …"Iteration icu backward null", ["$p1,TestIcu_BackwardIter_null", "$p2,TestIcu_BackwardIter_null"], 50 "Iteration icu backward len", ["$p1,TestIcu_BackwardIter_len", "$p2,TestIcu_BackwardIter_len"], 51 …"Iteration/all icu forward null", ["$p1,TestIcu_ForwardIter_all_null", "$p2,TestIcu_ForwardIter_a… [all …]
|
/external/icu/icu4c/source/test/perf/normperf/ |
D | NormPerf_r.pl | 35 my $p2; # Latest 39 …$p2 = "cd ".$ICULatest."/bin && ".$ICUPathLatest."/normperf/$WindowsPlatform/Release/normperf.exe"; 42 …$p2 = "LD_LIBRARY_PATH=".$ICULatest."/source/lib:".$ICULatest."/source/tools/ctestfw ".$ICUPathLat… 67 "NFC_NFD_Text", ["$p1,TestICU_NFC_NFD_Text" , "$p2,TestICU_NFC_NFD_Text" ], 68 "NFC_NFC_Text", ["$p1,TestICU_NFC_NFC_Text" , "$p2,TestICU_NFC_NFC_Text" ], 69 "NFC_Orig_Text", ["$p1,TestICU_NFC_Orig_Text" , "$p2,TestICU_NFC_Orig_Text"], 70 "NFD_NFD_Text", ["$p1,TestICU_NFD_NFD_Text" , "$p2,TestICU_NFD_NFD_Text" ], 71 "NFD_NFC_Text", ["$p1,TestICU_NFD_NFC_Text" , "$p2,TestICU_NFD_NFC_Text" ], 72 "NFD_Orig_Text", ["$p1,TestICU_NFD_Orig_Text" , "$p2,TestICU_NFD_Orig_Text"], 74 "QC_NFC_NFD_Text", ["$p1,TestQC_NFC_NFD_Text" , "$p2,TestQC_NFC_NFD_Text" ], [all …]
|
/external/libvpx/libvpx/vp8/common/mips/dspr2/ |
D | vp8_loopfilter_filters_dspr2.c | 33 uint32_t p2, uint32_t q0, uint32_t q1, uint32_t q2, uint32_t q3, in vp8_filter_mask_vec_mips() argument 93 : [limit] "r"(limit), [p3] "r"(p3), [p2] "r"(p2), [p1] "r"(p1), in vp8_filter_mask_vec_mips() 307 uint32_t pm1, p0, p1, p2, p3, p4, p5, p6; in vp8_loop_filter_horizontal_edge_mips() local 314 p2 = 0; in vp8_loop_filter_horizontal_edge_mips() 338 p2 = *((uint32_t *)(s2)); in vp8_loop_filter_horizontal_edge_mips() 345 if (!(((p1 - p4) == 0) && ((p2 - p3) == 0))) { in vp8_loop_filter_horizontal_edge_mips() 351 vp8_filter_mask_vec_mips(limit, flimit, p1, p2, pm1, p0, p3, p4, p5, p6, in vp8_loop_filter_horizontal_edge_mips() 357 vp8_filter_mips(mask, hev, &p1, &p2, &p3, &p4); in vp8_loop_filter_horizontal_edge_mips() 361 *((uint32_t *)s2) = p2; in vp8_loop_filter_horizontal_edge_mips() 380 p2 = *((uint32_t *)(s2)); in vp8_loop_filter_horizontal_edge_mips() [all …]
|
/external/aac/libFDK/src/ |
D | FDK_matrixCalloc.cpp | 137 char *p2; in fdkCallocMatrix2D() local 142 if ((p2 = (char *)fdkCallocMatrix1D(dim1 * dim2, size)) == NULL) { in fdkCallocMatrix2D() 148 p1[i] = p2; in fdkCallocMatrix2D() 149 p2 += dim2 * size; in fdkCallocMatrix2D() 158 char *p2; in fdkCallocMatrix2D_aligned() local 163 if ((p2 = (char *)fdkCallocMatrix1D_aligned(dim1 * dim2, size)) == NULL) { in fdkCallocMatrix2D_aligned() 169 p1[i] = p2; in fdkCallocMatrix2D_aligned() 170 p2 += dim2 * size; in fdkCallocMatrix2D_aligned() 192 char *p2; in fdkCallocMatrix2D_int() local 198 if ((p2 = (char *)fdkCallocMatrix1D_int(dim1 * dim2, size, s)) == NULL) { in fdkCallocMatrix2D_int() [all …]
|
/external/libldac/src/ |
D | struct_ldac.h | 68 #define copy_data_ldac(p1, p2, n) memcpy_s((p2), (n), (p1), (n)) argument 69 #define copy_seq_s_ldac(p1, p2, n) memcpy_s((p2), (n)*sizeof(short), (p1), (n)*sizeof(short)) argument 70 #define copy_seq_l_ldac(p1, p2, n) memcpy_s((p2), (n)*sizeof(int), (p1), (n)*sizeof(int)) argument 71 #define copy_seq_f_ldac(p1, p2, n) memcpy_s((p2), (n)*sizeof(SCALAR), (p1), (n)*sizeof(SCALAR)) argument 72 #define move_seq_f_ldac(p1, p2, n) memmove_s((p2), (n)*sizeof(SCALAR), (p1), (n)*sizeof(SCALAR)) argument 74 #define copy_data_ldac(p1, p2, n) memcpy((p2), (p1), (n)) argument 75 #define copy_seq_s_ldac(p1, p2, n) memcpy((p2), (p1), (n)*sizeof(short)) argument 76 #define copy_seq_l_ldac(p1, p2, n) memcpy((p2), (p1), (n)*sizeof(int)) argument 77 #define copy_seq_f_ldac(p1, p2, n) memcpy((p2), (p1), (n)*sizeof(SCALAR)) argument 78 #define move_seq_f_ldac(p1, p2, n) memmove((p2), (p1), (n)*sizeof(SCALAR)) argument
|
/external/googletest/googlemock/include/gmock/ |
D | gmock-generated-matchers.h | 426 #define MATCHER_P3(name, p0, p1, p2, description)\ argument 427 template <typename p0##_type, typename p1##_type, typename p2##_type>\ 434 gmock_Impl(p0##_type gmock_p0, p1##_type gmock_p1, p2##_type gmock_p2)\ 436 p2(::std::move(gmock_p2)) {}\ 448 p2##_type const p2;\ 458 ::std::tuple<p0##_type, p1##_type, p2##_type>(p0, p1, p2)));\ 464 new gmock_Impl<arg_type>(p0, p1, p2));\ 467 p2##_type gmock_p2) : p0(::std::move(gmock_p0)), \ 468 p1(::std::move(gmock_p1)), p2(::std::move(gmock_p2)) {\ 472 p2##_type const p2;\ [all …]
|
D | gmock-generated-actions.h | 436 #define GMOCK_INTERNAL_DECL_TYPE_AND_3_VALUE_PARAMS(p0, p1, p2) , \ argument 437 typename p0##_type, typename p1##_type, typename p2##_type 438 #define GMOCK_INTERNAL_DECL_TYPE_AND_4_VALUE_PARAMS(p0, p1, p2, p3) , \ argument 439 typename p0##_type, typename p1##_type, typename p2##_type, \ 441 #define GMOCK_INTERNAL_DECL_TYPE_AND_5_VALUE_PARAMS(p0, p1, p2, p3, p4) , \ argument 442 typename p0##_type, typename p1##_type, typename p2##_type, \ 444 #define GMOCK_INTERNAL_DECL_TYPE_AND_6_VALUE_PARAMS(p0, p1, p2, p3, p4, p5) , \ argument 445 typename p0##_type, typename p1##_type, typename p2##_type, \ 447 #define GMOCK_INTERNAL_DECL_TYPE_AND_7_VALUE_PARAMS(p0, p1, p2, p3, p4, p5, \ argument 448 p6) , typename p0##_type, typename p1##_type, typename p2##_type, \ [all …]
|
/external/icu/icu4c/source/test/perf/convperf/ |
D | ConvPerf_r.pl | 41 my $p2 = "cd ".$ICULatest."/bin && ".$ICUPathLatest."/convperf/$WindowsPlatform/Release/convperf.ex… 47 …"UTF-8 From Unicode", ["$p1,TestICU_UTF8_FromUnicode", "$p2,TestICU_UTF8_FromUnicode"… 48 …"UTF-8 To Unicode", ["$p1,TestICU_UTF8_ToUnicode", "$p2,TestICU_UTF8_ToUnicode" ], 50 …"ISO-8859-1 From Unicode", ["$p1,TestICU_Latin1_FromUnicode", "$p2,TestICU_Latin1_FromUnicod… 51 …"ISO-8859-1 To Unicode", ["$p1,TestICU_Latin1_ToUnicode", "$p2,TestICU_Latin1_ToUnicode"… 53 …"Shift-JIS From Unicode", ["$p1,TestICU_SJIS_FromUnicode", "$p2,TestICU_SJIS_FromUnicode"… 54 …"Shift-JIS To Unicode", ["$p1,TestICU_SJIS_ToUnicode", "$p2,TestICU_SJIS_ToUnicode" ], 56 …"EUC-JP From Unicode", ["$p1,TestICU_EUCJP_FromUnicode", "$p2,TestICU_EUCJP_FromUnicode… 57 …"EUC-JP To Unicode", ["$p1,TestICU_EUCJP_ToUnicode", "$p2,TestICU_EUCJP_ToUnicode" … 59 …"GB2312 From Unicode", ["$p1,TestICU_GB2312_FromUnicode", "$p2,TestICU_GB2312_FromUnicod… [all …]
|
/external/openssh/regress/unittests/sshbuf/ |
D | test_sshbuf_fixed.c | 32 struct sshbuf *p1, *p2, *p3; in sshbuf_fixed() local 75 p2 = sshbuf_fromb(p1); in sshbuf_fixed() 76 ASSERT_PTR_NE(p2, NULL); in sshbuf_fixed() 79 ASSERT_PTR_EQ(sshbuf_parent(p2), p1); in sshbuf_fixed() 80 ASSERT_PTR_EQ(sshbuf_ptr(p2), sshbuf_ptr(p1)); in sshbuf_fixed() 82 ASSERT_PTR_NE(sshbuf_ptr(p2), NULL); in sshbuf_fixed() 84 ASSERT_PTR_EQ(sshbuf_mutable_ptr(p2), NULL); in sshbuf_fixed() 85 ASSERT_SIZE_T_EQ(sshbuf_len(p1), sshbuf_len(p2)); in sshbuf_fixed() 86 ASSERT_INT_EQ(sshbuf_get_u8(p2, &c), 0); in sshbuf_fixed() 87 ASSERT_PTR_EQ(sshbuf_ptr(p2), sshbuf_ptr(p1) + 1); in sshbuf_fixed() [all …]
|
/external/icu/icu4c/source/test/perf/ustrperf/ |
D | StringPerf_r.pl | 34 my $p2; # Latest 38 …$p2 = "cd ".$ICULatest."/bin && ".$ICUPathLatest."/ustrperf/$WindowsPlatform/Release/stringperf.ex… 41 …$p2 = "LD_LIBRARY_PATH=".$ICULatest."/source/lib:".$ICULatest."/source/tools/ctestfw ".$ICUPathLat… 66 "Object Construction(empty string)", ["$p1,TestCtor" , "$p2,TestCtor" ], 67 "Object Construction(single char)", ["$p1,TestCtor1" , "$p2,TestCtor1" ], 68 "Object Construction(another string)", ["$p1,TestCtor2" , "$p2,TestCtor2" ], 69 "Object Construction(string literal)", ["$p1,TestCtor3" , "$p2,TestCtor3" ], 70 "String Assignment(helper)", ["$p1,TestAssign" , "$p2,TestAssign" ], 71 "String Assignment(string literal)", ["$p1,TestAssign1" , "$p2,TestAssign1" ], 72 "String Assignment(another string)", ["$p1,TestAssign2" , "$p2,TestAssign2" ], [all …]
|
/external/compiler-rt/lib/tsan/tests/unit/ |
D | tsan_mman_test.cc | 24 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/charperf/ |
D | CharPerf_r.pl | 35 my $p2; # Latest 38 …$p2 = "cd ".$ICULatest."/bin && ".$ICUPathLatest."/charperf/$WindowsPlatform/Release/charperf.exe"; 41 …$p2 = "LD_LIBRARY_PATH=".$ICULatest."/source/lib:".$ICULatest."/source/tools/ctestfw ".$ICUPathLat… 47 "isAlpha", ["$p1 TestIsAlpha" , "$p2 TestIsAlpha" ], 48 "isUpper", ["$p1 TestIsUpper" , "$p2 TestIsUpper" ], 49 "isLower", ["$p1 TestIsLower" , "$p2 TestIsLower" ], 50 "isDigit", ["$p1 TestIsDigit" , "$p2 TestIsDigit" ], 51 "isSpace", ["$p1 TestIsSpace" , "$p2 TestIsSpace" ], 52 "isAlphaNumeric", ["$p1 TestIsAlphaNumeric" , "$p2 TestIsAlphaNumeric" ], 53 "isPrint", ["$p1 TestIsPrint" , "$p2 TestIsPrint" ], [all …]
|
/external/icu/icu4c/source/test/perf/usetperf/ |
D | UsetPerf.pl | 35 my $p1, $p2; 38 …$p2 = "cd ".$ICULatest."/bin && ".$ICUPathLatest."/usetperf/$WindowsPlatform/Release/usetperf.exe"; 41 …$p2 = "LD_LIBRARY_PATH=".$ICULatest."/source/lib:".$ICULatest."/source/tools/ctestfw ".$ICUPathLat… 45 "titlecase_letter/add", ["$p1,titlecase_letter_add", "$p2,titlecase_letter_add"], 46 … "titlecase_letter/contains", ["$p1,titlecase_letter_contains", "$p2,titlecase_letter_contains"], 47 … "titlecase_letter/iterator", ["$p1,titlecase_letter_iterator", "$p2,titlecase_letter_iterator"], 48 "unassigned/add", ["$p1,unassigned_add", "$p2,unassigned_add"], 49 "unassigned/contains", ["$p1,unassigned_contains", "$p2,unassigned_contains"], 50 "unassigned/iterator", ["$p1,unassigned_iterator", "$p2,unassigned_iterator"], 51 "pattern1", ["$p1,pattern1", "$p2,pattern1"], [all …]
|
/external/tensorflow/tensorflow/python/tpu/ |
D | tpu_sharding_test.py | 37 p2 = tpu_sharding.ShardingPolicy() 38 p2.set_number_of_shards(17) 39 p2.set_shard_dimension(23) 40 p2.freeze() 41 self.assertEqual(p2.number_of_shards, 17) 42 self.assertEqual(p2.shard_dimension, 23) 67 p2 = tpu_sharding.ShardingPolicy() 68 p2.merge(p1) 69 self.assertEqual(p2.number_of_shards, 17) 70 self.assertEqual(p2.shard_dimension, 23) [all …]
|
/external/libvpx/libvpx/vpx_dsp/mips/ |
D | loopfilter_filters_dspr2.c | 28 uint32_t pm1, p0, p1, p2, p3, p4, p5, p6; in vpx_lpf_horizontal_4_dspr2() local 68 : [p1] "=&r"(p1), [p2] "=&r"(p2), [p3] "=&r"(p3), [p4] "=&r"(p4) in vpx_lpf_horizontal_4_dspr2() 73 if (!(((p1 - p4) == 0) && ((p2 - p3) == 0))) { in vpx_lpf_horizontal_4_dspr2() 83 filter_hev_mask_dspr2(limit_vec, flimit_vec, p1, p2, pm1, p0, p3, p4, p5, in vpx_lpf_horizontal_4_dspr2() 89 filter_dspr2(mask, hev, &p1, &p2, &p3, &p4); in vpx_lpf_horizontal_4_dspr2() 98 : [p1] "r"(p1), [p2] "r"(p2), [p3] "r"(p3), [p4] "r"(p4), in vpx_lpf_horizontal_4_dspr2() 112 uint32_t pm1, p0, p1, p2, p3, p4, p5, p6; in vpx_lpf_vertical_4_dspr2() local 145 p2 = *((uint32_t *)(s1 - 4)); in vpx_lpf_vertical_4_dspr2() 172 [prim4] "=&r"(prim4), [p2] "+r"(p2), [p1] "+r"(p1), [p0] "+r"(p0), in vpx_lpf_vertical_4_dspr2() 201 if (!(((p1 - p4) == 0) && ((p2 - p3) == 0))) { in vpx_lpf_vertical_4_dspr2() [all …]
|
/external/libaom/libaom/aom_dsp/mips/ |
D | loopfilter_filters_dspr2.c | 30 uint32_t pm1, p0, p1, p2, p3, p4, p5, p6; in aom_lpf_horizontal_4_dspr2() local 70 : [p1] "=&r"(p1), [p2] "=&r"(p2), [p3] "=&r"(p3), [p4] "=&r"(p4) in aom_lpf_horizontal_4_dspr2() 75 if (!(((p1 - p4) == 0) && ((p2 - p3) == 0))) { in aom_lpf_horizontal_4_dspr2() 85 filter_hev_mask_dspr2(limit_vec, flimit_vec, p1, p2, pm1, p0, p3, p4, p5, in aom_lpf_horizontal_4_dspr2() 91 filter_dspr2(mask, hev, &p1, &p2, &p3, &p4); in aom_lpf_horizontal_4_dspr2() 100 : [p1] "r"(p1), [p2] "r"(p2), [p3] "r"(p3), [p4] "r"(p4), in aom_lpf_horizontal_4_dspr2() 114 uint32_t pm1, p0, p1, p2, p3, p4, p5, p6; in aom_lpf_vertical_4_dspr2() local 147 p2 = *((uint32_t *)(s1 - 4)); in aom_lpf_vertical_4_dspr2() 174 [prim4] "=&r"(prim4), [p2] "+r"(p2), [p1] "+r"(p1), [p0] "+r"(p0), in aom_lpf_vertical_4_dspr2() 203 if (!(((p1 - p4) == 0) && ((p2 - p3) == 0))) { in aom_lpf_vertical_4_dspr2() [all …]
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.spec/ |
D | swap.pass.cpp | 37 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 …]
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.mod/ |
D | swap.pass.cpp | 37 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/google-breakpad/src/testing/include/gmock/ |
D | gmock-generated-actions.h | 1181 #define GMOCK_INTERNAL_DECL_TYPE_AND_3_VALUE_PARAMS(p0, p1, p2) , \ argument 1182 typename p0##_type, typename p1##_type, typename p2##_type 1183 #define GMOCK_INTERNAL_DECL_TYPE_AND_4_VALUE_PARAMS(p0, p1, p2, p3) , \ argument 1184 typename p0##_type, typename p1##_type, typename p2##_type, \ 1186 #define GMOCK_INTERNAL_DECL_TYPE_AND_5_VALUE_PARAMS(p0, p1, p2, p3, p4) , \ argument 1187 typename p0##_type, typename p1##_type, typename p2##_type, \ 1189 #define GMOCK_INTERNAL_DECL_TYPE_AND_6_VALUE_PARAMS(p0, p1, p2, p3, p4, p5) , \ argument 1190 typename p0##_type, typename p1##_type, typename p2##_type, \ 1192 #define GMOCK_INTERNAL_DECL_TYPE_AND_7_VALUE_PARAMS(p0, p1, p2, p3, p4, p5, \ argument 1193 p6) , typename p0##_type, typename p1##_type, typename p2##_type, \ [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googlemock/include/gmock/ |
D | gmock-generated-actions.h | 1043 #define GMOCK_INTERNAL_DECL_TYPE_AND_3_VALUE_PARAMS(p0, p1, p2) , \ argument 1044 typename p0##_type, typename p1##_type, typename p2##_type 1045 #define GMOCK_INTERNAL_DECL_TYPE_AND_4_VALUE_PARAMS(p0, p1, p2, p3) , \ argument 1046 typename p0##_type, typename p1##_type, typename p2##_type, \ 1048 #define GMOCK_INTERNAL_DECL_TYPE_AND_5_VALUE_PARAMS(p0, p1, p2, p3, p4) , \ argument 1049 typename p0##_type, typename p1##_type, typename p2##_type, \ 1051 #define GMOCK_INTERNAL_DECL_TYPE_AND_6_VALUE_PARAMS(p0, p1, p2, p3, p4, p5) , \ argument 1052 typename p0##_type, typename p1##_type, typename p2##_type, \ 1054 #define GMOCK_INTERNAL_DECL_TYPE_AND_7_VALUE_PARAMS(p0, p1, p2, p3, p4, p5, \ argument 1055 p6) , typename p0##_type, typename p1##_type, typename p2##_type, \ [all …]
|