Home
last modified time | relevance | path

Searched refs:PropertyType (Results 1 – 19 of 19) sorted by relevance

/openbmc/sdbusplus/include/sdbusplus/asio/
H A Dobject_server.hpp154 template <typename PropertyType>
155 PropertyType nop_get_value(const PropertyType& value) in nop_get_value()
160 template <typename PropertyType>
161 bool nop_set_value(const PropertyType& req, PropertyType& old) in nop_set_value()
303 template <typename PropertyType, typename CallbackType>
307 callback_get_instance(const std::shared_ptr<PropertyType>& value, in callback_get_instance()
319 std::shared_ptr<PropertyType> value_;
323 template <typename PropertyType>
329 callback_set_message_instance(const std::shared_ptr<PropertyType> & value,std::function<bool (const PropertyType &,PropertyType &)> && func) callback_set_message_instance() argument
359 callback_set_value_instance(const std::shared_ptr<PropertyType> & value,std::function<bool (const PropertyType &,PropertyType &)> && func) callback_set_value_instance() argument
[all...]
H A Dproperty.hpp41 template <typename PropertyType>
46 std::function<void(boost::system::error_code, PropertyType)>&& handler) in getProperty()
48 static_assert(std::is_same_v<PropertyType, std::decay_t<PropertyType>>); in getProperty()
53 std::variant<std::monostate, PropertyType>& ret) mutable { in getProperty()
60 if (PropertyType* value = std::get_if<PropertyType>(&ret)) in getProperty()
106 template <typename PropertyType, typename Handler>
111 PropertyType&& propertyValue, Handler&& handler) in setProperty()
116 std::variant<std::decay_t<PropertyType>>( in setProperty()
117 std::forward<PropertyType>(propertyValue))); in setProperty()
/openbmc/phosphor-psu-code-mgmt/test/
H A Dtest_item_updater.cpp24 using PropertyType = utils::UtilsInterface::PropertyType; typedef in TestItemUpdater
37 .WillByDefault(Return(any(PropertyType(true)))); in TestItemUpdater()
71 Properties propAdded{{PRESENT, PropertyType(true)}};
72 Properties propRemoved{{PRESENT, PropertyType(false)}};
93 .WillOnce(Return(any(PropertyType(false)))); // not present in TEST_F()
119 .WillOnce(Return(any(PropertyType(true)))); // present in TEST_F()
153 .WillOnce(Return(any(PropertyType(true)))); // present in TEST_F()
160 .WillOnce(Return(any(PropertyType(true)))); // present in TEST_F()
203 .WillOnce(Return(any(PropertyType(true)))); // present in TEST_F()
210 .WillOnce(Return(any(PropertyType(true)))); // present in TEST_F()
[all …]
H A Dtest_activation.cpp23 using PropertyType = utils::UtilsInterface::PropertyType; typedef in TestActivation
38 .WillByDefault(Return(any(PropertyType(true)))); in TestActivation()
42 .WillByDefault(Return(any(PropertyType(std::string("TestManu"))))); in TestActivation()
276 .WillByDefault(Return(any(PropertyType(false)))); // not present in TEST_F()
313 .WillByDefault(Return(any(PropertyType(std::string(""))))); in TEST_F()
/openbmc/smbios-mdr/src/
H A Dcpuinfo_utils.cpp165 using PropertyType = std::remove_const_t<std::remove_reference_t< in subscribeToProperty() typedef
169 PropertyType, CustomVariantTypes..., bool, uint8_t, uint16_t, int16_t, in subscribeToProperty()
173 sdbusplus::asio::getProperty<PropertyType>( in subscribeToProperty()
176 boost::system::error_code ec, const PropertyType& newValue) { in subscribeToProperty()
198 const auto* actualVal = std::get_if<PropertyType>(&newValue); in subscribeToProperty()
/openbmc/sdbusplus/docs/
H A Dasio.md31 PropertyType getHandler(const PropertyType& value);
44 bool setHandler(const PropertyType& newValue, PropertyType& value);
/openbmc/bmcweb/include/
H A Ddbus_utility.hpp102 template <typename PropertyType>
106 const PropertyType&)>&& callback) in getProperty()
108 sdbusplus::asio::getProperty<PropertyType>( in getProperty()
113 template <typename PropertyType>
118 const PropertyType&)>&& callback) in getProperty()
/openbmc/openpower-vpd-parser/vpd-tool/include/
H A Dvpd_tool.hpp71 template <typename PropertyType>
94 template <typename PropertyType>
/openbmc/pldm/libpldmresponder/
H A Dfru_parser.hpp25 using PropertyType = std::string; typedef
52 pldm::responder::dbus::PropertyType, pldm::responder::fru::FieldType>;
/openbmc/bmcweb/redfish-core/include/utils/
H A Ddbus_utils.hpp53 template <typename PropertyType>
58 std::string_view dbusProperty, const PropertyType& prop) in setDbusProperty()
/openbmc/entity-manager/src/
H A Dentity_manager.cpp176 template <typename PropertyType>
183 std::vector<PropertyType> values; in addArrayToDbus()
186 auto ptr = property.get_ptr<const PropertyType*>(); in addArrayToDbus()
203 const std::vector<PropertyType>& newVal, in addArrayToDbus()
204 std::vector<PropertyType>& val) { in addArrayToDbus()
222 template <typename PropertyType>
223 void addProperty(const std::string& name, const PropertyType& value, in addProperty()
238 const PropertyType& newVal, PropertyType& val) { in addProperty()
/openbmc/openpower-vpd-parser/vpd-tool/src/
H A Dvpd_tool.cpp123 template <typename PropertyType>
134 getInventoryPropertyJson<PropertyType>(i_inventoryObjPath, in populateInterfaceJson()
285 template <typename PropertyType>
299 if (const auto l_value = std::get_if<PropertyType>(&l_keyWordValue)) in getInventoryPropertyJson()
301 if constexpr (std::is_same<PropertyType, std::string>::value) in getInventoryPropertyJson()
305 else if constexpr (std::is_same<PropertyType, bool>::value) in getInventoryPropertyJson()
310 else if constexpr (std::is_same<PropertyType, in getInventoryPropertyJson()
318 else if constexpr (std::is_same<PropertyType, uint32_t>::value) in getInventoryPropertyJson()
/openbmc/phosphor-psu-code-mgmt/src/
H A Dutils.hpp142 using PropertyType = std::variant<std::string, bool>; typedef in utils::UtilsInterface
178 auto value = any_cast<PropertyType>(result); in getProperty()
H A Ditem_updater.hpp117 std::map<std::string, utils::UtilsInterface::PropertyType>;
H A Dutils.cpp272 PropertyType value{}; in getPropertyImpl()
/openbmc/phosphor-host-ipmid/
H A Dselutility.hpp40 using PropertyType = typedef
H A Dselutility.cpp59 using entryDataMap = std::map<PropertyName, PropertyType>;
/openbmc/pldm/common/
H A Dtypes.hpp81 using PropertyType = std::string; typedef
/openbmc/qemu/qga/
H A Dcommands-win32.c65 DEVPROPTYPE * PropertyType,