Searched refs:doubleValue (Results 1 – 4 of 4) 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()
679 double* doubleValue);
983 const double* doubleValue = std::get_if<double>(&valueVariant); in objectPropertiesToJson() local 984 if (doubleValue == nullptr) in objectPropertiesToJson() 989 if (!std::isfinite(*doubleValue)) in objectPropertiesToJson() 999 valueName, *doubleValue); in objectPropertiesToJson() 1004 sensorJson[key] = static_cast<int64_t>(*doubleValue); in objectPropertiesToJson() 1008 sensorJson[key] = *doubleValue; in objectPropertiesToJson()
593 const double* doubleValue = j->get_ptr<const double*>(); in convertJsonToDbus() local609 if (doubleValue == nullptr) in convertJsonToDbus()615 doubleValue = &d; in convertJsonToDbus()618 if (doubleValue == nullptr) in convertJsonToDbus()623 doubleValue = &d; in convertJsonToDbus()785 if (doubleValue == nullptr) in convertJsonToDbus()789 if ((*doubleValue < std::numeric_limits<double>::lowest()) || in convertJsonToDbus()790 (*doubleValue > std::numeric_limits<double>::max())) in convertJsonToDbus()794 r = sd_bus_message_append_basic(m, argCode[0], doubleValue); in convertJsonToDbus()