/external/skia/tests/ |
D | GlyphRunTest.cpp | 30 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);
|
D | GrTextBlobTest.cpp | 93 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()
|
D | SkRemoteGlyphCacheTest.cpp | 169 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 …]
|
D | TextBlobCacheTest.cpp | 262 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/ |
D | shape.cpp | 50 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/ |
D | SkShaper.cpp | 224 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()
|
D | SkShaper_primitive.cpp | 213 const auto buffer = handler->runBuffer(info); in shape()
|
D | SkShaper_coretext.cpp | 282 auto buffer = handler->runBuffer(info); in shape()
|
D | SkShaper_harfbuzz.cpp | 553 const auto buffer = handler->runBuffer(runInfo); in append()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/deflate64/ |
D | HuffmanDecoder.java | 279 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/ |
D | SkShaperJSONWriter.h | 31 Buffer runBuffer(const RunInfo& info) override;
|
D | SkShaperJSONWriter.cpp | 35 SkShaperJSONWriter::runBuffer(const SkShaper::RunHandler::RunInfo& info) { in runBuffer() function in SkShaperJSONWriter
|
/external/skia/modules/skshaper/include/ |
D | SkShaper.h | 221 virtual Buffer runBuffer(const RunInfo&) = 0; 272 Buffer runBuffer(const RunInfo&) override;
|
/external/skia/modules/svg/src/ |
D | SkSVGTextPriv.h | 179 Buffer runBuffer(const RunInfo& ri) override;
|
D | SkSVGText.cpp | 436 SkShaper::RunHandler::Buffer SkSVGTextContext::runBuffer(const RunInfo& ri) { in runBuffer() function in SkSVGTextContext
|
/external/skia/modules/skparagraph/src/ |
D | OneLineShaper.h | 81 Buffer runBuffer(const RunInfo& info) override { in runBuffer() function
|
D | TextLine.cpp | 598 Buffer runBuffer(const RunInfo& info) override { in shapeEllipsis() function in skia::textlayout::TextLine::shapeEllipsis::ShapeHandler
|
/external/skia/modules/skshaper/tests/ |
D | ShaperTest.cpp | 47 SkShaper::RunHandler::Buffer runBuffer(const SkShaper::RunHandler::RunInfo& info) override { in runBuffer() function
|
/external/skia/experimental/sktext/include/ |
D | Text.h | 145 Buffer runBuffer(const RunInfo& info) override { in runBuffer() function
|
/external/skia/tools/viewer/ |
D | Viewer.cpp | 1349 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/ |
D | SkottieShaper.cpp | 79 Buffer runBuffer(const RunInfo& info) override { in runBuffer() function in skottie::__anonfa690aa90111::ResultBuilder
|