Searched refs:ValueWithUnit (Results 1 – 1 of 1) sorted by relevance
26 struct ValueWithUnit { struct31 absl::optional<ValueWithUnit> ParseValueWithUnit(std::string str) { in ParseValueWithUnit()33 return ValueWithUnit{std::numeric_limits<double>::infinity(), ""}; in ParseValueWithUnit()35 return ValueWithUnit{-std::numeric_limits<double>::infinity(), ""}; in ParseValueWithUnit()42 return ValueWithUnit{double_val, unit_char}; in ParseValueWithUnit()51 absl::optional<ValueWithUnit> result = ParseValueWithUnit(str); in ParseTypedParameter()64 absl::optional<ValueWithUnit> result = ParseValueWithUnit(str); in ParseTypedParameter()74 absl::optional<ValueWithUnit> result = ParseValueWithUnit(str); in ParseTypedParameter()