Home
last modified time | relevance | path

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

/external/skia/tests/
DGlyphRunTest.cpp30 const auto& runBuffer = blobBuilder.allocRunPosH(font, count, runNum);
31 SkASSERT(runBuffer.utf8text == nullptr);
32 SkASSERT(runBuffer.clusters == nullptr);
35 runBuffer.glyphs[i] = static_cast<SkGlyphID>(i + runNum * count);
36 runBuffer.pos[i] = SkIntToScalar(i + runNum * count);
DGrTextBlobTest.cpp93 const auto& runBuffer = builder.allocRunPosH(font, 30, 0, nullptr); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
96 runBuffer.glyphs[i] = static_cast<SkGlyphID>(i); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
97 runBuffer.pos[i] = SkIntToScalar(i); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
125 const auto& runBuffer = builder.allocRunPos(font, 30, nullptr); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
128 runBuffer.glyphs[i] = static_cast<SkGlyphID>(i); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
129 runBuffer.points()[i] = SkPoint::Make(SkIntToScalar(i*10) + delta.x(), 50 + delta.y()); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
357 auto runBuffer = builder.allocRun(font, 1, 0.0f, 0.0f); in DEF_TEST() local
358 runBuffer.glyphs[0] = 3; in DEF_TEST()
DSkRemoteGlyphCacheTest.cpp169 const auto& runBuffer = builder.allocRunPosH(font, glyphCount, 0, &bounds); in buildTextBlob() local
170 SkASSERT(runBuffer.utf8text == nullptr); in buildTextBlob()
171 SkASSERT(runBuffer.clusters == nullptr); in buildTextBlob()
174 runBuffer.glyphs[i] = static_cast<SkGlyphID>(i); in buildTextBlob()
175 runBuffer.pos[i] = SkIntToScalar(i); in buildTextBlob()
730 const auto& runBuffer = builder.allocRunPosH(font, runSize, 10, &bounds); in make_blob_causing_fallback() local
731 SkASSERT(runBuffer.utf8text == nullptr); in make_blob_causing_fallback()
732 SkASSERT(runBuffer.clusters == nullptr); in make_blob_causing_fallback()
735 runBuffer.glyphs, runSize); in make_blob_causing_fallback()
738 font.getWidths(runBuffer.glyphs, 1, nullptr, &glyphBounds); in make_blob_causing_fallback()
[all …]
DTextBlobCacheTest.cpp262 const auto& runBuffer = builder.allocRun(font, glyphCount, 0, 0); in make_blob() local
264 runBuffer.glyphs[i] = glyphs[i]; in make_blob()
295 const auto& runBuffer = builder.allocRun(font, glyphCount, 0, 0);
297 runBuffer.glyphs[i] = glyphs[i];
/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/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.cpp213 const auto buffer = handler->runBuffer(info); in shape()
DSkShaper_coretext.cpp282 auto buffer = handler->runBuffer(info); in shape()
DSkShaper_harfbuzz.cpp553 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/modules/skparagraph/tests/
DSkShaperJSONWriter.h31 Buffer runBuffer(const RunInfo& info) override;
DSkShaperJSONWriter.cpp35 SkShaperJSONWriter::runBuffer(const SkShaper::RunHandler::RunInfo& info) { in runBuffer() function in SkShaperJSONWriter
/external/skia/modules/skshaper/include/
DSkShaper.h221 virtual Buffer runBuffer(const RunInfo&) = 0;
272 Buffer runBuffer(const RunInfo&) override;
/external/skia/modules/svg/src/
DSkSVGTextPriv.h179 Buffer runBuffer(const RunInfo& ri) override;
DSkSVGText.cpp436 SkShaper::RunHandler::Buffer SkSVGTextContext::runBuffer(const RunInfo& ri) { in runBuffer() function in SkSVGTextContext
/external/skia/modules/skparagraph/src/
DOneLineShaper.h81 Buffer runBuffer(const RunInfo& info) override { in runBuffer() function
DTextLine.cpp598 Buffer runBuffer(const RunInfo& info) override { in shapeEllipsis() function in skia::textlayout::TextLine::shapeEllipsis::ShapeHandler
/external/skia/modules/skshaper/tests/
DShaperTest.cpp47 SkShaper::RunHandler::Buffer runBuffer(const SkShaper::RunHandler::RunInfo& info) override { in runBuffer() function
/external/skia/experimental/sktext/include/
DText.h145 Buffer runBuffer(const RunInfo& info) override { in runBuffer() function
/external/skia/tools/viewer/
DViewer.cpp1349 const SkTextBlobBuilder::RunBuffer& runBuffer in filterTextBlob() local
1364 memcpy(runBuffer.glyphs, it.glyphs(), glyphCount * glyphSize); in filterTextBlob()
1369 memcpy(runBuffer.pos, it.pos(), glyphCount * posPerGlyph * posSize); in filterTextBlob()
1374 memcpy(runBuffer.utf8text, it.text(), textCount * textSize); in filterTextBlob()
1378 memcpy(runBuffer.clusters, it.clusters(), glyphCount * clusterSize); in filterTextBlob()
/external/skia/modules/skottie/src/text/
DSkottieShaper.cpp79 Buffer runBuffer(const RunInfo& info) override { in runBuffer() function in skottie::__anonfa690aa90111::ResultBuilder