/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/ |
D | weak_ptr.pass.cpp | 23 static int count; member 25 B() {++count;} in B() 26 B(const B&) {++count;} in B() 27 virtual ~B() {--count;} in ~B() 30 int B::count = 0; member in B 35 static int count; member 37 A() {++count;} in A() 38 A(const A&) {++count;} in A() 39 ~A() {--count;} in ~A() 42 int A::count = 0; member in A [all …]
|
D | shared_ptr_Y.pass.cpp | 22 static int count; member 24 B() {++count;} in B() 25 B(const B&) {++count;} in B() 26 virtual ~B() {--count;} in ~B() 29 int B::count = 0; member in B 34 static int count; member 36 A() {++count;} in A() 37 A(const A&) {++count;} in A() 38 ~A() {--count;} in ~A() 41 int A::count = 0; member in A [all …]
|
D | weak_ptr_Y.pass.cpp | 23 static int count; member 25 B() {++count;} in B() 26 B(const B&) {++count;} in B() 27 virtual ~B() {--count;} in ~B() 30 int B::count = 0; member in B 35 static int count; member 37 A() {++count;} in A() 38 A(const A&) {++count;} in A() 39 ~A() {--count;} in ~A() 42 int A::count = 0; member in A [all …]
|
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/test/ |
D | catch_class_04.pass.cpp | 22 static int count; member 24 explicit B(int id) : id_(id) {count++;} in B() 25 B(const B& a) : id_(a.id_) {count++;} in B() 26 ~B() {count--;} in ~B() 29 int B::count = 0; member in B 34 static int count; member 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() 38 ~C1() {count--;} in ~C1() 41 int C1::count = 0; member in C1 [all …]
|
D | catch_class_03.pass.cpp | 22 static int count; member 24 explicit B(int id) : id_(id) {count++;} in B() 25 B(const B& a) : id_(a.id_) {count++;} in B() 26 ~B() {count--;} in ~B() 29 int B::count = 0; member in B 34 static int count; member 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() 38 ~C1() {count--;} in ~C1() 41 int C1::count = 0; member in C1 [all …]
|
D | catch_class_02.pass.cpp | 16 static int count; member 18 explicit B(int id) : id_(id) {count++;} in B() 19 B(const B& a) : id_(a.id_) {count++;} in B() 20 ~B() {count--;} in ~B() 23 int B::count = 0; member in B 28 static int count; member 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() 32 ~A() {count--;} in ~A() 35 int A::count = 0; member in A [all …]
|
/ndk/sources/cxx-stl/gabi++/tests/ |
D | catch_class_04.cpp | 22 static int count; member 24 explicit B(int id) : id_(id) {count++;} in B() 25 B(const B& a) : id_(a.id_) {count++;} in B() 26 ~B() {count--;} in ~B() 29 int B::count = 0; member in B 34 static int count; member 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() 38 ~C1() {count--;} in ~C1() 41 int C1::count = 0; member in C1 [all …]
|
D | catch_class_03.cpp | 22 static int count; member 24 explicit B(int id) : id_(id) {count++;} in B() 25 B(const B& a) : id_(a.id_) {count++;} in B() 26 ~B() {count--;} in ~B() 29 int B::count = 0; member in B 34 static int count; member 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() 38 ~C1() {count--;} in ~C1() 41 int C1::count = 0; member in C1 [all …]
|
D | catch_class_02.cpp | 16 static int count; member 18 explicit B(int id) : id_(id) {count++;} in B() 19 B(const B& a) : id_(a.id_) {count++;} in B() 20 ~B() {count--;} in ~B() 23 int B::count = 0; member in B 28 static int count; member 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() 32 ~A() {count--;} in ~A() 35 int A::count = 0; member in A [all …]
|
/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 | 22 static int count; member 24 B() {++count;} in B() 25 B(const B&) {++count;} in B() 26 virtual ~B() {--count;} in ~B() 29 int B::count = 0; member in B 34 static int count; member 36 A() {++count;} in A() 37 A(const A&) {++count;} in A() 38 ~A() {--count;} in ~A() 41 int A::count = 0; member in A [all …]
|
D | shared_ptr_Y_rv.pass.cpp | 22 static int count; member 24 B() {++count;} in B() 25 B(const B&) {++count;} in B() 26 virtual ~B() {--count;} in ~B() 29 int B::count = 0; member in B 34 static int count; member 36 A() {++count;} in A() 37 A(const A&) {++count;} in A() 38 ~A() {--count;} in ~A() 41 int A::count = 0; member in A [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.modifiers/ |
D | reset2.pass.cpp | 21 static int count; member 22 A() {++count;} in A() 23 A(const A&) {++count;} in A() 24 virtual ~A() {--count;} in ~A() 27 int A::count = 0; member in A 32 static int count; member 33 B() {++count;} in B() 34 B(const B&) {++count;} in B() 35 virtual ~B() {--count;} in ~B() 38 int B::count = 0; member in B [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.modifiers/ |
D | reset2.fail.cpp | 21 static int count; member 22 A() {++count;} in A() 23 A(const A&) {++count;} in A() 24 virtual ~A() {--count;} in ~A() 27 int A::count = 0; member in A 32 static int count; member 33 B() {++count;} in B() 34 B(const B&) {++count;} in B() 35 virtual ~B() {--count;} in ~B() 38 int B::count = 0; member in B [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 | 22 static int count; member 24 B() {++count;} in B() 25 B(const B&) {++count;} in B() 26 virtual ~B() {--count;} in ~B() 29 int B::count = 0; member in B 34 static int count; member 36 A() {++count;} in A() 37 A(const A&) {++count;} in A() 38 ~A() {--count;} in ~A() 41 int A::count = 0; member in A [all …]
|
D | unique_ptr_Y.pass.cpp | 22 static int count; member 24 B() {++count;} in B() 25 B(const B&) {++count;} in B() 26 virtual ~B() {--count;} in ~B() 29 int B::count = 0; member in B 34 static int count; member 36 A() {++count;} in A() 37 A(const A&) {++count;} in A() 38 ~A() {--count;} in ~A() 41 int A::count = 0; member in A [all …]
|
D | shared_ptr.pass.cpp | 22 static int count; member 24 B() {++count;} in B() 25 B(const B&) {++count;} in B() 26 virtual ~B() {--count;} in ~B() 29 int B::count = 0; member in B 34 static int count; member 36 A() {++count;} in A() 37 A(const A&) {++count;} in A() 38 ~A() {--count;} in ~A() 41 int A::count = 0; member in A [all …]
|
D | shared_ptr_Y_rv.pass.cpp | 22 static int count; member 24 B() {++count;} in B() 25 B(const B&) {++count;} in B() 26 virtual ~B() {--count;} in ~B() 29 int B::count = 0; member in B 34 static int count; member 36 A() {++count;} in A() 37 A(const A&) {++count;} in A() 38 ~A() {--count;} in ~A() 41 int A::count = 0; member in A [all …]
|
D | shared_ptr_rv.pass.cpp | 22 static int count; member 24 B() {++count;} in B() 25 B(const B&) {++count;} in B() 26 virtual ~B() {--count;} in ~B() 29 int B::count = 0; member in B 34 static int count; member 36 A() {++count;} in A() 37 A(const A&) {++count;} in A() 38 ~A() {--count;} in ~A() 41 int A::count = 0; member in A [all …]
|
D | shared_ptr_Y.pass.cpp | 22 static int count; member 24 B() {++count;} in B() 25 B(const B&) {++count;} in B() 26 virtual ~B() {--count;} in ~B() 29 int B::count = 0; member in B 34 static int count; member 36 A() {++count;} in A() 37 A(const A&) {++count;} in A() 38 ~A() {--count;} in ~A() 41 int A::count = 0; member in A [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.nonmodifying/alg.search/ |
D | search_n_pred.pass.cpp | 24 static unsigned count; member 27 {++count; return x == y;} in operator ()() 30 unsigned count_equal::count = 0; member in count_equal 38 count_equal::count = 0; in test() 40 assert(count_equal::count <= sa); in test() 41 count_equal::count = 0; in test() 43 assert(count_equal::count <= sa); in test() 44 count_equal::count = 0; in test() 46 assert(count_equal::count <= sa); in test() 47 count_equal::count = 0; in test() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.assign/ |
D | weak_ptr.pass.cpp | 22 static int count; member 24 B() {++count;} in B() 25 B(const B&) {++count;} in B() 26 virtual ~B() {--count;} in ~B() 29 int B::count = 0; member in B 34 static int count; member 36 A() {++count;} in A() 37 A(const A&) {++count;} in A() 38 ~A() {--count;} in ~A() 41 int A::count = 0; member in A [all …]
|
D | weak_ptr_Y.pass.cpp | 22 static int count; member 24 B() {++count;} in B() 25 B(const B&) {++count;} in B() 26 virtual ~B() {--count;} in ~B() 29 int B::count = 0; member in B 34 static int count; member 36 A() {++count;} in A() 37 A(const A&) {++count;} in A() 38 ~A() {--count;} in ~A() 41 int A::count = 0; member in A [all …]
|
D | shared_ptr_Y.pass.cpp | 22 static int count; member 24 B() {++count;} in B() 25 B(const B&) {++count;} in B() 26 virtual ~B() {--count;} in ~B() 29 int B::count = 0; member in B 34 static int count; member 36 A() {++count;} in A() 37 A(const A&) {++count;} in A() 38 ~A() {--count;} in ~A() 41 int A::count = 0; member in A [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.mod/ |
D | reset.pass.cpp | 21 static int count; member 23 B() {++count;} in B() 24 B(const B&) {++count;} in B() 25 virtual ~B() {--count;} in ~B() 28 int B::count = 0; member in B 33 static int count; member 35 A() {++count;} in A() 36 A(const A&) {++count;} in A() 37 ~A() {--count;} in ~A() 40 int A::count = 0; member in A [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/bind/func.bind/func.bind.bind/ |
D | invoke_rvalue.pass.cpp | 22 int count = 0; variable 28 count += i; in f_void_1() 35 count += i; in operator ()() 38 void mem1() {++count;} in mem1() 39 void mem2() const {count += 2;} in mem2() 46 int save_count = count; in test_void_1() 50 assert(count == save_count + 2); in test_void_1() 51 save_count = count; in test_void_1() 55 assert(count == save_count + 2); in test_void_1() 56 save_count = count; in test_void_1() [all …]
|