Searched refs:SpansOverlap (Results 1 – 5 of 5) sorted by relevance
/external/libtextclassifier/native/annotator/grammar/ |
D | grammar-annotator.cc | 97 if (!SpansOverlap(selection, derivation.parse_tree->codepoint_span)) { in OverlappingDerivations() 106 if (!SpansOverlap(selection, span) || in OverlappingDerivations()
|
/external/libtextclassifier/native/annotator/ |
D | types.h | 101 inline bool SpansOverlap(const CodepointSpan& a, const CodepointSpan& b) { in SpansOverlap() function 121 SpansOverlap(candidates[considered_candidate].span, in DoesCandidateConflict() 134 if (!SpansOverlap(candidates[considered_candidate].span, in DoesCandidateConflict()
|
D | annotator.cc | 1018 if (SpansOverlap(candidates.annotated_spans[0][i].span, click_indices) && in SuggestSelection() 1019 SpansOverlap(candidates.annotated_spans[0][i].span, in SuggestSelection() 1066 SpansOverlap(conflicting_span, candidates[first_non_overlapping].span)) { in FirstNonOverlappingSpanIndex()
|
/external/libtextclassifier/native/annotator/datetime/testing/ |
D | base-parser-test.cc | 92 if (SpansOverlap(result.span, {expected_start_index, expected_end_index})) { in ParsesCorrectly()
|
/external/libtextclassifier/native/actions/ |
D | ranker.cc | 94 SpansOverlap(span.span, other.span); in TextSpansIntersect()
|