/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/ |
H A D | owner_before_shared_ptr.pass.cpp | 22 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 D | owner_before_weak_ptr.pass.cpp | 22 const std::shared_ptr<int> p2 = p1; local 25 const std::weak_ptr<int> w2(p2); 28 assert(!p2.owner_before(w1));
|
H A D | unique.pass.cpp | 24 std::shared_ptr<int> p2 = p; local
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/ |
H A D | owner_before_shared_ptr.pass.cpp | 22 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 D | owner_before_weak_ptr.pass.cpp | 22 const std::shared_ptr<int> p2 = p1; local 25 const std::weak_ptr<int> w2(p2);
|
/external/compiler-rt/test/asan/TestCases/ |
H A D | atexit_stats.cc | 14 int *p2 = (int*)malloc(90000); variable
|
/external/libcxx/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.members/ |
H A D | release.pass.cpp | 27 A* p2 = ap.release(); local 28 assert(p2 == p);
|
H A D | reset.pass.cpp | 43 A* p2 = new A(2); local 44 ap.reset(p2); 45 assert(ap.get() == p2);
|
/external/libcxx/test/std/language.support/support.exception/propagation/ |
H A D | exception_ptr.pass.cpp | 23 std::exception_ptr p2 = p; local 26 assert(p2 == p); 27 p2 = p; 28 assert(p2 == p); 29 assert(p2 == nullptr);
|
/external/libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.create/ |
H A D | make_unique.single.pass.cpp | 25 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/std/utilities/memory/unique.ptr/unique.ptr.special/ |
H A D | cmp_nullptr.pass.cpp | 58 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/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cmp/ |
H A D | cmp_nullptr.pass.cpp | 58 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/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.ownerless/ |
H A D | owner_less.pass.cpp | 40 const std::shared_ptr<int> p2 = p1; local 43 const std::weak_ptr<int> w2(p2); 54 assert(!cs(p1, p2)); 55 assert(!cs(p2, p1)); 57 assert(cs(p3, p1) == cs(p3, p2)); 60 assert(!cs(p2, w1)); 77 assert(!cs(w1, p2)); 80 assert(cs(w3, p1) == cs(w3, p2));
|
/external/libcxx/test/std/utilities/utility/pairs/pairs.pair/ |
H A D | assign_const_pair_U_V.pass.cpp | 25 P2 p2; local 26 p2 = p1; 27 assert(p2.first == 3); 28 assert(p2.second == 4);
|
H A D | assign_rv_pair.pass.cpp | 26 P p2; local 27 p2 = std::move(p1); 28 assert(*p2.first == 3); 29 assert(p2.second == 4);
|
H A D | const_pair_U_V.pass.cpp | 25 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 D | copy_ctor.pass.cpp | 24 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/v8/test/mjsunit/es6/debug-promises/ |
H A D | throw-eventually-caught.js | 21 var p2 = p1.then(function() { }); variable 22 var p3 = p2.catch(function() { });
|
/external/libcxx/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/ |
H A D | assignment.fail.cpp | 27 A* p2 = new A(2); local 28 std::auto_ptr<A> ap2(p2); 31 assert(ap2.get() == p2);
|
H A D | assignment.pass.cpp | 27 A* p2 = new A(2); local 28 std::auto_ptr<A> ap2(p2); 31 assert(ap2.get() == p2);
|
H A D | convert_assignment.fail.cpp | 27 A* p2 = new A(2); local 28 std::auto_ptr<A> ap2(p2); 32 assert(ap2.get() == p2);
|
H A D | convert_assignment.pass.cpp | 27 A* p2 = new A(2); local 28 std::auto_ptr<A> ap2(p2); 32 assert(ap2.get() == p2);
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.discrete/ |
H A D | param_eq.pass.cpp | 28 param_type p2(p0, p0+2); 29 assert(p1 == p2); 36 param_type p2; local 37 assert(p1 != p2);
|
/external/testng/src/test/java/test/tmp/p2/ |
H A D | ServiceTest.java | 1 package test.tmp.p2;
|
/external/valgrind/none/tests/ |
H A D | map_unaligned.c | 8 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 )
|