Home
last modified time | relevance | path

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

/external/skia/src/text/
DGlyphRun.cpp89 buffer = builder.allocRunPos(run.font(), run.runSize(), nullptr); in makeBlob()
91 … buffer = builder.allocRunTextPos(run.font(), run.runSize(), run.text().size(), nullptr); in makeBlob()
100 buffer = builder.allocRunRSXform(run.font(), run.runSize()); in makeBlob()
236 size_t runSize = it.glyphCount(); in blobToGlyphRunList() local
237 if (runSize == 0 || !SkFontPriv::IsFinite(it.font())) { in blobToGlyphRunList()
243 auto glyphIDs = SkSpan<const SkGlyphID>{it.glyphs(), runSize}; in blobToGlyphRunList()
254 positions = SkSpan(positionCursor, runSize); in blobToGlyphRunList()
261 positions = SkSpan(it.points(), runSize); in blobToGlyphRunList()
265 positions = SkSpan(positionCursor, runSize); in blobToGlyphRunList()
266 scaledRotations = SkSpan(scaledRotationsCursor, runSize); in blobToGlyphRunList()
[all …]
DGlyphRun.h66 size_t runSize() const { return fSource.size(); } in runSize() function
112 glyphCount += run.runSize(); in totalGlyphCount()
119 size = std::max(run.runSize(), size); in maxGlyphRunSize()
/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.cpp52 REPORTER_ASSERT(reporter, run.runSize() == count);
DSkRemoteGlyphCacheTest.cpp726 int runSize = strlen(s); in make_blob_causing_fallback() local
730 const auto& runBuffer = builder.allocRunPosH(font, runSize, 10, &bounds); in make_blob_causing_fallback()
735 runBuffer.glyphs, runSize); in make_blob_causing_fallback()
742 for (int i = 0; i < runSize; i++) { in make_blob_causing_fallback()
/external/skia/src/svg/
DSkSVGDevice.cpp1027 auto runSize = glyphRun.runSize(); in SVGTextBuilder() local
1028 AutoSTArray<64, SkUnichar> unichars(runSize); in SVGTextBuilder()
1030 runSize, unichars.get()); in SVGTextBuilder()
1032 for (size_t i = 0; i < runSize; ++i) { in SVGTextBuilder()
/external/skia/src/core/
DSkTextBlob.cpp492 size_t runSize = SkTextBlob::RunRecord::StorageSize(count, textSize, positioning, &safe); in allocInternal() local
498 this->reserve(runSize); in allocInternal()
501 SkASSERT(fStorageUsed + runSize <= fStorageSize); in allocInternal()
511 fStorageUsed += runSize; in allocInternal()
DSkBlitter.cpp76 int runSize = bounds.width() + 1; // +1 so we can set runs[bounds.width()] = 0 in blitFatAntiRect() local
77 void* storage = this->allocBlitMemory(runSize * (sizeof(int16_t) + sizeof(SkAlpha))); in blitFatAntiRect()
79 SkAlpha* alphas = reinterpret_cast<SkAlpha*>(runs + runSize); in blitFatAntiRect()
/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/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/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()