/external/skia/modules/skshaper/src/ |
D | SkShaper.cpp | 29 const auto& runBuffer = SkTextBlobBuilderPriv::AllocRunTextPos(&fBuilder, font, glyphCount, in newRunBuffer() local 31 if (runBuffer.utf8text && fUtf8Text) { in newRunBuffer() 32 memcpy(runBuffer.utf8text, utf8.data(), utf8.size()); in newRunBuffer() 34 fClusters = runBuffer.clusters; in newRunBuffer() 38 return { runBuffer.glyphs, in newRunBuffer() 39 runBuffer.points(), in newRunBuffer() 40 runBuffer.clusters }; in newRunBuffer()
|
/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/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/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/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/tools/viewer/ |
D | Viewer.cpp | 1079 const SkTextBlobBuilder::RunBuffer& runBuffer in filterTextBlob() local 1093 memcpy(runBuffer.glyphs, it.glyphs(), glyphCount * glyphSize); in filterTextBlob() 1098 memcpy(runBuffer.pos, it.pos(), glyphCount * positioning * posSize); in filterTextBlob() 1103 memcpy(runBuffer.utf8text, it.text(), textCount * textSize); in filterTextBlob() 1107 memcpy(runBuffer.clusters, it.clusters(), glyphCount * clusterSize); in filterTextBlob()
|
/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()
|