Home
last modified time | relevance | path

Searched refs:dbusPropValuesToDouble (Results 1 – 3 of 3) sorted by relevance

/openbmc/pldm/common/test/
H A Dpldm_utils_test.cpp1109 TEST(dbusPropValuesToDouble, goodTest) in TEST() argument
1113 dbusPropValuesToDouble("uint8_t", static_cast<uint8_t>(0x12), &value); in TEST()
1117 dbusPropValuesToDouble("int16_t", static_cast<int16_t>(0x1234), &value); in TEST()
1120 ret = dbusPropValuesToDouble("uint16_t", static_cast<uint16_t>(0x8234), in TEST()
1124 ret = dbusPropValuesToDouble("int32_t", static_cast<int32_t>(0x12345678), in TEST()
1128 ret = dbusPropValuesToDouble("uint32_t", static_cast<uint32_t>(0x82345678), in TEST()
1132 ret = dbusPropValuesToDouble( in TEST()
1136 ret = dbusPropValuesToDouble( in TEST()
1140 ret = dbusPropValuesToDouble("double", static_cast<double>(1234.5678), in TEST()
1146 TEST(dbusPropValuesToDouble, badTest) in TEST() argument
[all …]
/openbmc/pldm/common/
H A Dutils.hpp677 bool dbusPropValuesToDouble(const std::string_view& type,
H A Dutils.cpp745 bool dbusPropValuesToDouble(const std::string_view& type, in dbusPropValuesToDouble() function