Home
last modified time | relevance | path

Searched defs:NonCopyable (Results 1 – 25 of 56) sorted by relevance

123

/aosp_15_r20/external/cronet/base/containers/
H A Dextend_unittest.cc22 struct NonCopyable { struct
23 char c_;
24 explicit NonCopyable(char c) : c_(c) {} in NonCopyable() function
/aosp_15_r20/external/cronet/third_party/libc++/src/test/libcxx/utilities/expected/expected.expected/
H A Derror_or.mandates.verify.cpp21 struct NonCopyable { struct
22 NonCopyable(int) {} in NonCopyable() argument
H A Dvalue_or.mandates.verify.cpp22 struct NonCopyable { struct
23 NonCopyable(int) {} in NonCopyable() function
/aosp_15_r20/external/cronet/third_party/libc++/src/test/libcxx/utilities/expected/expected.void/
H A Derror_or.mandates.verify.cpp21 struct NonCopyable { struct
22 NonCopyable(int) {} in NonCopyable() argument
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/utilities/function.objects/func.invoke/
H A Dinvoke_constexpr.pass.cpp52 struct NonCopyable { struct
53 constexpr NonCopyable() {} in NonCopyable() argument
79 constexpr const int& foo(NonCopyable&&) { in foo() argument
H A Dinvoke_r.pass.cpp78 struct NonCopyable { in test() struct
86 auto f = [&](NonCopyable) { was_called = true; }; in test() argument
93 auto f = [&](NonCopyable) -> int { was_called = true; return 0; }; in test() argument
H A Dinvoke.pass.cpp51 struct NonCopyable { struct
52 NonCopyable() {} in NonCopyable() argument
81 int& foo(NonCopyable&&) { in foo() argument
/aosp_15_r20/external/libcxx/test/std/thread/thread.mutex/thread.once/thread.once.callonce/
H A Dcall_once.pass.cpp160 class NonCopyable class
165 NonCopyable(const NonCopyable&) in NonCopyable() function in NonCopyable
172 NonCopyable() {} in NonCopyable() function in NonCopyable
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/thread/thread.mutex/thread.once/thread.once.callonce/
H A Dcall_once.pass.cpp160 class NonCopyable class
165 NonCopyable(const NonCopyable&) in NonCopyable() function in NonCopyable
172 NonCopyable() {} in NonCopyable() function in NonCopyable
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/utilities/expected/expected.void/monadic/
H A Dand_then.pass.cpp25 struct NonCopyable { struct
26 constexpr NonCopyable(int) {} in NonCopyable() argument
/aosp_15_r20/external/libcxx/test/std/utilities/function.objects/func.invoke/
H A Dinvoke.pass.cpp46 struct NonCopyable { struct
47 NonCopyable() {} in NonCopyable() argument
76 int& foo(NonCopyable&&) { in foo() argument
/aosp_15_r20/external/llvm/unittests/ADT/
H A DSmallVectorTest.cpp143 struct NonCopyable { struct
144 NonCopyable() {} in NonCopyable() argument
145 NonCopyable(NonCopyable &&) {} in NonCopyable() function
146 NonCopyable &operator=(NonCopyable &&) { return *this; } in operator =()
/aosp_15_r20/external/private-join-and-compute/third_party/abseil-cpp-20230125.2/absl/functional/
H A Dbind_front_test.cc107 struct NonCopyable { struct
108 explicit NonCopyable(const std::string& s) : value(s) {} in NonCopyable() argument
112 std::string value;
/aosp_15_r20/external/openscreen/third_party/abseil/src/absl/functional/
H A Dbind_front_test.cc107 struct NonCopyable { struct
108 explicit NonCopyable(const std::string& s) : value(s) {} in NonCopyable() argument
112 std::string value;
/aosp_15_r20/external/abseil-cpp/absl/functional/
H A Dbind_front_test.cc107 struct NonCopyable { struct
108 explicit NonCopyable(const std::string& s) : value(s) {} in NonCopyable() function
112 std::string value;
/aosp_15_r20/external/webrtc/third_party/abseil-cpp/absl/functional/
H A Dbind_front_test.cc107 struct NonCopyable { struct
108 explicit NonCopyable(const std::string& s) : value(s) {} in NonCopyable() argument
112 std::string value;
/aosp_15_r20/external/cronet/third_party/abseil-cpp/absl/functional/
H A Dbind_front_test.cc107 struct NonCopyable { struct
108 explicit NonCopyable(const std::string& s) : value(s) {} in NonCopyable() function
112 std::string value;
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/functional/
Dbind_front_test.cc107 struct NonCopyable { struct
108 explicit NonCopyable(const std::string& s) : value(s) {} in NonCopyable() argument
112 std::string value;
/aosp_15_r20/external/angle/third_party/abseil-cpp/absl/functional/
H A Dbind_front_test.cc107 struct NonCopyable { struct
108 explicit NonCopyable(const std::string& s) : value(s) {} in NonCopyable() function
112 std::string value;
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/utilities/function.objects/func.wrap/func.wrap.func/
H A Dnoncopyable_return_type.pass.cpp30 struct NonCopyable { struct
33 friend bool operator==(NonCopyable, NonCopyable) { return true; } in operator ==() argument
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/utilities/expected/expected.expected/monadic/
H A Dand_then.pass.cpp139 struct NonCopyable { struct
140 constexpr NonCopyable(int) {} in NonCopyable() argument
/aosp_15_r20/external/private-join-and-compute/third_party/abseil-cpp-20230125.2/absl/base/
H A Dexception_safety_testing_test.cc788 struct NonCopyable : public NonNegative { struct
790 NonCopyable() : NonNegative{0} {} in NonCopyable() argument
792 void operator()() { ThrowingValue<> bomb; } in operator ()()
795 TEST(ExceptionCheckTest, NonCopyable) { in TEST() argument
/aosp_15_r20/external/abseil-cpp/absl/base/
H A Dexception_safety_testing_test.cc791 struct NonCopyable : public NonNegative { struct
793 NonCopyable() : NonNegative{0} {} in NonCopyable() argument
795 void operator()() { ThrowingValue<> bomb; } in operator ()()
798 TEST(ExceptionCheckTest, NonCopyable) { in TEST() argument
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/base/
Dexception_safety_testing_test.cc788 struct NonCopyable : public NonNegative { struct
790 NonCopyable() : NonNegative{0} {} in NonCopyable() function
792 void operator()() { ThrowingValue<> bomb; } in operator ()()
795 TEST(ExceptionCheckTest, NonCopyable) { in TEST() argument
/aosp_15_r20/external/webrtc/third_party/abseil-cpp/absl/base/
H A Dexception_safety_testing_test.cc788 struct NonCopyable : public NonNegative { struct
790 NonCopyable() : NonNegative{0} {} in NonCopyable() function
792 void operator()() { ThrowingValue<> bomb; } in operator ()()
795 TEST(ExceptionCheckTest, NonCopyable) { in TEST() argument

123