Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/lib/gtl/
Dint_type_test.cc276 struct NotCopyable { in TYPED_TEST() struct
280 static NotCopyable Make(int i) { in TYPED_TEST() argument
281 NotCopyable f; in TYPED_TEST()
289 NotCopyable foo = NotCopyable::Make(123); in TYPED_TEST()
294 foo = NotCopyable::Make(321); in TYPED_TEST()
/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/google-breakpad/src/testing/test/
Dgmock-matchers_test.cc3570 class NotCopyable { class
3572 explicit NotCopyable(int a_value) : value_(a_value) {} in NotCopyable() function in testing::gmock_matchers_test::NotCopyable
3576 bool operator==(const NotCopyable& rhs) const { in operator ==()
3580 bool operator>=(const NotCopyable& rhs) const { in operator >=()
3586 GTEST_DISALLOW_COPY_AND_ASSIGN_(NotCopyable);
3590 const NotCopyable const_value1(1); in TEST()
3591 const Matcher<const NotCopyable&> m = Eq(ByRef(const_value1)); in TEST()
3593 const NotCopyable n1(1), n2(2); in TEST()
3599 NotCopyable value2(2); in TEST()
3600 const Matcher<NotCopyable&> m = Ge(ByRef(value2)); in TEST()
[all …]
/external/googletest/googlemock/test/
Dgmock-matchers_test.cc4677 class NotCopyable { class
4679 explicit NotCopyable(int a_value) : value_(a_value) {} in NotCopyable() function in testing::gmock_matchers_test::__anon67385ff30111::NotCopyable
4683 bool operator==(const NotCopyable& rhs) const { in operator ==()
4687 bool operator>=(const NotCopyable& rhs) const { in operator >=()
4693 GTEST_DISALLOW_COPY_AND_ASSIGN_(NotCopyable);
4697 const NotCopyable const_value1(1); in TEST()
4698 const Matcher<const NotCopyable&> m = Eq(ByRef(const_value1)); in TEST()
4700 const NotCopyable n1(1), n2(2); in TEST()
4706 NotCopyable value2(2); in TEST()
4707 const Matcher<NotCopyable&> m = Ge(ByRef(value2)); in TEST()
[all …]