/openbmc/phosphor-virtual-sensor/ |
H A D | thresholds.hpp | 88 template <typename... Args> 89 auto alarmHigh(Args... args) in alarmHigh() 94 template <typename... Args> 95 auto alarmLow(Args... args) in alarmLow() 100 template <typename... Args> 106 template <typename... Args> 112 template <typename... Args> 118 template <typename... Args> 207 template <typename... Args> 213 template <typename... Args> [all …]
|
/openbmc/bmcweb/http/ |
H A D | logging.hpp | 83 inline void vlog(std::format_string<Args...>&& format, Args&&... args, in vlog() 129 BMCWEB_LOG_CRITICAL(std::format_string<Args...> format, Args&&... args, in BMCWEB_LOG_CRITICAL() 142 BMCWEB_LOG_ERROR(std::format_string<Args...> format, Args&&... args, in BMCWEB_LOG_ERROR() 155 BMCWEB_LOG_WARNING(std::format_string<Args...> format, Args&&... args, in BMCWEB_LOG_WARNING() 168 BMCWEB_LOG_INFO(std::format_string<Args...> format, Args&&... args, in BMCWEB_LOG_INFO() 181 BMCWEB_LOG_DEBUG(std::format_string<Args...> format, Args&&... args, in BMCWEB_LOG_DEBUG() 192 Args&&...) -> BMCWEB_LOG_CRITICAL<Args...>; 196 Args&&...) -> BMCWEB_LOG_ERROR<Args...>; 200 Args&&...) -> BMCWEB_LOG_WARNING<Args...>; 204 Args&&...) -> BMCWEB_LOG_INFO<Args...>; [all …]
|
/openbmc/sdbusplus/include/sdbusplus/server/ |
H A D | object.hpp | 21 template <class... Args> 38 template <class... Args> 40 details::compose<Args...>, 78 details::compose<Args...>(bus, path), in object() 152 template <class... Args> 153 using object_t = object::object<Args...>; 169 template <class... Args> 170 struct compose_inherit<object<Args...>> 173 using type = compose<Args...>; 177 template <class... Args> [all …]
|
/openbmc/sdbusplus/include/sdbusplus/message/ |
H A D | types.hpp | 39 template <typename... Args> 47 template <typename... Args> 68 template <typename... Args> 75 template <typename... Args> 158 template <typename T, typename... Args> 177 template <typename... Args> 250 template <typename... Args> 251 struct type_id<std::tuple<Args...>> 259 template <typename... Args> 298 template <typename... Args> [all …]
|
H A D | append.hpp | 41 template <typename... Args> 91 template <typename... Args> 95 template <typename... Args> 99 template <typename... Args> 101 can_append_multiple<Args...>::value; 305 template <typename... Args> 306 struct append_single<std::tuple<Args...>> 319 types::type_id_nonull<Args...>(), in op() 331 template <typename... Args> 332 struct append_single<std::variant<Args...>> [all …]
|
/openbmc/bmcweb/http/routing/ |
H A D | taggedrule.hpp | 14 template <typename... Args> 17 public RuleParameterTraits<TaggedRule<Args...>> 20 using self_t = TaggedRule<Args...>; 37 std::shared_ptr<bmcweb::AsyncResp>&, Args...>, in operator ()() 43 Args...>>, in operator ()() 53 if constexpr (sizeof...(Args) == 0) in handle() 57 else if constexpr (sizeof...(Args) == 1) in handle() 61 else if constexpr (sizeof...(Args) == 2) in handle() 65 else if constexpr (sizeof...(Args) == 3) in handle() 69 else if constexpr (sizeof...(Args) == 4) in handle() [all …]
|
/openbmc/obmc-ikvm/ |
H A D | ikvm_args.hpp | 11 class Args class 43 Args(int argc, char* argv[]); 44 ~Args() = default; 45 Args(const Args&) = default; 46 Args& operator=(const Args&) = default; 47 Args(Args&&) = default; 48 Args& operator=(Args&&) = default;
|
/openbmc/phosphor-dbus-monitor/src/ |
H A D | elog.hpp | 73 template <typename T, typename... Args> 76 static void op(Args&&... args) in op() 78 phosphor::logging::report<T>(std::forward<Args>(args)...); in op() 92 template <typename T, typename... Args> 101 explicit Elog(Args&&... arguments) : in Elog() 102 ElogBase(), args(std::forward<Args>(arguments)...) in Elog() 109 std::apply(detail::CallElog<T, Args...>::op, std::tuple_cat(args)); in log() 111 std::tuple<Args...> args; 215 template <typename T, typename... Args> 216 auto makeElog(Args&&... arguments) in makeElog() [all …]
|
H A D | sdbusplus.hpp | 41 template <typename... Args> 44 const std::string& interface, const std::string& method, Args&&... args) in callMethodNoReply() 48 reqMsg.append(std::forward<Args>(args)...); in callMethodNoReply() 57 template <typename... Args> 60 const std::string& method, Args&&... args) in callMethod() 64 reqMsg.append(std::forward<Args>(args)...); in callMethod() 69 template <typename Ret, typename... Args> 72 const std::string& interface, const std::string& method, Args&&... args) in callMethodAndRead() 75 sdbusplus::message_t respMsg = callMethod<Args...>( in callMethodAndRead() 76 busName, path, interface, method, std::forward<Args>(args)...); in callMethodAndRead()
|
/openbmc/sdbusplus/include/sdbusplus/ |
H A D | unpack_properties.hpp | 99 typename... Args> 104 Args&&... args) noexcept(noexcept(onErrorCallback(sdbusplus:: in readProperties() 113 if constexpr (sizeof...(Args) > 0) 126 Args&&... args) noexcept(noexcept(onErrorCallback(sdbusplus:: in unpackPropertiesCommon() 131 sizeof...(Args) % 2 == 0, 136 std::forward<Args>(args)...); 141 template <typename VariantType, typename... Args> 144 Args&&... args) in unpackProperties() 150 input, std::forward<Args>(args)...); in unpackProperties() 157 Args&&... args) noexcept in unpackPropertiesNoThrow() [all …]
|
H A D | message.hpp | 141 template <typename... Args> 142 void append(Args&&... args) in append() 153 template <typename... Args> 154 void read(Args&&... args) in read() 157 std::forward<Args>(args)...); in read() 165 template <typename... Args> 168 if constexpr (sizeof...(Args) == 0) in unpack() 173 else if constexpr (sizeof...(Args) == 1 && in unpack() 180 else if constexpr (sizeof...(Args) == 1) in unpack() 182 std::tuple_element_t<0, std::tuple<Args...>> r{}; in unpack() [all …]
|
/openbmc/phosphor-logging/lib/include/phosphor-logging/ |
H A D | elog.hpp | 167 template <typename T, typename... Args> 168 [[noreturn]] void elog(Args... i_args) in elog() 180 std::tuple<details::deduce_entry_type_t<Args>...>>, in elog() 184 T::errDesc, details::deduce_entry_type<Args>{i_args}.get()...); in elog() 198 template <typename T, typename... Args> 199 uint32_t report(Args... i_args) in report() 211 std::tuple<details::deduce_entry_type_t<Args>...>>, in report() 215 T::errDesc, details::deduce_entry_type<Args>{i_args}.get()...); in report() 230 template <typename T, typename... Args> 231 uint32_t report(Entry::Level level, Args... i_args) in report() [all …]
|
/openbmc/boost-dbus/include/dbus/ |
H A D | message.hpp | 228 template <typename... Args> 229 bool pack(const Args&... args) { in pack() 453 template <typename... Args> 454 bool unpack(Args&... args) { in unpack() 481 template <class R, class... Args> 482 struct function_traits<R(Args...)> { 489 template <class R, class... Args> 490 struct function_traits<R (*)(Args...)> { 497 template <class R, class... Args> 505 template <class T, class R, class... Args> [all …]
|
/openbmc/telemetry/src/utils/ |
H A D | variant_utils.hpp | 11 template <class T, class... Args> 12 auto removeMonostate(std::variant<T, Args...>) -> std::variant<T, Args...>; 14 template <class... Args> 15 auto removeMonostate(std::variant<std::monostate, Args...>) 16 -> std::variant<Args...>;
|
H A D | labeled_tuple.hpp | 143 template <class... Args, class... Labels> 144 struct LabeledTuple<std::tuple<Args...>, Labels...> 146 static_assert(sizeof...(Args) == sizeof...(Labels)); 148 using tuple_type = std::tuple<Args...>; 155 LabeledTuple(Args... args) : value(std::move(args)...) {} in LabeledTuple() 163 to_json_all(j, std::make_index_sequence<sizeof...(Args)>()); in to_json() 174 from_json_all(j, std::make_index_sequence<sizeof...(Args)>()); in from_json() 276 static_assert(Idx + 1 < sizeof...(Args), in find_item() 285 template <class... Args, class... Labels> 292 template <class... Args, class... Labels> [all …]
|
H A D | circular_vector.hpp | 12 template <class... Args> 13 void emplace(Args&&... args) in emplace() 21 vec.at(idx) = T(std::forward<Args>(args)...); in emplace() 25 vec.emplace_back(std::forward<Args>(args)...); in emplace()
|
/openbmc/phosphor-dbus-monitor/mslverify/ |
H A D | util.hpp | 36 template <typename... Args> 39 const std::string& method, Args&&... args) in callMethod() 43 reqMsg.append(std::forward<Args>(args)...); in callMethod() 57 template <typename... Args> 60 Args&&... args) in callMethod() 63 std::forward<Args>(args)...); in callMethod() 67 template <typename Ret, typename... Args> 71 const std::string& method, Args&&... args) in callMethodAndRead() 73 ::sdbusplus::message_t respMsg = callMethod<Args...>( in callMethodAndRead() 81 template <typename Ret, typename... Args> [all …]
|
/openbmc/phosphor-host-ipmid/include/ipmid/ |
H A D | utility.hpp | 132 template <typename... Args> 135 template <typename... Args> 136 struct DecayTuple<std::tuple<Args...>> 138 using type = std::tuple<typename std::decay<Args>::type...>; 168 template <typename... Args> 169 struct DowncastMembers<std::pair<Args...>> 172 char, std::remove_cv_t<std::remove_reference_t<Args>>>...>; 175 template <typename... Args> 176 struct DowncastMembers<std::tuple<Args...>> 179 char, std::remove_cv_t<std::remove_reference_t<Args>>>...>;
|
H A D | message.hpp | 256 template <typename Arg, typename... Args> 257 int pack(Arg&& arg, Args&&... args) in pack() 265 packRet = pack(std::forward<Args>(args)...); in pack() 434 template <typename Arg, typename... Args> 435 int unpack(Arg&& arg, Args&&... args) in unpack() 444 return unpack(std::forward<Args>(args)...); in unpack() 527 template <typename... Args> 528 int pack(Args&&... args) in pack() 530 return payload.pack(std::forward<Args>(args)...); in pack() 608 template <typename... Args> [all …]
|
/openbmc/sdbusplus/include/sdbusplus/sdbuspp_support/ |
H A D | server.hpp | 26 template <typename... Args, typename Return> 28 sd_bus_error* error, std::function<Return(Args&&...)> f) in property_callback() 39 std::tuple<Args...> arg{}; in property_callback() 40 std::apply([&](Args&... a) { (m.read(a), ...); }, arg); in property_callback() 82 template <bool multi_return = false, typename... Args, typename Return> 84 sd_bus_error* error, std::function<Return(Args&&...)> f) in method_callback() 95 std::tuple<Args...> arg{}; in method_callback() 96 std::apply([&](Args&... a) { (m.read(a), ...); }, arg); in method_callback()
|
/openbmc/sdbusplus/include/sdbusplus/async/ |
H A D | server.hpp | 101 template <typename Tag, typename Instance, typename... Args> 102 concept has_method_nomsg = requires(Instance& i, Args&&... a) { 103 i.method_call(Tag{}, std::forward<Args>(a)...); 107 template <typename Tag, typename Instance, typename... Args> 109 requires(Instance& i, sdbusplus::message_t& m, Args&&... a) { 110 i.method_call(Tag{}, m, std::forward<Args>(a)...); 114 template <typename Tag, typename Instance, typename... Args> 115 concept has_method = has_method_nomsg<Tag, Instance, Args...> || 116 has_method_msg<Tag, Instance, Args...>;
|
/openbmc/phosphor-fan-presence/ |
H A D | sdbusplus.hpp | 120 template <typename... Args> 128 reqMsg.append(std::forward<Args>(args)...); in callMethod() 145 template <typename... Args> 155 template <typename Ret, typename... Args> 169 template <typename Ret, typename... Args> 400 template <typename... Args> 404 const std::string& method, Args&&... args) in callMethodAndReturn() 541 template <typename... Args> 551 template <typename... Args> 561 template <typename Ret, typename... Args> [all …]
|
/openbmc/sdbusplus/include/sdbusplus/utility/ |
H A D | type_traits.hpp | 52 template <std::size_t N, typename... Args> 53 using strip_first_n_args_t = typename strip_first_n_args<N, Args...>::type; 76 template <typename... Args> 77 using get_first_arg_t = typename get_first_arg<Args...>::type; 84 template <typename... Args> 85 struct decay_tuple<std::tuple<Args...>> 87 using type = std::tuple<typename std::decay<Args>::type...>; 90 template <typename... Args> 91 using decay_tuple_t = typename decay_tuple<Args...>::type;
|
/openbmc/phosphor-networkd/src/ |
H A D | config_parser.hpp | 35 template <typename... Args> 36 constexpr Checked(Args&&... args) : t(conCheck(std::forward<Args>(args)...)) in Checked() 39 template <typename... Args> 40 constexpr Checked(unchecked, Args&&... args) : in Checked() 41 t(std::forward<Args>(args)...) in Checked() 69 template <typename... Args> 70 static constexpr T conCheck(Args&&... args) in conCheck() 72 T t(std::forward<Args>(args)...); in conCheck()
|
/openbmc/phosphor-networkd/test/ |
H A D | mock_ethernet_interface.hpp | 13 template <typename... Args> 14 MockEthernetInterface(Args&&... args) : in MockEthernetInterface() 15 EthernetInterface(std::forward<Args>(args)..., /*nicEnabled=*/true) in MockEthernetInterface()
|