Searched refs:span1 (Results 1 – 3 of 3) sorted by relevance
66 public int compare(SortableAddress span1, SortableAddress span2) { in compare() argument68 if (span1.hasSrcAddr != span2.hasSrcAddr) { in compare()69 return span2.hasSrcAddr - span1.hasSrcAddr; in compare()73 if (span1.scopeMatch != span2.scopeMatch) { in compare()74 return span2.scopeMatch - span1.scopeMatch; in compare()81 if (span1.labelMatch != span2.labelMatch) { in compare()82 return span2.labelMatch - span1.labelMatch; in compare()86 if (span1.precedence != span2.precedence) { in compare()87 return span2.precedence - span1.precedence; in compare()93 if (span1.scope != span2.scope) { in compare()[all …]
2097 bool CompareSpans(const RepeatedField<int>& span1, in CompareSpans() argument2099 if (span1.size() != span2.size()) return false; in CompareSpans()2100 for (int i = 0; i < span1.size(); i++) { in CompareSpans()2101 if (span1.Get(i) != span2.Get(i)) return false; in CompareSpans()
3435 public int compare(SuggestionSpan span1, SuggestionSpan span2) { in compare() argument3436 final int flag1 = span1.getFlags(); in compare()3450 return mSpansLengths.get(span1).intValue() - mSpansLengths.get(span2).intValue(); in compare()