/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/ |
D | static_assert.hpp | 21 # define BOOST_STATIC_ASSERT_MSG( B, Msg ) static_assert(B, Msg) argument 23 # define BOOST_STATIC_ASSERT_MSG( B, Msg ) BOOST_STATIC_ASSERT( B ) argument 48 # define BOOST_STATIC_ASSERT( B ) static_assert(B, #B) argument 90 #define BOOST_STATIC_ASSERT( B ) \ argument 92 sizeof(::boost::STATIC_ASSERTION_FAILURE< (bool)( B ) >)\ 95 #define BOOST_STATIC_ASSERT( B ) \ argument 97 sizeof(::boost::STATIC_ASSERTION_FAILURE< BOOST_STATIC_ASSERT_BOOL_CAST ( B ) >)>\ 102 # define BOOST_STATIC_ASSERT( B ) \ argument 104 [ ::boost::STATIC_ASSERTION_FAILURE< BOOST_STATIC_ASSERT_BOOL_CAST( B ) >::value ] 107 #define BOOST_STATIC_ASSERT( B ) \ argument [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/ |
D | auto_pointer.pass.cpp | 31 struct B struct 35 B() {++count;} in B() argument 36 B(const B&) {++count;} in B() argument 37 virtual ~B() {--count;} in ~B() argument 40 int B::count = 0; 45 B* p = new B; in main() 46 std::auto_ptr<B> ap(p); in main() 51 assert(B::count == 1); in main() 54 assert(B::count == 0); in main() 56 B* p = new B; in main() [all …]
|
D | auto_pointer01.fail.cpp | 31 struct B struct 35 B() {++count;} in B() function 36 B(const B&) {++count;} in B() argument 37 virtual ~B() {--count;} in ~B() argument 40 int B::count = 0; 45 B* p = new B; in main() 46 std::auto_ptr<B> ap(p); in main() 51 assert(B::count == 1); in main() 54 assert(B::count == 0); in main() 56 B* p = new B; in main() [all …]
|
D | pointer03.pass.cpp | 31 struct B struct 35 B() {++count;} in B() argument 36 B(const B&) {++count;} in B() argument 37 virtual ~B() {--count;} in ~B() argument 40 int B::count = 0; 60 B* p = new B; in main() 62 assert(B::count == 1); in main() 67 assert(B::count == 0); in main() 69 B* p = new B; in main() 71 assert(B::count == 1); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.assign/ |
D | auto_ptr_Y.pass.cpp | 20 struct B struct 24 B() {++count;} in B() function 25 B(const B&) {++count;} in B() function 26 virtual ~B() {--count;} in ~B() argument 29 int B::count = 0; 32 : public B 49 std::shared_ptr<B> pB(new B); in main() 51 assert(B::count == 1); in main() 57 assert(B::count == 0); in main() 60 assert(B::count == 0); in main() [all …]
|
D | unique_ptr_Y.pass.cpp | 20 struct B struct 24 B() {++count;} in B() argument 25 B(const B&) {++count;} in B() function 26 virtual ~B() {--count;} in ~B() argument 29 int B::count = 0; 32 : public B 49 std::shared_ptr<B> pB(new B); in main() 51 assert(B::count == 1); in main() 57 assert(B::count == 0); in main() 60 assert(B::count == 0); in main() [all …]
|
D | shared_ptr_Y_rv.pass.cpp | 20 struct B struct 24 B() {++count;} in B() argument 25 B(const B&) {++count;} in B() argument 26 virtual ~B() {--count;} in ~B() argument 29 int B::count = 0; 32 : public B 50 std::shared_ptr<B> pB(new B); in main() 52 assert(B::count == 1); in main() 60 assert(B::count == 0); in main() 63 assert(B::count == 0); in main() [all …]
|
D | shared_ptr_Y.pass.cpp | 20 struct B struct 24 B() {++count;} in B() argument 25 B(const B&) {++count;} in B() argument 26 virtual ~B() {--count;} in ~B() argument 29 int B::count = 0; 32 : public B 49 std::shared_ptr<B> pB(new B); in main() 51 assert(B::count == 1); in main() 59 assert(B::count == 1); in main() 62 assert(B::count == 0); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/specialized.algorithms/uninitialized.fill.n/ |
D | uninitialized_fill_n.pass.cpp | 19 struct B struct 23 explicit B() : data_(1) {} in B() function 24 B(const B& b) {if (++count_ == 3) throw 1; data_ = b.data_;} in B() function 25 ~B() {data_ = 0;} in ~B() argument 28 int B::count_ = 0; 33 char pool[sizeof(B)*N] = {0}; in main() 34 B* bp = (B*)pool; in main() 37 std::uninitialized_fill_n(bp, 5, B()); in main() 45 B::count_ = 0; in main() 46 B* r = std::uninitialized_fill_n(bp, 2, B()); in main()
|
/ndk/sources/cxx-stl/gabi++/tests/ |
D | catch_class_02.cpp | 14 struct B struct 18 explicit B(int id) : id_(id) {count++;} in B() argument 19 B(const B& a) : id_(a.id_) {count++;} in B() function 20 ~B() {count--;} in ~B() argument 23 int B::count = 0; 26 : B 30 explicit A(int id) : B(id-1), id_(id) {count++;} in A() 31 A(const A& a) : B(a.id_-1), id_(a.id_) {count++;} in A() 40 assert(B::count == 0); in f1() 43 assert(B::count == 1); in f1() [all …]
|
D | catch_ptr.cpp | 20 struct B struct 24 explicit B(int id) : id_(id) {count++;} in B() argument 25 B(const B& a) : id_(a.id_) {count++;} in B() argument 26 ~B() {count--;} in ~B() argument 29 int B::count = 0; 32 : virtual B 36 explicit C1(int id) : B(id-2), id_(id) {count++;} in C1() 37 C1(const C1& a) : B(a.id_-2), id_(a.id_) {count++;} in C1() 44 : virtual private B 48 explicit C2(int id) : B(id-2), id_(id) {count++;} in C2() [all …]
|
D | catch_class_04.cpp | 20 struct B struct 24 explicit B(int id) : id_(id) {count++;} in B() function 25 B(const B& a) : id_(a.id_) {count++;} in B() function 26 ~B() {count--;} in ~B() argument 29 int B::count = 0; 32 : virtual B 36 explicit C1(int id) : B(id-2), id_(id) {count++;} in C1() 37 C1(const C1& a) : B(a.id_-2), id_(a.id_) {count++;} in C1() 44 : virtual private B 48 explicit C2(int id) : B(id-2), id_(id) {count++;} in C2() [all …]
|
D | catch_class_03.cpp | 20 struct B struct 24 explicit B(int id) : id_(id) {count++;} in B() argument 25 B(const B& a) : id_(a.id_) {count++;} in B() function 26 ~B() {count--;} in ~B() argument 29 int B::count = 0; 32 : B 36 explicit C1(int id) : B(id-2), id_(id) {count++;} in C1() 37 C1(const C1& a) : B(a.id_-2), id_(a.id_) {count++;} in C1() 44 : B 48 explicit C2(int id) : B(id-2), id_(id) {count++;} in C2() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/test/ |
D | catch_class_02.pass.cpp | 14 struct B struct 18 explicit B(int id) : id_(id) {count++;} in B() argument 19 B(const B& a) : id_(a.id_) {count++;} in B() function 20 ~B() {count--;} in ~B() argument 23 int B::count = 0; 26 : B 30 explicit A(int id) : B(id-1), id_(id) {count++;} in A() 31 A(const A& a) : B(a.id_-1), id_(a.id_) {count++;} in A() 40 assert(B::count == 0); in f1() 43 assert(B::count == 1); in f1() [all …]
|
D | catch_ptr.pass.cpp | 20 struct B struct 24 explicit B(int id) : id_(id) {count++;} in B() argument 25 B(const B& a) : id_(a.id_) {count++;} in B() argument 26 ~B() {count--;} in ~B() argument 29 int B::count = 0; 32 : virtual B 36 explicit C1(int id) : B(id-2), id_(id) {count++;} in C1() 37 C1(const C1& a) : B(a.id_-2), id_(a.id_) {count++;} in C1() 44 : virtual private B 48 explicit C2(int id) : B(id-2), id_(id) {count++;} in C2() [all …]
|
D | catch_class_04.pass.cpp | 20 struct B struct 24 explicit B(int id) : id_(id) {count++;} in B() argument 25 B(const B& a) : id_(a.id_) {count++;} in B() argument 26 ~B() {count--;} in ~B() argument 29 int B::count = 0; 32 : virtual B 36 explicit C1(int id) : B(id-2), id_(id) {count++;} in C1() 37 C1(const C1& a) : B(a.id_-2), id_(a.id_) {count++;} in C1() 44 : virtual private B 48 explicit C2(int id) : B(id-2), id_(id) {count++;} in C2() [all …]
|
D | catch_class_03.pass.cpp | 20 struct B struct 24 explicit B(int id) : id_(id) {count++;} in B() argument 25 B(const B& a) : id_(a.id_) {count++;} in B() function 26 ~B() {count--;} in ~B() argument 29 int B::count = 0; 32 : B 36 explicit C1(int id) : B(id-2), id_(id) {count++;} in C1() 37 C1(const C1& a) : B(a.id_-2), id_(a.id_) {count++;} in C1() 44 : B 48 explicit C2(int id) : B(id-2), id_(id) {count++;} in C2() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.modifiers/ |
D | reset2.pass.cpp | 29 struct B struct 33 B() {++count;} in B() argument 34 B(const B&) {++count;} in B() argument 35 virtual ~B() {--count;} in ~B() argument 38 int B::count = 0; 45 assert(B::count == 0); in main() 47 p.reset(new B); in main() 49 assert(B::count == 1); in main() 52 assert(B::count == 0); in main() 54 std::unique_ptr<A> p(new B); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.modifiers/ |
D | reset2.fail.cpp | 29 struct B struct 33 B() {++count;} in B() function 34 B(const B&) {++count;} in B() function 35 virtual ~B() {--count;} in ~B() argument 38 int B::count = 0; 45 assert(B::count == 0); in main() 47 p.reset(new B); in main() 49 assert(B::count == 1); in main() 52 assert(B::count == 0); in main() 54 std::unique_ptr<A[]> p(new B); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/specialized.algorithms/uninitialized.fill/ |
D | uninitialized_fill.pass.cpp | 20 struct B struct 24 explicit B() : data_(1) {} in B() argument 25 B(const B& b) {if (++count_ == 3) throw 1; data_ = b.data_;} in B() function 26 ~B() {data_ = 0;} in ~B() argument 29 int B::count_ = 0; 34 char pool[sizeof(B)*N] = {0}; in main() 35 B* bp = (B*)pool; in main() 38 std::uninitialized_fill(bp, bp+N, B()); in main() 46 B::count_ = 0; in main() 47 std::uninitialized_fill(bp, bp+2, B()); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/ |
D | shared_ptr_Y.pass.cpp | 20 struct B struct 24 B() {++count;} in B() argument 25 B(const B&) {++count;} in B() function 26 virtual ~B() {--count;} in ~B() argument 29 int B::count = 0; 32 : public B 56 static_assert(( std::is_convertible<std::shared_ptr<A>, std::shared_ptr<B> >::value), ""); in main() 57 static_assert((!std::is_convertible<std::shared_ptr<B>, std::shared_ptr<A> >::value), ""); in main() 62 assert(B::count == 1); in main() 65 std::shared_ptr<B> pB(pA); in main() [all …]
|
D | shared_ptr_Y_rv.pass.cpp | 20 struct B struct 24 B() {++count;} in B() argument 25 B(const B&) {++count;} in B() argument 26 virtual ~B() {--count;} in ~B() argument 29 int B::count = 0; 32 : public B 56 static_assert(( std::is_convertible<std::shared_ptr<A>, std::shared_ptr<B> >::value), ""); in main() 57 static_assert((!std::is_convertible<std::shared_ptr<B>, std::shared_ptr<A> >::value), ""); in main() 62 assert(B::count == 1); in main() 65 B* p = pA.get(); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/ |
D | shared_ptr_Y.pass.cpp | 20 struct B struct 24 B() {++count;} in B() function 25 B(const B&) {++count;} in B() argument 26 virtual ~B() {--count;} in ~B() argument 29 int B::count = 0; 32 : public B 56 static_assert(( std::is_convertible<std::shared_ptr<A>, std::weak_ptr<B> >::value), ""); in main() 57 static_assert((!std::is_convertible<std::weak_ptr<B>, std::shared_ptr<A> >::value), ""); in main() 62 assert(B::count == 1); in main() 65 std::weak_ptr<B> pB(pA); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.assign/ |
D | weak_ptr_Y.pass.cpp | 20 struct B struct 24 B() {++count;} in B() argument 25 B(const B&) {++count;} in B() function 26 virtual ~B() {--count;} in ~B() argument 29 int B::count = 0; 32 : public B 49 std::weak_ptr<B> pB; in main() 51 assert(B::count == 1); in main() 57 assert(B::count == 1); in main() 60 assert(B::count == 0); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.mod/ |
D | reset.pass.cpp | 19 struct B struct 23 B() {++count;} in B() function 24 B(const B&) {++count;} in B() function 25 virtual ~B() {--count;} in ~B() argument 28 int B::count = 0; 31 : public B 45 std::shared_ptr<B> p(new B); in main() 48 assert(B::count == 0); in main() 54 std::shared_ptr<B> p; in main() 57 assert(B::count == 0); in main()
|