• Home
  • Raw
  • Download

Lines Matching refs:Compare

41 int Compare(const T& left, const T& right) {  in Compare()  function
52 int Compare(const std::string& left, const std::string& right) { in Compare() function
57 int Compare(const MessageTextSpan& span, const MessageTextSpan& other) { in Compare() function
58 if (const int value = Compare(span.message_index, other.message_index)) { in Compare()
61 if (const int value = Compare(span.span.first, other.span.first)) { in Compare()
64 if (const int value = Compare(span.span.second, other.span.second)) { in Compare()
71 return Compare(span, other) == 0; in IsSameSpan()
81 int Compare(const ActionSuggestionAnnotation& annotation, in Compare() function
83 if (const int value = Compare(annotation.span, other.span)) { in Compare()
86 if (const int value = Compare(annotation.name, other.name)) { in Compare()
90 Compare(annotation.entity.collection, other.entity.collection)) { in Compare()
99 return Compare(annotation, other) == 0; in IsEquivalentActionAnnotation()
106 Compare(action.annotations.size(), other.annotations.size())) { in CompareAnnotationsOnly()
111 Compare(action.annotations[i], other.annotations[i])) { in CompareAnnotationsOnly()
125 int Compare(const ActionSuggestion& action, const ActionSuggestion& other) { in Compare() function
126 if (const int value = Compare(action.type, other.type)) { in Compare()
129 if (const int value = Compare(action.response_text, other.response_text)) { in Compare()
132 if (const int value = Compare(action.serialized_entity_data, in Compare()
142 return Compare(action, other) == 0; in IsEquivalentActionSuggestion()