Home
last modified time | relevance | path

Searched refs:p1 (Results 1 – 25 of 3004) sorted by relevance

12345678910>>...121

/third_party/typescript/tests/baselines/reference/
DtypeGuardFunctionGenerics.types24 declare function isB(p1): p1 is B;
25 >isB : (p1: any) => p1 is B
26 >p1 : any
28 declare function isC(p1): p1 is C;
29 >isC : (p1: any) => p1 is C
30 >p1 : any
36 declare function funA<T>(p1: (p1) => T): T;
37 >funA : <T>(p1: (p1: any) => T) => T
38 >p1 : (p1: any) => T
39 >p1 : any
[all …]
DtypeGuardFunction.types24 declare function isA(p1: any): p1 is A;
25 >isA : (p1: any) => p1 is A
26 >p1 : any
28 declare function isB(p1: any): p1 is B;
29 >isB : (p1: any) => p1 is B
30 >p1 : any
32 declare function isC(p1: any): p1 is C;
33 >isC : (p1: any) => p1 is C
34 >p1 : any
48 >isC : (p1: any) => p1 is C
[all …]
DtypeGuardFunctionErrors.types102 declare function isB(p1): p1 is B;
103 >isB : (p1: any) => p1 is B
104 >p1 : any
106 declare function isC(p1): p1 is C;
107 >isC : (p1: any) => p1 is C
108 >p1 : any
110 declare function funA(p1: any, p2: any): p1 is B;
111 >funA : (p1: any, p2: any) => p1 is B
112 >p1 : any
122 >isB : (p1: any) => p1 is B
[all …]
DclassUpdateTests.js6 public p1 = 0; field in A
12 public p1 = 0; field in B
20 constructor(public p1=0, private p2=0, p3=0) {} argument
31 public p1 = 0; field in E
39 public p1 = 0; field in G
52 constructor(public p1:number) {
58 constructor(public p1:number) { // ERROR
65 constructor(private p1:number) {
71 constructor(private p1:number) { // ERROR
81 public p1 = 0; field in N
[all …]
DtypeGuardFunctionErrors.js53 declare function isB(p1): p1 is B;
54 declare function isC(p1): p1 is C;
55 declare function funA(p1: any, p2: any): p1 is B;
74 declare function acceptingDifferentSignatureTypeGuardFunction(p1: (p1) => p1 is B);
78 var assign1: (p1, p2) => p1 is A;
79 assign1 = function(p1, p2): boolean {
84 var assign2: (p1, p2) => p1 is A;
85 assign2 = function(p1, p2): p2 is A {
90 var assign3: (p1, p2) => p1 is A;
91 assign3 = function(p1, p2, p3): p1 is A {
[all …]
DtypeGuardFunctionGenerics.symbols24 declare function isB(p1): p1 is B;
26 >p1 : Symbol(p1, Decl(typeGuardFunctionGenerics.ts, 12, 21))
27 >p1 : Symbol(p1, Decl(typeGuardFunctionGenerics.ts, 12, 21))
30 declare function isC(p1): p1 is C;
32 >p1 : Symbol(p1, Decl(typeGuardFunctionGenerics.ts, 13, 21))
33 >p1 : Symbol(p1, Decl(typeGuardFunctionGenerics.ts, 13, 21))
41 declare function funA<T>(p1: (p1) => T): T;
44 >p1 : Symbol(p1, Decl(typeGuardFunctionGenerics.ts, 16, 25))
45 >p1 : Symbol(p1, Decl(typeGuardFunctionGenerics.ts, 16, 30))
49 declare function funB<T>(p1: (p1) => T, p2: any): p2 is T;
[all …]
DtypeGuardFunction.symbols24 declare function isA(p1: any): p1 is A;
26 >p1 : Symbol(p1, Decl(typeGuardFunction.ts, 12, 21))
27 >p1 : Symbol(p1, Decl(typeGuardFunction.ts, 12, 21))
30 declare function isB(p1: any): p1 is B;
32 >p1 : Symbol(p1, Decl(typeGuardFunction.ts, 13, 21))
33 >p1 : Symbol(p1, Decl(typeGuardFunction.ts, 13, 21))
36 declare function isC(p1: any): p1 is C;
38 >p1 : Symbol(p1, Decl(typeGuardFunction.ts, 14, 21))
39 >p1 : Symbol(p1, Decl(typeGuardFunction.ts, 14, 21))
100 (p1: A): p1 is C;
[all …]
DclassUpdateTests.types8 public p1 = 0;
9 >p1 : number
23 public p1 = 0;
24 >p1 : number
40 constructor(public p1=0, private p2=0, p3=0) {}
41 >p1 : number
61 public p1 = 0;
62 >p1 : number
77 public p1 = 0;
78 >p1 : number
[all …]
/third_party/icu/icu4c/source/test/perf/collperf2/
DCollPerf2_r.pl54 my $p1, $p2;
57 …$p1 = "cd ".$ICUPrevious."/bin && ".$ICUPathPrevious."/collperf2/$WindowsPlatform/Release/collperf…
60 …$p1 = "LD_LIBRARY_PATH=".$ICUPrevious."/lib:".$ICUPrevious."/tools/ctestfw ".$ICUPrevious."/test/p…
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 …]
/third_party/boost/libs/geometry/test/arithmetic/
Dgeneral.cpp35 P p1; in BOOST_GEOMETRY_REGISTER_BOOST_TUPLE_CS() local
36 bg::assign_values(p1, 1, 2, 3); in BOOST_GEOMETRY_REGISTER_BOOST_TUPLE_CS()
37 bg::add_value(p1, 10); in BOOST_GEOMETRY_REGISTER_BOOST_TUPLE_CS()
38 BOOST_CHECK(bg::get<0>(p1) == 11); in BOOST_GEOMETRY_REGISTER_BOOST_TUPLE_CS()
39 BOOST_CHECK(bg::get<1>(p1) == 12); in BOOST_GEOMETRY_REGISTER_BOOST_TUPLE_CS()
40 BOOST_CHECK(bg::get<2>(p1) == 13); in BOOST_GEOMETRY_REGISTER_BOOST_TUPLE_CS()
43 bg::add_point(p1, p2); in BOOST_GEOMETRY_REGISTER_BOOST_TUPLE_CS()
44 BOOST_CHECK(bg::get<0>(p1) == 15); in BOOST_GEOMETRY_REGISTER_BOOST_TUPLE_CS()
45 BOOST_CHECK(bg::get<1>(p1) == 17); in BOOST_GEOMETRY_REGISTER_BOOST_TUPLE_CS()
46 BOOST_CHECK(bg::get<2>(p1) == 19); in BOOST_GEOMETRY_REGISTER_BOOST_TUPLE_CS()
[all …]
/third_party/boost/libs/smart_ptr/test/
Dpointer_cast_test2.cpp40 std::unique_ptr<int> p1( new int ); in test_static_cast() local
41 int * q1 = p1.get(); in test_static_cast()
43 std::unique_ptr<int> p2 = boost::static_pointer_cast<int>( std::move( p1 ) ); in test_static_cast()
45 BOOST_TEST( p1.get() == 0 ); in test_static_cast()
50 std::unique_ptr<int> p1( new int ); in test_static_cast() local
51 int * q1 = p1.get(); in test_static_cast()
53 std::unique_ptr<int const> p2 = boost::static_pointer_cast<int const>( std::move( p1 ) ); in test_static_cast()
55 BOOST_TEST( p1.get() == 0 ); in test_static_cast()
60 std::unique_ptr<int[]> p1( new int[ 1 ] ); in test_static_cast() local
61 int * q1 = p1.get(); in test_static_cast()
[all …]
/third_party/unity/test/tests/
Dtest_unity_integers.c203 int *p0, *p1; in testEqualInts() local
208 p1 = &v1; in testEqualInts()
216 TEST_ASSERT_EQUAL_INT(*p0, *p1); in testEqualInts()
223 UNITY_INT8 *p0, *p1; in testEqualInt8s() local
228 p1 = &v1; in testEqualInt8s()
235 TEST_ASSERT_EQUAL_INT8(*p0, *p1); in testEqualInt8s()
248 char *p0, *p1; in testEqualChars() local
253 p1 = &v1; in testEqualChars()
260 TEST_ASSERT_EQUAL_CHAR(*p0, *p1); in testEqualChars()
274 UNITY_INT16 *p0, *p1; in testEqualInt16s() local
[all …]
Dtestunity.c444 int *p0, *p1; in testEqualInts() local
449 p1 = &v1; in testEqualInts()
457 TEST_ASSERT_EQUAL_INT(*p0, *p1); in testEqualInts()
464 UNITY_INT8 *p0, *p1; in testEqualInt8s() local
469 p1 = &v1; in testEqualInt8s()
476 TEST_ASSERT_EQUAL_INT8(*p0, *p1); in testEqualInt8s()
489 char *p0, *p1; in testEqualChars() local
494 p1 = &v1; in testEqualChars()
501 TEST_ASSERT_EQUAL_CHAR(*p0, *p1); in testEqualChars()
515 UNITY_INT16 *p0, *p1; in testEqualInt16s() local
[all …]
/third_party/alsa-lib/src/alisp/
Dalisp_snd.c149 struct alisp_object * p1, * p2; in add_cons() local
156 p1 = lexpr->value.c.cdr = new_object(instance, ALISP_OBJ_CONS); in add_cons()
158 p1 = lexpr->value.c.car = new_object(instance, ALISP_OBJ_CONS); in add_cons()
160 lexpr = p1; in add_cons()
161 if (p1 == NULL) { in add_cons()
165 p1->value.c.car = new_object(instance, ALISP_OBJ_CONS); in add_cons()
166 if ((p2 = p1->value.c.car) == NULL) in add_cons()
175 delete_tree(instance, p1); in add_cons()
187 struct alisp_object * p1; in add_cons2() local
194 p1 = lexpr->value.c.cdr = new_object(instance, ALISP_OBJ_CONS); in add_cons2()
[all …]
Dalisp.c1111 struct alisp_object *p1 = car(args), *p2; in F_car() local
1114 p1 = eval(instance, p1); in F_car()
1115 delete_tree(instance, cdr(p1)); in F_car()
1116 p2 = car(p1); in F_car()
1117 delete_object(instance, p1); in F_car()
1126 struct alisp_object *p1 = car(args), *p2; in F_cdr() local
1129 p1 = eval(instance, p1); in F_cdr()
1130 delete_tree(instance, car(p1)); in F_cdr()
1131 p2 = cdr(p1); in F_cdr()
1132 delete_object(instance, p1); in F_cdr()
[all …]
/third_party/boost/libs/gil/test/core/point/
Dpoint.cpp34 gil::point<int> p1{1, 2}; in test_copy_constructor() local
35 gil::point<int> p2{p1}; in test_copy_constructor()
36 BOOST_TEST_EQ(p1.x, p2.x); in test_copy_constructor()
37 BOOST_TEST_EQ(p1.y, p2.y); in test_copy_constructor()
42 gil::point<int> p1{1, 2}; in test_copy_assignment_operator() local
44 p2 = p1; in test_copy_assignment_operator()
45 BOOST_TEST_EQ(p1.x, p2.x); in test_copy_assignment_operator()
46 BOOST_TEST_EQ(p1.y, p2.y); in test_copy_assignment_operator()
58 gil::point<int> p1{1, 1}; in test_addition_operator() local
60 auto p3 = p1 + p2; in test_addition_operator()
[all …]
/third_party/cJSON/tests/unity/test/tests/
Dtestunity.c400 int *p0, *p1; in testEqualInts() local
405 p1 = &v1; in testEqualInts()
413 TEST_ASSERT_EQUAL_INT(*p0, *p1); in testEqualInts()
420 UNITY_INT8 *p0, *p1; in testEqualInt8s() local
425 p1 = &v1; in testEqualInt8s()
432 TEST_ASSERT_EQUAL_INT8(*p0, *p1); in testEqualInt8s()
445 UNITY_INT16 *p0, *p1; in testEqualInt16s() local
450 p1 = &v1; in testEqualInt16s()
457 TEST_ASSERT_EQUAL_INT16(*p0, *p1); in testEqualInt16s()
464 UNITY_INT16 *p0, *p1; in testEqualInt16sNegatives() local
[all …]
/third_party/typescript/tests/cases/conformance/expressions/typeGuards/
DtypeGuardFunctionErrors.ts53 declare function isB(p1): p1 is B;
54 declare function isC(p1): p1 is C;
55 declare function funA(p1: any, p2: any): p1 is B;
74 declare function acceptingDifferentSignatureTypeGuardFunction(p1: (p1) => p1 is B);
78 var assign1: (p1, p2) => p1 is A;
79 assign1 = function(p1, p2): boolean {
84 var assign2: (p1, p2) => p1 is A;
85 assign2 = function(p1, p2): p2 is A {
90 var assign3: (p1, p2) => p1 is A;
91 assign3 = function(p1, p2, p3): p1 is A {
[all …]
DtypeGuardFunction.ts14 declare function isA(p1: any): p1 is A;
15 declare function isB(p1: any): p1 is B;
16 declare function isC(p1: any): p1 is C;
42 (p1: A): p1 is C;
47 declare function isC_multipleParams(p1, p2): p1 is C;
54 func1(p1: A): p1 is C;
57 method1(p1: A): p1 is C {
63 let f1 = (p1: A): p1 is C => false;
66 declare function f2(p1: (p1: A) => p1 is C);
69 f2(function(p1: A): p1 is C {
[all …]
/third_party/boost/libs/fiber/test/
Dtest_promise_dispatch.cpp88 boost::fibers::promise< int > p1; in test_promise_create() local
97 boost::fibers::promise< int& > p1; in test_promise_create_ref() local
106 boost::fibers::promise< void > p1; in test_promise_create_void() local
114 boost::fibers::promise< int > p1; in test_promise_move() local
117 boost::fibers::promise< int > p2( std::move( p1) ); in test_promise_move()
120 p1 = std::move( p2); in test_promise_move()
124 boost::fibers::promise< int& > p1; in test_promise_move_ref() local
127 boost::fibers::promise< int& > p2( std::move( p1) ); in test_promise_move_ref()
130 p1 = std::move( p2); in test_promise_move_ref()
134 boost::fibers::promise< void > p1; in test_promise_move_void() local
[all …]
Dtest_promise_post.cpp88 boost::fibers::promise< int > p1; in test_promise_create() local
97 boost::fibers::promise< int& > p1; in test_promise_create_ref() local
106 boost::fibers::promise< void > p1; in test_promise_create_void() local
114 boost::fibers::promise< int > p1; in test_promise_move() local
117 boost::fibers::promise< int > p2( std::move( p1) ); in test_promise_move()
120 p1 = std::move( p2); in test_promise_move()
124 boost::fibers::promise< int& > p1; in test_promise_move_ref() local
127 boost::fibers::promise< int& > p2( std::move( p1) ); in test_promise_move_ref()
130 p1 = std::move( p2); in test_promise_move_ref()
134 boost::fibers::promise< void > p1; in test_promise_move_void() local
[all …]
/third_party/icu/icu4c/source/test/perf/normperf/
DNormPerf_r.pl34 my $p1; # Previous
38 …$p1 = "cd ".$ICUPrevious."/bin && ".$ICUPathPrevious."/normperf/$WindowsPlatform/Release/normperf.…
41 …$p1 = "LD_LIBRARY_PATH=".$ICUPrevious."/source/lib:".$ICUPrevious."/source/tools/ctestfw ".$ICUPat…
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 …]
/third_party/icu/icu4c/source/test/perf/collperf/
DCollPerf_r.pl33 my $p1, $p2;
36 …$p1 = "cd ".$ICUPrevious."/bin && ".$ICUPathPrevious."/collperf/$WindowsPlatform/Release/collperf.…
39 …$p1 = "LD_LIBRARY_PATH=".$ICUPrevious."/source/lib:".$ICUPrevious."/source/tools/ctestfw ".$ICUPat…
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 …]
/third_party/googletest/googlemock/include/gmock/
Dgmock-more-actions.h196 #define GMOCK_INTERNAL_DECL_TYPE_AND_2_VALUE_PARAMS(p0, p1) , \ argument
197 typename p0##_type, typename p1##_type
198 #define GMOCK_INTERNAL_DECL_TYPE_AND_3_VALUE_PARAMS(p0, p1, p2) , \ argument
199 typename p0##_type, typename p1##_type, typename p2##_type
200 #define GMOCK_INTERNAL_DECL_TYPE_AND_4_VALUE_PARAMS(p0, p1, p2, p3) , \ argument
201 typename p0##_type, typename p1##_type, typename p2##_type, \
203 #define GMOCK_INTERNAL_DECL_TYPE_AND_5_VALUE_PARAMS(p0, p1, p2, p3, p4) , \ argument
204 typename p0##_type, typename p1##_type, typename p2##_type, \
206 #define GMOCK_INTERNAL_DECL_TYPE_AND_6_VALUE_PARAMS(p0, p1, p2, p3, p4, p5) , \ argument
207 typename p0##_type, typename p1##_type, typename p2##_type, \
[all …]
/third_party/boost/boost/process/
Dio.hpp199 template<int p1, int p2 = -1>
204 api::close_out<p1,p2> close() const {return api::close_out<p1,p2>(); } in close()
205 api::close_out<p1,p2> operator=(const close_t &) const {return api::close_out<p1,p2>();} in operator =()
206 api::close_out<p1,p2> operator>(const close_t &) const {return api::close_out<p1,p2>();} in operator >()
208 api::null_out<p1,p2> null() const {return api::null_out<p1,p2>();} in null()
209 api::null_out<p1,p2> operator=(const null_t &) const {return api::null_out<p1,p2>();} in operator =()
210 api::null_out<p1,p2> operator>(const null_t &) const {return api::null_out<p1,p2>();} in operator >()
212 …api::file_out<p1,p2> operator=(const boost::filesystem::path &p) const {return api::file_out<p1,p2… in operator =()
213 …api::file_out<p1,p2> operator=(const std::string &p) const {return api::file_out<p1,p2… in operator =()
214 …api::file_out<p1,p2> operator=(const std::wstring &p) const {return api::file_out<p1,p2… in operator =()
[all …]

12345678910>>...121