Searched refs:span_end (Results 1 – 4 of 4) sorted by relevance
/external/libtextclassifier/native/annotator/ |
D | feature-processor.cc | 157 auto span_end = context_unicode.begin(); in StripTokensFromOtherLines() local 159 std::advance(span_end, span.second); in StripTokensFromOtherLines() 163 if (line.first <= span_start && line.second >= span_end) { in StripTokensFromOtherLines() 303 UnicodeText::const_iterator span_end = token_right_unicode.end(); in SpanToLabel() local 308 token_right_unicode.begin(), span_end, in SpanToLabel() 487 const UnicodeText::const_iterator& span_end, in CountIgnoredSpanBoundaryCodepoints() argument 489 return CountIgnoredSpanBoundaryCodepoints(span_start, span_end, in CountIgnoredSpanBoundaryCodepoints() 496 const UnicodeText::const_iterator& span_end, bool count_from_beginning, in CountIgnoredSpanBoundaryCodepoints() argument 498 if (span_start == span_end) { in CountIgnoredSpanBoundaryCodepoints() 506 it_last = span_end; in CountIgnoredSpanBoundaryCodepoints() [all …]
|
D | feature-processor.h | 203 const UnicodeText::const_iterator& span_end, CodepointSpan span) const; 208 const UnicodeText::const_iterator& span_end, CodepointSpan span, 268 const UnicodeText::const_iterator& span_end, 274 const UnicodeText::const_iterator& span_end, bool count_from_beginning,
|
/external/libtextclassifier/native/utils/utf8/ |
D | unicodetext.cc | 220 auto span_end = span_begin; in UTF8Substring() local 221 std::advance(span_end, end_codepoint - begin_codepoint); in UTF8Substring() 222 return UTF8Substring(span_begin, span_end); in UTF8Substring()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | scale_and_translate_op.cc | 93 int64 span_end = in ComputeSpansCore() local 96 span_end = Clamp(static_cast<int64>(0), input_size - 1, span_end) + 1; in ComputeSpansCore() 97 const int this_span_size = span_end - span_start; in ComputeSpansCore() 104 for (int source = span_start; source < span_end; ++source) { in ComputeSpansCore()
|