Home
last modified time | relevance | path

Searched refs:doubleValue (Results 1 – 5 of 5) sorted by relevance

/openbmc/pldm/common/
H A Dutils.cpp747 double* doubleValue) in dbusPropValuesToDouble() argument
754 if (!doubleValue) in dbusPropValuesToDouble()
763 *doubleValue = static_cast<double>(std::get<uint8_t>(value)); in dbusPropValuesToDouble()
767 *doubleValue = static_cast<double>(std::get<int16_t>(value)); in dbusPropValuesToDouble()
771 *doubleValue = static_cast<double>(std::get<uint16_t>(value)); in dbusPropValuesToDouble()
775 *doubleValue = static_cast<double>(std::get<int32_t>(value)); in dbusPropValuesToDouble()
779 *doubleValue = static_cast<double>(std::get<uint32_t>(value)); in dbusPropValuesToDouble()
783 *doubleValue = static_cast<double>(std::get<int64_t>(value)); in dbusPropValuesToDouble()
787 *doubleValue = static_cast<double>(std::get<uint64_t>(value)); in dbusPropValuesToDouble()
791 *doubleValue = static_cast<double>(std::get<double>(value)); in dbusPropValuesToDouble()
H A Dutils.hpp680 double* doubleValue);
/openbmc/bmcweb/redfish-core/include/utils/
H A Dsensor_utils.hpp849 const double* doubleValue = std::get_if<double>(&valueVariant); in objectPropertiesToJson() local
850 if (doubleValue == nullptr) in objectPropertiesToJson()
855 if (!std::isfinite(*doubleValue)) in objectPropertiesToJson()
865 valueName, *doubleValue); in objectPropertiesToJson()
870 sensorJson[key] = static_cast<int64_t>(*doubleValue); in objectPropertiesToJson()
874 sensorJson[key] = *doubleValue; in objectPropertiesToJson()
/openbmc/bmcweb/features/openbmc_rest/
H A Dopenbmc_dbus_rest.hpp588 const double* doubleValue = j->get_ptr<const double*>(); in convertJsonToDbus() local
604 if (doubleValue == nullptr) in convertJsonToDbus()
610 doubleValue = &d; in convertJsonToDbus()
613 if (doubleValue == nullptr) in convertJsonToDbus()
618 doubleValue = &d; in convertJsonToDbus()
780 if (doubleValue == nullptr) in convertJsonToDbus()
784 if ((*doubleValue < std::numeric_limits<double>::lowest()) || in convertJsonToDbus()
785 (*doubleValue > std::numeric_limits<double>::max())) in convertJsonToDbus()
789 r = sd_bus_message_append_basic(m, argCode[0], doubleValue); in convertJsonToDbus()
/openbmc/qemu/qga/
H A Dcommands-win32.c2486 currentLoad = displayValue.doubleValue; in load_avg_callback()