Searched defs:p2 (Results 1 - 25 of 652) sorted by relevance

1234567891011>>

/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/
H A Downer_before_shared_ptr.pass.cpp22 const std::shared_ptr<int> p2 = p1; local
24 assert(!p1.owner_before(p2));
25 assert(!p2.owner_before(p1));
27 assert(p3.owner_before(p1) == p3.owner_before(p2));
H A Downer_before_weak_ptr.pass.cpp22 const std::shared_ptr<int> p2 = p1; local
25 const std::weak_ptr<int> w2(p2);
28 assert(!p2.owner_before(w1));
H A Dunique.pass.cpp24 std::shared_ptr<int> p2 = p; local
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/
H A Downer_before_shared_ptr.pass.cpp22 const std::shared_ptr<int> p2 = p1; local
25 const std::weak_ptr<int> w2(p2);
27 assert(!w1.owner_before(p2));
30 assert(w3.owner_before(p1) == w3.owner_before(p2));
H A Downer_before_weak_ptr.pass.cpp22 const std::shared_ptr<int> p2 = p1; local
25 const std::weak_ptr<int> w2(p2);
/external/chromium_org/v8/test/mjsunit/es6/debug-promises/
H A Dthrow-eventually-caught.js21 var p2 = p1.then(function() { }); variable
22 var p3 = p2.catch(function() { });
/external/compiler-rt/test/asan/TestCases/
H A Datexit_stats.cc14 int *p2 = (int*)malloc(90000); variable
/external/libcxx/test/depr/depr.auto.ptr/auto.ptr/auto.ptr.members/
H A Drelease.pass.cpp27 A* p2 = ap.release(); local
28 assert(p2 == p);
H A Dreset.pass.cpp43 A* p2 = new A(2); local
44 ap.reset(p2);
45 assert(ap.get() == p2);
/external/libcxx/test/language.support/support.exception/propagation/
H A Dexception_ptr.pass.cpp23 std::exception_ptr p2 = p; local
26 assert(p2 == p);
27 p2 = p;
28 assert(p2 == p);
29 assert(p2 == nullptr);
/external/libcxx/test/utilities/memory/unique.ptr/unique.ptr.create/
H A Dmake_unique.single.pass.cpp25 std::unique_ptr<std::string> p2 = std::make_unique<std::string> ( "Meow!" ); local
26 assert ( *p2 == "Meow!" );
27 p2 = std::make_unique<std::string> ();
28 assert ( *p2 == "" );
29 p2 = std::make_unique<std::string> ( 6, 'z' );
30 assert ( *p2 == "zzzzzz" );
/external/libcxx/test/utilities/memory/unique.ptr/unique.ptr.special/
H A Dcmp_nullptr.pass.cpp58 const std::unique_ptr<int> p2; local
59 assert( (p2 == nullptr));
60 assert( (nullptr == p2));
61 assert(!(p2 < nullptr));
62 assert(!(nullptr < p2));
63 assert( (p2 <= nullptr));
64 assert( (nullptr <= p2));
65 assert(!(p2 > nullptr));
66 assert(!(nullptr > p2));
67 assert( (p2 >
[all...]
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cmp/
H A Dcmp_nullptr.pass.cpp58 const std::shared_ptr<int> p2; local
59 assert( (p2 == nullptr));
60 assert( (nullptr == p2));
61 assert(!(p2 < nullptr));
62 assert(!(nullptr < p2));
63 assert( (p2 <= nullptr));
64 assert( (nullptr <= p2));
65 assert(!(p2 > nullptr));
66 assert(!(nullptr > p2));
67 assert( (p2 >
[all...]
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.ownerless/
H A Downer_less.pass.cpp40 const std::shared_ptr<int> p2 = p1; local
43 const std::weak_ptr<int> w2(p2);
50 assert(!cs(p1, p2));
51 assert(!cs(p2, p1));
53 assert(cs(p3, p1) == cs(p3, p2));
56 assert(!cs(p2, w1));
69 assert(!cs(w1, p2));
72 assert(cs(w3, p1) == cs(w3, p2));
/external/libcxx/test/utilities/utility/pairs/pairs.pair/
H A Dassign_const_pair_U_V.pass.cpp25 P2 p2; local
26 p2 = p1;
27 assert(p2.first == 3);
28 assert(p2.second == 4);
H A Dassign_rv_pair.pass.cpp26 P p2; local
27 p2 = std::move(p1);
28 assert(*p2.first == 3);
29 assert(p2.second == 4);
H A Dconst_pair_U_V.pass.cpp25 P2 p2 = p1; local
26 assert(p2.first == 3);
27 assert(p2.second == 4);
35 constexpr P2 p2 = p1; local
36 static_assert(p2.first == 3, "");
37 static_assert(p2.second == 4, "");
H A Dcopy_ctor.pass.cpp24 P1 p2 = p1; local
25 assert(p2.first == 3);
26 assert(p2.second == 4);
35 constexpr P1 p2 = p1; local
36 static_assert(p2.first == 3, "");
37 static_assert(p2.second == 4, "");
/external/libcxx/test/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/
H A Dassignment.fail.cpp27 A* p2 = new A(2); local
28 std::auto_ptr<A> ap2(p2);
31 assert(ap2.get() == p2);
H A Dassignment.pass.cpp27 A* p2 = new A(2); local
28 std::auto_ptr<A> ap2(p2);
31 assert(ap2.get() == p2);
H A Dconvert_assignment.fail.cpp27 A* p2 = new A(2); local
28 std::auto_ptr<A> ap2(p2);
32 assert(ap2.get() == p2);
H A Dconvert_assignment.pass.cpp27 A* p2 = new A(2); local
28 std::auto_ptr<A> ap2(p2);
32 assert(ap2.get() == p2);
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.discrete/
H A Dparam_eq.pass.cpp28 param_type p2(p0, p0+2);
29 assert(p1 == p2);
36 param_type p2; local
37 assert(p1 != p2);
/external/valgrind/main/none/tests/
H A Dmap_unaligned.c8 void *p2; local
25 if ( ( p2 = mmap( p1 + 1, 4096, PROT_READ, MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, -1, 0 ) ) == MAP_FAILED )
31 if ( munmap( p2, 4096 ) != 0 )
/external/bison/lib/
H A Dc-strcasecmp.c30 register const unsigned char *p2 = (const unsigned char *) s2; local
33 if (p1 == p2)
39 c2 = c_tolower (*p2);
45 ++p2;

Completed in 273 milliseconds

1234567891011>>