/openbmc/sdbusplus/include/sdbusplus/asio/ |
H A D | object_server.hpp | 154 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 D | property.hpp | 41 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 D | test_item_updater.cpp | 24 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 D | test_activation.cpp | 23 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 D | cpuinfo_utils.cpp | 165 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 D | asio.md | 31 PropertyType getHandler(const PropertyType& value); 44 bool setHandler(const PropertyType& newValue, PropertyType& value);
|
/openbmc/bmcweb/include/ |
H A D | dbus_utility.hpp | 102 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 D | vpd_tool.hpp | 71 template <typename PropertyType> 94 template <typename PropertyType>
|
/openbmc/pldm/libpldmresponder/ |
H A D | fru_parser.hpp | 25 using PropertyType = std::string; typedef 52 pldm::responder::dbus::PropertyType, pldm::responder::fru::FieldType>;
|
/openbmc/bmcweb/redfish-core/include/utils/ |
H A D | dbus_utils.hpp | 53 template <typename PropertyType> 58 std::string_view dbusProperty, const PropertyType& prop) in setDbusProperty()
|
/openbmc/entity-manager/src/ |
H A D | entity_manager.cpp | 176 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 D | vpd_tool.cpp | 123 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 D | utils.hpp | 142 using PropertyType = std::variant<std::string, bool>; typedef in utils::UtilsInterface 178 auto value = any_cast<PropertyType>(result); in getProperty()
|
H A D | item_updater.hpp | 117 std::map<std::string, utils::UtilsInterface::PropertyType>;
|
H A D | utils.cpp | 272 PropertyType value{}; in getPropertyImpl()
|
/openbmc/phosphor-host-ipmid/ |
H A D | selutility.hpp | 40 using PropertyType = typedef
|
H A D | selutility.cpp | 59 using entryDataMap = std::map<PropertyName, PropertyType>;
|
/openbmc/pldm/common/ |
H A D | types.hpp | 81 using PropertyType = std::string; typedef
|
/openbmc/qemu/qga/ |
H A D | commands-win32.c | 65 DEVPROPTYPE * PropertyType,
|