Home
last modified time | relevance | path

Searched refs:runSize (Results 1 – 20 of 20) sorted by relevance

/external/skqp/src/core/
DSkGlyphRun.cpp190 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 …]
DSkGlyphRunPainter.cpp167 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()
DSkGlyphRun.h37 size_t runSize() const { return fGlyphIDs.size(); } in runSize() function
86 glyphCount += run.runSize(); in totalGlyphCount()
DSkBlitter.cpp67 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()
DSkTextBlob.cpp477 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/
DSkGlyphRun.cpp43 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 …]
DSkGlyphRun.h40 size_t runSize() const { return fSource.size(); } in runSize() function
88 glyphCount += run.runSize(); in totalGlyphCount()
DSkGlyphRunPainter.cpp375 size = std::max(run.runSize(), size); in ensureBuffers()
381 return ScopedBuffers(this, glyphRun.runSize()); in ensureBuffers()
DSkTextBlob.cpp489 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()
DSkBlitter.cpp73 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/
DPublisherAsFlowTest.kt255 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/
DGlyphRunTest.cpp53 REPORTER_ASSERT(reporter, run.runSize() == count);
DSkRemoteGlyphCacheTest.cpp505 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/
DSkSVGDevice.cpp854 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/
DGlyphRunTest.cpp80 REPORTER_ASSERT(reporter, run.runSize() == count);
DSkRemoteGlyphCacheTest.cpp448 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/
DSkSVGDevice.cpp984 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/
DBuffer.java830 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/
DBuffer.java828 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/
DBuffer.kt961 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()