Home
last modified time | relevance | path

Searched refs:move_constructed (Results 1 – 17 of 17) sorted by relevance

/external/llvm-project/libcxx/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.ctor/
Dalloc_copy.pass.cpp35 assert(P.move_constructed == 0); in main()
43 assert(P.move_constructed == 0); in main()
51 assert(P.move_constructed == 0); in main()
Dalloc_move.pass.cpp35 assert(P.move_constructed == 1); in main()
42 assert(P.move_constructed == 1); in main()
/external/libcxx/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.ctor/
Dalloc_copy.pass.cpp34 assert(P.move_constructed == 0); in main()
42 assert(P.move_constructed == 0); in main()
50 assert(P.move_constructed == 0); in main()
Dalloc_move.pass.cpp34 assert(P.move_constructed == 1); in main()
41 assert(P.move_constructed == 1); in main()
/external/libcxx/test/support/
Dcontrolled_allocators.hpp61 int move_constructed = 0; member
237 P->move_constructed += 1; in CountingAllocator()
247 P->move_constructed += 1; in CountingAllocator()
303 P->move_constructed += 1; in CountingAllocator()
313 P->move_constructed += 1; in CountingAllocator()
354 P->move_constructed += 1; in MinAlignedAllocator()
364 P->move_constructed += 1; in MinAlignedAllocator()
457 P->move_constructed += 1; in NullAllocator()
467 P->move_constructed += 1; in NullAllocator()
Darchetypes.hpp35 static int move_constructed; member
50 copy_constructed = move_constructed = 0; in reset_constructors()
100 ++alive; ++constructed; ++move_constructed; in TestBase()
125 template <class D, bool E> int TestBase<D, E>::move_constructed = 0; member in ArchetypeBases::TestBase<D, E>
/external/grpc-grpc/test/core/gprpp/
Dinlined_vector_test.cc186 IntVec8 move_constructed(std::move(tmp)); in TEST() local
188 EXPECT_EQ(original[i], move_constructed[i]); in TEST()
191 EXPECT_NE(move_constructed.data(), old_data); in TEST()
199 IntVec8 move_constructed(std::move(tmp)); in TEST() local
201 EXPECT_EQ(original[i], move_constructed[i]); in TEST()
204 EXPECT_EQ(move_constructed.data(), old_data); in TEST()
/external/llvm-project/libcxx/test/support/
Dcontrolled_allocators.h60 int move_constructed = 0; member
236 P->move_constructed += 1; in CountingAllocator()
246 P->move_constructed += 1; in CountingAllocator()
302 P->move_constructed += 1; in CountingAllocator()
312 P->move_constructed += 1; in CountingAllocator()
353 P->move_constructed += 1; in MinAlignedAllocator()
363 P->move_constructed += 1; in MinAlignedAllocator()
456 P->move_constructed += 1; in NullAllocator()
466 P->move_constructed += 1; in NullAllocator()
Darchetypes.h43 static int move_constructed; member
58 copy_constructed = move_constructed = 0; in reset_constructors()
108 ++alive; ++constructed; ++move_constructed; in TestBase()
133 template <class D, bool E> int TestBase<D, E>::move_constructed = 0;
/external/llvm-project/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/
Drvalue_T.pass.cpp76 assert(T::move_constructed == 1); in main()
86 assert(T::move_constructed == 1); in main()
97 assert(T::move_constructed == 0); in main()
Dmove.pass.cpp181 assert(T::move_constructed == 0); in main()
187 assert(T::move_constructed == 1); in main()
DU.pass.cpp136 assert(T::move_constructed == 0); in test_explicit()
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/
Drvalue_T.pass.cpp79 assert(T::move_constructed == 1); in main()
89 assert(T::move_constructed == 1); in main()
100 assert(T::move_constructed == 0); in main()
Dmove.pass.cpp184 assert(T::move_constructed == 0); in main()
190 assert(T::move_constructed == 1); in main()
DU.pass.cpp139 assert(T::move_constructed == 0); in test_explicit()
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/
Dassign_value.pass.cpp119 assert(T::move_constructed == 1); in test_with_test_type()
145 assert(T::move_constructed == 1); in test_with_test_type()
/external/llvm-project/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/
Dassign_value.pass.cpp118 assert(T::move_constructed == 1); in test_with_test_type()
144 assert(T::move_constructed == 1); in test_with_test_type()