Home
last modified time | relevance | path

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

/external/cronet/tot/base/types/
Dzip_unittest.cc168 struct NotCopyable { in TEST() struct
169 explicit NotCopyable(int x) : value(x) {} in TEST() function
170 NotCopyable(const NotCopyable&) = delete; in TEST()
171 NotCopyable& operator=(const NotCopyable&) = delete; in TEST()
172 NotCopyable(NotCopyable&& other) = default; in TEST()
173 NotCopyable& operator=(NotCopyable&& other) = default; in TEST()
177 auto a = std::to_array<NotCopyable>({NotCopyable{10}, NotCopyable{10}}); in TEST()
178 auto b = std::to_array<NotCopyable>({NotCopyable{20}, NotCopyable{20}}); in TEST()
179 auto c = std::to_array<NotCopyable>({NotCopyable{30}, NotCopyable{30}}); in TEST()
/external/cronet/stable/base/types/
Dzip_unittest.cc168 struct NotCopyable { in TEST() struct
169 explicit NotCopyable(int x) : value(x) {} in TEST() argument
170 NotCopyable(const NotCopyable&) = delete; in TEST()
171 NotCopyable& operator=(const NotCopyable&) = delete; in TEST()
172 NotCopyable(NotCopyable&& other) = default; in TEST()
173 NotCopyable& operator=(NotCopyable&& other) = default; in TEST()
177 auto a = std::to_array<NotCopyable>({NotCopyable{10}, NotCopyable{10}}); in TEST()
178 auto b = std::to_array<NotCopyable>({NotCopyable{20}, NotCopyable{20}}); in TEST()
179 auto c = std::to_array<NotCopyable>({NotCopyable{30}, NotCopyable{30}}); in TEST()
/external/tensorflow/tensorflow/core/lib/gtl/
Dint_type_test.cc271 struct NotCopyable { in TYPED_TEST() struct
275 static NotCopyable Make(int i) { in TYPED_TEST() argument
276 NotCopyable f; in TYPED_TEST()
284 NotCopyable foo = NotCopyable::Make(123); in TYPED_TEST()
289 foo = NotCopyable::Make(321); in TYPED_TEST()
/external/cronet/stable/third_party/libc++/src/test/std/utilities/variant/variant.variant/variant.swap/
Dswap.pass.cpp30 struct NotCopyable { struct
31 NotCopyable() = default;
32 NotCopyable(const NotCopyable&) = delete;
33 NotCopyable& operator=(const NotCopyable&) = delete;
503 using V = std::variant<int, NotCopyable>; in test_swap_sfinae()
/external/cronet/tot/third_party/libc++/src/test/std/utilities/variant/variant.variant/variant.swap/
Dswap.pass.cpp30 struct NotCopyable { struct
31 NotCopyable() = default;
32 NotCopyable(const NotCopyable&) = delete;
33 NotCopyable& operator=(const NotCopyable&) = delete;
503 using V = std::variant<int, NotCopyable>; in test_swap_sfinae()
/external/libcxx/test/std/utilities/variant/variant.variant/variant.swap/
Dswap.pass.cpp39 struct NotCopyable { struct
40 NotCopyable() = default;
41 NotCopyable(const NotCopyable &) = delete;
42 NotCopyable &operator=(const NotCopyable &) = delete;
504 using V = std::variant<int, NotCopyable>; in test_swap_sfinae()
/external/googletest/googlemock/test/
Dgmock-matchers-misc_test.cc98 class NotCopyable { class
100 explicit NotCopyable(int a_value) : value_(a_value) {} in NotCopyable() function in testing::gmock_matchers_test::__anon5b84ef990111::NotCopyable
104 bool operator==(const NotCopyable& rhs) const { in operator ==()
108 bool operator>=(const NotCopyable& rhs) const { in operator >=()
115 NotCopyable(const NotCopyable&) = delete;
116 NotCopyable& operator=(const NotCopyable&) = delete;
120 const NotCopyable const_value1(1); in TEST()
121 const Matcher<const NotCopyable&> m = Eq(ByRef(const_value1)); in TEST()
123 const NotCopyable n1(1), n2(2); in TEST()
129 NotCopyable value2(2); in TEST()
[all …]
/external/cronet/tot/third_party/boringssl/src/third_party/googletest/googlemock/test/
Dgmock-matchers-misc_test.cc98 class NotCopyable { class
100 explicit NotCopyable(int a_value) : value_(a_value) {} in NotCopyable() function in testing::gmock_matchers_test::__anonea76bd840111::NotCopyable
104 bool operator==(const NotCopyable& rhs) const { in operator ==()
108 bool operator>=(const NotCopyable& rhs) const { in operator >=()
115 NotCopyable(const NotCopyable&) = delete;
116 NotCopyable& operator=(const NotCopyable&) = delete;
120 const NotCopyable const_value1(1); in TEST()
121 const Matcher<const NotCopyable&> m = Eq(ByRef(const_value1)); in TEST()
123 const NotCopyable n1(1), n2(2); in TEST()
129 NotCopyable value2(2); in TEST()
[all …]
/external/cronet/stable/third_party/boringssl/src/third_party/googletest/googlemock/test/
Dgmock-matchers-misc_test.cc98 class NotCopyable { class
100 explicit NotCopyable(int a_value) : value_(a_value) {} in NotCopyable() function in testing::gmock_matchers_test::__anon587e72e80111::NotCopyable
104 bool operator==(const NotCopyable& rhs) const { in operator ==()
108 bool operator>=(const NotCopyable& rhs) const { in operator >=()
115 NotCopyable(const NotCopyable&) = delete;
116 NotCopyable& operator=(const NotCopyable&) = delete;
120 const NotCopyable const_value1(1); in TEST()
121 const Matcher<const NotCopyable&> m = Eq(ByRef(const_value1)); in TEST()
123 const NotCopyable n1(1), n2(2); in TEST()
129 NotCopyable value2(2); in TEST()
[all …]
/external/cronet/stable/third_party/googletest/src/googlemock/test/
Dgmock-matchers-misc_test.cc98 class NotCopyable { class
100 explicit NotCopyable(int a_value) : value_(a_value) {} in NotCopyable() function in testing::gmock_matchers_test::__anondae8f58d0111::NotCopyable
104 bool operator==(const NotCopyable& rhs) const { in operator ==()
108 bool operator>=(const NotCopyable& rhs) const { in operator >=()
115 NotCopyable(const NotCopyable&) = delete;
116 NotCopyable& operator=(const NotCopyable&) = delete;
120 const NotCopyable const_value1(1); in TEST()
121 const Matcher<const NotCopyable&> m = Eq(ByRef(const_value1)); in TEST()
123 const NotCopyable n1(1), n2(2); in TEST()
129 NotCopyable value2(2); in TEST()
[all …]
/external/cronet/tot/third_party/googletest/src/googlemock/test/
Dgmock-matchers-misc_test.cc98 class NotCopyable { class
100 explicit NotCopyable(int a_value) : value_(a_value) {} in NotCopyable() function in testing::gmock_matchers_test::__anon41d4c3290111::NotCopyable
104 bool operator==(const NotCopyable& rhs) const { in operator ==()
108 bool operator>=(const NotCopyable& rhs) const { in operator >=()
115 NotCopyable(const NotCopyable&) = delete;
116 NotCopyable& operator=(const NotCopyable&) = delete;
120 const NotCopyable const_value1(1); in TEST()
121 const Matcher<const NotCopyable&> m = Eq(ByRef(const_value1)); in TEST()
123 const NotCopyable n1(1), n2(2); in TEST()
129 NotCopyable value2(2); in TEST()
[all …]