/external/clang/test/CodeGen/ |
debug-info-crash.c | 30 PS p2; local
|
/external/clang/test/CodeGenCXX/ |
sparcv9-abi.cpp | 23 notpod p2; local 25 f2(p2);
|
/external/libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.modifiers/ |
swap.pass.cpp | 42 A* p2 = new A[3]; local 43 std::unique_ptr<A[], Deleter<A[]> > s2(p2, Deleter<A[]>(2)); 46 assert(s2.get() == p2); 49 assert(s1.get() == p2);
|
/external/libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.modifiers/ |
swap.pass.cpp | 41 A* p2 = new A(2); local 42 std::unique_ptr<A, Deleter<A> > s2(p2, Deleter<A>(2)); 46 assert(s2.get() == p2); 50 assert(s1.get() == p2);
|
/external/libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.special/ |
eq.pass.cpp | 52 const std::unique_ptr<A, Deleter<A> > p2(new A); 53 assert(!(p1 == p2)); 54 assert(p1 != p2); 58 const std::unique_ptr<B, Deleter<B> > p2(new B); 59 assert(!(p1 == p2)); 60 assert(p1 != p2); 64 const std::unique_ptr<A[], Deleter<A[]> > p2(new A[3]); 65 assert(!(p1 == p2)); 66 assert(p1 != p2); 70 const std::unique_ptr<B[], Deleter<B[]> > p2(new B[3]) 76 const std::unique_ptr<A, Deleter<A> > p2; local 82 const std::unique_ptr<B, Deleter<B> > p2; local [all...] |
rel.pass.cpp | 60 const std::unique_ptr<A, Deleter<A> > p2(new A); 61 assert((p1 < p2) == !(p1 > p2)); 62 assert((p1 < p2) == (p1 <= p2)); 63 assert((p1 < p2) == !(p1 >= p2)); 67 const std::unique_ptr<B, Deleter<B> > p2(new B); 68 assert((p1 < p2) == !(p1 > p2)); 88 const std::unique_ptr<A, Deleter<A> > p2; local 95 const std::unique_ptr<B, Deleter<B> > p2; local [all...] |
swap.pass.cpp | 42 A* p2 = new A(2); local 43 std::unique_ptr<A, Deleter<A> > s2(p2, Deleter<A>(2)); 47 assert(s2.get() == p2); 51 assert(s1.get() == p2); 63 A* p2 = new A[3]; local 64 std::unique_ptr<A[], Deleter<A[]> > s2(p2, Deleter<A[]>(2)); 67 assert(s2.get() == p2); 70 assert(s1.get() == p2);
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.mod/ |
swap.pass.cpp | 37 std::shared_ptr<A> p2(ptr2); 38 p1.swap(p2); 41 assert(p2.use_count() == 1); 42 assert(p2.get() == ptr1); 55 std::shared_ptr<A> p2; local 56 p1.swap(p2); 59 assert(p2.use_count() == 1); 60 assert(p2.get() == ptr1); 73 std::shared_ptr<A> p2(ptr2); 74 p1.swap(p2); 91 std::shared_ptr<A> p2; local [all...] |
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.spec/ |
swap.pass.cpp | 37 std::shared_ptr<A> p2(ptr2); 38 swap(p1, p2); 41 assert(p2.use_count() == 1); 42 assert(p2.get() == ptr1); 55 std::shared_ptr<A> p2; local 56 swap(p1, p2); 59 assert(p2.use_count() == 1); 60 assert(p2.get() == ptr1); 73 std::shared_ptr<A> p2(ptr2); 74 swap(p1, p2); 91 std::shared_ptr<A> p2; local [all...] |
/external/libcxx/test/std/utilities/utility/pairs/pairs.pair/ |
assign_rv_pair_U_V.pass.cpp | 35 typedef std::pair<std::unique_ptr<Base>, long> P2; 37 P2 p2; local 38 p2 = std::move(p1); 39 assert(p2.first == nullptr); 40 assert(p2.second == 4);
|
rv_pair_U_V.pass.cpp | 35 typedef std::pair<std::unique_ptr<Base>, long> P2; 37 P2 p2 = std::move(p1); local 38 assert(p2.first == nullptr); 39 assert(p2.second == 4);
|
/external/sfntly/cpp/src/test/ |
smart_pointer_test.cc | 38 Ptr<Foo> p2; local 39 p2 = p1; 41 EXPECT_EQ(size_t(2), p2->ref_count_); 47 EXPECT_EQ(size_t(3), p2->ref_count_); 51 p2 = new Foo(); 53 EXPECT_EQ(size_t(1), p2->ref_count_); 62 p2 = NULL;
|
/external/skia/gm/ |
avoidxfermode.cpp | 60 SkPaint p2; variable 61 p2.setColor(SK_ColorBLACK); 62 p2.setXfermode(SkAvoidXfermode::Create(SK_ColorWHITE, 66 canvas->drawRect(r, p2);
|
avoidxfermode2.cpp | 47 SkPaint p2; variable 48 p2.setColor(SK_ColorRED); 49 p2.setXfermode(SkAvoidXfermode::Create(SK_ColorGREEN, 53 canvas->drawRect(r, p2);
|
avoidxfermode3.cpp | 50 SkPaint p2; variable 51 p2.setColor(SK_ColorRED); 52 p2.setAntiAlias(true); 53 p2.setXfermode(SkAvoidXfermode::Create(SK_ColorWHITE, 57 canvas->drawRect(r, p2);
|
pixelxorxfermode.cpp | 59 SkPaint p2; variable 60 p2.setColor(SK_ColorWHITE); 61 p2.setXfermode(SkPixelXorXfermode::Create(SK_ColorBLACK))->unref(); // noop 63 canvas->drawRect(r, p2);
|
/external/v8/test/mjsunit/es6/debug-promises/ |
promise-all-uncaught.js | 9 // because one of the Promises p2 passed to Promise.all is rejected. We 10 // expect two Exception debug events to be triggered, for p2 and p3 each, 21 var p2 = p1.then(function() { variable 26 p2.name = "p2"; 28 var p3 = Promise.all([p2]); 41 assertEquals("p2", event_data.promise().name);
|
promise-race-uncaught.js | 9 // because one of the Promises p2 passed to Promise.all is rejected. We 10 // expect two Exception debug events to be triggered, for p2 and p3 each, 21 var p2 = p1.then(function() { variable 26 p2.name = "p2"; 28 var p3 = Promise.race([p2]); 41 assertEquals("p2", event_data.promise().name);
|
reject-caught-by-default-reject-handler.js | 24 var p2 = p1.then(function() { variable 51 // p2 is rejected by p1's default reject handler. 53 assertSame(p2, event_data.promise());
|
throw-caught-by-default-reject-handler.js | 24 var p2 = p1.then(function() { variable 52 // p2 is rejected by p1's default reject handler. 54 assertSame(p2, event_data.promise());
|
/frameworks/compile/mclinker/unittests/ |
PathTest.cpp | 87 Path* p2 = new Path("ccc///////"); local 89 EXPECT_TRUE(*m_pTestee == *p2); 94 delete p2; 99 Path* p2 = new Path("aaa//"); local 100 // p2->assign(root); 102 EXPECT_TRUE(*m_pTestee != *p2); 106 EXPECT_TRUE(*m_pTestee != *p2); 107 delete p2;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.modifiers/ |
swap.pass.cpp | 42 A* p2 = new A[3]; local 43 std::unique_ptr<A[], Deleter<A[]> > s2(p2, Deleter<A[]>(2)); 46 assert(s2.get() == p2); 49 assert(s1.get() == p2);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.modifiers/ |
swap.pass.cpp | 41 A* p2 = new A(2); local 42 std::unique_ptr<A, Deleter<A> > s2(p2, Deleter<A>(2)); 46 assert(s2.get() == p2); 50 assert(s1.get() == p2);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.special/ |
eq.pass.cpp | 52 const std::unique_ptr<A, Deleter<A> > p2(new A); 53 assert(!(p1 == p2)); 54 assert(p1 != p2); 58 const std::unique_ptr<B, Deleter<B> > p2(new B); 59 assert(!(p1 == p2)); 60 assert(p1 != p2); 64 const std::unique_ptr<A[], Deleter<A[]> > p2(new A[3]); 65 assert(!(p1 == p2)); 66 assert(p1 != p2); 70 const std::unique_ptr<B[], Deleter<B[]> > p2(new B[3]) 76 const std::unique_ptr<A, Deleter<A> > p2; local 82 const std::unique_ptr<B, Deleter<B> > p2; local [all...] |
rel.pass.cpp | 60 const std::unique_ptr<A, Deleter<A> > p2(new A); 61 assert((p1 < p2) == !(p1 > p2)); 62 assert((p1 < p2) == (p1 <= p2)); 63 assert((p1 < p2) == !(p1 >= p2)); 67 const std::unique_ptr<B, Deleter<B> > p2(new B); 68 assert((p1 < p2) == !(p1 > p2)); 88 const std::unique_ptr<A, Deleter<A> > p2; local 95 const std::unique_ptr<B, Deleter<B> > p2; local [all...] |