Home
last modified time | relevance | path

Searched refs:Uncopyable (Results 1 – 7 of 7) sorted by relevance

/external/clang/test/SemaObjCXX/
Dunknown-anytype.mm27 struct Uncopyable {
28 Uncopyable();
30 Uncopyable(const Uncopyable &); // expected-note {{declared private here}}
34 Uncopyable v;
39 Uncopyable v;
40 [obj test_c: (const Uncopyable&) v];
/external/clang/test/SemaCXX/
Dundefined-internal.cpp114 struct Uncopyable { struct
115 Uncopyable() {} in Uncopyable() argument
117 Uncopyable(const Uncopyable&); // expected-note {{declared private here}}
120 void f(const Uncopyable&) {} in f() argument
122 f(Uncopyable()); // expected-warning {{C++98 requires an accessible copy constructor}} in test()
/external/protobuf/gtest/test/
Dgtest_unittest.cc3956 class Uncopyable { class
3958 explicit Uncopyable(int value) : value_(value) {} in Uncopyable() function in __anon5191551a0111::Uncopyable
3961 bool operator==(const Uncopyable& rhs) const { in operator ==()
3967 Uncopyable(const Uncopyable&); // NOLINT
3972 ::std::ostream& operator<<(::std::ostream& os, const Uncopyable& value) { in operator <<()
3977 bool IsPositiveUncopyable(const Uncopyable& x) { in IsPositiveUncopyable()
3983 Uncopyable y(-1); in TestAssertNonPositive()
3988 Uncopyable x(5); in TestAssertEqualsUncopyable()
3989 Uncopyable y(-1); in TestAssertEqualsUncopyable()
3995 Uncopyable x(5); in TEST()
[all …]
/external/chromium_org/testing/gtest/test/
Dgtest_unittest.cc3590 class Uncopyable { class
3592 explicit Uncopyable(int a_value) : value_(a_value) {} in Uncopyable() function in __anon9c8c3c210111::Uncopyable
3595 bool operator==(const Uncopyable& rhs) const { in operator ==()
3601 Uncopyable(const Uncopyable&); // NOLINT
3606 ::std::ostream& operator<<(::std::ostream& os, const Uncopyable& value) { in operator <<()
3611 bool IsPositiveUncopyable(const Uncopyable& x) { in IsPositiveUncopyable()
3617 Uncopyable y(-1); in TestAssertNonPositive()
3622 Uncopyable x(5); in TestAssertEqualsUncopyable()
3623 Uncopyable y(-1); in TestAssertEqualsUncopyable()
3629 Uncopyable x(5); in TEST()
[all …]
/external/chromium/testing/gtest/test/
Dgtest_unittest.cc3752 class Uncopyable { class
3754 explicit Uncopyable(int a_value) : value_(a_value) {} in Uncopyable() function in __anon0647b4fa0111::Uncopyable
3757 bool operator==(const Uncopyable& rhs) const { in operator ==()
3763 Uncopyable(const Uncopyable&); // NOLINT
3768 ::std::ostream& operator<<(::std::ostream& os, const Uncopyable& value) { in operator <<()
3773 bool IsPositiveUncopyable(const Uncopyable& x) { in IsPositiveUncopyable()
3779 Uncopyable y(-1); in TestAssertNonPositive()
3784 Uncopyable x(5); in TestAssertEqualsUncopyable()
3785 Uncopyable y(-1); in TestAssertEqualsUncopyable()
3791 Uncopyable x(5); in TEST()
[all …]
/external/gtest/test/
Dgtest_unittest.cc3752 class Uncopyable { class
3754 explicit Uncopyable(int a_value) : value_(a_value) {} in Uncopyable() function in __anone135255a0111::Uncopyable
3757 bool operator==(const Uncopyable& rhs) const { in operator ==()
3763 Uncopyable(const Uncopyable&); // NOLINT
3768 ::std::ostream& operator<<(::std::ostream& os, const Uncopyable& value) { in operator <<()
3773 bool IsPositiveUncopyable(const Uncopyable& x) { in IsPositiveUncopyable()
3779 Uncopyable y(-1); in TestAssertNonPositive()
3784 Uncopyable x(5); in TestAssertEqualsUncopyable()
3785 Uncopyable y(-1); in TestAssertEqualsUncopyable()
3791 Uncopyable x(5); in TEST()
[all …]
/external/chromium/testing/gmock/test/
Dgmock-matchers_test.cc2797 class Uncopyable { class
2799 explicit Uncopyable(int a_value) : value_(a_value) {} in Uncopyable() function in testing::gmock_matchers_test::Uncopyable
2804 GTEST_DISALLOW_COPY_AND_ASSIGN_(Uncopyable);
2808 bool ValueIsPositive(const Uncopyable& x) { return x.value() > 0; } in ValueIsPositive()
2818 Uncopyable z; // An uncopyable field.
3278 Uncopyable& RefUncopyableFunction(Uncopyable& obj) { // NOLINT in RefUncopyableFunction()
3291 Uncopyable obj(0); in TEST()
3292 Uncopyable obj2(0); in TEST()
3293 Matcher<Uncopyable&> matcher2 = in TEST()