Home
last modified time | relevance | path

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

/external/webrtc/rtc_base/experiments/
Dfield_trial_units.cc26 struct ValueWithUnit { struct
31 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()