Home
last modified time | relevance | path

Searched refs:copy_constructed (Results 1 – 21 of 21) sorted by relevance

/external/llvm-project/libcxx/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.ctor/
Dalloc_copy.pass.cpp34 assert(P.copy_constructed == 1); in main()
42 assert(P.copy_constructed == 1); in main()
50 assert(P.copy_constructed == 1); in main()
Dalloc_move.pass.cpp34 assert(P.copy_constructed == 0); in main()
41 assert(P.copy_constructed == 0); in main()
/external/libcxx/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.ctor/
Dalloc_copy.pass.cpp33 assert(P.copy_constructed == 1); in main()
41 assert(P.copy_constructed == 1); in main()
49 assert(P.copy_constructed == 1); in main()
Dalloc_move.pass.cpp33 assert(P.copy_constructed == 0); in main()
40 assert(P.copy_constructed == 0); in main()
/external/libcxx/test/support/
Dcontrolled_allocators.hpp60 int copy_constructed = 0; member
233 P->copy_constructed += 1; in CountingAllocator()
242 P->copy_constructed += 1; in CountingAllocator()
299 P->copy_constructed += 1; in CountingAllocator()
308 P->copy_constructed += 1; in CountingAllocator()
350 P->copy_constructed += 1; in MinAlignedAllocator()
359 P->copy_constructed += 1; in MinAlignedAllocator()
453 P->copy_constructed += 1; in NullAllocator()
462 P->copy_constructed += 1; in NullAllocator()
Darchetypes.hpp34 static int copy_constructed; member
50 copy_constructed = move_constructed = 0; in reset_constructors()
96 ++alive; ++constructed; ++copy_constructed; in TestBase()
124 template <class D, bool E> int TestBase<D, E>::copy_constructed = 0; member in ArchetypeBases::TestBase<D, E>
/external/llvm-project/libcxx/test/support/
Dcontrolled_allocators.h59 int copy_constructed = 0; member
232 P->copy_constructed += 1; in CountingAllocator()
241 P->copy_constructed += 1; in CountingAllocator()
298 P->copy_constructed += 1; in CountingAllocator()
307 P->copy_constructed += 1; in CountingAllocator()
349 P->copy_constructed += 1; in MinAlignedAllocator()
358 P->copy_constructed += 1; in MinAlignedAllocator()
452 P->copy_constructed += 1; in NullAllocator()
461 P->copy_constructed += 1; in NullAllocator()
Darchetypes.h42 static int copy_constructed; member
58 copy_constructed = move_constructed = 0; in reset_constructors()
104 ++alive; ++constructed; ++copy_constructed; in TestBase()
132 template <class D, bool E> int TestBase<D, E>::copy_constructed = 0;
/external/grpc-grpc/test/core/gprpp/
Dinlined_vector_test.cc122 IntVec8 copy_constructed(original); in TEST() local
124 EXPECT_EQ(original[i], copy_constructed[i]); in TEST()
131 IntVec8 copy_constructed(original); in TEST() local
133 EXPECT_EQ(original[i], copy_constructed[i]); in TEST()
/external/llvm-project/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/
Dconst_T.pass.cpp71 assert(T::copy_constructed == 1); in main()
82 assert(T::copy_constructed == 1); in main()
Dcopy.pass.cpp144 assert(T::copy_constructed == 0); in main()
147 assert(T::copy_constructed == 1); in main()
Drvalue_T.pass.cpp96 assert(T::copy_constructed == 0); in main()
DU.pass.cpp137 assert(T::copy_constructed == 0); in test_explicit()
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/
Dconst_T.pass.cpp74 assert(T::copy_constructed == 1); in main()
85 assert(T::copy_constructed == 1); in main()
Dcopy.pass.cpp145 assert(T::copy_constructed == 0); in main()
148 assert(T::copy_constructed == 1); in main()
Drvalue_T.pass.cpp99 assert(T::copy_constructed == 0); in main()
DU.pass.cpp140 assert(T::copy_constructed == 0); in test_explicit()
/external/libchrome/base/task_scheduler/
Dtracked_ref_unittest.cc139 TrackedRef<Foo> copy_constructed(plain); in TEST() local
142 TrackedRef<Foo> moved_constructed(std::move(copy_constructed)); in TEST()
/external/libcxx/test/std/utilities/optional/optional.specalg/
Dswap.pass.cpp106 assert(T::copy_constructed == 1); in test_swap_sfinae()
107 assert(T::constructed == T::copy_constructed); in test_swap_sfinae()
/external/llvm-project/libcxx/test/std/utilities/optional/optional.specalg/
Dswap.pass.cpp105 assert(T::copy_constructed == 1); in test_swap_sfinae()
106 assert(T::constructed == T::copy_constructed); in test_swap_sfinae()
/external/libchrome/base/
Dcommand_line_unittest.cc399 CommandLine copy_constructed(*initial); in TEST() local
404 EXPECT_TRUE(copy_constructed.HasSwitch(pair.first)); in TEST()