Lines Matching refs:that
123 bool HashableDimensionKey::operator==(const HashableDimensionKey& that) const { in operator ==()
124 if (mValues.size() != that.getValues().size()) { in operator ==()
129 if (mValues[i] != (that.getValues())[i]) { in operator ==()
136 bool HashableDimensionKey::operator<(const HashableDimensionKey& that) const { in operator <()
137 return LessThan(getValues(), that.getValues()); in operator <()
140 bool HashableDimensionKey::contains(const HashableDimensionKey& that) const { in contains()
141 if (mValues.size() < that.getValues().size()) { in contains()
145 if (mValues.size() == that.getValues().size()) { in contains()
146 return (*this) == that; in contains()
149 for (const auto& value : that.getValues()) { in contains()
174 bool MetricDimensionKey::operator==(const MetricDimensionKey& that) const { in operator ==()
175 return mDimensionKeyInWhat == that.getDimensionKeyInWhat() && in operator ==()
176 mDimensionKeyInCondition == that.getDimensionKeyInCondition(); in operator ==()
183 bool MetricDimensionKey::operator<(const MetricDimensionKey& that) const { in operator <()
184 if (mDimensionKeyInWhat < that.getDimensionKeyInWhat()) { in operator <()
186 } else if (that.getDimensionKeyInWhat() < mDimensionKeyInWhat) { in operator <()
190 return mDimensionKeyInCondition < that.getDimensionKeyInCondition(); in operator <()