Lines Matching refs:s2
1311 bool EqualsTo(const DimensionsValue& s1, const DimensionsValue& s2) { in EqualsTo() argument
1312 if (s1.field() != s2.field()) { in EqualsTo()
1315 if (s1.value_case() != s2.value_case()) { in EqualsTo()
1320 return (s1.value_str() == s2.value_str()); in EqualsTo()
1322 return s1.value_int() == s2.value_int(); in EqualsTo()
1324 return s1.value_long() == s2.value_long(); in EqualsTo()
1326 return s1.value_bool() == s2.value_bool(); in EqualsTo()
1328 return s1.value_float() == s2.value_float(); in EqualsTo()
1331 s2.value_tuple().dimensions_value_size()) { in EqualsTo()
1337 s2.value_tuple().dimensions_value(i)); in EqualsTo()
1348 const google::protobuf::RepeatedPtrField<StateValue>& s2) { in LessThan() argument
1349 if (s1.size() != s2.size()) { in LessThan()
1350 return s1.size() < s2.size(); in LessThan()
1354 const StateValue& state2 = s2[i]; in LessThan()
1368 bool LessThan(const DimensionsValue& s1, const DimensionsValue& s2) { in LessThan() argument
1369 if (s1.field() != s2.field()) { in LessThan()
1370 return s1.field() < s2.field(); in LessThan()
1372 if (s1.value_case() != s2.value_case()) { in LessThan()
1373 return s1.value_case() < s2.value_case(); in LessThan()
1377 return s1.value_str() < s2.value_str(); in LessThan()
1379 return s1.value_int() < s2.value_int(); in LessThan()
1381 return s1.value_long() < s2.value_long(); in LessThan()
1383 return (int)s1.value_bool() < (int)s2.value_bool(); in LessThan()
1385 return s1.value_float() < s2.value_float(); in LessThan()
1388 s2.value_tuple().dimensions_value_size()) { in LessThan()
1390 s2.value_tuple().dimensions_value_size(); in LessThan()
1394 s2.value_tuple().dimensions_value(i))) { in LessThan()
1398 s2.value_tuple().dimensions_value(i)); in LessThan()
1409 bool LessThan(const DimensionsPair& s1, const DimensionsPair& s2) { in LessThan() argument
1410 if (LessThan(s1.dimInWhat, s2.dimInWhat)) { in LessThan()
1412 } else if (LessThan(s2.dimInWhat, s1.dimInWhat)) { in LessThan()
1416 return LessThan(s1.stateValues, s2.stateValues); in LessThan()