Home
last modified time | relevance | path

Searched refs:reference_wrapper (Results 1 – 25 of 41) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/libcxx/include/__functional/
H A Dreference_wrapper.h29 class _LIBCPP_TEMPLATE_VIS reference_wrapper : public __weak_result_type<_Tp> {
43 …class = __enable_if_t<!__is_same_uncvref<_Up, reference_wrapper>::value, decltype(__fun(std::declv…
44 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 reference_wrapper(_Up&& __u) in reference_wrapper() function
70 reference_wrapper(_Tp&) -> reference_wrapper<_Tp>;
74 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 reference_wrapper<_Tp> ref(_Tp& __t) _NO… in ref()
75 return reference_wrapper<_Tp>(__t); in ref()
79 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 reference_wrapper<_Tp>
80 ref(reference_wrapper<_Tp> __t) _NOEXCEPT { in ref()
86 return reference_wrapper<const _Tp>(__t); in cref()
90 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 reference_wrapper<const _Tp>
[all …]
H A Didentity.h39 struct __is_identity<reference_wrapper<__identity> > : true_type {};
41 struct __is_identity<reference_wrapper<const __identity> > : true_type {};
57 struct __is_identity<reference_wrapper<identity> > : true_type {};
59 struct __is_identity<reference_wrapper<const identity> > : true_type {};
H A Dbind.h80 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 _Tp& __mu(reference_wrapper<_Tp> __t, _U…
/freebsd-14.2/contrib/llvm-project/libcxx/include/__type_traits/
H A Dis_reference_wrapper.h23 class _LIBCPP_TEMPLATE_VIS reference_wrapper; variable
28 struct __is_reference_wrapper_impl<reference_wrapper<_Tp> > : public true_type {};
H A Dunwrap_ref.h27 class reference_wrapper; variable
30 struct __unwrap_reference<reference_wrapper<_Tp> > {
/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A Dfunctional35 class reference_wrapper
46 constexpr reference_wrapper(U&&); // constexpr since C++20
47 constexpr reference_wrapper(const reference_wrapper<T>& x) noexcept; // constexpr since C++20
50 constexpr reference_wrapper&
65 reference_wrapper(T&) -> reference_wrapper<T>;
67 template <class T> reference_wrapper<T> ref(T& t) noexcept;
69 template <class T> reference_wrapper<T> ref(reference_wrapper<T>t) noexcept;
71 template <class T> reference_wrapper<const T> cref(const T& t) noexcept;
73 template <class T> reference_wrapper<const T> cref(reference_wrapper<T> t) noexcept;
426 function& operator=(reference_wrapper<F>) noexcept;
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectBreakpointCommand.cpp219 std::vector<std::reference_wrapper<BreakpointOptions>> *bp_options_vec = in IOHandlerInputComplete()
220 (std::vector<std::reference_wrapper<BreakpointOptions>> *) in IOHandlerInputComplete()
230 std::vector<std::reference_wrapper<BreakpointOptions>> &bp_options_vec, in CollectDataForBreakpointCommandCallback()
241 std::vector<std::reference_wrapper<BreakpointOptions>> &bp_options_vec, in SetBreakpointCommandCallback()
422 std::vector<std::reference_wrapper<BreakpointOptions>>
/freebsd-14.2/contrib/llvm-project/lldb/source/Interpreter/
H A DScriptInterpreter.cpp35 std::vector<std::reference_wrapper<BreakpointOptions>> &bp_options_vec, in CollectDataForBreakpointCommandCallback()
124 std::vector<std::reference_wrapper<BreakpointOptions>> &bp_options_vec, in SetBreakpointCommandCallback()
137 std::vector<std::reference_wrapper<BreakpointOptions>> &bp_options_vec, in SetBreakpointCommandCallbackFunction()
/freebsd-14.2/contrib/llvm-project/libcxx/modules/std/
H A Dfunctional.inc17 // [refwrap], reference_wrapper
18 using std::reference_wrapper;
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-xray/
H A Dxray-graph-diff.h47 std::array<std::reference_wrapper<const GraphRenderer::GraphT>, N> G;
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Interpreter/
H A DScriptInterpreter.h354 std::vector<std::reference_wrapper<BreakpointOptions>> &options,
363 std::vector<std::reference_wrapper<BreakpointOptions>> &bp_options_vec,
384 std::vector<std::reference_wrapper<BreakpointOptions>> &bp_options_vec,
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/
H A DASTSelection.h64 using ReferenceType = std::reference_wrapper<const SelectedASTNode>;
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Lua/
H A DScriptInterpreterLua.h83 std::vector<std::reference_wrapper<BreakpointOptions>> &bp_options_vec,
H A DScriptInterpreterLua.cpp110 static_cast<std::vector<std::reference_wrapper<BreakpointOptions>> *>( in IOHandlerInputComplete()
326 std::vector<std::reference_wrapper<BreakpointOptions>> &bp_options_vec, in CollectDataForBreakpointCommandCallback()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDWARFLinkerGlobalData.h154 std::optional<std::reference_wrapper<const Triple>> getTargetTriple() { in getTargetTriple()
H A DDWARFLinkerCompileUnit.h405 cloneAndEmit(std::optional<std::reference_wrapper<const Triple>> TargetTriple,
H A DDWARFLinkerImpl.cpp103 if (std::optional<std::reference_wrapper<const Triple>> CurTriple = in link()
161 if (std::optional<std::reference_wrapper<const Triple>> TargetTriple = in link()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/HipStdPar/
H A DHipStdPar.cpp150 SmallVector<std::reference_wrapper<Function>> ToRemove; in removeUnreachableFunctions()
/freebsd-14.2/contrib/googletest/googletest/include/gtest/
H A Dgtest-printers.h708 void PrintTo(std::reference_wrapper<T> ref, ::std::ostream* os) {
1001 class UniversalTersePrinter<std::reference_wrapper<T>> {
1003 static void Print(std::reference_wrapper<T> value, ::std::ostream* os) {
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DErrorOr.h61 using wrap = std::reference_wrapper<std::remove_reference_t<T>>;
/freebsd-14.2/contrib/googletest/googlemock/include/gmock/internal/
H A Dgmock-internal-utils.h84 inline const Element* GetRawPointer(const std::reference_wrapper<Element>& r) { in GetRawPointer()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/orc/
H A Derror.h190 using wrap = std::reference_wrapper<std::remove_reference_t<T>>;
/freebsd-14.2/usr.bin/dtc/
H A Dfdt.hh818 std::vector<std::reference_wrapper<fixup>> unresolved_fixups;
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DScriptInterpreterPythonImpl.h249 std::vector<std::reference_wrapper<BreakpointOptions>> &bp_options_vec,
/freebsd-14.2/contrib/googletest/googletest/test/
H A Dgoogletest-printers-test.cc1651 std::reference_wrapper<foo::StreamableInLocal> r(s);
1657 std::reference_wrapper<StreamableInGlobal> r(s);

12