Searched refs:doubleValue (Results 1 – 5 of 5) sorted by relevance
747 double* doubleValue) in dbusPropValuesToDouble() argument754 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()
680 double* doubleValue);
849 const double* doubleValue = std::get_if<double>(&valueVariant); in objectPropertiesToJson() local850 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()
588 const double* doubleValue = j->get_ptr<const double*>(); in convertJsonToDbus() local604 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()
2486 currentLoad = displayValue.doubleValue; in load_avg_callback()