Lines Matching refs:s2
1763 bool EqualsTo(const DimensionsValue& s1, const DimensionsValue& s2) { in EqualsTo() argument
1764 if (s1.field() != s2.field()) { in EqualsTo()
1767 if (s1.value_case() != s2.value_case()) { in EqualsTo()
1772 return (s1.value_str() == s2.value_str()); in EqualsTo()
1774 return s1.value_int() == s2.value_int(); in EqualsTo()
1776 return s1.value_long() == s2.value_long(); in EqualsTo()
1778 return s1.value_bool() == s2.value_bool(); in EqualsTo()
1780 return s1.value_float() == s2.value_float(); in EqualsTo()
1783 s2.value_tuple().dimensions_value_size()) { in EqualsTo()
1789 s2.value_tuple().dimensions_value(i)); in EqualsTo()
1800 const google::protobuf::RepeatedPtrField<StateValue>& s2) { in LessThan() argument
1801 if (s1.size() != s2.size()) { in LessThan()
1802 return s1.size() < s2.size(); in LessThan()
1806 const StateValue& state2 = s2[i]; in LessThan()
1820 bool LessThan(const DimensionsValue& s1, const DimensionsValue& s2) { in LessThan() argument
1821 if (s1.field() != s2.field()) { in LessThan()
1822 return s1.field() < s2.field(); in LessThan()
1824 if (s1.value_case() != s2.value_case()) { in LessThan()
1825 return s1.value_case() < s2.value_case(); in LessThan()
1829 return s1.value_str() < s2.value_str(); in LessThan()
1831 return s1.value_int() < s2.value_int(); in LessThan()
1833 return s1.value_long() < s2.value_long(); in LessThan()
1835 return (int)s1.value_bool() < (int)s2.value_bool(); in LessThan()
1837 return s1.value_float() < s2.value_float(); in LessThan()
1840 s2.value_tuple().dimensions_value_size()) { in LessThan()
1842 s2.value_tuple().dimensions_value_size(); in LessThan()
1846 s2.value_tuple().dimensions_value(i))) { in LessThan()
1850 s2.value_tuple().dimensions_value(i)); in LessThan()
1861 bool LessThan(const DimensionsPair& s1, const DimensionsPair& s2) { in LessThan() argument
1862 if (LessThan(s1.dimInWhat, s2.dimInWhat)) { in LessThan()
1864 } else if (LessThan(s2.dimInWhat, s1.dimInWhat)) { in LessThan()
1868 return LessThan(s1.stateValues, s2.stateValues); in LessThan()