Home
last modified time | relevance | path

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

/external/pdfium/core/fxcodec/basic/
Dbasicmodule.cpp253 auto result_span = pdfium::make_span(result); in RunLengthEncode() local
270 result_span[0] = 257 - (run_end - run_start); in RunLengthEncode()
271 result_span[1] = x; in RunLengthEncode()
277 result_span = result_span.subspan(2); in RunLengthEncode()
282 result_span[run_end - run_start] = x; in RunLengthEncode()
287 result_span[run_end - run_start] = x; in RunLengthEncode()
294 result_span[0] = run_end - run_start - 2; in RunLengthEncode()
295 result_span = result_span.subspan(run_end - run_start); in RunLengthEncode()
299 result_span[0] = 0; in RunLengthEncode()
300 result_span[1] = x; in RunLengthEncode()
[all …]
/external/pdfium/fxbarcode/oned/
DBC_OnedEAN8Writer.cpp96 auto result_span = pdfium::make_span(result); in Encode() local
97 result_span = AppendPattern(result_span, kOnedEAN8StartPattern, true); in Encode()
101 result_span = AppendPattern(result_span, kOnedEAN8LPattern[digit], false); in Encode()
103 result_span = AppendPattern(result_span, kOnedEAN8MiddlePattern, false); in Encode()
107 result_span = AppendPattern(result_span, kOnedEAN8LPattern[digit], true); in Encode()
109 AppendPattern(result_span, kOnedEAN8StartPattern, true); in Encode()
DBC_OnedCode39Writer.cpp175 auto result_span = pdfium::make_span(result); in Encode() local
177 result_span = AppendPattern(result_span, widths, true); in Encode()
180 result_span = AppendPattern(result_span, kNarrowWhite, false); in Encode()
188 result_span = AppendPattern(result_span, widths, true); in Encode()
190 result_span = AppendPattern(result_span, kNarrowWhite, false); in Encode()
193 AppendPattern(result_span, widths, true); in Encode()
DBC_OnedEAN13Writer.cpp96 auto result_span = pdfium::make_span(result); in Encode() local
97 result_span = AppendPattern(result_span, kOnedEAN13StartPattern, true); in Encode()
104 result_span = AppendPattern(result_span, kOnedEAN13LGPattern[digit], false); in Encode()
106 result_span = AppendPattern(result_span, kOnedEAN13MiddlePattern, false); in Encode()
110 result_span = AppendPattern(result_span, kOnedEAN13LPattern[digit], true); in Encode()
112 AppendPattern(result_span, kOnedEAN13StartPattern, true); in Encode()
DBC_OnedCode128Writer.cpp143 auto result_span = pdfium::make_span(result); in Encode() local
146 result_span = AppendPattern(result_span, {pattern, kPatternSize}, true); in Encode()
/external/pdfium/testing/
Dfx_string_testhelpers.cpp66 pdfium::span<uint8_t> result_span(reinterpret_cast<uint8_t*>(result.get()), in GetFPDFWideString() local
70 result_span[i++] = w & 0xff; in GetFPDFWideString()
71 result_span[i++] = (w >> 8) & 0xff; in GetFPDFWideString()
73 result_span[i++] = 0; in GetFPDFWideString()
74 result_span[i] = 0; in GetFPDFWideString()
/external/libtextclassifier/native/annotator/datetime/
Dextractor.cc29 CodepointSpan* result_span) const { in Extract()
30 *result_span = {kInvalidIndex, kInvalidIndex}; in Extract()
189 if (!UpdateMatchSpan(group_id, result_span)) { in Extract()
200 if (result_span->first == kInvalidIndex || in Extract()
201 result_span->second == kInvalidIndex) { in Extract()
202 *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.cc362 CodepointSpan* result_span) const { in ExtractDatetime()
367 if (!extractor.Extract(&parse, result_span)) { in ExtractDatetime()
/external/pdfium/core/fpdfapi/render/
Dcpdf_rendershading.cpp75 pdfium::span<float> result_span = pdfium::make_span(result_array); in GetShadingSteps() local
80 func->Call(pdfium::make_span(&input, 1), result_span); in GetShadingSteps()
82 result_span = result_span.subspan(nresults.value()); in GetShadingSteps()
299 pdfium::span<float> result_span = pdfium::make_span(result_array); in DrawFuncShading() local
303 absl::optional<uint32_t> nresults = func->Call(input, result_span); in DrawFuncShading()
305 result_span = result_span.subspan(nresults.value()); in DrawFuncShading()
/external/libtextclassifier/native/annotator/
Dannotator.cc2101 AnnotatedSpan result_span; in ModelAnnotate() local
2102 result_span.span = {codepoint_span.first + offset, in ModelAnnotate()
2104 result_span.classification = std::move(classification); in ModelAnnotate()
2105 result->push_back(std::move(result_span)); in ModelAnnotate()