Lines Matching defs:other
31 * This only supports base units: other units must be resolved to base units
89 * would sort before other units by virtue of index being < 0 and
92 int32_t compareTo(const SingleUnitImpl& other) const {
93 if (dimensionality < 0 && other.dimensionality > 0) {
97 if (dimensionality > 0 && other.dimensionality < 0) {
103 int32_t otherQuantity = other.getUnitCategoryIndex();
112 if (index < other.index) {
115 if (index > other.index) {
124 int32_t otherUnitBase = umeas_getPrefixBase(other.unitPrefix);
130 otherUnitBase == 1024 /* Binary Prefix */ ? umeas_getPrefixPower(other.unitPrefix) * 3
131 : umeas_getPrefixPower(other.unitPrefix);
133 // NOTE: if the unitPower is less than the other,
160 bool isCompatibleWith(const SingleUnitImpl& other) const {
161 return (compareTo(other) == 0);
217 MeasureUnitImpl(MeasureUnitImpl &&other) = default;
219 MeasureUnitImpl(const MeasureUnitImpl &other, UErrorCode &status) = delete;
222 MeasureUnitImpl &operator=(MeasureUnitImpl &&other) noexcept = default;