/external/skqp/modules/skshaper/src/ |
D | SkShaper.cpp | 16 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/ |
D | GlyphRunTest.cpp | 31 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);
|
D | SkRemoteGlyphCacheTest.cpp | 130 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 …]
|
D | GrTextBlobTest.cpp | 54 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()
|
D | TextBlobCacheTest.cpp | 238 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];
|
D | ShaperTest.cpp | 37 SkShaper::RunHandler::Buffer runBuffer(const SkShaper::RunHandler::RunInfo& info) override { in runBuffer() function
|
/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/skqp/tests/ |
D | GlyphRunTest.cpp | 58 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);
|
D | SkRemoteGlyphCacheTest.cpp | 80 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/ |
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 | 201 const auto buffer = handler->runBuffer(info); in shape()
|
D | SkShaper_coretext.cpp | 280 auto buffer = handler->runBuffer(info); in shape()
|
D | SkShaper_harfbuzz.cpp | 528 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/experimental/sktext/src/ |
D | Shaper.h | 30 Buffer runBuffer(const RunInfo& info) override { in runBuffer() function
|
/external/skia/src/utils/ |
D | SkShaperJSONWriter.h | 30 Buffer runBuffer(const RunInfo& info) override;
|
D | SkShaperJSONWriter.cpp | 28 SkShaperJSONWriter::runBuffer(const SkShaper::RunHandler::RunInfo& info) { in runBuffer() function in SkShaperJSONWriter
|
/external/skia/modules/skshaper/include/ |
D | SkShaper.h | 217 virtual Buffer runBuffer(const RunInfo&) = 0; 268 Buffer runBuffer(const RunInfo&) override;
|
/external/skia/modules/skparagraph/src/ |
D | OneLineShaper.h | 80 Buffer runBuffer(const RunInfo& info) override { in runBuffer() function
|
D | TextLine.cpp | 554 Buffer runBuffer(const RunInfo& info) override { in shapeEllipsis() function in skia::textlayout::TextLine::shapeEllipsis::ShapeHandler
|
/external/skia/modules/svg/src/ |
D | SkSVGTextPriv.h | 179 Buffer runBuffer(const RunInfo& ri) override;
|
D | SkSVGText.cpp | 434 SkShaper::RunHandler::Buffer SkSVGTextContext::runBuffer(const RunInfo& ri) { in runBuffer() function in SkSVGTextContext
|
/external/skqp/tools/viewer/ |
D | Viewer.cpp | 1028 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/ |
D | Viewer.cpp | 1301 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/ |
D | SkottieShaper.cpp | 93 Buffer runBuffer(const RunInfo& info) override { in runBuffer() function in skottie::__anon5ae2bb0b0111::BlobMaker
|