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 | 100 inline bool SpansOverlap(const CodepointSpan& a, const CodepointSpan& b) { in SpansOverlap() function 120 SpansOverlap(candidates[considered_candidate].span, in DoesCandidateConflict() 133 if (!SpansOverlap(candidates[considered_candidate].span, in DoesCandidateConflict()
|
D | annotator.cc | 993 if (SpansOverlap(candidates.annotated_spans[0][i].span, click_indices) && in SuggestSelection() 994 SpansOverlap(candidates.annotated_spans[0][i].span, in SuggestSelection() 1041 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 | 81 SpansOverlap(span.span, other.span); in TextSpansIntersect()
|