Home
last modified time | relevance | path

Searched refs:B (Results 1 – 25 of 364) sorted by relevance

12345678910>>...15

/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/
Dstatic_assert.hpp21 # 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/
Dauto_pointer.pass.cpp31 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 …]
Dauto_pointer01.fail.cpp31 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 …]
Dpointer03.pass.cpp31 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/
Dauto_ptr_Y.pass.cpp20 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 …]
Dunique_ptr_Y.pass.cpp20 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 …]
Dshared_ptr_Y_rv.pass.cpp20 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 …]
Dshared_ptr_Y.pass.cpp20 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/
Duninitialized_fill_n.pass.cpp19 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/
Dcatch_class_02.cpp14 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 …]
Dcatch_ptr.cpp20 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 …]
Dcatch_class_04.cpp20 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 …]
Dcatch_class_03.cpp20 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/
Dcatch_class_02.pass.cpp14 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 …]
Dcatch_ptr.pass.cpp20 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 …]
Dcatch_class_04.pass.cpp20 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 …]
Dcatch_class_03.pass.cpp20 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/
Dreset2.pass.cpp29 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/
Dreset2.fail.cpp29 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/
Duninitialized_fill.pass.cpp20 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/
Dshared_ptr_Y.pass.cpp20 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 …]
Dshared_ptr_Y_rv.pass.cpp20 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/
Dshared_ptr_Y.pass.cpp20 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/
Dweak_ptr_Y.pass.cpp20 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/
Dreset.pass.cpp19 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()

12345678910>>...15