HomeSort by relevance Sort by last modified time
    Searched full:a_constructed (Results 1 - 13 of 13) sorted by null

  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/default.allocator/allocator.members/
construct.pass.cpp 35 int A_constructed = 0;
40 A() {++A_constructed;}
42 A(const A&) {++A_constructed;}
44 explicit A(int) {++A_constructed;}
45 A(int, int*) {++A_constructed;}
47 ~A() {--A_constructed;}
82 assert(A_constructed == 0);
86 assert(A_constructed == 0);
90 assert(A_constructed == 1);
94 assert(A_constructed == 0)
    [all...]
allocate.pass.cpp 35 int A_constructed = 0;
40 A() {++A_constructed;}
41 A(const A&) {++A_constructed;}
42 ~A() {--A_constructed;}
49 assert(A_constructed == 0);
52 assert(A_constructed == 0);
55 assert(A_constructed == 0);
59 assert(A_constructed == 0);
62 assert(A_constructed == 0);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/storage.iterator/
raw_storag_iterator.pass.cpp 16 int A_constructed = 0;
22 explicit A(int i) : data_(i) {++A_constructed;}
24 A(const A& a) : data_(a.data_) {++A_constructed;}
25 ~A() {--A_constructed; data_ = 0;}
36 assert(A_constructed == 0);
42 assert(A_constructed == i+1);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.dynamic/new.delete/new.delete.placement/
new.pass.cpp 15 int A_constructed = 0;
19 A() {++A_constructed;}
20 ~A() {--A_constructed;}
29 assert(A_constructed == 1);
new_array.pass.cpp 15 int A_constructed = 0;
19 A() {++A_constructed;}
20 ~A() {--A_constructed;}
29 assert(A_constructed == 3);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.dynamic/new.delete/new.delete.array/
new_array.pass.cpp 25 int A_constructed = 0;
29 A() {++A_constructed;}
30 ~A() {--A_constructed;}
51 assert(A_constructed == 3);
53 assert(A_constructed == 0);
new_array_nothrow.pass.cpp 25 int A_constructed = 0;
29 A() {++A_constructed;}
30 ~A() {--A_constructed;}
48 assert(A_constructed == 3);
50 assert(A_constructed == 0);
new_array_nothrow_replace.pass.cpp 32 volatile int A_constructed = 0;
36 A() {++A_constructed;}
37 ~A() {--A_constructed;}
44 assert(A_constructed == 3);
47 assert(A_constructed == 0);
new_array_replace.pass.cpp 32 int A_constructed = 0;
36 A() {++A_constructed;}
37 ~A() {--A_constructed;}
44 assert(A_constructed == 3);
47 assert(A_constructed == 0);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.dynamic/new.delete/new.delete.single/
new.pass.cpp 25 bool A_constructed = false;
29 A() {A_constructed = true;}
30 ~A() {A_constructed = false;}
51 assert(A_constructed);
53 assert(!A_constructed);
new_nothrow.pass.cpp 25 bool A_constructed = false;
29 A() {A_constructed = true;}
30 ~A() {A_constructed = false;}
48 assert(A_constructed);
50 assert(!A_constructed);
new_nothrow_replace.pass.cpp 32 bool A_constructed = false;
36 A() {A_constructed = true;}
37 ~A() {A_constructed = false;}
44 assert(A_constructed);
47 assert(!A_constructed);
new_replace.pass.cpp 32 bool A_constructed = false;
36 A() {A_constructed = true;}
37 ~A() {A_constructed = false;}
44 assert(A_constructed);
47 assert(!A_constructed);

Completed in 527 milliseconds