Home
last modified time | relevance | path

Searched refs:runBuffer (Results 1 – 25 of 25) sorted by relevance

/external/skqp/modules/skshaper/src/
DSkShaper.cpp16 const auto& runBuffer = SkTextBlobBuilderPriv::AllocRunTextPos(&fBuilder, font, glyphCount, in newRunBuffer() local
18 return { runBuffer.glyphs, in newRunBuffer()
19 runBuffer.points(), in newRunBuffer()
20 runBuffer.utf8text, in newRunBuffer()
21 runBuffer.clusters }; in newRunBuffer()
/external/skia/tests/
DGlyphRunTest.cpp31 const auto& runBuffer = blobBuilder.allocRunPosH(font, count, runNum);
32 SkASSERT(runBuffer.utf8text == nullptr);
33 SkASSERT(runBuffer.clusters == nullptr);
36 runBuffer.glyphs[i] = static_cast<SkGlyphID>(i + runNum * count);
37 runBuffer.pos[i] = SkIntToScalar(i + runNum * count);
DSkRemoteGlyphCacheTest.cpp130 const auto& runBuffer = builder.allocRunPosH(font, glyphCount, 0, &bounds); in buildTextBlob() local
131 SkASSERT(runBuffer.utf8text == nullptr); in buildTextBlob()
132 SkASSERT(runBuffer.clusters == nullptr); in buildTextBlob()
135 runBuffer.glyphs[i] = static_cast<SkGlyphID>(i); in buildTextBlob()
136 runBuffer.pos[i] = SkIntToScalar(i); in buildTextBlob()
509 const auto& runBuffer = builder.allocRunPosH(font, runSize, 10, &bounds); in make_blob_causing_fallback() local
510 SkASSERT(runBuffer.utf8text == nullptr); in make_blob_causing_fallback()
511 SkASSERT(runBuffer.clusters == nullptr); in make_blob_causing_fallback()
514 runBuffer.glyphs, runSize); in make_blob_causing_fallback()
517 font.getWidths(runBuffer.glyphs, 1, nullptr, &glyphBounds); in make_blob_causing_fallback()
[all …]
DGrTextBlobTest.cpp54 const auto& runBuffer = builder.allocRunPosH(font, 30, 0, nullptr); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
57 runBuffer.glyphs[i] = static_cast<SkGlyphID>(i); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
58 runBuffer.pos[i] = SkIntToScalar(i); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
83 const auto& runBuffer = builder.allocRunPos(font, 30, nullptr); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
86 runBuffer.glyphs[i] = static_cast<SkGlyphID>(i); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
87 runBuffer.points()[i] = SkPoint::Make(SkIntToScalar(i*10) + delta.x(), 50 + delta.y()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DTextBlobCacheTest.cpp238 const auto& runBuffer = builder.allocRun(font, glyphCount, 0, 0); in make_blob() local
240 runBuffer.glyphs[i] = glyphs[i]; in make_blob()
271 const auto& runBuffer = builder.allocRun(font, glyphCount, 0, 0);
273 runBuffer.glyphs[i] = glyphs[i];
DShaperTest.cpp37 SkShaper::RunHandler::Buffer runBuffer(const SkShaper::RunHandler::RunInfo& info) override { in runBuffer() function
/external/skia/modules/skplaintexteditor/src/
Dshape.cpp50 SkShaper::RunHandler::Buffer runBuffer(const RunInfo&) override;
112 SkShaper::RunHandler::Buffer RunHandler::runBuffer(const RunInfo& info) { in runBuffer() function in RunHandler
116 const auto& runBuffer = fBuilder.allocRunTextPos(info.fFont, glyphCount, utf8RangeSize); in runBuffer() local
117 fCurrentGlyphs = runBuffer.glyphs; in runBuffer()
118 fCurrentPoints = runBuffer.points(); in runBuffer()
120 if (runBuffer.utf8text && fUtf8Text) { in runBuffer()
121 memcpy(runBuffer.utf8text, fUtf8Text + info.utf8Range.begin(), utf8RangeSize); in runBuffer()
123 fClusters = runBuffer.clusters; in runBuffer()
127 return {runBuffer.glyphs, in runBuffer()
128 runBuffer.points(), in runBuffer()
[all …]
/external/skqp/tests/
DGlyphRunTest.cpp58 const auto& runBuffer = blobBuilder.allocRunPosH(font, count, runNum);
59 SkASSERT(runBuffer.utf8text == nullptr);
60 SkASSERT(runBuffer.clusters == nullptr);
63 runBuffer.glyphs[i] = static_cast<SkGlyphID>(i + runNum * count);
64 runBuffer.pos[i] = SkIntToScalar(i + runNum * count);
DSkRemoteGlyphCacheTest.cpp80 const auto& runBuffer = builder.allocRunPosH(font, glyphCount, 0, &bounds); in buildTextBlob() local
81 SkASSERT(runBuffer.utf8text == nullptr); in buildTextBlob()
82 SkASSERT(runBuffer.clusters == nullptr); in buildTextBlob()
85 runBuffer.glyphs[i] = static_cast<SkGlyphID>(i); in buildTextBlob()
86 runBuffer.pos[i] = SkIntToScalar(i); in buildTextBlob()
452 const auto& runBuffer = builder.allocRunPosH(font, runSize, 10, &bounds); in make_blob_causing_fallback() local
453 SkASSERT(runBuffer.utf8text == nullptr); in make_blob_causing_fallback()
454 SkASSERT(runBuffer.clusters == nullptr); in make_blob_causing_fallback()
456 glyphTf->charsToGlyphs(s, SkTypeface::kUTF8_Encoding, runBuffer.glyphs, runSize); in make_blob_causing_fallback()
459 font.getWidths(runBuffer.glyphs, 1, nullptr, &glyphBounds); in make_blob_causing_fallback()
[all …]
/external/skia/modules/skshaper/src/
DSkShaper.cpp224 SkShaper::RunHandler::Buffer SkTextBlobBuilderRunHandler::runBuffer(const RunInfo& info) { in runBuffer() function in SkTextBlobBuilderRunHandler
228 const auto& runBuffer = fBuilder.allocRunTextPos(info.fFont, glyphCount, utf8RangeSize); in runBuffer() local
229 if (runBuffer.utf8text && fUtf8Text) { in runBuffer()
230 memcpy(runBuffer.utf8text, fUtf8Text + info.utf8Range.begin(), utf8RangeSize); in runBuffer()
232 fClusters = runBuffer.clusters; in runBuffer()
236 return { runBuffer.glyphs, in runBuffer()
237 runBuffer.points(), in runBuffer()
239 runBuffer.clusters, in runBuffer()
DSkShaper_primitive.cpp201 const auto buffer = handler->runBuffer(info); in shape()
DSkShaper_coretext.cpp280 auto buffer = handler->runBuffer(info); in shape()
DSkShaper_harfbuzz.cpp528 const auto buffer = handler->runBuffer(runInfo); in append()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/deflate64/
DHuffmanDecoder.java279 private byte[] runBuffer = new byte[0]; field in HuffmanDecoder.HuffmanCodes
321 if (runBuffer.length < run) { in decodeNext()
322 runBuffer = new byte[run]; in decodeNext()
326 memory.recordToBuffer(dist, run, runBuffer); in decodeNext()
343 System.arraycopy(runBuffer, runBufferPos, b, off, copiedBytes); in copyFromRunBuffer()
/external/skia/experimental/sktext/src/
DShaper.h30 Buffer runBuffer(const RunInfo& info) override { in runBuffer() function
/external/skia/src/utils/
DSkShaperJSONWriter.h30 Buffer runBuffer(const RunInfo& info) override;
DSkShaperJSONWriter.cpp28 SkShaperJSONWriter::runBuffer(const SkShaper::RunHandler::RunInfo& info) { in runBuffer() function in SkShaperJSONWriter
/external/skia/modules/skshaper/include/
DSkShaper.h217 virtual Buffer runBuffer(const RunInfo&) = 0;
268 Buffer runBuffer(const RunInfo&) override;
/external/skia/modules/skparagraph/src/
DOneLineShaper.h80 Buffer runBuffer(const RunInfo& info) override { in runBuffer() function
DTextLine.cpp554 Buffer runBuffer(const RunInfo& info) override { in shapeEllipsis() function in skia::textlayout::TextLine::shapeEllipsis::ShapeHandler
/external/skia/modules/svg/src/
DSkSVGTextPriv.h179 Buffer runBuffer(const RunInfo& ri) override;
DSkSVGText.cpp434 SkShaper::RunHandler::Buffer SkSVGTextContext::runBuffer(const RunInfo& ri) { in runBuffer() function in SkSVGTextContext
/external/skqp/tools/viewer/
DViewer.cpp1028 const SkTextBlobBuilder::RunBuffer& runBuffer in filterTextBlob() local
1042 memcpy(runBuffer.glyphs, it.glyphs(), glyphCount * glyphSize); in filterTextBlob()
1047 memcpy(runBuffer.pos, it.pos(), glyphCount * positioning * posSize); in filterTextBlob()
1052 memcpy(runBuffer.utf8text, it.text(), textCount * textSize); in filterTextBlob()
1056 memcpy(runBuffer.clusters, it.clusters(), glyphCount * clusterSize); in filterTextBlob()
/external/skia/tools/viewer/
DViewer.cpp1301 const SkTextBlobBuilder::RunBuffer& runBuffer in filterTextBlob() local
1316 memcpy(runBuffer.glyphs, it.glyphs(), glyphCount * glyphSize); in filterTextBlob()
1321 memcpy(runBuffer.pos, it.pos(), glyphCount * posPerGlyph * posSize); in filterTextBlob()
1326 memcpy(runBuffer.utf8text, it.text(), textCount * textSize); in filterTextBlob()
1330 memcpy(runBuffer.clusters, it.clusters(), glyphCount * clusterSize); in filterTextBlob()
/external/skia/modules/skottie/src/text/
DSkottieShaper.cpp93 Buffer runBuffer(const RunInfo& info) override { in runBuffer() function in skottie::__anon5ae2bb0b0111::BlobMaker