Home
last modified time | relevance | path

Searched refs:population_ (Results 1 – 4 of 4) sorted by relevance

/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.fill.n/
Duninitialized_fill_n.pass.cpp24 static int population_; member
26 explicit B() : data_(1) { ++population_; } in B()
32 ++population_; in B()
34 ~B() {data_ = 0; --population_; } in ~B()
38 int B::population_ = 0; member in B
56 assert(B::population_ == 0); in main()
65 assert(B::population_ == 0); in main()
73 assert(B::population_ == 2); in main()
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.fill/
Duninitialized_fill.pass.cpp25 static int population_; member
27 explicit B() : data_(1) { ++population_; } in B()
33 ++population_; in B()
35 ~B() {data_ = 0; --population_; } in ~B()
39 int B::population_ = 0; member in B
57 assert(B::population_ == 0); in main()
66 assert(B::population_ == 0); in main()
73 assert(B::population_ == 2); in main()
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.copy/
Duninitialized_copy.pass.cpp25 static int population_; member
27 explicit B() : data_(1) { ++population_; } in B()
33 ++population_; in B()
35 ~B() {data_ = 0; --population_; } in ~B()
39 int B::population_ = 0; member in B
58 assert(B::population_ == N); in main()
67 assert(B::population_ == N); in main()
74 assert(B::population_ == N + 2); in main()
Duninitialized_copy_n.pass.cpp25 static int population_; member
27 explicit B() : data_(1) { ++population_; } in B()
33 ++population_; in B()
35 ~B() {data_ = 0; --population_; } in ~B()
38 int B::population_ = 0; member in B
58 assert(B::population_ == N); in main()
67 assert(B::population_ == N); in main()
74 assert(B::population_ == N + 2); in main()