Lines Matching refs:Unit
27 enum Unit {
60 // two units of distance (meters to centimeters), but cannot convert a unit of
61 // time to a unit of memory (seconds to megabytes).
69 // A struct which holds the conversion information for each unit. The
70 // |amount_in_base_units| corresponds to the value of 1 |unit| in the specified
71 // base for the measurement type (for instance, since the base unit for memory
74 const Unit unit;
79 // Returns the corresponding UnitDetails for the given unit, or NULL if invalid.
80 const UnitDetails* GetUnitDetails(Unit unit);