Home
last modified time | relevance | path

Searched refs:tuple (Results 1 – 25 of 418) sorted by relevance

12345678910>>...17

/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libcereal/files/
H A D0001-Fix-instances-of-Wmissing-template-arg-list-after-te.patch17 include/cereal/types/tuple.hpp | 4 ++--
20 diff --git a/include/cereal/types/tuple.hpp b/include/cereal/types/tuple.hpp
22 --- a/include/cereal/types/tuple.hpp
23 +++ b/include/cereal/types/tuple.hpp
26 static void apply( Archive & ar, std::tuple<Types...> & tuple )
28 - serialize<Height - 1>::template apply( ar, tuple );
29 + serialize<Height - 1>::apply( ar, tuple );
31 std::get<Height - 1>( tuple )) );
35 void CEREAL_SERIALIZE_FUNCTION_NAME( Archive & ar, std::tuple<Types...> & tuple )
37 - tuple_detail::serialize<std::tuple_size<std::tuple<Types...>>::value>::template apply( ar, tup…
[all …]
/openbmc/phosphor-host-ipmid/include/ipmid/
H A Dutility.hpp50 struct StripFirstArgs<N, std::tuple<FirstArg, Rest...>> :
51 StripFirstArgs<N - 1, std::tuple<Rest...>>
55 struct StripFirstArgs<0, std::tuple<FirstArg, Rest...>>
57 using type = std::tuple<FirstArg, Rest...>;
60 struct StripFirstArgs<N, std::tuple<>>
62 using type = std::tuple<>;
82 struct NonIpmiArgsCount<std::tuple<>>
90 struct NonIpmiArgsCount<std::tuple<FirstArg, OtherArgs...>>
101 return 1 + NonIpmiArgsCount<std::tuple<OtherArgs...>>::size(); in size()
105 return NonIpmiArgsCount<std::tuple<OtherArgs...>>::size(); in size()
[all …]
/openbmc/phosphor-fan-presence/control/
H A Dtypes.hpp26 std::tuple<std::string, std::string, std::string, bool>;
30 using Condition = std::tuple<std::string, std::vector<ConditionProperty>>;
40 std::tuple<std::string, std::vector<std::string>, std::string, std::string>;
45 using Group = std::vector<std::tuple<std::string, std::string, std::string>>;
56 using ActionData = std::vector<std::tuple<Group, std::vector<Action>>>;
63 std::tuple<std::string, std::string, std::string, PropertyVariantType>;
67 using Service = std::tuple<std::string, bool>;
76 using TimerConf = std::tuple<std::chrono::microseconds, TimerType>;
85 std::tuple<std::string, Group, ActionData, std::vector<Trigger>>;
92 std::tuple<Group, std::string, SignalHandler, std::vector<Action>>;
[all …]
/openbmc/openpower-vpd-parser/vpd-tool/include/
H A Dtool_types.hpp20 std::vector<std::tuple<std::string, std::string, std::string>>,
37 std::tuple<uint64_t, std::vector<std::tuple<std::string, std::string, double, uint64_t>>>,
38 std::vector<std::tuple<std::string, std::string>>,
39 std::vector<std::tuple<uint32_t, std::vector<uint32_t>>>,
40 std::vector<std::tuple<uint32_t, size_t>>,
41 std::vector<std::tuple<sdbusplus::message::object_path, std::string,
46 using IpzType = std::tuple<std::string, std::string>;
52 using KwData = std::tuple<std::string, BinaryVector>;
55 using IpzData = std::tuple<std::string, std::string, BinaryVector>;
89 using BiosGetAttrRetType = std::tuple<std::string, BiosAttributeCurrentValue,
[all …]
/openbmc/sdbusplus/include/sdbusplus/utility/
H A Dtuple_to_array.hpp29 constexpr auto tuple_to_array(std::tuple<V, Types...>&& tuple, in tuple_to_array() argument
33 std::get<I>(tuple)..., in tuple_to_array()
50 constexpr auto tuple_to_array(std::tuple<Types...>&& tuple) in tuple_to_array() argument
52 return details::tuple_to_array(std::move(tuple), I()); in tuple_to_array()
H A Dtype_traits.hpp19 using first_type_t = std::tuple_element_t<0, std::tuple<Types...>>;
37 struct strip_first_n_args<N, std::tuple<FirstArg, Rest...>> :
38 strip_first_n_args<N - 1, std::tuple<Rest...>>
42 struct strip_first_n_args<0, std::tuple<FirstArg, Rest...>>
44 using type = std::tuple<FirstArg, Rest...>;
47 struct strip_first_n_args<N, std::tuple<>>
49 using type = std::tuple<>;
71 struct get_first_arg<std::tuple<FirstArg, Rest...>>
85 struct decay_tuple<std::tuple<Args...>>
87 using type = std::tuple<typename std::decay<Args>::type...>;
/openbmc/openpower-vpd-parser/vpd-manager/include/
H A Dtypes.hpp19 using BiosProperty = std::tuple<
22 std::vector<std::tuple<std::string, std::variant<int64_t, std::string>,
30 using BiosGetAttrRetType = std::tuple<std::string, BiosAttributeCurrentValue,
33 std::pair<std::string, std::tuple<std::string, BiosAttributePendingValue>>;
41 std::vector<std::tuple<std::string, std::string, std::string>>,
58 std::tuple<uint64_t, std::vector<std::tuple<std::string, std::string, double, uint64_t>>>,
59 std::vector<std::tuple<std::string, std::string>>,
60 std::vector<std::tuple<uint32_t, std::vector<uint32_t>>>,
61 std::vector<std::tuple<uint32_t, size_t>>,
62 std::vector<std::tuple<sdbusplus::message::object_path, std::string,
[all …]
/openbmc/phosphor-dbus-monitor/src/test/
H A Dcallbackgentest.cpp10 using Index = std::map<std::tuple<size_t, size_t, size_t>, size_t>;
14 const std::array<std::tuple<std::string, size_t>, 4> expectedCallbacks = {{
15 std::tuple<std::string, size_t>{"int32_t", 0},
16 std::tuple<std::string, size_t>{"int32_t", 0},
17 std::tuple<std::string, size_t>{"std::string", 1},
18 std::tuple<std::string, size_t>{"std::string", 2},
H A Dpropertywatchgentest.cpp11 using Index = std::map<std::tuple<size_t, size_t, size_t>, size_t>;
47 const std::array<std::tuple<std::string, size_t>, 4> expectedWatches = {{
48 std::tuple<std::string, size_t>{"std::string"s, 0},
49 std::tuple<std::string, size_t>{"uint32_t"s, 1},
50 std::tuple<std::string, size_t>{"int32_t"s, 2},
51 std::tuple<std::string, size_t>{"std::string"s, 3},
/openbmc/witherspoon-pfault-analysis/
H A Delog-errors.hpp99 using metadata_types = std::tuple<>;
130 using metadata_types = std::tuple<>;
167 using type = std::tuple<std::decay_t<decltype("RAIL=%d")>, uint16_t>;
180 std::tuple<std::decay_t<decltype("RAIL_NAME=%s")>, const char*>;
194 std::tuple<std::decay_t<decltype("RAW_STATUS=%s")>, const char*>;
207 using metadata_types = std::tuple<RAIL, RAIL_NAME, RAW_STATUS>;
244 using type = std::tuple<std::decay_t<decltype("INPUT_NUM=%d")>, uint16_t>;
258 std::tuple<std::decay_t<decltype("INPUT_NAME=%s")>, const char*>;
272 std::tuple<std::decay_t<decltype("RAW_STATUS=%s")>, const char*>;
285 using metadata_types = std::tuple<INPUT_NUM, INPUT_NAME, RAW_STATUS>;
[all …]
/openbmc/openpower-host-ipmi-oem/
H A Delog-errors.hpp65 using type = std::tuple<std::decay_t<decltype("ESEL=%s")>, const char*>;
75 using metadata_types = std::tuple<ESEL>;
110 using type = std::tuple<std::decay_t<decltype("PROCEDURE=%u")>, uint32_t>;
121 using metadata_types = std::tuple<PROCEDURE>;
158 std::tuple<std::decay_t<decltype("CALLOUT_ERRNO=%d")>, int32_t>;
171 using type = std::tuple<std::decay_t<decltype("CALLOUT_DEVICE_PATH=%s")>,
184 using metadata_types = std::tuple<CALLOUT_ERRNO, CALLOUT_DEVICE_PATH>;
221 std::tuple<std::decay_t<decltype("CALLOUT_GPIO_NUM=%u")>, uint32_t>;
237 std::tuple<CALLOUT_GPIO_NUM, CALLOUT_ERRNO, CALLOUT_DEVICE_PATH>;
273 std::tuple<std::decay_t<decltype("CALLOUT_IIC_BUS=%s")>, const char*>;
[all …]
/openbmc/phosphor-power/
H A Delog-errors.hpp246 using metadata_types = std::tuple<>;
277 using metadata_types = std::tuple<>;
308 using metadata_types = std::tuple<>;
339 using metadata_types = std::tuple<>;
370 using metadata_types = std::tuple<>;
401 using metadata_types = std::tuple<>;
432 using metadata_types = std::tuple<>;
463 using metadata_types = std::tuple<>;
494 using metadata_types = std::tuple<>;
525 using metadata_types = std::tuple<>;
[all …]
/openbmc/bios-settings-mgr/include/
H A Dmanager.hpp45 std::tuple<
49 std::vector<std::tuple<
56 std::tuple<AttributeType, std::variant<int64_t, std::string>>>;
59 std::tuple<AttributeType, std::variant<int64_t, std::string>>;
66 std::tuple<AttributeType, CurrentValue, PendingValue>;
145 const std::vector<std::tuple<
151 const std::vector<std::tuple<
157 const std::vector<std::tuple<
/openbmc/pldm/common/
H A Dtypes.hpp49 using MctpInfo = std::tuple<eid, UUID, MctpMedium, NetworkId, MctpInfoName>;
59 using MctpEndpointProps = std::tuple<NetworkId, eid, MCTPMsgTypes>;
114 std::tuple<VendorDefinedDescriptorTitle, VendorDefinedDescriptorData>;
147 std::tuple<DeviceUpdateOptionFlags, ApplicableComponents,
161 std::tuple<CompClassification, CompIdentifier, CompComparisonStamp,
200 using SensorAuxiliaryNames = std::tuple<
225 using EntityAuxiliaryNames = std::tuple<EntityKey, AuxiliaryNames>;
232 using EntityInfo = std::tuple<ContainerID, EntityType, EntityInstance>;
234 std::tuple<EntityInfo, CompositeSensorStates, std::vector<StateSetId>>;
253 std::vector<std::tuple<OptionString, OptionValue, ValueDisplayName>>;
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dnamedtuple_with_abc.py230 assert not issubclass(MyAbstractRecord, tuple)
231 assert not issubclass(AnotherAbstractRecord, tuple)
233 assert issubclass(MyRecord, tuple)
234 assert issubclass(MyRecord2, tuple)
235 assert issubclass(MyRecord3, tuple)
236 assert issubclass(MyRecord33, tuple)
237 assert issubclass(MyRecord345, tuple)
238 assert issubclass(MyRecord4, tuple)
239 assert issubclass(MyRecord5, tuple)
240 assert issubclass(MyRecord6, tuple)
/openbmc/telemetry/src/utils/
H A Dlabeled_tuple.hpp144 struct LabeledTuple<std::tuple<Args...>, Labels...>
148 using tuple_type = std::tuple<Args...>;
234 using Label = std::tuple_element_t<Idx, std::tuple<Labels...>>; in to_json_item()
256 using Label = std::tuple_element_t<Idx, std::tuple<Labels...>>; in from_json_item()
274 Idx, std::tuple<Labels...>>>) in find_item()
291 const LabeledTuple<std::tuple<Args...>, Labels...>& tuple) in to_json() argument
293 json = tuple.to_json(); in to_json()
298 LabeledTuple<std::tuple<Args...>, Labels...>& tuple) in from_json() argument
300 tuple.from_json(json); in from_json()
/openbmc/bmcweb/include/
H A Ddbus_utility.hpp35 std::vector<std::tuple<std::string, std::string, std::string>>,
51 std::tuple<uint64_t, std::vector<std::tuple<std::string, double, uint64_t>>>,
52 std::tuple<uint64_t, std::vector<std::tuple<std::string, std::string, double, uint64_t>>>,
54 std::vector<std::tuple<std::string, std::string>>,
55 std::vector<std::tuple<uint32_t, std::vector<uint32_t>>>,
56 std::vector<std::tuple<uint32_t, size_t>>,
57 std::vector<std::tuple<
58 std::vector<std::tuple<sdbusplus::message::object_path, std::string>>,
61 std::vector<std::tuple<std::string, uint64_t, std::string, double>>,
62 std::vector<std::tuple<std::string, std::string, uint64_t, std::string>>
/openbmc/slpd-lite/
H A Dslp.hpp144 std::tuple<int, Message> parseBuffer(const buffer& buf);
159 std::tuple<int, Message> parseHeader(const buffer& buf);
201 std::tuple<int, buffer> processRequest(const Message& msg);
227 std::tuple<int, buffer> processSrvRequest(const Message& msg);
241 std::tuple<int, buffer> processSrvTypeRequest(const Message& msg);
/openbmc/witherspoon-pfault-analysis/power-sequencer/
H A Dtypes.hpp45 using GPIODefinition = std::tuple<gpio::gpioNum_t, std::string>;
56 using GPIOGroup = std::tuple<std::string, gpio::Value, ErrorFunction,
68 std::tuple<size_t, size_t, std::string, bool, extraAnalysisType>;
80 std::tuple<std::string, RailNames, GPIConfigs, GPIOAnalysis>;
/openbmc/phosphor-power/power-sequencer/
H A Dtypes.hpp47 using GPIODefinition = std::tuple<gpio::gpioNum_t, std::string>;
58 using GPIOGroup = std::tuple<std::string, gpio::Value, ErrorFunction,
70 std::tuple<size_t, size_t, std::string, bool, extraAnalysisType>;
82 std::tuple<std::string, RailNames, GPIConfigs, GPIOAnalysis>;
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Ddevice_callouts.hpp178 std::tuple<size_t, uint8_t> getI2CSearchKeys(const std::string& devPath);
204 std::tuple<std::string, std::tuple<size_t, uint8_t>> getFSII2CSearchKeys(
230 std::tuple<std::string, size_t> getFSISPISearchKeys(const std::string& devPath);
H A Ddbus_types.hpp16 std::tuple<
19 std::vector<std::tuple<std::string, std::variant<int64_t, std::string>,
24 std::vector<std::tuple<std::string, std::string, std::string>>,
25 std::tuple<std::vector<uint8_t>, std::vector<uint8_t>>, BiosAttributes>;
/openbmc/telemetry/src/types/
H A Dreadings.hpp6 using ReadingData = std::tuple<std::string, double, uint64_t>;
7 using Readings = std::tuple<uint64_t, std::vector<ReadingData>>;
14 utils::LabeledTuple<std::tuple<uint64_t, std::vector<LabeledReadingData>>,
H A Dreport_types.hpp19 using ReadingParameters = std::vector<std::tuple<
20 std::vector<std::tuple<sdbusplus::message::object_path, std::string>>,
24 std::tuple<std::vector<LabeledSensorInfo>, OperationType,
/openbmc/phosphor-objmgr/src/
H A Dtypes.hpp43 std::tuple<std::shared_ptr<sdbusplus::asio::dbus_interface>, Endpoints>>;
75 using Association = std::tuple<std::string, std::string, std::string>;
88 using ExistingEndpoint = std::tuple<std::string, Association>;
96 using FindAssocResults = std::vector<std::tuple<std::string, Association>>;

12345678910>>...17