Home
last modified time | relevance | path

Searched refs:NonCopyable (Results 1 – 25 of 27) sorted by relevance

12

/external/libcxx/test/std/utilities/function.objects/func.invoke/
Dinvoke.pass.cpp45 struct NonCopyable { struct
46 NonCopyable() {} in NonCopyable() argument
48 NonCopyable(NonCopyable const&) = delete;
49 NonCopyable& operator=(NonCopyable const&) = delete;
55 int& operator()(NonCopyable&&) & { return data; } in operator ()()
56 int const& operator()(NonCopyable&&) const & { return data; } in operator ()()
57 int volatile& operator()(NonCopyable&&) volatile & { return data; } in operator ()()
58 int const volatile& operator()(NonCopyable&&) const volatile & { return data; } in operator ()()
60 int&& operator()(NonCopyable&&) && { return std::move(data); } in operator ()()
61 int const&& operator()(NonCopyable&&) const && { return std::move(data); } in operator ()()
[all …]
/external/parameter-framework/upstream/utility/
DNonCopyable.hpp46 class NonCopyable class
49 NonCopyable() = default;
50 NonCopyable(const NonCopyable &) = delete;
51 NonCopyable(NonCopyable &&) = delete;
52 NonCopyable &operator=(const NonCopyable &) = delete;
53 NonCopyable &operator=(NonCopyable &&) = delete;
DErrorContext.hpp38 class ErrorContext : private NonCopyable
DTokenizer.h42 class Tokenizer : private utility::NonCopyable
DDynamicLibrary.hpp36 class DynamicLibrary : private utility::NonCopyable
DCMakeLists.txt47 NonCopyable.hpp
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
Dp5-0x.cpp68 class NonCopyable { class
69 NonCopyable(const NonCopyable&);
72 class NonCopyableDerived : public NonCopyable {
78 NonCopyable &&nc0 = prvalue<NonCopyable>(); in test_direct_binding()
79 NonCopyable &&nc1 = prvalue<NonCopyableDerived>(); in test_direct_binding()
80 NonCopyable &&nc2 = xvalue<NonCopyable>(); in test_direct_binding()
81 NonCopyable &&nc3 = xvalue<NonCopyableDerived>(); in test_direct_binding()
82 const NonCopyable &nc4 = prvalue<NonCopyable>(); in test_direct_binding()
83 const NonCopyable &nc5 = prvalue<NonCopyableDerived>(); in test_direct_binding()
84 const NonCopyable &nc6 = xvalue<NonCopyable>(); in test_direct_binding()
[all …]
/external/libcxx/test/std/utilities/meta/meta.rel/
Dis_convertible.pass.cpp37 class NonCopyable { class
38 NonCopyable(NonCopyable&);
180 static_assert((std::is_convertible<NonCopyable&, NonCopyable&>::value), ""); in main()
181 static_assert((std::is_convertible<NonCopyable&, const NonCopyable&>::value), ""); in main()
182 static_assert((std::is_convertible<NonCopyable&, const volatile NonCopyable&>::value), ""); in main()
183 static_assert((std::is_convertible<NonCopyable&, volatile NonCopyable&>::value), ""); in main()
184 static_assert((std::is_convertible<const NonCopyable&, const NonCopyable&>::value), ""); in main()
185 … static_assert((std::is_convertible<const NonCopyable&, const volatile NonCopyable&>::value), ""); in main()
186 …static_assert((std::is_convertible<volatile NonCopyable&, const volatile NonCopyable&>::value), ""… in main()
187 …static_assert((std::is_convertible<const volatile NonCopyable&, const volatile NonCopyable&>::valu… in main()
[all …]
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
Dp15.cpp4 class NonCopyable { class
5 NonCopyable(const NonCopyable&);
8 void capture_by_ref(NonCopyable nc, NonCopyable &ncr) { in capture_by_ref()
Dp14.cpp5 class NonCopyable { class
6 NonCopyable(const NonCopyable&); // expected-note 2 {{implicitly declared private here}}
16 void capture_by_copy(NonCopyable nc, NonCopyable &ncr, const NonConstCopy nco) { in capture_by_copy()
/external/libcxx/test/std/thread/thread.mutex/thread.once/thread.once.callonce/
Dcall_once.pass.cpp156 class NonCopyable class
161 NonCopyable(const NonCopyable&) in NonCopyable() function in NonCopyable
165 NonCopyable(const NonCopyable&);
168 NonCopyable() {} in NonCopyable() function in NonCopyable
240 std::call_once(f, NonCopyable(), i); in main()
/external/clang/test/SemaCXX/
Ddllexport-pr22591.cpp10 struct NonCopyable { struct
15 NonCopyable();
24 NonCopyable member;
/external/llvm/unittests/ADT/
DSmallVectorTest.cpp143 struct NonCopyable { struct
144 NonCopyable() {} in NonCopyable() function
145 NonCopyable(NonCopyable &&) {} in NonCopyable() function
146 NonCopyable &operator=(NonCopyable &&) { return *this; } in operator =() argument
148 NonCopyable(const NonCopyable &) = delete;
149 NonCopyable &operator=(const NonCopyable &) = delete;
153 SmallVector<NonCopyable, 0> V; in CompileTest()
/external/parameter-framework/upstream/parameter/
DElementBuilder.h35 class CElementBuilder : private utility::NonCopyable
DBackSynchronizer.h40 class CBackSynchronizer : private utility::NonCopyable
DConfigurableElementAggregator.h38 class CConfigurableElementAggregator : private utility::NonCopyable
DParameterMgrLogger.h41 class CParameterMgrLogger : public core::log::ILogger, private utility::NonCopyable
DSelectionCriterion.h42 private utility::NonCopyable
DParameterBlackboard.h38 class CParameterBlackboard : private utility::NonCopyable
/external/parameter-framework/upstream/xmlserializer/
DXmlDocSink.h44 class CXmlDocSink : private utility::NonCopyable
DXmlDocSource.h50 class CXmlDocSource : private utility::NonCopyable
DCMakeLists.txt66 PUBLIC pfw_utility # For NonCopyable and ErrorContext
/external/parameter-framework/upstream/parameter/log/include/log/
DLogger.h48 class Logger : private utility::NonCopyable
/external/parameter-framework/
DLibPfwUtility.mk44 upstream/utility/NonCopyable.hpp \
/external/parameter-framework/upstream/remote-processor/
DMessage.h41 class REMOTE_PROCESSOR_EXPORT CMessage : private utility::NonCopyable

12