Home
last modified time | relevance | path

Searched refs:Uncopyable (Results 1 – 8 of 8) 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/llvm-project/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/llvm-project/llvm/unittests/ADT/
DFunctionExtrasTest.cpp171 struct Uncopyable { in TEST() struct
172 Uncopyable() = default; in TEST()
173 Uncopyable(const Uncopyable &) = delete; in TEST()
175 unique_function<void(const Uncopyable &)> UncopyableF = in TEST()
176 [](const Uncopyable &) {}; in TEST() argument
177 UncopyableF(Uncopyable()); in TEST()
178 Uncopyable X; in TEST()
/external/clang/test/SemaCXX/
Dundefined-internal.cpp119 struct Uncopyable { struct
120 Uncopyable() {} in Uncopyable() argument
122 Uncopyable(const Uncopyable&); // expected-note {{declared private here}}
125 void f(const Uncopyable&) {} in f() argument
127 f(Uncopyable()); in test()
/external/llvm-project/clang/test/SemaCXX/
Dundefined-internal.cpp119 struct Uncopyable { struct
120 Uncopyable() {} in Uncopyable() function
122 Uncopyable(const Uncopyable&); // expected-note {{declared private here}}
125 void f(const Uncopyable&) {} in f() argument
127 f(Uncopyable()); in test()
/external/googletest/googletest/test/
Dgtest_unittest.cc3894 class Uncopyable { class
3896 explicit Uncopyable(int a_value) : value_(a_value) {} in Uncopyable() function in __anon24dc7c190111::Uncopyable
3899 bool operator==(const Uncopyable& rhs) const { in operator ==()
3905 Uncopyable(const Uncopyable&); // NOLINT
3910 ::std::ostream& operator<<(::std::ostream& os, const Uncopyable& value) { in operator <<()
3915 bool IsPositiveUncopyable(const Uncopyable& x) { in IsPositiveUncopyable()
3921 Uncopyable y(-1); in TestAssertNonPositive()
3926 Uncopyable x(5); in TestAssertEqualsUncopyable()
3927 Uncopyable y(-1); in TestAssertEqualsUncopyable()
3933 Uncopyable x(5); in TEST()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/test/
Dgtest_unittest.cc3860 class Uncopyable { class
3862 explicit Uncopyable(int a_value) : value_(a_value) {} in Uncopyable() function in __anoncf5bdef60111::Uncopyable
3865 bool operator==(const Uncopyable& rhs) const { in operator ==()
3871 Uncopyable(const Uncopyable&); // NOLINT
3876 ::std::ostream& operator<<(::std::ostream& os, const Uncopyable& value) { in operator <<()
3881 bool IsPositiveUncopyable(const Uncopyable& x) { in IsPositiveUncopyable()
3887 Uncopyable y(-1); in TestAssertNonPositive()
3892 Uncopyable x(5); in TestAssertEqualsUncopyable()
3893 Uncopyable y(-1); in TestAssertEqualsUncopyable()
3899 Uncopyable x(5); in TEST()
[all …]
/external/googletest/googlemock/test/
Dgmock-matchers_test.cc4001 class Uncopyable { in TEST() class
4003 Uncopyable() : value_(-1) {} in TEST() function in testing::gmock_matchers_test::__anon01910f110111::Uncopyable
4004 explicit Uncopyable(int a_value) : value_(a_value) {} in TEST() function in testing::gmock_matchers_test::__anon01910f110111::Uncopyable
4011 GTEST_DISALLOW_COPY_AND_ASSIGN_(Uncopyable); in TEST()
4015 bool ValueIsPositive(const Uncopyable& x) { return x.value() > 0; } in TEST()
4029 Uncopyable z; // An uncopyable field. in TEST()
4616 Uncopyable& RefUncopyableFunction(Uncopyable& obj) { // NOLINT in TEST()
4629 Uncopyable obj(0); in TEST()
4630 Uncopyable obj2(0); in TEST()
4631 Matcher<Uncopyable&> matcher2 = in TEST()
[all …]