/external/skqp/src/core/ |
D | SkGlyphRun.cpp | 190 size_t runSize = it.glyphCount(); in drawTextBlob() local 193 auto clusters = SkSpan<const uint32_t>(it.clusters(), runSize); in drawTextBlob() 195 auto glyphIDs = SkSpan<const SkGlyphID>{it.glyphs(), runSize}; in drawTextBlob() 220 runSize, origin, paint); in drawTextBlob() 227 positions += runSize; in drawTextBlob() 307 auto runSize = glyphIDs.size(); in simplifyDrawText() local 310 fScratchAdvances.resize(runSize); in simplifyDrawText() 318 for (size_t i = 0; i < runSize; i++) { in simplifyDrawText() 326 SkSpan<const SkPoint>{positions, runSize}, in simplifyDrawText() 349 auto runSize = glyphIDs.size(); in simplifyDrawPosText() local [all …]
|
D | SkGlyphRunPainter.cpp | 167 auto runSize = glyphRun.runSize(); in drawForBitmapDevice() local 171 fPositions, glyphRun.positions().data(), runSize); in drawForBitmapDevice() 182 pathsAndPositions.setReserve(runSize); in drawForBitmapDevice() 215 matrix.mapPoints(fPositions, glyphRun.positions().data(), runSize); in drawForBitmapDevice() 218 masks.setReserve(runSize); in drawForBitmapDevice() 386 mapping.mapPoints(fPositions, glyphRun.positions().data(), glyphRun.runSize()); in drawGlyphRunAsBMPWithPathFallback() 482 size = std::max(run.runSize(), size); in ensureBuffers() 489 return ScopedBuffers(this, glyphRun.runSize()); in ensureBuffers()
|
D | SkGlyphRun.h | 37 size_t runSize() const { return fGlyphIDs.size(); } in runSize() function 86 glyphCount += run.runSize(); in totalGlyphCount()
|
D | SkBlitter.cpp | 67 int runSize = bounds.width() + 1; // +1 so we can set runs[bounds.width()] = 0 in blitFatAntiRect() local 68 void* storage = this->allocBlitMemory(runSize * (sizeof(int16_t) + sizeof(SkAlpha))); in blitFatAntiRect() 70 SkAlpha* alphas = reinterpret_cast<SkAlpha*>(runs + runSize); in blitFatAntiRect() 106 int runSize = clip.width() + 1; // +1 so we can set runs[clip.width()] = 0 in blitCoverageDeltas() local 107 void* storage = this->allocBlitMemory(runSize * (sizeof(int16_t) + sizeof(SkAlpha))); in blitCoverageDeltas() 109 SkAlpha* alphas = reinterpret_cast<SkAlpha*>(runs + runSize); in blitCoverageDeltas()
|
D | SkTextBlob.cpp | 477 size_t runSize = SkTextBlob::RunRecord::StorageSize(count, textSize, positioning, &safe); in allocInternal() local 483 this->reserve(runSize); in allocInternal() 486 SkASSERT(fStorageUsed + runSize <= fStorageSize); in allocInternal() 496 fStorageUsed += runSize; in allocInternal()
|
/external/skia/src/core/ |
D | SkGlyphRun.cpp | 43 SkASSERT(this->runSize() > 0); in sourceBounds() 150 buffer = builder.allocRunPos(run.font(), run.runSize(), nullptr); in makeBlob() 152 … buffer = builder.allocRunTextPos(run.font(), run.runSize(), run.text().size(), nullptr); in makeBlob() 161 buffer = builder.allocRunRSXform(run.font(), run.runSize()); in makeBlob() 219 size_t runSize = it.glyphCount(); in blobToGlyphRunList() local 220 if (runSize == 0 || !SkFontPriv::IsFinite(it.font())) { in blobToGlyphRunList() 226 auto glyphIDs = SkSpan<const SkGlyphID>{it.glyphs(), runSize}; in blobToGlyphRunList() 237 positions = SkMakeSpan(positionCursor, runSize); in blobToGlyphRunList() 244 positions = SkMakeSpan(it.points(), runSize); in blobToGlyphRunList() 248 positions = SkMakeSpan(positionCursor, runSize); in blobToGlyphRunList() [all …]
|
D | SkGlyphRun.h | 40 size_t runSize() const { return fSource.size(); } in runSize() function 88 glyphCount += run.runSize(); in totalGlyphCount()
|
D | SkGlyphRunPainter.cpp | 375 size = std::max(run.runSize(), size); in ensureBuffers() 381 return ScopedBuffers(this, glyphRun.runSize()); in ensureBuffers()
|
D | SkTextBlob.cpp | 489 size_t runSize = SkTextBlob::RunRecord::StorageSize(count, textSize, positioning, &safe); in allocInternal() local 495 this->reserve(runSize); in allocInternal() 498 SkASSERT(fStorageUsed + runSize <= fStorageSize); in allocInternal() 508 fStorageUsed += runSize; in allocInternal()
|
D | SkBlitter.cpp | 73 int runSize = bounds.width() + 1; // +1 so we can set runs[bounds.width()] = 0 in blitFatAntiRect() local 74 void* storage = this->allocBlitMemory(runSize * (sizeof(int16_t) + sizeof(SkAlpha))); in blitFatAntiRect() 76 SkAlpha* alphas = reinterpret_cast<SkAlpha*>(runs + runSize); in blitFatAntiRect()
|
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-reactive/test/ |
D | PublisherAsFlowTest.kt | 255 val runSize = if (capacity == Channel.BUFFERED) 1 else capacity in <lambda>() constant 260 BufferOverflow.DROP_OLDEST -> (m - runSize + 1..m).toList() in <lambda>() 262 BufferOverflow.DROP_LATEST -> (1..runSize).toList() in <lambda>()
|
/external/skia/tests/ |
D | GlyphRunTest.cpp | 53 REPORTER_ASSERT(reporter, run.runSize() == count);
|
D | SkRemoteGlyphCacheTest.cpp | 505 int runSize = strlen(s); in make_blob_causing_fallback() local 509 const auto& runBuffer = builder.allocRunPosH(font, runSize, 10, &bounds); in make_blob_causing_fallback() 514 runBuffer.glyphs, runSize); in make_blob_causing_fallback() 521 for (int i = 0; i < runSize; i++) { in make_blob_causing_fallback()
|
/external/skqp/src/svg/ |
D | SkSVGDevice.cpp | 854 auto runSize = glyphRun.runSize(); in SVGTextBuilder() local 855 SkAutoSTArray<64, SkUnichar> unichars(runSize); in SVGTextBuilder() 856 glyphRun.font().glyphsToUnichars(glyphRun.glyphsIDs().data(), runSize, unichars.get()); in SVGTextBuilder() 858 for (size_t i = 0; i < runSize; ++i) { in SVGTextBuilder()
|
/external/skqp/tests/ |
D | GlyphRunTest.cpp | 80 REPORTER_ASSERT(reporter, run.runSize() == count);
|
D | SkRemoteGlyphCacheTest.cpp | 448 int runSize = strlen(s); in make_blob_causing_fallback() local 452 const auto& runBuffer = builder.allocRunPosH(font, runSize, 10, &bounds); in make_blob_causing_fallback() 456 glyphTf->charsToGlyphs(s, SkTypeface::kUTF8_Encoding, runBuffer.glyphs, runSize); in make_blob_causing_fallback() 463 for (int i = 0; i < runSize; i++) { in make_blob_causing_fallback()
|
/external/skia/src/svg/ |
D | SkSVGDevice.cpp | 984 auto runSize = glyphRun.runSize(); in SVGTextBuilder() local 985 SkAutoSTArray<64, SkUnichar> unichars(runSize); in SVGTextBuilder() 987 runSize, unichars.get()); in SVGTextBuilder() 989 for (size_t i = 0; i < runSize; ++i) { in SVGTextBuilder()
|
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/ |
D | Buffer.java | 830 int runSize = i + segmentOffset - tail.limit; // Equivalent to i - (previous i). 831 tail.limit += runSize; 832 size += runSize;
|
/external/okhttp/okio/okio/src/main/java/okio/ |
D | Buffer.java | 828 int runSize = i + segmentOffset - tail.limit; // Equivalent to i - (previous i). 829 tail.limit += runSize; 830 size += runSize;
|
/external/okio/okio/src/commonMain/kotlin/okio/internal/ |
D | Buffer.kt | 961 val runSize = i + segmentOffset - tail.limit // Equivalent to i - (previous i). in commonWriteUtf8() constant 962 tail.limit += runSize in commonWriteUtf8() 963 size += runSize.toLong() in commonWriteUtf8()
|