Home
last modified time | relevance | path

Searched refs:NotTriviallyCopyable (Results 1 – 19 of 19) sorted by relevance

/external/cronet/tot/third_party/libc++/src/test/libcxx/type_traits/
Dis_trivially_relocatable.compile.pass.cpp43 struct NotTriviallyCopyable { struct
44 NotTriviallyCopyable(const NotTriviallyCopyable&);
45 ~NotTriviallyCopyable();
47 static_assert(!std::__libcpp_is_trivially_relocatable<NotTriviallyCopyable>::value, "");
66 static_assert(std::__libcpp_is_trivially_relocatable<std::__split_buffer<NotTriviallyCopyable> >::v…
74 static_assert(std::__libcpp_is_trivially_relocatable<std::array<NotTriviallyCopyable, 0> >::value, …
78 static_assert(!std::__libcpp_is_trivially_relocatable<std::array<NotTriviallyCopyable, 1> >::value,…
117 static_assert(std::__libcpp_is_trivially_relocatable<std::deque<NotTriviallyCopyable> >::value, "");
132 static_assert(!std::__libcpp_is_trivially_relocatable<std::expected<int, NotTriviallyCopyable>>::va…
133 static_assert(!std::__libcpp_is_trivially_relocatable<std::expected<NotTriviallyCopyable, int>>::va…
[all …]
/external/cronet/stable/third_party/libc++/src/test/libcxx/type_traits/
Dis_trivially_relocatable.compile.pass.cpp43 struct NotTriviallyCopyable { struct
44 NotTriviallyCopyable(const NotTriviallyCopyable&);
45 ~NotTriviallyCopyable();
47 static_assert(!std::__libcpp_is_trivially_relocatable<NotTriviallyCopyable>::value, "");
66 static_assert(std::__libcpp_is_trivially_relocatable<std::__split_buffer<NotTriviallyCopyable> >::v…
74 static_assert(std::__libcpp_is_trivially_relocatable<std::array<NotTriviallyCopyable, 0> >::value, …
78 static_assert(!std::__libcpp_is_trivially_relocatable<std::array<NotTriviallyCopyable, 1> >::value,…
117 static_assert(std::__libcpp_is_trivially_relocatable<std::deque<NotTriviallyCopyable> >::value, "");
132 static_assert(!std::__libcpp_is_trivially_relocatable<std::expected<int, NotTriviallyCopyable>>::va…
133 static_assert(!std::__libcpp_is_trivially_relocatable<std::expected<NotTriviallyCopyable, int>>::va…
[all …]
/external/cronet/stable/third_party/libc++/src/test/std/atomics/atomics.types.generic/
Dtrivially_copyable.verify.cpp22 struct NotTriviallyCopyable { struct
23 explicit NotTriviallyCopyable(int i) : i_(i) { } in NotTriviallyCopyable() function
24 NotTriviallyCopyable(const NotTriviallyCopyable &rhs) : i_(rhs.i_) { } in NotTriviallyCopyable() argument
29 NotTriviallyCopyable x(42); in f() argument
30 …std::atomic<NotTriviallyCopyable> a(x); // expected-error@*:* {{std::atomic<T> requires that 'T' b… in f()
/external/cronet/tot/third_party/libc++/src/test/std/atomics/atomics.types.generic/
Dtrivially_copyable.verify.cpp22 struct NotTriviallyCopyable { struct
23 explicit NotTriviallyCopyable(int i) : i_(i) { } in NotTriviallyCopyable() argument
24 NotTriviallyCopyable(const NotTriviallyCopyable &rhs) : i_(rhs.i_) { } in NotTriviallyCopyable() function
29 NotTriviallyCopyable x(42); in f() argument
30 …std::atomic<NotTriviallyCopyable> a(x); // expected-error@*:* {{std::atomic<T> requires that 'T' b… in f()
/external/libcxx/utils/google-benchmark/test/
Ddonotoptimize_assembly_test.cc15 struct NotTriviallyCopyable { struct
16 NotTriviallyCopyable();
17 explicit NotTriviallyCopyable(int x) : value(x) {} in NotTriviallyCopyable() function
18 NotTriviallyCopyable(NotTriviallyCopyable const&);
47 benchmark::DoNotOptimize(NotTriviallyCopyable(ExternInt)); in test_with_non_trivial_rvalue()
74 NotTriviallyCopyable NTC(ExternInt); in test_with_non_trivial_lvalue()
102 const NotTriviallyCopyable Obj(ExternInt); in test_with_non_trivial_const_lvalue()
/external/cronet/tot/third_party/google_benchmark/src/test/
Ddonotoptimize_assembly_test.cc19 struct NotTriviallyCopyable {
20 NotTriviallyCopyable();
21 explicit NotTriviallyCopyable(int x) : value(x) {}
22 NotTriviallyCopyable(NotTriviallyCopyable const &);
58 benchmark::DoNotOptimize(NotTriviallyCopyable(ExternInt)); in test_with_non_trivial_rvalue()
101 NotTriviallyCopyable NTC(ExternInt); in test_with_non_trivial_lvalue()
141 const NotTriviallyCopyable Obj(ExternInt); in test_with_non_trivial_const_lvalue()
/external/cronet/stable/third_party/google_benchmark/src/test/
Ddonotoptimize_assembly_test.cc19 struct NotTriviallyCopyable {
20 NotTriviallyCopyable();
21 explicit NotTriviallyCopyable(int x) : value(x) {}
22 NotTriviallyCopyable(NotTriviallyCopyable const &);
58 benchmark::DoNotOptimize(NotTriviallyCopyable(ExternInt)); in test_with_non_trivial_rvalue()
101 NotTriviallyCopyable NTC(ExternInt); in test_with_non_trivial_lvalue()
141 const NotTriviallyCopyable Obj(ExternInt); in test_with_non_trivial_const_lvalue()
/external/google-benchmark/test/
Ddonotoptimize_assembly_test.cc19 struct NotTriviallyCopyable {
20 NotTriviallyCopyable();
21 explicit NotTriviallyCopyable(int x) : value(x) {}
22 NotTriviallyCopyable(NotTriviallyCopyable const &);
58 benchmark::DoNotOptimize(NotTriviallyCopyable(ExternInt)); in test_with_non_trivial_rvalue()
101 NotTriviallyCopyable NTC(ExternInt); in test_with_non_trivial_lvalue()
141 const NotTriviallyCopyable Obj(ExternInt); in test_with_non_trivial_const_lvalue()
/external/libcxx/test/std/atomics/atomics.types.generic/
Dtrivially_copyable.fail.cpp56 struct NotTriviallyCopyable { struct
57 NotTriviallyCopyable ( int i ) : i_(i) {} in NotTriviallyCopyable() argument
58 NotTriviallyCopyable ( const NotTriviallyCopyable &rhs) : i_(rhs.i_) {} in NotTriviallyCopyable() function
69 test(NotTriviallyCopyable(42)); in main() argument
/external/cronet/stable/base/memory/
Dstructured_shared_memory_nocompile.nc18 struct NotTriviallyCopyable {
22 static_assert(!std::is_trivially_copyable_v<NotTriviallyCopyable>);
27 …StructuredSharedMemory<NotTriviallyCopyable>::Create(); // expected-error@base/memory/structured_…
28 StructuredSharedMemory<NotTriviallyCopyable>::MapReadOnlyRegion(
Dshared_memory_mapping_nocompile.nc26 struct NotTriviallyCopyable {
30 static_assert(!std::is_trivially_copyable_v<NotTriviallyCopyable>);
57 ReadOnlySharedMemoryRegion::Create(sizeof(NotTriviallyCopyable));
59 …write_map.GetMemoryAs<NotTriviallyCopyable>(); // expected-error@base/memory/shared_memory_mappin…
60 …write_map.GetMemoryAsSpan<NotTriviallyCopyable>(); // expected-error@base/memory/shared_memory_ma…
61 …write_map.GetMemoryAsSpan<NotTriviallyCopyable>(1); // expected-error@base/memory/shared_memory_m…
63 …read_map.GetMemoryAs<NotTriviallyCopyable>(); // expected-error@base/memory/shared_memory_mapping…
64 …read_map.GetMemoryAsSpan<NotTriviallyCopyable>(); // expected-error@base/memory/shared_memory_map…
65 …read_map.GetMemoryAsSpan<NotTriviallyCopyable>(1); // expected-error@base/memory/shared_memory_ma…
/external/cronet/tot/base/memory/
Dstructured_shared_memory_nocompile.nc18 struct NotTriviallyCopyable {
22 static_assert(!std::is_trivially_copyable_v<NotTriviallyCopyable>);
27 …StructuredSharedMemory<NotTriviallyCopyable>::Create(); // expected-error@base/memory/structured_…
28 StructuredSharedMemory<NotTriviallyCopyable>::MapReadOnlyRegion(
Dshared_memory_mapping_nocompile.nc26 struct NotTriviallyCopyable {
30 static_assert(!std::is_trivially_copyable_v<NotTriviallyCopyable>);
57 ReadOnlySharedMemoryRegion::Create(sizeof(NotTriviallyCopyable));
59 …write_map.GetMemoryAs<NotTriviallyCopyable>(); // expected-error@base/memory/shared_memory_mappin…
60 …write_map.GetMemoryAsSpan<NotTriviallyCopyable>(); // expected-error@base/memory/shared_memory_ma…
61 …write_map.GetMemoryAsSpan<NotTriviallyCopyable>(1); // expected-error@base/memory/shared_memory_m…
63 …read_map.GetMemoryAs<NotTriviallyCopyable>(); // expected-error@base/memory/shared_memory_mapping…
64 …read_map.GetMemoryAsSpan<NotTriviallyCopyable>(); // expected-error@base/memory/shared_memory_map…
65 …read_map.GetMemoryAsSpan<NotTriviallyCopyable>(1); // expected-error@base/memory/shared_memory_ma…
/external/cronet/stable/third_party/abseil-cpp/absl/container/
Dfixed_array_test.cc431 TEST(FillConstructorTest, NotTriviallyCopyable) { in TEST() argument
/external/cronet/tot/third_party/abseil-cpp/absl/container/
Dfixed_array_test.cc431 TEST(FillConstructorTest, NotTriviallyCopyable) { in TEST() argument
/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/
Dfixed_array_test.cc431 TEST(FillConstructorTest, NotTriviallyCopyable) { in TEST() argument
/external/openscreen/third_party/abseil/src/absl/container/
Dfixed_array_test.cc431 TEST(FillConstructorTest, NotTriviallyCopyable) { in TEST() argument
/external/abseil-cpp/absl/container/
Dfixed_array_test.cc431 TEST(FillConstructorTest, NotTriviallyCopyable) { in TEST() argument
/external/angle/third_party/abseil-cpp/absl/container/
Dfixed_array_test.cc448 TEST(FillConstructorTest, NotTriviallyCopyable) { in TEST() argument