Home
last modified time | relevance | path

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

/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.hpp31 static int copy_constructed; member
47 copy_constructed = move_constructed = 0; in reset_constructors()
91 ++alive; ++constructed; ++copy_constructed; in TestBase()
119 template <class D, bool E> int TestBase<D, E>::copy_constructed = 0; member in ArchetypeBases::TestBase<D, E>
/external/libcxx/test/std/utilities/utility/pairs/pairs.pair/
Dassign_tuple.pass.cpp31 static int copy_constructed; member
37 constructed = copy_constructed = move_constructed = 0; in reset()
42 CountingType(CountingType const& o) : value(o.value) { ++constructed; ++copy_constructed; } in CountingType()
61 int CountingType::copy_constructed; member in CountingType
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/
Dconst_T.pass.cpp66 assert(T::copy_constructed == 1); in main()
77 assert(T::copy_constructed == 1); in main()
Dcopy.pass.cpp132 assert(T::copy_constructed == 0); in main()
135 assert(T::copy_constructed == 1); in main()
DU.pass.cpp118 assert(T::copy_constructed == 0); in test_explicit()
Drvalue_T.pass.cpp91 assert(T::copy_constructed == 0); in main()
/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/libchrome/base/
Dcommand_line_unittest.cc399 CommandLine copy_constructed(*initial); in TEST() local
404 EXPECT_TRUE(copy_constructed.HasSwitch(pair.first)); in TEST()