Home
last modified time | relevance | path

Searched refs:result_span (Results 1 – 6 of 6) sorted by relevance

/external/pdfium/testing/
Dfx_string_testhelpers.cpp62 pdfium::span<uint8_t> result_span(reinterpret_cast<uint8_t*>(result.get()), in GetFPDFWideString() local
66 result_span[i++] = w & 0xff; in GetFPDFWideString()
67 result_span[i++] = (w >> 8) & 0xff; in GetFPDFWideString()
69 result_span[i++] = 0; in GetFPDFWideString()
70 result_span[i] = 0; in GetFPDFWideString()
/external/libtextclassifier/native/annotator/datetime/
Dextractor.cc27 CodepointSpan* result_span) const { in Extract()
28 *result_span = {kInvalidIndex, kInvalidIndex}; in Extract()
187 if (!UpdateMatchSpan(group_id, result_span)) { in Extract()
198 if (result_span->first == kInvalidIndex || in Extract()
199 result_span->second == kInvalidIndex) { in Extract()
200 *result_span = {kInvalidIndex, kInvalidIndex}; in Extract()
Dextractor.h61 bool Extract(DatetimeParsedData* result, CodepointSpan* result_span) const;
Dregex-parser.h97 CodepointSpan* result_span) const;
Dregex-parser.cc361 CodepointSpan* result_span) const { in ExtractDatetime()
366 if (!extractor.Extract(&parse, result_span)) { in ExtractDatetime()
/external/libtextclassifier/native/annotator/
Dannotator.cc2087 AnnotatedSpan result_span; in ModelAnnotate() local
2088 result_span.span = {codepoint_span.first + offset, in ModelAnnotate()
2090 result_span.classification = std::move(classification); in ModelAnnotate()
2091 result->push_back(std::move(result_span)); in ModelAnnotate()